diff --git a/core/core.slnx b/core/core.slnx index 96a54703..2adc9257 100644 --- a/core/core.slnx +++ b/core/core.slnx @@ -45,4 +45,5 @@ + diff --git a/core/samples/CoreBot/CoreBot.csproj b/core/samples/CoreBot/CoreBot.csproj index 48aeee8f..78f02559 100644 --- a/core/samples/CoreBot/CoreBot.csproj +++ b/core/samples/CoreBot/CoreBot.csproj @@ -12,6 +12,7 @@ + diff --git a/core/samples/CoreBot/Program.cs b/core/samples/CoreBot/Program.cs index b3396f9e..fa15697d 100644 --- a/core/samples/CoreBot/Program.cs +++ b/core/samples/CoreBot/Program.cs @@ -4,14 +4,21 @@ using Microsoft.Teams.Bot.Core; using Microsoft.Teams.Bot.Core.Hosting; using Microsoft.Teams.Bot.Core.Schema; +using Microsoft.Teams.Bot.DevTools; WebApplicationBuilder webAppBuilder = WebApplication.CreateSlimBuilder(args); webAppBuilder.Services.AddBotApplication(); +webAppBuilder.Services.AddDevTools(); WebApplication webApp = webAppBuilder.Build(); webApp.MapGet("/", () => "CoreBot is running."); BotApplication botApp = webApp.UseBotApplication(); +if (webApp.Environment.IsDevelopment()) +{ + webApp.UseDevTools(); +} + botApp.OnActivity = async (activity, cancellationToken) => { string replyText = $"CoreBot running on SDK `{BotApplication.Version}`."; diff --git a/core/samples/TeamsBot/Program.cs b/core/samples/TeamsBot/Program.cs index f6dedb62..6566b3e6 100644 --- a/core/samples/TeamsBot/Program.cs +++ b/core/samples/TeamsBot/Program.cs @@ -6,14 +6,22 @@ using Microsoft.Teams.Bot.Apps; using Microsoft.Teams.Bot.Apps.Handlers; using Microsoft.Teams.Bot.Apps.Schema; +using Microsoft.Teams.Bot.DevTools; using TeamsBot; WebApplicationBuilder webAppBuilder = WebApplication.CreateSlimBuilder(args); webAppBuilder.Services.AddTeamsBotApplication(); +webAppBuilder.Services.AddDevTools(); WebApplication webApp = webAppBuilder.Build(); TeamsBotApplication teamsApp = webApp.UseTeamsBotApplication(); + +if (webApp.Environment.IsDevelopment()) +{ + webApp.UseDevTools(); +} + // ==================== MESSAGE HANDLERS ==================== // Help handler: matches "help" (case-insensitive) diff --git a/core/samples/TeamsBot/TeamsBot.csproj b/core/samples/TeamsBot/TeamsBot.csproj index f30bcbe3..1f3f3b8b 100644 --- a/core/samples/TeamsBot/TeamsBot.csproj +++ b/core/samples/TeamsBot/TeamsBot.csproj @@ -8,6 +8,7 @@ + diff --git a/core/src/Microsoft.Teams.Bot.Core/Hosting/AddBotApplicationExtensions.cs b/core/src/Microsoft.Teams.Bot.Core/Hosting/AddBotApplicationExtensions.cs index d7624b5b..ac877c89 100644 --- a/core/src/Microsoft.Teams.Bot.Core/Hosting/AddBotApplicationExtensions.cs +++ b/core/src/Microsoft.Teams.Bot.Core/Hosting/AddBotApplicationExtensions.cs @@ -41,14 +41,10 @@ public static BotApplication UseBotApplication( /// Configures the application to handle bot messages at the specified route and returns the registered bot /// application instance. /// - /// This method adds authentication and authorization middleware to the HTTP pipeline and maps - /// a POST endpoint for bot messages. The endpoint requires authorization. Ensure that the bot application - /// is registered in the service container before calling this method. /// The type of the bot application to use. Must inherit from BotApplication. /// The endpoint route builder used to configure endpoints. /// The route path at which to listen for incoming bot messages. Defaults to "api/messages". /// The registered bot application instance of type TApp. - /// Thrown if the bot application of type TApp is not registered in the application's service container. public static TApp UseBotApplication( this IEndpointRouteBuilder endpoints, string routePath = "api/messages") @@ -56,8 +52,6 @@ public static TApp UseBotApplication( { ArgumentNullException.ThrowIfNull(endpoints); - // Add authentication and authorization middleware to the pipeline - // This is safe because WebApplication implements both IEndpointRouteBuilder and IApplicationBuilder if (endpoints is IApplicationBuilder app) { app.UseAuthentication(); @@ -76,26 +70,15 @@ public static TApp UseBotApplication( /// /// Adds a bot application to the service collection with the default configuration section name "AzureAd". /// - /// - /// - /// public static IServiceCollection AddBotApplication(this IServiceCollection services, string sectionName = "AzureAd") => services.AddBotApplication(sectionName); /// /// Adds a bot application to the service collection. /// - /// - /// - /// - /// public static IServiceCollection AddBotApplication(this IServiceCollection services, string sectionName = "AzureAd") where TApp : BotApplication { - // Extract ILoggerFactory from service collection to create logger without BuildServiceProvider - ServiceDescriptor? loggerFactoryDescriptor = services.FirstOrDefault(d => d.ServiceType == typeof(ILoggerFactory)); - ILoggerFactory? loggerFactory = loggerFactoryDescriptor?.ImplementationInstance as ILoggerFactory; - ILogger logger = loggerFactory?.CreateLogger() - ?? (ILogger)Microsoft.Extensions.Logging.Abstractions.NullLogger.Instance; + var (configuration, logger) = ResolveConfigAndLogger(services); services.AddSingleton(sp => { @@ -107,8 +90,20 @@ public static IServiceCollection AddBotApplication(this IServiceCollection }); services.AddHttpContextAccessor(); services.AddBotAuthorization(sectionName, logger); - services.AddConversationClient(sectionName); - services.AddUserTokenClient(sectionName); + + // Configure shared infrastructure (options, token acquisition, etc.) once + RegisterSharedInfrastructure(services, sectionName); + + // Check MSAL configuration once, register both clients with the result + bool msalConfigured = services.ConfigureMSAL(configuration, sectionName, logger); + if (!msalConfigured) + { + _logAuthConfigNotFound(logger, null); + } + + AddBotClient(services, ConversationClient.ConversationHttpClientName, msalConfigured); + AddBotClient(services, UserTokenClient.UserTokenHttpClientName, msalConfigured); + services.AddSingleton(); return services; } @@ -116,27 +111,57 @@ public static IServiceCollection AddBotApplication(this IServiceCollection /// /// Adds conversation client to the service collection. /// - /// service collection - /// Configuration Section name, defaults to AzureAD - /// - public static IServiceCollection AddConversationClient(this IServiceCollection services, string sectionName = "AzureAd") => - services.AddBotClient(ConversationClient.ConversationHttpClientName, sectionName); + public static IServiceCollection AddConversationClient(this IServiceCollection services, string sectionName = "AzureAd") + { + var (configuration, logger) = ResolveConfigAndLogger(services); + RegisterSharedInfrastructure(services, sectionName); + bool msalConfigured = services.ConfigureMSAL(configuration, sectionName, logger); + if (!msalConfigured) + { + _logAuthConfigNotFound(logger, null); + } + + return AddBotClient(services, ConversationClient.ConversationHttpClientName, msalConfigured); + } /// /// Adds user token client to the service collection. /// - /// service collection - /// Configuration Section name, defaults to AzureAD - /// - public static IServiceCollection AddUserTokenClient(this IServiceCollection services, string sectionName = "AzureAd") => - services.AddBotClient(UserTokenClient.UserTokenHttpClientName, sectionName); + public static IServiceCollection AddUserTokenClient(this IServiceCollection services, string sectionName = "AzureAd") + { + var (configuration, logger) = ResolveConfigAndLogger(services); + RegisterSharedInfrastructure(services, sectionName); + bool msalConfigured = services.ConfigureMSAL(configuration, sectionName, logger); + if (!msalConfigured) + { + _logAuthConfigNotFound(logger, null); + } - private static IServiceCollection AddBotClient( - this IServiceCollection services, - string httpClientName, - string sectionName) where TClient : class + return AddBotClient(services, UserTokenClient.UserTokenHttpClientName, msalConfigured); + } + + private static (IConfiguration configuration, ILogger logger) ResolveConfigAndLogger(IServiceCollection services) + { + ServiceDescriptor? configDescriptor = services.FirstOrDefault(d => d.ServiceType == typeof(IConfiguration)); + ServiceDescriptor? loggerFactoryDescriptor = services.FirstOrDefault(d => d.ServiceType == typeof(ILoggerFactory)); + ILoggerFactory? loggerFactory = loggerFactoryDescriptor?.ImplementationInstance as ILoggerFactory; + + if (configDescriptor?.ImplementationInstance is IConfiguration config) + { + ILogger logger = loggerFactory?.CreateLogger(typeof(AddBotApplicationExtensions)) + ?? Extensions.Logging.Abstractions.NullLogger.Instance; + return (config, logger); + } + + using ServiceProvider tempProvider = services.BuildServiceProvider(); + IConfiguration resolvedConfig = tempProvider.GetRequiredService(); + ILogger resolvedLogger = (loggerFactory ?? tempProvider.GetRequiredService()) + .CreateLogger(typeof(AddBotApplicationExtensions)); + return (resolvedConfig, resolvedLogger); + } + + private static void RegisterSharedInfrastructure(IServiceCollection services, string sectionName) { - // Register options to defer scope configuration reading services.AddOptions() .Configure((options, configuration) => { @@ -153,29 +178,14 @@ private static IServiceCollection AddBotClient( .AddTokenAcquisition(true) .AddInMemoryTokenCaches() .AddAgentIdentities(); + } - // Get configuration and logger to configure MSAL during registration - // Try to get from service descriptors first - ServiceDescriptor? configDescriptor = services.FirstOrDefault(d => d.ServiceType == typeof(IConfiguration)); - - ServiceDescriptor? loggerFactoryDescriptor = services.FirstOrDefault(d => d.ServiceType == typeof(ILoggerFactory)); - ILoggerFactory? loggerFactory = loggerFactoryDescriptor?.ImplementationInstance as ILoggerFactory; - ILogger logger = loggerFactory?.CreateLogger(typeof(AddBotApplicationExtensions)) - ?? Extensions.Logging.Abstractions.NullLogger.Instance; - - // If configuration not available as instance, build temporary provider - if (configDescriptor?.ImplementationInstance is not IConfiguration configuration) - { - using ServiceProvider tempProvider = services.BuildServiceProvider(); - configuration = tempProvider.GetRequiredService(); - if (loggerFactory == null) - { - logger = tempProvider.GetRequiredService().CreateLogger(typeof(AddBotApplicationExtensions)); - } - } - - // Configure MSAL during registration (not deferred) - if (services.ConfigureMSAL(configuration, sectionName, logger)) + private static IServiceCollection AddBotClient( + IServiceCollection services, + string httpClientName, + bool msalConfigured) where TClient : class + { + if (msalConfigured) { services.AddHttpClient(httpClientName) .AddHttpMessageHandler(sp => @@ -190,7 +200,6 @@ private static IServiceCollection AddBotClient( } else { - _logAuthConfigNotFound(logger, null); services.AddHttpClient(httpClientName); } @@ -206,19 +215,26 @@ private static bool ConfigureMSAL(this IServiceCollection services, IConfigurati _logUsingBFConfig(logger, null); BotConfig botConfig = BotConfig.FromBFConfig(configuration); services.ConfigureMSALFromBotConfig(botConfig, logger); + return true; } - else if (configuration["CLIENT_ID"] is not null) + + if (configuration["CLIENT_ID"] is not null) { _logUsingCoreConfig(logger, null); BotConfig botConfig = BotConfig.FromCoreConfig(configuration); services.ConfigureMSALFromBotConfig(botConfig, logger); + return true; } - else + + _logUsingSectionConfig(logger, sectionName, null); + var section = configuration.GetSection(sectionName); + if (section["ClientId"] is not null && !string.IsNullOrEmpty(section["ClientId"])) { - _logUsingSectionConfig(logger, sectionName, null); - services.ConfigureMSALFromConfig(configuration.GetSection(sectionName)); + services.ConfigureMSALFromConfig(section); + return true; } - return true; + + return false; } private static IServiceCollection ConfigureMSALFromConfig(this IServiceCollection services, IConfigurationSection msalConfigSection) @@ -281,7 +297,6 @@ private static IServiceCollection ConfigureMSALWithUMI(this IServiceCollection s ArgumentNullException.ThrowIfNullOrWhiteSpace(tenantId); ArgumentNullException.ThrowIfNullOrWhiteSpace(clientId); - // Register ManagedIdentityOptions for BotAuthenticationHandler to use bool isSystemAssigned = IsSystemAssignedManagedIdentity(managedIdentityClientId); string? umiClientId = isSystemAssigned ? null : (managedIdentityClientId ?? clientId); @@ -321,9 +336,6 @@ private static IServiceCollection ConfigureMSALFromBotConfig(this IServiceCollec return services; } - /// - /// Determines if the provided client ID represents a system-assigned managed identity. - /// private static bool IsSystemAssignedManagedIdentity(string? clientId) => string.Equals(clientId, BotConfig.SystemManagedIdentityIdentifier, StringComparison.OrdinalIgnoreCase); @@ -341,6 +353,4 @@ private static bool IsSystemAssignedManagedIdentity(string? clientId) LoggerMessage.Define(LogLevel.Debug, new(6), "Configuring authentication with Federated Identity Credential (Managed Identity) with {IdentityType} Managed Identity"); private static readonly Action _logAuthConfigNotFound = LoggerMessage.Define(LogLevel.Warning, new(7), "Authentication configuration not found. Running without Auth"); - - } diff --git a/core/src/Microsoft.Teams.Bot.Core/Hosting/BotAuthenticationHandler.cs b/core/src/Microsoft.Teams.Bot.Core/Hosting/BotAuthenticationHandler.cs index 4dd8d07e..4930709d 100644 --- a/core/src/Microsoft.Teams.Bot.Core/Hosting/BotAuthenticationHandler.cs +++ b/core/src/Microsoft.Teams.Bot.Core/Hosting/BotAuthenticationHandler.cs @@ -47,6 +47,8 @@ internal sealed class BotAuthenticationHandler( /// protected override async Task SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) { + + request.Options.TryGetValue(AgenticIdentityKey, out AgenticIdentity? agenticIdentity); string token = await GetAuthorizationHeaderAsync(agenticIdentity, cancellationToken).ConfigureAwait(false); diff --git a/core/src/Microsoft.Teams.Bot.Core/Hosting/BotConfig.cs b/core/src/Microsoft.Teams.Bot.Core/Hosting/BotConfig.cs index 48386ced..fef60821 100644 --- a/core/src/Microsoft.Teams.Bot.Core/Hosting/BotConfig.cs +++ b/core/src/Microsoft.Teams.Bot.Core/Hosting/BotConfig.cs @@ -127,6 +127,7 @@ public static BotConfig Resolve(IConfiguration configuration, string sectionName config = FromBFConfig(configuration); if (!string.IsNullOrEmpty(config.ClientId)) return config; - throw new InvalidOperationException("ClientID not found in configuration."); + // throw new InvalidOperationException("ClientID not found in configuration."); + return new BotConfig(); } } diff --git a/core/src/Microsoft.Teams.Bot.DevTools/DevToolsConversationClient.cs b/core/src/Microsoft.Teams.Bot.DevTools/DevToolsConversationClient.cs new file mode 100644 index 00000000..d2ad74c6 --- /dev/null +++ b/core/src/Microsoft.Teams.Bot.DevTools/DevToolsConversationClient.cs @@ -0,0 +1,46 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +using Microsoft.Extensions.Logging; +using Microsoft.Teams.Bot.Core; +using Microsoft.Teams.Bot.Core.Schema; + +namespace Microsoft.Teams.Bot.DevTools; + +using CustomHeaders = Dictionary; + +/// +/// Decorator around that emits "sent" events to DevTools UI clients +/// whenever an activity is sent. +/// +public class DevToolsConversationClient : ConversationClient +{ + private readonly DevToolsService _service; + + /// + /// Creates a new DevToolsConversationClient. + /// + /// The HTTP client for sending activities. + /// The logger. + /// The shared DevTools service for emitting events. + public DevToolsConversationClient(HttpClient httpClient, ILogger logger, DevToolsService service) + : base(httpClient, logger) + { + _service = service; + } + + /// + public override async Task SendActivityAsync(CoreActivity activity, CustomHeaders? customHeaders = null, CancellationToken cancellationToken = default) + { + ArgumentNullException.ThrowIfNull(activity); + var response = await base.SendActivityAsync(activity, customHeaders, cancellationToken).ConfigureAwait(false); + + // Ensure activity has an ID so the DevTools UI can distinguish messages + activity.Id ??= response.Id ?? Guid.NewGuid().ToString(); + + // Emit sent event after successful send + await _service.EmitSent(activity, cancellationToken).ConfigureAwait(false); + + return response; + } +} diff --git a/core/src/Microsoft.Teams.Bot.DevTools/DevToolsHostingExtensions.cs b/core/src/Microsoft.Teams.Bot.DevTools/DevToolsHostingExtensions.cs new file mode 100644 index 00000000..9fcd9fb6 --- /dev/null +++ b/core/src/Microsoft.Teams.Bot.DevTools/DevToolsHostingExtensions.cs @@ -0,0 +1,303 @@ + // Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +using System.Net.WebSockets; +using System.Reflection; +using System.Text; +using System.Text.Json; +using System.Text.Json.Nodes; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting.Server; +using Microsoft.AspNetCore.Hosting.Server.Features; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Features; +using Microsoft.AspNetCore.Routing; +using Microsoft.Extensions.Configuration; +using Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.FileProviders; +using Microsoft.Extensions.Hosting; +using Microsoft.Extensions.Logging; +using Microsoft.Teams.Bot.Core; +using Microsoft.Teams.Bot.Core.Hosting; +using Microsoft.Teams.Bot.Core.Schema; +using Microsoft.Teams.Bot.DevTools.Events; +using Microsoft.Teams.Bot.DevTools.Extensions; + +namespace Microsoft.Teams.Bot.DevTools; + +/// +/// Extension methods for registering DevTools services and endpoints. +/// +public static partial class DevToolsHostingExtensions +{ + [LoggerMessage(Level = LogLevel.Warning, Message = "DevTools are not secure and should not be used in production environments")] + private static partial void LogDevToolsSecurityWarning(ILogger logger); + + [LoggerMessage(Level = LogLevel.Information, Message = "DevTools available at {Address}/devtools")] + private static partial void LogDevToolsAvailable(ILogger logger, string address); + /// + /// The named HttpClient name used by ConversationClient, duplicated here because the constant is internal. + /// + private const string ConversationHttpClientName = "BotConversationClient"; + + /// + /// Registers DevTools services: settings, shared service, middleware, and replaces + /// ConversationClient with the DevTools decorator that emits "sent" events. + /// Call this after AddTeamsBotApplication() or AddBotApplication(). + /// + /// The service collection. + /// The service collection for chaining. + public static IServiceCollection AddDevTools(this IServiceCollection services) + { + ArgumentNullException.ThrowIfNull(services); + + // Register settings from configuration + services.AddSingleton(sp => + { + var config = sp.GetRequiredService(); + return config.GetSection("DevTools").Get() ?? new(); + }); + + // Register shared service + services.AddSingleton(); + + // Register middleware + services.AddSingleton(); + + // Replace ConversationClient with DevToolsConversationClient. + // AddBotApplication registers ConversationClient via AddHttpClient(...). + // We remove that registration and re-register with our decorator. + var descriptor = services.FirstOrDefault(d => d.ServiceType == typeof(ConversationClient)); + if (descriptor != null) + { + services.Remove(descriptor); + } + + services.AddHttpClient(ConversationHttpClientName); + + return services; + } + + /// + /// Configures the DevTools middleware and endpoints. Enables WebSockets, serves the embedded React UI, + /// maps WebSocket and test activity injection endpoints, and registers the DevTools middleware on the bot. + /// Call this after UseBotApplication() or UseTeamsBotApplication(). + /// + /// The endpoint route builder (typically WebApplication). + /// The endpoint route builder for chaining. + public static IEndpointRouteBuilder UseDevTools(this IEndpointRouteBuilder endpoints) + { + UseDevTools(endpoints); + return endpoints; + } + + /// + /// Configures DevTools and returns the bot application for chaining. + /// + /// The bot application type. + /// The endpoint route builder. + /// The bot application instance. + public static TApp UseDevTools(this IEndpointRouteBuilder endpoints) where TApp : BotApplication + { + ArgumentNullException.ThrowIfNull(endpoints); + + // Enable WebSockets + if (endpoints is IApplicationBuilder app) + { + app.UseWebSockets(new WebSocketOptions() + { + AllowedOrigins = { "*" } + }); + + // Serve embedded static files at /devtools + app.UseStaticFiles(new StaticFileOptions() + { + FileProvider = new ManifestEmbeddedFileProvider(Assembly.GetExecutingAssembly(), "web"), + ServeUnknownFileTypes = true, + RequestPath = "/devtools" + }); + } + + // Resolve services + var service = endpoints.ServiceProvider.GetRequiredService(); + var middleware = endpoints.ServiceProvider.GetRequiredService(); + var lifetime = endpoints.ServiceProvider.GetRequiredService(); + var files = new ManifestEmbeddedFileProvider(Assembly.GetExecutingAssembly(), "web"); + var logger = endpoints.ServiceProvider.GetRequiredService().CreateLogger("DevTools"); + + // Register middleware on the bot application + var botApp = endpoints.ServiceProvider.GetRequiredService(); + botApp.UseMiddleware(middleware); + + // Populate AppId/AppName from BotApplicationOptions + var options = endpoints.ServiceProvider.GetService(); + service.AppId = options?.AppId; + service.AppName ??= options?.AppId ?? "DevTools"; + + // Log DevTools URLs on application start + lifetime.ApplicationStarted.Register(() => + { + var server = endpoints.ServiceProvider.GetRequiredService(); + var addresses = server.Features.GetRequiredFeature().Addresses; + LogDevToolsSecurityWarning(logger); + foreach (var address in addresses) + { + LogDevToolsAvailable(logger, address); + } + }); + + // Map endpoints + MapDevToolsEndpoints(endpoints, service, lifetime, files, botApp); + + return botApp; + } + + private static void MapDevToolsEndpoints( + IEndpointRouteBuilder endpoints, + DevToolsService service, + IHostApplicationLifetime lifetime, + ManifestEmbeddedFileProvider files, + BotApplication botApp) + { + // Serve React UI — SPA fallback to index.html + var contentTypeProvider = new Microsoft.AspNetCore.StaticFiles.FileExtensionContentTypeProvider(); + endpoints.MapGet("/devtools/{*path}", (string? path) => + { + var file = files.GetFileInfo(path ?? "index.html"); + if (!file.Exists) + { + file = files.GetFileInfo("index.html"); + } + + if (!contentTypeProvider.TryGetContentType(file.Name, out var contentType)) + { + contentType = "application/octet-stream"; + } + + return Results.File(file.CreateReadStream(), contentType: contentType); + }); + + endpoints.MapGet("/devtools", () => + { + var file = files.GetFileInfo("index.html"); + return Results.File(file.CreateReadStream(), contentType: "text/html"); + }); + + // WebSocket endpoint + endpoints.MapGet("/devtools/sockets", async (HttpContext context) => + { + if (!context.WebSockets.IsWebSocketRequest) + { + context.Response.StatusCode = StatusCodes.Status400BadRequest; + return; + } + + using var socket = await context.WebSockets.AcceptWebSocketAsync().ConfigureAwait(false); + var id = Guid.NewGuid().ToString(); + var buffer = new byte[1024]; + + service.Sockets.Add(id, socket); + await service.Sockets.Emit(id, new MetaDataEvent(service.MetaData), lifetime.ApplicationStopping).ConfigureAwait(false); + + try + { + while (socket.State.HasFlag(WebSocketState.Open)) + { + await socket.ReceiveAsync(buffer, lifetime.ApplicationStopping).ConfigureAwait(false); + } + } + catch (OperationCanceledException) + { + // Server shutting down — expected + } + catch (WebSocketException) + { + // Connection closed unexpectedly — expected + } + finally + { + if (socket.IsCloseable()) + { + await socket.CloseAsync(WebSocketCloseStatus.NormalClosure, string.Empty, lifetime.ApplicationStopping).ConfigureAwait(false); + } + } + + service.Sockets.Remove(id); + }); + + // Test activity injection endpoint (replaces ActivityController from main) + endpoints.MapPost("/v3/conversations/{conversationId}/activities", async ( + string conversationId, + HttpContext context, + CancellationToken cancellationToken) => + { + // Read body as JsonNode + var body = await JsonNode.ParseAsync(context.Request.Body, cancellationToken: cancellationToken).ConfigureAwait(false); + if (body is null) + { + return Results.BadRequest(); + } + + var isDevTools = context.Request.Headers.TryGetValue("x-teams-devtools", out var headerValues) + && headerValues.Any(h => h == "true"); + + body["id"] ??= Guid.NewGuid().ToString(); + + // If not from DevTools client, return 201 (passthrough for outgoing activity responses) + if (!isDevTools) + { + return Results.Json(new { id = body["id"]?.ToString() }, statusCode: 201); + } + + // Set default from/conversation/recipient for DevTools test messages + body["from"] ??= JsonSerializer.SerializeToNode(new ConversationAccount + { + Id = "devtools", + Name = "devtools" + }); + + body["conversation"] = JsonSerializer.SerializeToNode(new + { + id = conversationId, + type = "personal", + name = "default" + }); + + body["recipient"] = JsonSerializer.SerializeToNode(new ConversationAccount + { + Id = service.AppId ?? string.Empty, + Name = service.AppName + }); + + // Set serviceUrl and channelId so replies route back here + body["serviceUrl"] ??= $"{context.Request.Scheme}://{context.Request.Host}"; + body["channelId"] ??= "devtools"; + + // Create a test HttpContext and route through ProcessAsync + var activityJson = body.ToJsonString(); + var stream = new MemoryStream(Encoding.UTF8.GetBytes(activityJson)); + + var testContext = new DefaultHttpContext + { + RequestServices = context.RequestServices + }; + testContext.Request.Body = stream; + testContext.Request.ContentType = "application/json"; + + await botApp.ProcessAsync(testContext, cancellationToken).ConfigureAwait(false); + + return Results.Json(new { id = body["id"]?.ToString() }, statusCode: 201); + }); + + // Reply endpoint — bot sends replies to /v3/conversations/{id}/activities/{replyToId} + endpoints.MapPost("/v3/conversations/{conversationId}/activities/{activityId}", async ( + string conversationId, + string activityId, + HttpContext context, + CancellationToken cancellationToken) => + { + var body = await JsonNode.ParseAsync(context.Request.Body, cancellationToken: cancellationToken).ConfigureAwait(false); + return Results.Json(new { id = body?["id"]?.ToString() ?? Guid.NewGuid().ToString() }, statusCode: 201); + }); + } +} diff --git a/core/src/Microsoft.Teams.Bot.DevTools/DevToolsMiddleware.cs b/core/src/Microsoft.Teams.Bot.DevTools/DevToolsMiddleware.cs new file mode 100644 index 00000000..d92bd6bf --- /dev/null +++ b/core/src/Microsoft.Teams.Bot.DevTools/DevToolsMiddleware.cs @@ -0,0 +1,44 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +using Microsoft.Teams.Bot.Core; +using Microsoft.Teams.Bot.Core.Schema; + +namespace Microsoft.Teams.Bot.DevTools; + +/// +/// Middleware that intercepts incoming activities and errors, emitting events to DevTools UI clients. +/// +public class DevToolsMiddleware : ITurnMiddleware +{ + private readonly DevToolsService _service; + + /// + /// Creates a new DevToolsMiddleware. + /// + /// The shared DevTools service. + public DevToolsMiddleware(DevToolsService service) + { + _service = service; + } + + /// + public async Task OnTurnAsync(BotApplication botApplication, CoreActivity activity, NextTurn nextTurn, CancellationToken cancellationToken = default) + { + ArgumentNullException.ThrowIfNull(nextTurn); + + // Emit received event before processing + await _service.EmitReceived(activity, cancellationToken).ConfigureAwait(false); + + try + { + await nextTurn(cancellationToken).ConfigureAwait(false); + } + catch (Exception ex) + { + // Emit error event, then re-throw so BotApplication error handling still works + await _service.EmitError(activity, new { message = ex.Message, stackTrace = ex.StackTrace }, cancellationToken).ConfigureAwait(false); + throw; + } + } +} diff --git a/core/src/Microsoft.Teams.Bot.DevTools/DevToolsService.cs b/core/src/Microsoft.Teams.Bot.DevTools/DevToolsService.cs new file mode 100644 index 00000000..0c849158 --- /dev/null +++ b/core/src/Microsoft.Teams.Bot.DevTools/DevToolsService.cs @@ -0,0 +1,77 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +using Microsoft.Teams.Bot.Core.Schema; +using Microsoft.Teams.Bot.DevTools.Events; +using Microsoft.Teams.Bot.DevTools.Models; + +namespace Microsoft.Teams.Bot.DevTools; + +/// +/// Shared singleton service that holds DevTools state: WebSocket connections, metadata, and emit helpers. +/// +public class DevToolsService +{ + /// + /// Active WebSocket connections to DevTools UI clients. + /// + public WebSocketCollection Sockets { get; } = new(); + + /// + /// DevTools configuration settings. + /// + public DevToolsSettings Settings { get; } + + /// + /// The bot application ID (populated at startup from BotApplicationOptions). + /// + public string? AppId { get; set; } + + /// + /// The bot application name. + /// + public string? AppName { get; set; } + + /// + /// Builds metadata for the current app. + /// + public DevToolsMetaData MetaData + { + get + { + var meta = new DevToolsMetaData { Id = AppId ?? string.Empty, Name = AppName ?? string.Empty }; + foreach (var page in Settings.Pages) + { + meta.Pages.Add(page); + } + + return meta; + } + } + + /// + /// Creates a new DevToolsService with the given settings. + /// + public DevToolsService(DevToolsSettings settings) + { + Settings = settings; + } + + /// + /// Emit a "received" activity event to all connected DevTools clients. + /// + public Task EmitReceived(CoreActivity activity, CancellationToken cancellationToken = default) + => Sockets.Emit(ActivityEvent.Received(activity), cancellationToken); + + /// + /// Emit a "sent" activity event to all connected DevTools clients. + /// + public Task EmitSent(CoreActivity activity, CancellationToken cancellationToken = default) + => Sockets.Emit(ActivityEvent.Sent(activity), cancellationToken); + + /// + /// Emit an "error" activity event to all connected DevTools clients. + /// + public Task EmitError(CoreActivity activity, object error, CancellationToken cancellationToken = default) + => Sockets.Emit(ActivityEvent.Err(activity, error), cancellationToken); +} diff --git a/core/src/Microsoft.Teams.Bot.DevTools/DevToolsSettings.cs b/core/src/Microsoft.Teams.Bot.DevTools/DevToolsSettings.cs new file mode 100644 index 00000000..f0b0cd16 --- /dev/null +++ b/core/src/Microsoft.Teams.Bot.DevTools/DevToolsSettings.cs @@ -0,0 +1,18 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +using Microsoft.Teams.Bot.DevTools.Models; + +namespace Microsoft.Teams.Bot.DevTools; + +/// +/// Configuration settings for DevTools. +/// Bound from the "DevTools" configuration section. +/// +public class DevToolsSettings +{ + /// + /// Custom pages to display in the DevTools UI. + /// + public IList Pages { get; } = []; +} diff --git a/core/src/Microsoft.Teams.Bot.DevTools/Events/ActivityEvent.cs b/core/src/Microsoft.Teams.Bot.DevTools/Events/ActivityEvent.cs new file mode 100644 index 00000000..03d7af5c --- /dev/null +++ b/core/src/Microsoft.Teams.Bot.DevTools/Events/ActivityEvent.cs @@ -0,0 +1,110 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +using System.Text.Json.Serialization; +using Microsoft.Teams.Bot.Core.Schema; + +namespace Microsoft.Teams.Bot.DevTools.Events; + +/// +/// Event emitted over WebSocket when an activity is received, sent, or errors. +/// Wire format must match what the embedded React UI expects. +/// +public class ActivityEvent : IDevToolsEvent +{ + /// + [JsonPropertyName("id")] + [JsonPropertyOrder(0)] + public Guid Id { get; } + + /// + [JsonPropertyName("type")] + [JsonPropertyOrder(1)] + public string Type { get; } + + /// + [JsonPropertyName("body")] + [JsonPropertyOrder(2)] + public object? Body { get; } + + /// + /// Conversation info for the React UI. Serializes with "id", "type", "name" properties. + /// + [JsonPropertyName("chat")] + [JsonPropertyOrder(3)] + public object Chat { get; set; } + + /// + /// Error details, if this is an error event. + /// + [JsonPropertyName("error")] + [JsonPropertyOrder(4)] + [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] + public object? Error { get; set; } + + /// + [JsonPropertyName("sentAt")] + [JsonPropertyOrder(5)] + public DateTime SentAt { get; } + + /// + /// Creates a new activity event. + /// + /// The activity event type suffix (received, sent, error). + /// The activity this event relates to. + public ActivityEvent(string type, CoreActivity activity) + { + ArgumentNullException.ThrowIfNull(activity); + + Id = Guid.NewGuid(); + Type = $"activity.{type}"; + Body = activity; + SentAt = DateTime.Now; + + // Build chat object matching what the React UI expects. + // Core's Conversation only has Id + extension data, so we read type/name + // from extension properties if available, otherwise use defaults. + var conversation = activity.Conversation; + Chat = new ChatInfo + { + Id = conversation?.Id ?? "unknown", + Type = conversation?.Properties.TryGetValue("type", out var t) == true + ? t?.ToString() ?? "personal" + : "personal", + Name = conversation?.Properties.TryGetValue("name", out var n) == true + ? n?.ToString() ?? "default" + : "default" + }; + } + + /// + /// Creates a "received" activity event. + /// + public static ActivityEvent Received(CoreActivity activity) => new("received", activity); + + /// + /// Creates a "sent" activity event. + /// + public static ActivityEvent Sent(CoreActivity activity) => new("sent", activity); + + /// + /// Creates an "error" activity event. + /// + public static ActivityEvent Err(CoreActivity activity, object error) + => new("error", activity) { Error = error }; +} + +/// +/// Serializable chat info matching the wire format expected by the React UI. +/// +internal sealed class ChatInfo +{ + [JsonPropertyName("id")] + public string Id { get; set; } = "unknown"; + + [JsonPropertyName("type")] + public string Type { get; set; } = "personal"; + + [JsonPropertyName("name")] + public string Name { get; set; } = "default"; +} diff --git a/core/src/Microsoft.Teams.Bot.DevTools/Events/IDevToolsEvent.cs b/core/src/Microsoft.Teams.Bot.DevTools/Events/IDevToolsEvent.cs new file mode 100644 index 00000000..7b306b13 --- /dev/null +++ b/core/src/Microsoft.Teams.Bot.DevTools/Events/IDevToolsEvent.cs @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +namespace Microsoft.Teams.Bot.DevTools.Events; + +/// +/// Base interface for all DevTools events sent to WebSocket clients. +/// +public interface IDevToolsEvent +{ + /// + /// Unique identifier for this event. + /// + Guid Id { get; } + + /// + /// Event type discriminator (e.g. "activity.received", "metadata"). + /// + string Type { get; } + + /// + /// Event payload. + /// + object? Body { get; } + + /// + /// When this event was created. + /// + DateTime SentAt { get; } +} diff --git a/core/src/Microsoft.Teams.Bot.DevTools/Events/MetaDataEvent.cs b/core/src/Microsoft.Teams.Bot.DevTools/Events/MetaDataEvent.cs new file mode 100644 index 00000000..e14d1e2b --- /dev/null +++ b/core/src/Microsoft.Teams.Bot.DevTools/Events/MetaDataEvent.cs @@ -0,0 +1,44 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +using System.Text.Json.Serialization; +using Microsoft.Teams.Bot.DevTools.Models; + +namespace Microsoft.Teams.Bot.DevTools.Events; + +/// +/// Event emitted over WebSocket when a client connects, carrying app metadata. +/// +public class MetaDataEvent : IDevToolsEvent +{ + /// + [JsonPropertyName("id")] + [JsonPropertyOrder(0)] + public Guid Id { get; } + + /// + [JsonPropertyName("type")] + [JsonPropertyOrder(1)] + public string Type { get; } + + /// + [JsonPropertyName("body")] + [JsonPropertyOrder(2)] + public object? Body { get; } + + /// + [JsonPropertyName("sentAt")] + [JsonPropertyOrder(3)] + public DateTime SentAt { get; } + + /// + /// Creates a new metadata event. + /// + public MetaDataEvent(DevToolsMetaData body) + { + Id = Guid.NewGuid(); + Type = "metadata"; + Body = body; + SentAt = DateTime.Now; + } +} diff --git a/core/src/Microsoft.Teams.Bot.DevTools/Extensions/WebSocketExtensions.cs b/core/src/Microsoft.Teams.Bot.DevTools/Extensions/WebSocketExtensions.cs new file mode 100644 index 00000000..11a0811f --- /dev/null +++ b/core/src/Microsoft.Teams.Bot.DevTools/Extensions/WebSocketExtensions.cs @@ -0,0 +1,23 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +using System.Net.WebSockets; + +namespace Microsoft.Teams.Bot.DevTools.Extensions; + +/// +/// Extension methods for WebSocket. +/// +public static class WebSocketExtensions +{ + /// + /// Returns true if the WebSocket can be closed (not already closed or aborted). + /// + public static bool IsCloseable(this WebSocket socket) + { + ArgumentNullException.ThrowIfNull(socket); + + return socket.State != WebSocketState.Closed + && socket.State != WebSocketState.Aborted; + } +} diff --git a/core/src/Microsoft.Teams.Bot.DevTools/Microsoft.Teams.Bot.DevTools.csproj b/core/src/Microsoft.Teams.Bot.DevTools/Microsoft.Teams.Bot.DevTools.csproj new file mode 100644 index 00000000..15aa066d --- /dev/null +++ b/core/src/Microsoft.Teams.Bot.DevTools/Microsoft.Teams.Bot.DevTools.csproj @@ -0,0 +1,33 @@ + + + + Microsoft.Teams.Bot.DevTools + Teams Bot DevTools — browser-based debugging UI for Teams bots + https://github.com/microsoft/teams.net + microsoft;teams;msteams;bot;devtools;debugging + + + + net8.0;net10.0 + enable + enable + true + + + + + + + + + + + + + + + + + + + diff --git a/core/src/Microsoft.Teams.Bot.DevTools/Models/MetaData.cs b/core/src/Microsoft.Teams.Bot.DevTools/Models/MetaData.cs new file mode 100644 index 00000000..07bce338 --- /dev/null +++ b/core/src/Microsoft.Teams.Bot.DevTools/Models/MetaData.cs @@ -0,0 +1,33 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +using System.Text.Json.Serialization; + +namespace Microsoft.Teams.Bot.DevTools.Models; + +/// +/// App metadata sent to DevTools UI clients on connection. +/// +public class DevToolsMetaData +{ + /// + /// The bot application ID. + /// + [JsonPropertyName("id")] + [JsonPropertyOrder(0)] + public string Id { get; set; } = string.Empty; + + /// + /// The bot application name. + /// + [JsonPropertyName("name")] + [JsonPropertyOrder(1)] + public string Name { get; set; } = string.Empty; + + /// + /// Custom pages registered with DevTools. + /// + [JsonPropertyName("pages")] + [JsonPropertyOrder(2)] + public IList Pages { get; } = []; +} diff --git a/core/src/Microsoft.Teams.Bot.DevTools/Models/Page.cs b/core/src/Microsoft.Teams.Bot.DevTools/Models/Page.cs new file mode 100644 index 00000000..31b183d8 --- /dev/null +++ b/core/src/Microsoft.Teams.Bot.DevTools/Models/Page.cs @@ -0,0 +1,40 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +using System.Text.Json.Serialization; + +namespace Microsoft.Teams.Bot.DevTools.Models; + +/// +/// A custom page that can be added to the DevTools UI. +/// +public class Page +{ + /// + /// An optional icon name shown in the view header. + /// + [JsonPropertyName("icon")] + [JsonPropertyOrder(0)] + public string? Icon { get; set; } + + /// + /// The unique name of the view (must be URL-safe). + /// + [JsonPropertyName("name")] + [JsonPropertyOrder(1)] + public required string Name { get; set; } + + /// + /// The display name shown in the view header. + /// + [JsonPropertyName("displayName")] + [JsonPropertyOrder(2)] + public required string DisplayName { get; set; } + + /// + /// The URL of the view. + /// + [JsonPropertyName("url")] + [JsonPropertyOrder(3)] + public required Uri Url { get; set; } +} diff --git a/core/src/Microsoft.Teams.Bot.DevTools/WebSocketCollection.cs b/core/src/Microsoft.Teams.Bot.DevTools/WebSocketCollection.cs new file mode 100644 index 00000000..e517e14b --- /dev/null +++ b/core/src/Microsoft.Teams.Bot.DevTools/WebSocketCollection.cs @@ -0,0 +1,112 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +using System.Collections; +using System.Net.WebSockets; +using System.Text.Json; +using System.Text.Json.Serialization; +using Microsoft.Teams.Bot.DevTools.Events; + +namespace Microsoft.Teams.Bot.DevTools; + +/// +/// Manages a collection of WebSocket connections and broadcasts events to them. +/// +public class WebSocketCollection : IEnumerable> +{ + private static readonly JsonSerializerOptions SerializerOptions = new() + { + DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull + }; + + private readonly Dictionary _store = []; + + /// + /// Gets the number of connected sockets. + /// + public int Count => _store.Count; + + /// + /// Returns true if all specified keys exist in the collection. + /// + public bool Has(params string[] keys) + { + ArgumentNullException.ThrowIfNull(keys); + + foreach (var key in keys) + { + if (!_store.ContainsKey(key)) + { + return false; + } + } + + return true; + } + + /// + /// Gets the WebSocket for the given key, or null if not found. + /// + public WebSocket? Get(string key) + { + return _store.TryGetValue(key, out var socket) ? socket : null; + } + + /// + /// Adds or replaces a WebSocket connection by key. + /// + public WebSocketCollection Add(string key, WebSocket value) + { + _store[key] = value; + return this; + } + + /// + /// Removes WebSocket connections by key. + /// + public WebSocketCollection Remove(params string[] keys) + { + ArgumentNullException.ThrowIfNull(keys); + + foreach (var key in keys) + { + _store.Remove(key); + } + + return this; + } + + /// + /// Broadcasts an event to all connected WebSocket clients. + /// + public async Task Emit(IDevToolsEvent @event, CancellationToken cancellationToken = default) + { + ArgumentNullException.ThrowIfNull(@event); + var payload = JsonSerializer.SerializeToUtf8Bytes(@event, @event.GetType(), SerializerOptions); + var buffer = new ArraySegment(payload, 0, payload.Length); + + foreach (var socket in _store.Values) + { + await socket.SendAsync(buffer, WebSocketMessageType.Text, true, cancellationToken).ConfigureAwait(false); + } + } + + /// + /// Sends an event to a single connected WebSocket client by id. + /// + public async Task Emit(string key, IDevToolsEvent @event, CancellationToken cancellationToken = default) + { + ArgumentNullException.ThrowIfNull(@event); + var socket = Get(key); + if (socket is null) return; + + var payload = JsonSerializer.SerializeToUtf8Bytes(@event, @event.GetType(), SerializerOptions); + var buffer = new ArraySegment(payload, 0, payload.Length); + await socket.SendAsync(buffer, WebSocketMessageType.Text, true, cancellationToken).ConfigureAwait(false); + } + + IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); + + /// + public IEnumerator> GetEnumerator() => _store.GetEnumerator(); +} diff --git a/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Filled-BNz-nPog.woff2 b/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Filled-BNz-nPog.woff2 new file mode 100644 index 00000000..d3a12c2b Binary files /dev/null and b/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Filled-BNz-nPog.woff2 differ diff --git a/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Filled-BkKNRAuh.ttf b/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Filled-BkKNRAuh.ttf new file mode 100644 index 00000000..f34f1b5b Binary files /dev/null and b/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Filled-BkKNRAuh.ttf differ diff --git a/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Filled-CKlopXFJ.woff b/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Filled-CKlopXFJ.woff new file mode 100644 index 00000000..24b00d94 Binary files /dev/null and b/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Filled-CKlopXFJ.woff differ diff --git a/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Light-CPYKaotZ.ttf b/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Light-CPYKaotZ.ttf new file mode 100644 index 00000000..04ab90d5 Binary files /dev/null and b/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Light-CPYKaotZ.ttf differ diff --git a/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Light-DzHdd4FE.woff b/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Light-DzHdd4FE.woff new file mode 100644 index 00000000..9cd944f1 Binary files /dev/null and b/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Light-DzHdd4FE.woff differ diff --git a/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Light-eu0dDZrh.woff2 b/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Light-eu0dDZrh.woff2 new file mode 100644 index 00000000..03a913c7 Binary files /dev/null and b/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Light-eu0dDZrh.woff2 differ diff --git a/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Regular-Ck4JqYAr.ttf b/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Regular-Ck4JqYAr.ttf new file mode 100644 index 00000000..63c1634b Binary files /dev/null and b/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Regular-Ck4JqYAr.ttf differ diff --git a/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Regular-DG6j5pl_.woff b/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Regular-DG6j5pl_.woff new file mode 100644 index 00000000..9fd3df61 Binary files /dev/null and b/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Regular-DG6j5pl_.woff differ diff --git a/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Regular-DaURWknX.woff2 b/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Regular-DaURWknX.woff2 new file mode 100644 index 00000000..168532e8 Binary files /dev/null and b/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Regular-DaURWknX.woff2 differ diff --git a/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Resizable-CnnvCM7P.ttf b/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Resizable-CnnvCM7P.ttf new file mode 100644 index 00000000..32c13852 Binary files /dev/null and b/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Resizable-CnnvCM7P.ttf differ diff --git a/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Resizable-DnCkRnj_.woff b/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Resizable-DnCkRnj_.woff new file mode 100644 index 00000000..d94bfb3c Binary files /dev/null and b/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Resizable-DnCkRnj_.woff differ diff --git a/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Resizable-Iep0utY8.woff2 b/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Resizable-Iep0utY8.woff2 new file mode 100644 index 00000000..69ee42a0 Binary files /dev/null and b/core/src/Microsoft.Teams.Bot.DevTools/web/assets/FluentSystemIcons-Resizable-Iep0utY8.woff2 differ diff --git a/core/src/Microsoft.Teams.Bot.DevTools/web/assets/index-BtGRgCi2.js b/core/src/Microsoft.Teams.Bot.DevTools/web/assets/index-BtGRgCi2.js new file mode 100644 index 00000000..1f726a35 --- /dev/null +++ b/core/src/Microsoft.Teams.Bot.DevTools/web/assets/index-BtGRgCi2.js @@ -0,0 +1,164 @@ +var v_=Object.defineProperty;var y_=(e,t,r)=>t in e?v_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Be=(e,t,r)=>y_(e,typeof t!="symbol"?t+"":t,r);function iS(e,t){for(var r=0;ro[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))o(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const c of s.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&o(c)}).observe(document,{childList:!0,subtree:!0});function r(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function o(i){if(i.ep)return;i.ep=!0;const s=r(i);fetch(i.href,s)}})();var p2=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Yd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function x_(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function o(){return this instanceof o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var i=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(r,o,i.get?i:{enumerable:!0,get:function(){return e[o]}})}),r}var $h={exports:{}},tu={};/** + * @license React + * react-jsx-runtime.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var b2;function w_(){if(b2)return tu;b2=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(o,i,s){var c=null;if(s!==void 0&&(c=""+s),i.key!==void 0&&(c=""+i.key),"key"in i){s={};for(var d in i)d!=="key"&&(s[d]=i[d])}else s=i;return i=s.ref,{$$typeof:e,type:o,key:c,ref:i!==void 0?i:null,props:s}}return tu.Fragment=t,tu.jsx=r,tu.jsxs=r,tu}var v2;function S_(){return v2||(v2=1,$h.exports=w_()),$h.exports}var E=S_();const k_=Yd(E),B_=iS({__proto__:null,default:k_},[E]);var Xh={exports:{}},Ue={};/** + * @license React + * react.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var y2;function __(){if(y2)return Ue;y2=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),w=Symbol.iterator;function v(A){return A===null||typeof A!="object"?null:(A=w&&A[w]||A["@@iterator"],typeof A=="function"?A:null)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,k={};function B(A,U,ae){this.props=A,this.context=U,this.refs=k,this.updater=ae||x}B.prototype.isReactComponent={},B.prototype.setState=function(A,U){if(typeof A!="object"&&typeof A!="function"&&A!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,A,U,"setState")},B.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function _(){}_.prototype=B.prototype;function C(A,U,ae){this.props=A,this.context=U,this.refs=k,this.updater=ae||x}var N=C.prototype=new _;N.constructor=C,y(N,B.prototype),N.isPureReactComponent=!0;var R=Array.isArray;function j(){}var D={H:null,A:null,T:null,S:null},M=Object.prototype.hasOwnProperty;function I(A,U,ae){var me=ae.ref;return{$$typeof:e,type:A,key:U,ref:me!==void 0?me:null,props:ae}}function G(A,U){return I(A.type,U,A.props)}function X(A){return typeof A=="object"&&A!==null&&A.$$typeof===e}function re(A){var U={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(ae){return U[ae]})}var ue=/\/+/g;function ne(A,U){return typeof A=="object"&&A!==null&&A.key!=null?re(""+A.key):U.toString(36)}function fe(A){switch(A.status){case"fulfilled":return A.value;case"rejected":throw A.reason;default:switch(typeof A.status=="string"?A.then(j,j):(A.status="pending",A.then(function(U){A.status==="pending"&&(A.status="fulfilled",A.value=U)},function(U){A.status==="pending"&&(A.status="rejected",A.reason=U)})),A.status){case"fulfilled":return A.value;case"rejected":throw A.reason}}throw A}function O(A,U,ae,me,Te){var Ae=typeof A;(Ae==="undefined"||Ae==="boolean")&&(A=null);var Le=!1;if(A===null)Le=!0;else switch(Ae){case"bigint":case"string":case"number":Le=!0;break;case"object":switch(A.$$typeof){case e:case t:Le=!0;break;case m:return Le=A._init,O(Le(A._payload),U,ae,me,Te)}}if(Le)return Te=Te(A),Le=me===""?"."+ne(A,0):me,R(Te)?(ae="",Le!=null&&(ae=Le.replace(ue,"$&/")+"/"),O(Te,U,ae,"",function(Ge){return Ge})):Te!=null&&(X(Te)&&(Te=G(Te,ae+(Te.key==null||A&&A.key===Te.key?"":(""+Te.key).replace(ue,"$&/")+"/")+Le)),U.push(Te)),1;Le=0;var Ft=me===""?".":me+":";if(R(A))for(var Qe=0;Qe>>1,se=O[Z];if(0>>1;Zi(ae,L))mei(Te,ae)?(O[Z]=Te,O[me]=L,Z=me):(O[Z]=ae,O[U]=L,Z=U);else if(mei(Te,L))O[Z]=Te,O[me]=L,Z=me;else break e}}return W}function i(O,W){var L=O.sortIndex-W.sortIndex;return L!==0?L:O.id-W.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var c=Date,d=c.now();e.unstable_now=function(){return c.now()-d}}var f=[],h=[],m=1,p=null,w=3,v=!1,x=!1,y=!1,k=!1,B=typeof setTimeout=="function"?setTimeout:null,_=typeof clearTimeout=="function"?clearTimeout:null,C=typeof setImmediate<"u"?setImmediate:null;function N(O){for(var W=r(h);W!==null;){if(W.callback===null)o(h);else if(W.startTime<=O)o(h),W.sortIndex=W.expirationTime,t(f,W);else break;W=r(h)}}function R(O){if(y=!1,N(O),!x)if(r(f)!==null)x=!0,j||(j=!0,re());else{var W=r(h);W!==null&&fe(R,W.startTime-O)}}var j=!1,D=-1,M=5,I=-1;function G(){return k?!0:!(e.unstable_now()-IO&&G());){var Z=p.callback;if(typeof Z=="function"){p.callback=null,w=p.priorityLevel;var se=Z(p.expirationTime<=O);if(O=e.unstable_now(),typeof se=="function"){p.callback=se,N(O),W=!0;break t}p===r(f)&&o(f),N(O)}else o(f);p=r(f)}if(p!==null)W=!0;else{var A=r(h);A!==null&&fe(R,A.startTime-O),W=!1}}break e}finally{p=null,w=L,v=!1}W=void 0}}finally{W?re():j=!1}}}var re;if(typeof C=="function")re=function(){C(X)};else if(typeof MessageChannel<"u"){var ue=new MessageChannel,ne=ue.port2;ue.port1.onmessage=X,re=function(){ne.postMessage(null)}}else re=function(){B(X,0)};function fe(O,W){D=B(function(){O(e.unstable_now())},W)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(O){O.callback=null},e.unstable_forceFrameRate=function(O){0>O||125Z?(O.sortIndex=L,t(h,O),r(f)===null&&O===r(h)&&(y?(_(D),D=-1):y=!0,fe(R,L-Z))):(O.sortIndex=se,t(f,O),x||v||(x=!0,j||(j=!0,re()))),O},e.unstable_shouldYield=G,e.unstable_wrapCallback=function(O){var W=w;return function(){var L=w;w=W;try{return O.apply(this,arguments)}finally{w=L}}}}(Zh)),Zh}var S2;function C_(){return S2||(S2=1,Yh.exports=T_()),Yh.exports}var Qh={exports:{}},$r={};/** + * @license React + * react-dom.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var k2;function E_(){if(k2)return $r;k2=1;var e=Tp();function t(f){var h="https://react.dev/errors/"+f;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Qh.exports=E_(),Qh.exports}/** + * @license React + * react-dom-client.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var _2;function N_(){if(_2)return ru;_2=1;var e=C_(),t=Tp(),r=lS();function o(n){var a="https://react.dev/errors/"+n;if(1se||(n.current=Z[se],Z[se]=null,se--)}function ae(n,a){se++,Z[se]=n.current,n.current=a}var me=A(null),Te=A(null),Ae=A(null),Le=A(null);function Ft(n,a){switch(ae(Ae,a),ae(Te,n),ae(me,null),a.nodeType){case 9:case 11:n=(n=a.documentElement)&&(n=n.namespaceURI)?Py(n):0;break;default:if(n=a.tagName,a=a.namespaceURI)a=Py(a),n=Iy(a,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}U(me),ae(me,n)}function Qe(){U(me),U(Te),U(Ae)}function Ge(n){n.memoizedState!==null&&ae(Le,n);var a=me.current,l=Iy(a,n.type);a!==l&&(ae(Te,n),ae(me,l))}function zt(n){Te.current===n&&(U(me),U(Te)),Le.current===n&&(U(Le),Zs._currentValue=L)}var dt,$t;function Pt(n){if(dt===void 0)try{throw Error()}catch(l){var a=l.stack.trim().match(/\n( *(at )?)/);dt=a&&a[1]||"",$t=-1)":-1g||P[u]!==Y[g]){var le=` +`+P[u].replace(" at new "," at ");return n.displayName&&le.includes("")&&(le=le.replace("",n.displayName)),le}while(1<=u&&0<=g);break}}}finally{Er=!1,Error.prepareStackTrace=l}return(l=n?n.displayName||n.name:"")?Pt(l):""}function Nr(n,a){switch(n.tag){case 26:case 27:case 5:return Pt(n.type);case 16:return Pt("Lazy");case 13:return n.child!==a&&a!==null?Pt("Suspense Fallback"):Pt("Suspense");case 19:return Pt("SuspenseList");case 0:case 15:return tr(n.type,!1);case 11:return tr(n.type.render,!1);case 1:return tr(n.type,!0);case 31:return Pt("Activity");default:return""}}function Or(n){try{var a="",l=null;do a+=Nr(n,l),l=n,n=n.return;while(n);return a}catch(u){return` +Error generating stack: `+u.message+` +`+u.stack}}var An=Object.prototype.hasOwnProperty,Zr=e.unstable_scheduleCallback,Mr=e.unstable_cancelCallback,po=e.unstable_shouldYield,eo=e.unstable_requestPaint,Rt=e.unstable_now,Li=e.unstable_getCurrentPriorityLevel,to=e.unstable_ImmediatePriority,bo=e.unstable_UserBlockingPriority,Mo=e.unstable_NormalPriority,qo=e.unstable_LowPriority,pa=e.unstable_IdlePriority,Hi=e.log,us=e.unstable_setDisableYieldValue,Fo=null,gr=null;function Qr(n){if(typeof Hi=="function"&&us(n),gr&&typeof gr.setStrictMode=="function")try{gr.setStrictMode(Fo,n)}catch{}}var $=Math.clz32?Math.clz32:pt,ee=Math.log,et=Math.LN2;function pt(n){return n>>>=0,n===0?32:31-(ee(n)/et|0)|0}var ut=256,He=262144,Wr=4194304;function rr(n){var a=n&42;if(a!==0)return a;switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return n&261888;case 262144:case 524288:case 1048576:case 2097152:return n&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function q(n,a,l){var u=n.pendingLanes;if(u===0)return 0;var g=0,b=n.suspendedLanes,T=n.pingedLanes;n=n.warmLanes;var z=u&134217727;return z!==0?(u=z&~b,u!==0?g=rr(u):(T&=z,T!==0?g=rr(T):l||(l=z&~n,l!==0&&(g=rr(l))))):(z=u&~b,z!==0?g=rr(z):T!==0?g=rr(T):l||(l=u&~n,l!==0&&(g=rr(l)))),g===0?0:a!==0&&a!==g&&(a&b)===0&&(b=g&-g,l=a&-a,b>=l||b===32&&(l&4194048)!==0)?a:g}function ie(n,a){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&a)===0}function Se(n,a){switch(n){case 1:case 2:case 4:case 8:case 64:return a+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function qe(){var n=Wr;return Wr<<=1,(Wr&62914560)===0&&(Wr=4194304),n}function tt(n){for(var a=[],l=0;31>l;l++)a.push(n);return a}function yt(n,a){n.pendingLanes|=a,a!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function Ce(n,a,l,u,g,b){var T=n.pendingLanes;n.pendingLanes=l,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=l,n.entangledLanes&=l,n.errorRecoveryDisabledLanes&=l,n.shellSuspendCounter=0;var z=n.entanglements,P=n.expirationTimes,Y=n.hiddenUpdates;for(l=T&~l;0"u")return null;try{return n.activeElement||n.body}catch{return n.body}}var Gf=/[\n"\\]/g;function rn(n){return n.replace(Gf,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function ds(n,a,l,u,g,b,T,z){n.name="",T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"?n.type=T:n.removeAttribute("type"),a!=null?T==="number"?(a===0&&n.value===""||n.value!=a)&&(n.value=""+It(a)):n.value!==""+It(a)&&(n.value=""+It(a)):T!=="submit"&&T!=="reset"||n.removeAttribute("value"),a!=null?Gi(n,T,It(a)):l!=null?Gi(n,T,It(l)):u!=null&&n.removeAttribute("value"),g==null&&b!=null&&(n.defaultChecked=!!b),g!=null&&(n.checked=g&&typeof g!="function"&&typeof g!="symbol"),z!=null&&typeof z!="function"&&typeof z!="symbol"&&typeof z!="boolean"?n.name=""+It(z):n.removeAttribute("name")}function ui(n,a,l,u,g,b,T,z){if(b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(n.type=b),a!=null||l!=null){if(!(b!=="submit"&&b!=="reset"||a!=null)){Vi(n);return}l=l!=null?""+It(l):"",a=a!=null?""+It(a):l,z||a===n.value||(n.value=a),n.defaultValue=a}u=u??g,u=typeof u!="function"&&typeof u!="symbol"&&!!u,n.checked=z?n.checked:!!u,n.defaultChecked=!!u,T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"&&(n.name=T),Vi(n)}function Gi(n,a,l){a==="number"&&Wi(n.ownerDocument)===n||n.defaultValue===""+l||(n.defaultValue=""+l)}function qr(n,a,l,u){if(n=n.options,a){a={};for(var g=0;g"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),$f=!1;if(Uo)try{var gs={};Object.defineProperty(gs,"passive",{get:function(){$f=!0}}),window.addEventListener("test",gs,gs),window.removeEventListener("test",gs,gs)}catch{$f=!1}var Sa=null,Xf=null,Xu=null;function I1(){if(Xu)return Xu;var n,a=Xf,l=a.length,u,g="value"in Sa?Sa.value:Sa.textContent,b=g.length;for(n=0;n=vs),G1=" ",$1=!1;function X1(n,a){switch(n){case"keyup":return I8.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function K1(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var Xi=!1;function H8(n,a){switch(n){case"compositionend":return K1(a);case"keypress":return a.which!==32?null:($1=!0,G1);case"textInput":return n=a.data,n===G1&&$1?null:n;default:return null}}function U8(n,a){if(Xi)return n==="compositionend"||!Jf&&X1(n,a)?(n=I1(),Xu=Xf=Sa=null,Xi=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1=a)return{node:l,offset:a-n};n=u}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=nb(l)}}function ab(n,a){return n&&a?n===a?!0:n&&n.nodeType===3?!1:a&&a.nodeType===3?ab(n,a.parentNode):"contains"in n?n.contains(a):n.compareDocumentPosition?!!(n.compareDocumentPosition(a)&16):!1:!1}function ib(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var a=Wi(n.document);a instanceof n.HTMLIFrameElement;){try{var l=typeof a.contentWindow.location.href=="string"}catch{l=!1}if(l)n=a.contentWindow;else break;a=Wi(n.document)}return a}function r0(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a&&(a==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||a==="textarea"||n.contentEditable==="true")}var Z8=Uo&&"documentMode"in document&&11>=document.documentMode,Ki=null,n0=null,Ss=null,o0=!1;function lb(n,a,l){var u=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;o0||Ki==null||Ki!==Wi(u)||(u=Ki,"selectionStart"in u&&r0(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),Ss&&ws(Ss,u)||(Ss=u,u=Lc(n0,"onSelect"),0>=T,g-=T,xo=1<<32-$(a)+g|l<Ze?(lt=Re,Re=null):lt=Re.sibling;var ht=Q(V,Re,K[Ze],ce);if(ht===null){Re===null&&(Re=lt);break}n&&Re&&ht.alternate===null&&a(V,Re),H=b(ht,H,Ze),ft===null?Me=ht:ft.sibling=ht,ft=ht,Re=lt}if(Ze===K.length)return l(V,Re),st&&Wo(V,Ze),Me;if(Re===null){for(;ZeZe?(lt=Re,Re=null):lt=Re.sibling;var Va=Q(V,Re,ht.value,ce);if(Va===null){Re===null&&(Re=lt);break}n&&Re&&Va.alternate===null&&a(V,Re),H=b(Va,H,Ze),ft===null?Me=Va:ft.sibling=Va,ft=Va,Re=lt}if(ht.done)return l(V,Re),st&&Wo(V,Ze),Me;if(Re===null){for(;!ht.done;Ze++,ht=K.next())ht=he(V,ht.value,ce),ht!==null&&(H=b(ht,H,Ze),ft===null?Me=ht:ft.sibling=ht,ft=ht);return st&&Wo(V,Ze),Me}for(Re=u(Re);!ht.done;Ze++,ht=K.next())ht=oe(Re,V,Ze,ht.value,ce),ht!==null&&(n&&ht.alternate!==null&&Re.delete(ht.key===null?Ze:ht.key),H=b(ht,H,Ze),ft===null?Me=ht:ft.sibling=ht,ft=ht);return n&&Re.forEach(function(b_){return a(V,b_)}),st&&Wo(V,Ze),Me}function jt(V,H,K,ce){if(typeof K=="object"&&K!==null&&K.type===y&&K.key===null&&(K=K.props.children),typeof K=="object"&&K!==null){switch(K.$$typeof){case v:e:{for(var Me=K.key;H!==null;){if(H.key===Me){if(Me=K.type,Me===y){if(H.tag===7){l(V,H.sibling),ce=g(H,K.props.children),ce.return=V,V=ce;break e}}else if(H.elementType===Me||typeof Me=="object"&&Me!==null&&Me.$$typeof===M&&yi(Me)===H.type){l(V,H.sibling),ce=g(H,K.props),Es(ce,K),ce.return=V,V=ce;break e}l(V,H);break}else a(V,H);H=H.sibling}K.type===y?(ce=mi(K.props.children,V.mode,ce,K.key),ce.return=V,V=ce):(ce=oc(K.type,K.key,K.props,null,V.mode,ce),Es(ce,K),ce.return=V,V=ce)}return T(V);case x:e:{for(Me=K.key;H!==null;){if(H.key===Me)if(H.tag===4&&H.stateNode.containerInfo===K.containerInfo&&H.stateNode.implementation===K.implementation){l(V,H.sibling),ce=g(H,K.children||[]),ce.return=V,V=ce;break e}else{l(V,H);break}else a(V,H);H=H.sibling}ce=d0(K,V.mode,ce),ce.return=V,V=ce}return T(V);case M:return K=yi(K),jt(V,H,K,ce)}if(fe(K))return Ee(V,H,K,ce);if(re(K)){if(Me=re(K),typeof Me!="function")throw Error(o(150));return K=Me.call(K),Fe(V,H,K,ce)}if(typeof K.then=="function")return jt(V,H,dc(K),ce);if(K.$$typeof===C)return jt(V,H,lc(V,K),ce);fc(V,K)}return typeof K=="string"&&K!==""||typeof K=="number"||typeof K=="bigint"?(K=""+K,H!==null&&H.tag===6?(l(V,H.sibling),ce=g(H,K),ce.return=V,V=ce):(l(V,H),ce=c0(K,V.mode,ce),ce.return=V,V=ce),T(V)):l(V,H)}return function(V,H,K,ce){try{Cs=0;var Me=jt(V,H,K,ce);return il=null,Me}catch(Re){if(Re===al||Re===uc)throw Re;var ft=xn(29,Re,null,V.mode);return ft.lanes=ce,ft.return=V,ft}finally{}}}var wi=zb(!0),Rb=zb(!1),Ca=!1;function k0(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function B0(n,a){n=n.updateQueue,a.updateQueue===n&&(a.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function Ea(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function Na(n,a,l){var u=n.updateQueue;if(u===null)return null;if(u=u.shared,(bt&2)!==0){var g=u.pending;return g===null?a.next=a:(a.next=g.next,g.next=a),u.pending=a,a=nc(n),mb(n,null,l),a}return rc(n,u,a,l),nc(n)}function Ns(n,a,l){if(a=a.updateQueue,a!==null&&(a=a.shared,(l&4194048)!==0)){var u=a.lanes;u&=n.pendingLanes,l|=u,a.lanes=l,Oe(n,l)}}function _0(n,a){var l=n.updateQueue,u=n.alternate;if(u!==null&&(u=u.updateQueue,l===u)){var g=null,b=null;if(l=l.firstBaseUpdate,l!==null){do{var T={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};b===null?g=b=T:b=b.next=T,l=l.next}while(l!==null);b===null?g=b=a:b=b.next=a}else g=b=a;l={baseState:u.baseState,firstBaseUpdate:g,lastBaseUpdate:b,shared:u.shared,callbacks:u.callbacks},n.updateQueue=l;return}n=l.lastBaseUpdate,n===null?l.firstBaseUpdate=a:n.next=a,l.lastBaseUpdate=a}var T0=!1;function zs(){if(T0){var n=ol;if(n!==null)throw n}}function Rs(n,a,l,u){T0=!1;var g=n.updateQueue;Ca=!1;var b=g.firstBaseUpdate,T=g.lastBaseUpdate,z=g.shared.pending;if(z!==null){g.shared.pending=null;var P=z,Y=P.next;P.next=null,T===null?b=Y:T.next=Y,T=P;var le=n.alternate;le!==null&&(le=le.updateQueue,z=le.lastBaseUpdate,z!==T&&(z===null?le.firstBaseUpdate=Y:z.next=Y,le.lastBaseUpdate=P))}if(b!==null){var he=g.baseState;T=0,le=Y=P=null,z=b;do{var Q=z.lane&-536870913,oe=Q!==z.lane;if(oe?(it&Q)===Q:(u&Q)===Q){Q!==0&&Q===nl&&(T0=!0),le!==null&&(le=le.next={lane:0,tag:z.tag,payload:z.payload,callback:null,next:null});e:{var Ee=n,Fe=z;Q=a;var jt=l;switch(Fe.tag){case 1:if(Ee=Fe.payload,typeof Ee=="function"){he=Ee.call(jt,he,Q);break e}he=Ee;break e;case 3:Ee.flags=Ee.flags&-65537|128;case 0:if(Ee=Fe.payload,Q=typeof Ee=="function"?Ee.call(jt,he,Q):Ee,Q==null)break e;he=p({},he,Q);break e;case 2:Ca=!0}}Q=z.callback,Q!==null&&(n.flags|=64,oe&&(n.flags|=8192),oe=g.callbacks,oe===null?g.callbacks=[Q]:oe.push(Q))}else oe={lane:Q,tag:z.tag,payload:z.payload,callback:z.callback,next:null},le===null?(Y=le=oe,P=he):le=le.next=oe,T|=Q;if(z=z.next,z===null){if(z=g.shared.pending,z===null)break;oe=z,z=oe.next,oe.next=null,g.lastBaseUpdate=oe,g.shared.pending=null}}while(!0);le===null&&(P=he),g.baseState=P,g.firstBaseUpdate=Y,g.lastBaseUpdate=le,b===null&&(g.shared.lanes=0),ja|=T,n.lanes=T,n.memoizedState=he}}function Ab(n,a){if(typeof n!="function")throw Error(o(191,n));n.call(a)}function Db(n,a){var l=n.callbacks;if(l!==null)for(n.callbacks=null,n=0;nb?b:8;var T=O.T,z={};O.T=z,W0(n,!1,a,l);try{var P=g(),Y=O.S;if(Y!==null&&Y(z,P),P!==null&&typeof P=="object"&&typeof P.then=="function"){var le=iB(P,u);js(n,a,le,_n(n))}else js(n,a,u,_n(n))}catch(he){js(n,a,{then:function(){},status:"rejected",reason:he},_n())}finally{W.p=b,T!==null&&z.types!==null&&(T.types=z.types),O.T=T}}function fB(){}function U0(n,a,l,u){if(n.tag!==5)throw Error(o(476));var g=dv(n).queue;cv(n,g,a,L,l===null?fB:function(){return fv(n),l(u)})}function dv(n){var a=n.memoizedState;if(a!==null)return a;a={memoizedState:L,baseState:L,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ko,lastRenderedState:L},next:null};var l={};return a.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ko,lastRenderedState:l},next:null},n.memoizedState=a,n=n.alternate,n!==null&&(n.memoizedState=a),a}function fv(n){var a=dv(n);a.next===null&&(a=n.alternate.memoizedState),js(n,a.next.queue,{},_n())}function V0(){return Pr(Zs)}function hv(){return hr().memoizedState}function mv(){return hr().memoizedState}function hB(n){for(var a=n.return;a!==null;){switch(a.tag){case 24:case 3:var l=_n();n=Ea(l);var u=Na(a,n,l);u!==null&&(un(u,a,l),Ns(u,a,l)),a={cache:y0()},n.payload=a;return}a=a.return}}function mB(n,a,l){var u=_n();l={lane:u,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Sc(n)?pv(a,l):(l=s0(n,a,l,u),l!==null&&(un(l,n,u),bv(l,a,u)))}function gv(n,a,l){var u=_n();js(n,a,l,u)}function js(n,a,l,u){var g={lane:u,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(Sc(n))pv(a,g);else{var b=n.alternate;if(n.lanes===0&&(b===null||b.lanes===0)&&(b=a.lastRenderedReducer,b!==null))try{var T=a.lastRenderedState,z=b(T,l);if(g.hasEagerState=!0,g.eagerState=z,yn(z,T))return rc(n,a,g,0),qt===null&&tc(),!1}catch{}finally{}if(l=s0(n,a,g,u),l!==null)return un(l,n,u),bv(l,a,u),!0}return!1}function W0(n,a,l,u){if(u={lane:2,revertLane:kh(),gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},Sc(n)){if(a)throw Error(o(479))}else a=s0(n,l,u,2),a!==null&&un(a,n,2)}function Sc(n){var a=n.alternate;return n===Ke||a!==null&&a===Ke}function pv(n,a){sl=gc=!0;var l=n.pending;l===null?a.next=a:(a.next=l.next,l.next=a),n.pending=a}function bv(n,a,l){if((l&4194048)!==0){var u=a.lanes;u&=n.pendingLanes,l|=u,a.lanes=l,Oe(n,l)}}var Os={readContext:Pr,use:vc,useCallback:nr,useContext:nr,useEffect:nr,useImperativeHandle:nr,useLayoutEffect:nr,useInsertionEffect:nr,useMemo:nr,useReducer:nr,useRef:nr,useState:nr,useDebugValue:nr,useDeferredValue:nr,useTransition:nr,useSyncExternalStore:nr,useId:nr,useHostTransitionStatus:nr,useFormState:nr,useActionState:nr,useOptimistic:nr,useMemoCache:nr,useCacheRefresh:nr};Os.useEffectEvent=nr;var vv={readContext:Pr,use:vc,useCallback:function(n,a){return Jr().memoizedState=[n,a===void 0?null:a],n},useContext:Pr,useEffect:tv,useImperativeHandle:function(n,a,l){l=l!=null?l.concat([n]):null,xc(4194308,4,av.bind(null,a,n),l)},useLayoutEffect:function(n,a){return xc(4194308,4,n,a)},useInsertionEffect:function(n,a){xc(4,2,n,a)},useMemo:function(n,a){var l=Jr();a=a===void 0?null:a;var u=n();if(Si){Qr(!0);try{n()}finally{Qr(!1)}}return l.memoizedState=[u,a],u},useReducer:function(n,a,l){var u=Jr();if(l!==void 0){var g=l(a);if(Si){Qr(!0);try{l(a)}finally{Qr(!1)}}}else g=a;return u.memoizedState=u.baseState=g,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:g},u.queue=n,n=n.dispatch=mB.bind(null,Ke,n),[u.memoizedState,n]},useRef:function(n){var a=Jr();return n={current:n},a.memoizedState=n},useState:function(n){n=F0(n);var a=n.queue,l=gv.bind(null,Ke,a);return a.dispatch=l,[n.memoizedState,l]},useDebugValue:L0,useDeferredValue:function(n,a){var l=Jr();return H0(l,n,a)},useTransition:function(){var n=F0(!1);return n=cv.bind(null,Ke,n.queue,!0,!1),Jr().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,a,l){var u=Ke,g=Jr();if(st){if(l===void 0)throw Error(o(407));l=l()}else{if(l=a(),qt===null)throw Error(o(349));(it&127)!==0||Pb(u,a,l)}g.memoizedState=l;var b={value:l,getSnapshot:a};return g.queue=b,tv(Lb.bind(null,u,b,n),[n]),u.flags|=2048,cl(9,{destroy:void 0},Ib.bind(null,u,b,l,a),null),l},useId:function(){var n=Jr(),a=qt.identifierPrefix;if(st){var l=wo,u=xo;l=(u&~(1<<32-$(u)-1)).toString(32)+l,a="_"+a+"R_"+l,l=pc++,0<\/script>",b=b.removeChild(b.firstChild);break;case"select":b=typeof u.is=="string"?T.createElement("select",{is:u.is}):T.createElement("select"),u.multiple?b.multiple=!0:u.size&&(b.size=u.size);break;default:b=typeof u.is=="string"?T.createElement(g,{is:u.is}):T.createElement(g)}}b[Ut]=a,b[Tr]=u;e:for(T=a.child;T!==null;){if(T.tag===5||T.tag===6)b.appendChild(T.stateNode);else if(T.tag!==4&&T.tag!==27&&T.child!==null){T.child.return=T,T=T.child;continue}if(T===a)break e;for(;T.sibling===null;){if(T.return===null||T.return===a)break e;T=T.return}T.sibling.return=T.return,T=T.sibling}a.stateNode=b;e:switch(Lr(b,g,u),g){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}u&&Zo(a)}}return Wt(a),ah(a,a.type,n===null?null:n.memoizedProps,a.pendingProps,l),null;case 6:if(n&&a.stateNode!=null)n.memoizedProps!==u&&Zo(a);else{if(typeof u!="string"&&a.stateNode===null)throw Error(o(166));if(n=Ae.current,tl(a)){if(n=a.stateNode,l=a.memoizedProps,u=null,g=Fr,g!==null)switch(g.tag){case 27:case 5:u=g.memoizedProps}n[Ut]=a,n=!!(n.nodeValue===l||u!==null&&u.suppressHydrationWarning===!0||qy(n.nodeValue,l)),n||_a(a,!0)}else n=Hc(n).createTextNode(u),n[Ut]=a,a.stateNode=n}return Wt(a),null;case 31:if(l=a.memoizedState,n===null||n.memoizedState!==null){if(u=tl(a),l!==null){if(n===null){if(!u)throw Error(o(318));if(n=a.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(o(557));n[Ut]=a}else gi(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;Wt(a),n=!1}else l=g0(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=l),n=!0;if(!n)return a.flags&256?(Sn(a),a):(Sn(a),null);if((a.flags&128)!==0)throw Error(o(558))}return Wt(a),null;case 13:if(u=a.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(g=tl(a),u!==null&&u.dehydrated!==null){if(n===null){if(!g)throw Error(o(318));if(g=a.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(o(317));g[Ut]=a}else gi(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;Wt(a),g=!1}else g=g0(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=g),g=!0;if(!g)return a.flags&256?(Sn(a),a):(Sn(a),null)}return Sn(a),(a.flags&128)!==0?(a.lanes=l,a):(l=u!==null,n=n!==null&&n.memoizedState!==null,l&&(u=a.child,g=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(g=u.alternate.memoizedState.cachePool.pool),b=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(b=u.memoizedState.cachePool.pool),b!==g&&(u.flags|=2048)),l!==n&&l&&(a.child.flags|=8192),Cc(a,a.updateQueue),Wt(a),null);case 4:return Qe(),n===null&&Ch(a.stateNode.containerInfo),Wt(a),null;case 10:return $o(a.type),Wt(a),null;case 19:if(U(fr),u=a.memoizedState,u===null)return Wt(a),null;if(g=(a.flags&128)!==0,b=u.rendering,b===null)if(g)qs(u,!1);else{if(or!==0||n!==null&&(n.flags&128)!==0)for(n=a.child;n!==null;){if(b=mc(n),b!==null){for(a.flags|=128,qs(u,!1),n=b.updateQueue,a.updateQueue=n,Cc(a,n),a.subtreeFlags=0,n=l,l=a.child;l!==null;)gb(l,n),l=l.sibling;return ae(fr,fr.current&1|2),st&&Wo(a,u.treeForkCount),a.child}n=n.sibling}u.tail!==null&&Rt()>Ac&&(a.flags|=128,g=!0,qs(u,!1),a.lanes=4194304)}else{if(!g)if(n=mc(b),n!==null){if(a.flags|=128,g=!0,n=n.updateQueue,a.updateQueue=n,Cc(a,n),qs(u,!0),u.tail===null&&u.tailMode==="hidden"&&!b.alternate&&!st)return Wt(a),null}else 2*Rt()-u.renderingStartTime>Ac&&l!==536870912&&(a.flags|=128,g=!0,qs(u,!1),a.lanes=4194304);u.isBackwards?(b.sibling=a.child,a.child=b):(n=u.last,n!==null?n.sibling=b:a.child=b,u.last=b)}return u.tail!==null?(n=u.tail,u.rendering=n,u.tail=n.sibling,u.renderingStartTime=Rt(),n.sibling=null,l=fr.current,ae(fr,g?l&1|2:l&1),st&&Wo(a,u.treeForkCount),n):(Wt(a),null);case 22:case 23:return Sn(a),E0(),u=a.memoizedState!==null,n!==null?n.memoizedState!==null!==u&&(a.flags|=8192):u&&(a.flags|=8192),u?(l&536870912)!==0&&(a.flags&128)===0&&(Wt(a),a.subtreeFlags&6&&(a.flags|=8192)):Wt(a),l=a.updateQueue,l!==null&&Cc(a,l.retryQueue),l=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(l=n.memoizedState.cachePool.pool),u=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==l&&(a.flags|=2048),n!==null&&U(vi),null;case 24:return l=null,n!==null&&(l=n.memoizedState.cache),a.memoizedState.cache!==l&&(a.flags|=2048),$o(vr),Wt(a),null;case 25:return null;case 30:return null}throw Error(o(156,a.tag))}function yB(n,a){switch(h0(a),a.tag){case 1:return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 3:return $o(vr),Qe(),n=a.flags,(n&65536)!==0&&(n&128)===0?(a.flags=n&-65537|128,a):null;case 26:case 27:case 5:return zt(a),null;case 31:if(a.memoizedState!==null){if(Sn(a),a.alternate===null)throw Error(o(340));gi()}return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 13:if(Sn(a),n=a.memoizedState,n!==null&&n.dehydrated!==null){if(a.alternate===null)throw Error(o(340));gi()}return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 19:return U(fr),null;case 4:return Qe(),null;case 10:return $o(a.type),null;case 22:case 23:return Sn(a),E0(),n!==null&&U(vi),n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 24:return $o(vr),null;case 25:return null;default:return null}}function Hv(n,a){switch(h0(a),a.tag){case 3:$o(vr),Qe();break;case 26:case 27:case 5:zt(a);break;case 4:Qe();break;case 31:a.memoizedState!==null&&Sn(a);break;case 13:Sn(a);break;case 19:U(fr);break;case 10:$o(a.type);break;case 22:case 23:Sn(a),E0(),n!==null&&U(vi);break;case 24:$o(vr)}}function Fs(n,a){try{var l=a.updateQueue,u=l!==null?l.lastEffect:null;if(u!==null){var g=u.next;l=g;do{if((l.tag&n)===n){u=void 0;var b=l.create,T=l.inst;u=b(),T.destroy=u}l=l.next}while(l!==g)}}catch(z){Ct(a,a.return,z)}}function Aa(n,a,l){try{var u=a.updateQueue,g=u!==null?u.lastEffect:null;if(g!==null){var b=g.next;u=b;do{if((u.tag&n)===n){var T=u.inst,z=T.destroy;if(z!==void 0){T.destroy=void 0,g=a;var P=l,Y=z;try{Y()}catch(le){Ct(g,P,le)}}}u=u.next}while(u!==b)}}catch(le){Ct(a,a.return,le)}}function Uv(n){var a=n.updateQueue;if(a!==null){var l=n.stateNode;try{Db(a,l)}catch(u){Ct(n,n.return,u)}}}function Vv(n,a,l){l.props=ki(n.type,n.memoizedProps),l.state=n.memoizedState;try{l.componentWillUnmount()}catch(u){Ct(n,a,u)}}function Ps(n,a){try{var l=n.ref;if(l!==null){switch(n.tag){case 26:case 27:case 5:var u=n.stateNode;break;case 30:u=n.stateNode;break;default:u=n.stateNode}typeof l=="function"?n.refCleanup=l(u):l.current=u}}catch(g){Ct(n,a,g)}}function So(n,a){var l=n.ref,u=n.refCleanup;if(l!==null)if(typeof u=="function")try{u()}catch(g){Ct(n,a,g)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(g){Ct(n,a,g)}else l.current=null}function Wv(n){var a=n.type,l=n.memoizedProps,u=n.stateNode;try{e:switch(a){case"button":case"input":case"select":case"textarea":l.autoFocus&&u.focus();break e;case"img":l.src?u.src=l.src:l.srcSet&&(u.srcset=l.srcSet)}}catch(g){Ct(n,n.return,g)}}function ih(n,a,l){try{var u=n.stateNode;LB(u,n.type,l,a),u[Tr]=a}catch(g){Ct(n,n.return,g)}}function Gv(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&Pa(n.type)||n.tag===4}function lh(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||Gv(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&Pa(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function sh(n,a,l){var u=n.tag;if(u===5||u===6)n=n.stateNode,a?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(n,a):(a=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,a.appendChild(n),l=l._reactRootContainer,l!=null||a.onclick!==null||(a.onclick=we));else if(u!==4&&(u===27&&Pa(n.type)&&(l=n.stateNode,a=null),n=n.child,n!==null))for(sh(n,a,l),n=n.sibling;n!==null;)sh(n,a,l),n=n.sibling}function Ec(n,a,l){var u=n.tag;if(u===5||u===6)n=n.stateNode,a?l.insertBefore(n,a):l.appendChild(n);else if(u!==4&&(u===27&&Pa(n.type)&&(l=n.stateNode),n=n.child,n!==null))for(Ec(n,a,l),n=n.sibling;n!==null;)Ec(n,a,l),n=n.sibling}function $v(n){var a=n.stateNode,l=n.memoizedProps;try{for(var u=n.type,g=a.attributes;g.length;)a.removeAttributeNode(g[0]);Lr(a,u,l),a[Ut]=n,a[Tr]=l}catch(b){Ct(n,n.return,b)}}var Qo=!1,wr=!1,uh=!1,Xv=typeof WeakSet=="function"?WeakSet:Set,Rr=null;function xB(n,a){if(n=n.containerInfo,zh=Kc,n=ib(n),r0(n)){if("selectionStart"in n)var l={start:n.selectionStart,end:n.selectionEnd};else e:{l=(l=n.ownerDocument)&&l.defaultView||window;var u=l.getSelection&&l.getSelection();if(u&&u.rangeCount!==0){l=u.anchorNode;var g=u.anchorOffset,b=u.focusNode;u=u.focusOffset;try{l.nodeType,b.nodeType}catch{l=null;break e}var T=0,z=-1,P=-1,Y=0,le=0,he=n,Q=null;t:for(;;){for(var oe;he!==l||g!==0&&he.nodeType!==3||(z=T+g),he!==b||u!==0&&he.nodeType!==3||(P=T+u),he.nodeType===3&&(T+=he.nodeValue.length),(oe=he.firstChild)!==null;)Q=he,he=oe;for(;;){if(he===n)break t;if(Q===l&&++Y===g&&(z=T),Q===b&&++le===u&&(P=T),(oe=he.nextSibling)!==null)break;he=Q,Q=he.parentNode}he=oe}l=z===-1||P===-1?null:{start:z,end:P}}else l=null}l=l||{start:0,end:0}}else l=null;for(Rh={focusedElem:n,selectionRange:l},Kc=!1,Rr=a;Rr!==null;)if(a=Rr,n=a.child,(a.subtreeFlags&1028)!==0&&n!==null)n.return=a,Rr=n;else for(;Rr!==null;){switch(a=Rr,b=a.alternate,n=a.flags,a.tag){case 0:if((n&4)!==0&&(n=a.updateQueue,n=n!==null?n.events:null,n!==null))for(l=0;l title"))),Lr(b,u,l),b[Ut]=n,pr(b),u=b;break e;case"link":var T=e2("link","href",g).get(u+(l.href||""));if(T){for(var z=0;zjt&&(T=jt,jt=Fe,Fe=T);var V=ob(z,Fe),H=ob(z,jt);if(V&&H&&(oe.rangeCount!==1||oe.anchorNode!==V.node||oe.anchorOffset!==V.offset||oe.focusNode!==H.node||oe.focusOffset!==H.offset)){var K=he.createRange();K.setStart(V.node,V.offset),oe.removeAllRanges(),Fe>jt?(oe.addRange(K),oe.extend(H.node,H.offset)):(K.setEnd(H.node,H.offset),oe.addRange(K))}}}}for(he=[],oe=z;oe=oe.parentNode;)oe.nodeType===1&&he.push({element:oe,left:oe.scrollLeft,top:oe.scrollTop});for(typeof z.focus=="function"&&z.focus(),z=0;zl?32:l,O.T=null,l=ph,ph=null;var b=Ma,T=na;if(Cr=0,gl=Ma=null,na=0,(bt&6)!==0)throw Error(o(331));var z=bt;if(bt|=4,ay(b.current),ry(b,b.current,T,l),bt=z,Ws(0,!1),gr&&typeof gr.onPostCommitFiberRoot=="function")try{gr.onPostCommitFiberRoot(Fo,b)}catch{}return!0}finally{W.p=g,O.T=u,ky(n,a)}}function _y(n,a,l){a=qn(l,a),a=K0(n.stateNode,a,2),n=Na(n,a,2),n!==null&&(yt(n,2),ko(n))}function Ct(n,a,l){if(n.tag===3)_y(n,n,l);else for(;a!==null;){if(a.tag===3){_y(a,n,l);break}else if(a.tag===1){var u=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(Oa===null||!Oa.has(u))){n=qn(l,n),l=Tv(2),u=Na(a,l,2),u!==null&&(Cv(l,u,a,n),yt(u,2),ko(u));break}}a=a.return}}function xh(n,a,l){var u=n.pingCache;if(u===null){u=n.pingCache=new kB;var g=new Set;u.set(a,g)}else g=u.get(a),g===void 0&&(g=new Set,u.set(a,g));g.has(l)||(fh=!0,g.add(l),n=EB.bind(null,n,a,l),a.then(n,n))}function EB(n,a,l){var u=n.pingCache;u!==null&&u.delete(a),n.pingedLanes|=n.suspendedLanes&l,n.warmLanes&=~l,qt===n&&(it&l)===l&&(or===4||or===3&&(it&62914560)===it&&300>Rt()-Rc?(bt&2)===0&&pl(n,0):hh|=l,ml===it&&(ml=0)),ko(n)}function Ty(n,a){a===0&&(a=qe()),n=hi(n,a),n!==null&&(yt(n,a),ko(n))}function NB(n){var a=n.memoizedState,l=0;a!==null&&(l=a.retryLane),Ty(n,l)}function zB(n,a){var l=0;switch(n.tag){case 31:case 13:var u=n.stateNode,g=n.memoizedState;g!==null&&(l=g.retryLane);break;case 19:u=n.stateNode;break;case 22:u=n.stateNode._retryCache;break;default:throw Error(o(314))}u!==null&&u.delete(a),Ty(n,l)}function RB(n,a){return Zr(n,a)}var Fc=null,vl=null,wh=!1,Pc=!1,Sh=!1,Fa=0;function ko(n){n!==vl&&n.next===null&&(vl===null?Fc=vl=n:vl=vl.next=n),Pc=!0,wh||(wh=!0,DB())}function Ws(n,a){if(!Sh&&Pc){Sh=!0;do for(var l=!1,u=Fc;u!==null;){if(n!==0){var g=u.pendingLanes;if(g===0)var b=0;else{var T=u.suspendedLanes,z=u.pingedLanes;b=(1<<31-$(42|n)+1)-1,b&=g&~(T&~z),b=b&201326741?b&201326741|1:b?b|2:0}b!==0&&(l=!0,zy(u,b))}else b=it,b=q(u,u===qt?b:0,u.cancelPendingCommit!==null||u.timeoutHandle!==-1),(b&3)===0||ie(u,b)||(l=!0,zy(u,b));u=u.next}while(l);Sh=!1}}function AB(){Cy()}function Cy(){Pc=wh=!1;var n=0;Fa!==0&&UB()&&(n=Fa);for(var a=Rt(),l=null,u=Fc;u!==null;){var g=u.next,b=Ey(u,a);b===0?(u.next=null,l===null?Fc=g:l.next=g,g===null&&(vl=l)):(l=u,(n!==0||(b&3)!==0)&&(Pc=!0)),u=g}Cr!==0&&Cr!==5||Ws(n),Fa!==0&&(Fa=0)}function Ey(n,a){for(var l=n.suspendedLanes,u=n.pingedLanes,g=n.expirationTimes,b=n.pendingLanes&-62914561;0z)break;var le=P.transferSize,he=P.initiatorType;le&&Fy(he)&&(P=P.responseEnd,T+=le*(P"u"?null:document;function Yy(n,a,l){var u=yl;if(u&&typeof a=="string"&&a){var g=rn(a);g='link[rel="'+n+'"][href="'+g+'"]',typeof l=="string"&&(g+='[crossorigin="'+l+'"]'),Ky.has(g)||(Ky.add(g),n={rel:n,crossOrigin:l,href:a},u.querySelector(g)===null&&(a=u.createElement("link"),Lr(a,"link",n),pr(a),u.head.appendChild(a)))}}function QB(n){oa.D(n),Yy("dns-prefetch",n,null)}function JB(n,a){oa.C(n,a),Yy("preconnect",n,a)}function e_(n,a,l){oa.L(n,a,l);var u=yl;if(u&&n&&a){var g='link[rel="preload"][as="'+rn(a)+'"]';a==="image"&&l&&l.imageSrcSet?(g+='[imagesrcset="'+rn(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(g+='[imagesizes="'+rn(l.imageSizes)+'"]')):g+='[href="'+rn(n)+'"]';var b=g;switch(a){case"style":b=xl(n);break;case"script":b=wl(n)}Un.has(b)||(n=p({rel:"preload",href:a==="image"&&l&&l.imageSrcSet?void 0:n,as:a},l),Un.set(b,n),u.querySelector(g)!==null||a==="style"&&u.querySelector(Ks(b))||a==="script"&&u.querySelector(Ys(b))||(a=u.createElement("link"),Lr(a,"link",n),pr(a),u.head.appendChild(a)))}}function t_(n,a){oa.m(n,a);var l=yl;if(l&&n){var u=a&&typeof a.as=="string"?a.as:"script",g='link[rel="modulepreload"][as="'+rn(u)+'"][href="'+rn(n)+'"]',b=g;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":b=wl(n)}if(!Un.has(b)&&(n=p({rel:"modulepreload",href:n},a),Un.set(b,n),l.querySelector(g)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Ys(b)))return}u=l.createElement("link"),Lr(u,"link",n),pr(u),l.head.appendChild(u)}}}function r_(n,a,l){oa.S(n,a,l);var u=yl;if(u&&n){var g=ya(u).hoistableStyles,b=xl(n);a=a||"default";var T=g.get(b);if(!T){var z={loading:0,preload:null};if(T=u.querySelector(Ks(b)))z.loading=5;else{n=p({rel:"stylesheet",href:n,"data-precedence":a},l),(l=Un.get(b))&&Fh(n,l);var P=T=u.createElement("link");pr(P),Lr(P,"link",n),P._p=new Promise(function(Y,le){P.onload=Y,P.onerror=le}),P.addEventListener("load",function(){z.loading|=1}),P.addEventListener("error",function(){z.loading|=2}),z.loading|=4,Vc(T,a,u)}T={type:"stylesheet",instance:T,count:1,state:z},g.set(b,T)}}}function n_(n,a){oa.X(n,a);var l=yl;if(l&&n){var u=ya(l).hoistableScripts,g=wl(n),b=u.get(g);b||(b=l.querySelector(Ys(g)),b||(n=p({src:n,async:!0},a),(a=Un.get(g))&&Ph(n,a),b=l.createElement("script"),pr(b),Lr(b,"link",n),l.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},u.set(g,b))}}function o_(n,a){oa.M(n,a);var l=yl;if(l&&n){var u=ya(l).hoistableScripts,g=wl(n),b=u.get(g);b||(b=l.querySelector(Ys(g)),b||(n=p({src:n,async:!0,type:"module"},a),(a=Un.get(g))&&Ph(n,a),b=l.createElement("script"),pr(b),Lr(b,"link",n),l.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},u.set(g,b))}}function Zy(n,a,l,u){var g=(g=Ae.current)?Uc(g):null;if(!g)throw Error(o(446));switch(n){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(a=xl(l.href),l=ya(g).hoistableStyles,u=l.get(a),u||(u={type:"style",instance:null,count:0,state:null},l.set(a,u)),u):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){n=xl(l.href);var b=ya(g).hoistableStyles,T=b.get(n);if(T||(g=g.ownerDocument||g,T={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},b.set(n,T),(b=g.querySelector(Ks(n)))&&!b._p&&(T.instance=b,T.state.loading=5),Un.has(n)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Un.set(n,l),b||a_(g,n,l,T.state))),a&&u===null)throw Error(o(528,""));return T}if(a&&u!==null)throw Error(o(529,""));return null;case"script":return a=l.async,l=l.src,typeof l=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=wl(l),l=ya(g).hoistableScripts,u=l.get(a),u||(u={type:"script",instance:null,count:0,state:null},l.set(a,u)),u):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,n))}}function xl(n){return'href="'+rn(n)+'"'}function Ks(n){return'link[rel="stylesheet"]['+n+"]"}function Qy(n){return p({},n,{"data-precedence":n.precedence,precedence:null})}function a_(n,a,l,u){n.querySelector('link[rel="preload"][as="style"]['+a+"]")?u.loading=1:(a=n.createElement("link"),u.preload=a,a.addEventListener("load",function(){return u.loading|=1}),a.addEventListener("error",function(){return u.loading|=2}),Lr(a,"link",l),pr(a),n.head.appendChild(a))}function wl(n){return'[src="'+rn(n)+'"]'}function Ys(n){return"script[async]"+n}function Jy(n,a,l){if(a.count++,a.instance===null)switch(a.type){case"style":var u=n.querySelector('style[data-href~="'+rn(l.href)+'"]');if(u)return a.instance=u,pr(u),u;var g=p({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return u=(n.ownerDocument||n).createElement("style"),pr(u),Lr(u,"style",g),Vc(u,l.precedence,n),a.instance=u;case"stylesheet":g=xl(l.href);var b=n.querySelector(Ks(g));if(b)return a.state.loading|=4,a.instance=b,pr(b),b;u=Qy(l),(g=Un.get(g))&&Fh(u,g),b=(n.ownerDocument||n).createElement("link"),pr(b);var T=b;return T._p=new Promise(function(z,P){T.onload=z,T.onerror=P}),Lr(b,"link",u),a.state.loading|=4,Vc(b,l.precedence,n),a.instance=b;case"script":return b=wl(l.src),(g=n.querySelector(Ys(b)))?(a.instance=g,pr(g),g):(u=l,(g=Un.get(b))&&(u=p({},l),Ph(u,g)),n=n.ownerDocument||n,g=n.createElement("script"),pr(g),Lr(g,"link",u),n.head.appendChild(g),a.instance=g);case"void":return null;default:throw Error(o(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(u=a.instance,a.state.loading|=4,Vc(u,l.precedence,n));return a.instance}function Vc(n,a,l){for(var u=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),g=u.length?u[u.length-1]:null,b=g,T=0;T title"):null)}function i_(n,a,l){if(l===1||a.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;switch(a.rel){case"stylesheet":return n=a.disabled,typeof a.precedence=="string"&&n==null;default:return!0}case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function r2(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function l_(n,a,l,u){if(l.type==="stylesheet"&&(typeof u.media!="string"||matchMedia(u.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var g=xl(u.href),b=a.querySelector(Ks(g));if(b){a=b._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(n.count++,n=Gc.bind(n),a.then(n,n)),l.state.loading|=4,l.instance=b,pr(b);return}b=a.ownerDocument||a,u=Qy(u),(g=Un.get(g))&&Fh(u,g),b=b.createElement("link"),pr(b);var T=b;T._p=new Promise(function(z,P){T.onload=z,T.onerror=P}),Lr(b,"link",u),l.instance=b}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(l,a),(a=l.state.preload)&&(l.state.loading&3)===0&&(n.count++,l=Gc.bind(n),a.addEventListener("load",l),a.addEventListener("error",l))}}var Ih=0;function s_(n,a){return n.stylesheets&&n.count===0&&Xc(n,n.stylesheets),0Ih?50:800)+a);return n.unsuspend=l,function(){n.unsuspend=null,clearTimeout(u),clearTimeout(g)}}:null}function Gc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Xc(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var $c=null;function Xc(n,a){n.stylesheets=null,n.unsuspend!==null&&(n.count++,$c=new Map,a.forEach(u_,n),$c=null,Gc.call(n))}function u_(n,a){if(!(a.state.loading&4)){var l=$c.get(n);if(l)var u=l.get(null);else{l=new Map,$c.set(n,l);for(var g=n.querySelectorAll("link[data-precedence],style[data-precedence]"),b=0;b"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Kh.exports=N_(),Kh.exports}var R_=z_();const Jh=typeof window>"u"?global:window,em="@griffel/";function A_(e,t){return Jh[Symbol.for(em+e)]||(Jh[Symbol.for(em+e)]=t),Jh[Symbol.for(em+e)]}const jg=A_("DEFINITION_LOOKUP_TABLE",{}),pu="data-make-styles-bucket",D_="data-priority",Og="f",Mg=7,Cp="___",j_=Cp.length+Mg,O_=0,M_=1,q_={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},qg="DO_NOT_USE_DIRECTLY: @griffel/reset-value";function yu(e){for(var t=0,r,o=0,i=e.length;i>=4;++o,i-=4)r=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function F_(e){const t=e.length;if(t===Mg)return e;for(let r=t;r0&&(t+=w.slice(0,v)),r+=x,o[p]=x}}}if(r==="")return t.slice(0,-1);const i=C2[r];if(i!==void 0)return t+i;const s=[];for(let p=0;pc.cssText):i}}}const L_=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"],E2=L_.reduce((e,t,r)=>(e[t]=r,e),{});function H_(e,t,r){return(e==="m"?e+t:e)+r}function U_(e,t,r,o,i={}){var s,c;const d=e==="m",f=(s=i.m)!==null&&s!==void 0?s:"0",h=(c=i.p)!==null&&c!==void 0?c:0,m=H_(e,f,h);if(!o.stylesheets[m]){const p=t&&t.createElement("style"),w=I_(p,e,h,Object.assign({},o.styleElementAttributes,d&&{media:f}));o.stylesheets[m]=w,t!=null&&t.head&&p&&t.head.insertBefore(p,W_(t,r,e,o,i))}return o.stylesheets[m]}function V_(e,t,r){var o,i;const s=t+((o=r.m)!==null&&o!==void 0?o:""),c=e.getAttribute(pu)+((i=e.media)!==null&&i!==void 0?i:"");return s===c}function W_(e,t,r,o,i={}){var s,c;const d=E2[r],f=(s=i.m)!==null&&s!==void 0?s:"",h=(c=i.p)!==null&&c!==void 0?c:0;let m=y=>d-E2[y.getAttribute(pu)],p=e.head.querySelectorAll(`[${pu}]`);if(r==="m"){const y=e.head.querySelectorAll(`[${pu}="${r}"]`);y.length&&(p=y,m=k=>o.compareMediaQueries(f,k.media))}const w=y=>V_(y,r,i)?h-Number(y.getAttribute("data-priority")):m(y),v=p.length;let x=v-1;for(;x>=0;){const y=p.item(x);if(w(y)>0)return y.nextSibling;x--}return v>0?p.item(0):t?t.nextSibling:null}function N2(e,t){try{e.insertRule(t)}catch{}}let G_=0;const $_=(e,t)=>et?1:0;function X_(e=typeof document>"u"?void 0:document,t={}){const{classNameHashSalt:r,unstable_filterCSSRule:o,insertionPoint:i,styleElementAttributes:s,compareMediaQueries:c=$_}=t,d={classNameHashSalt:r,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(s),compareMediaQueries:c,id:`d${G_++}`,insertCSSRules(f){for(const h in f){const m=f[h];for(let p=0,w=m.length;p{const e={};return function(r,o){e[r.id]===void 0&&(r.insertCSSRules(o),e[r.id]=!0)}};function cS(e){return e.reduce(function(t,r){var o=r[0],i=r[1];return t[o]=i,t[i]=o,t},{})}function K_(e){return typeof e=="boolean"}function Y_(e){return typeof e=="function"}function mu(e){return typeof e=="number"}function Z_(e){return e===null||typeof e>"u"}function Q_(e){return e&&typeof e=="object"}function J_(e){return typeof e=="string"}function wd(e,t){return e.indexOf(t)!==-1}function eT(e){return parseFloat(e)===0?e:e[0]==="-"?e.slice(1):"-"+e}function rd(e,t,r,o){return t+eT(r)+o}function tT(e){var t=e.indexOf(".");if(t===-1)e=100-parseFloat(e)+"%";else{var r=e.length-t-2;e=100-parseFloat(e),e=e.toFixed(r)+"%"}return e}function dS(e){return e.replace(/ +/g," ").split(" ").map(function(t){return t.trim()}).filter(Boolean).reduce(function(t,r){var o=t.list,i=t.state,s=(r.match(/\(/g)||[]).length,c=(r.match(/\)/g)||[]).length;return i.parensDepth>0?o[o.length-1]=o[o.length-1]+" "+r:o.push(r),i.parensDepth+=s-c,{list:o,state:i}},{list:[],state:{parensDepth:0}}).list}function z2(e){var t=dS(e);if(t.length<=3||t.length>4)return e;var r=t[0],o=t[1],i=t[2],s=t[3];return[r,s,i,o].join(" ")}function rT(e){return!K_(e)&&!Z_(e)}function nT(e){for(var t=[],r=0,o=0,i=!1;o0?Kr(Gl,--En):0,Dl--,Jt===10&&(Dl=1,ef--),Jt}function Xn(){return Jt=En2||jl(Jt)>3?"":" "}function BT(e){for(;Xn();)switch(jl(Jt)){case 0:Ei(_S(En-1),e);break;case 2:Ei(kd(Jt),e);break;default:Ei(Jd(Jt),e)}return e}function _T(e,t){for(;--t&&Xn()&&!(Jt<48||Jt>102||Jt>57&&Jt<65||Jt>70&&Jt<97););return rf(e,Sd()+(t<6&&Ka()==32&&Xn()==32))}function Pg(e){for(;Xn();)switch(Jt){case e:return En;case 34:case 39:e!==34&&e!==39&&Pg(Jt);break;case 40:e===41&&Pg(e);break;case 92:Xn();break}return En}function TT(e,t){for(;Xn()&&e+Jt!==57;)if(e+Jt===84&&Ka()===47)break;return"/*"+rf(t,En-1)+"*"+Jd(e===47?e:Xn())}function _S(e){for(;!jl(Ka());)Xn();return rf(e,En)}function TS(e){return BS(Bd("",null,null,null,[""],e=kS(e),0,[0],e))}function Bd(e,t,r,o,i,s,c,d,f){for(var h=0,m=0,p=c,w=0,v=0,x=0,y=1,k=1,B=1,_=0,C="",N=i,R=s,j=o,D=C;k;)switch(x=_,_=Xn()){case 40:if(x!=108&&Kr(D,p-1)==58){xS(D+=cn(kd(_),"&","&\f"),"&\f",bS(h?d[h-1]:0))!=-1&&(B=-1);break}case 34:case 39:case 91:D+=kd(_);break;case 9:case 10:case 13:case 32:D+=kT(x);break;case 92:D+=_T(Sd()-1,7);continue;case 47:switch(Ka()){case 42:case 47:Ei(CT(TT(Xn(),Sd()),t,r,f),f),(jl(x||1)==5||jl(Ka()||1)==5)&&lo(D)&&Al(D,-1,void 0)!==" "&&(D+=" ");break;default:D+="/"}break;case 123*y:d[h++]=lo(D)*B;case 125*y:case 59:case 0:switch(_){case 0:case 125:k=0;case 59+m:B==-1&&(D=cn(D,/\f/g,"")),v>0&&(lo(D)-p||y===0&&x===47)&&Ei(v>32?D2(D+";",o,r,p-1,f):D2(cn(D," ","")+";",o,r,p-2,f),f);break;case 59:D+=";";default:if(Ei(j=A2(D,t,r,h,m,i,d,C,N=[],R=[],p,s),s),_===123)if(m===0)Bd(D,t,j,j,N,s,p,d,R);else{switch(w){case 99:if(Kr(D,3)===110)break;case 108:if(Kr(D,2)===97)break;default:m=0;case 100:case 109:case 115:}m?Bd(e,j,j,o&&Ei(A2(e,j,j,0,0,i,d,C,i,N=[],p,R),R),i,R,p,d,o?N:R):Bd(D,j,j,j,[""],R,0,d,R)}}h=m=v=0,y=B=1,C=D="",p=c;break;case 58:p=1+lo(D),v=x;default:if(y<1){if(_==123)--y;else if(_==125&&y++==0&&wT()==125)continue}switch(D+=Jd(_),_*y){case 38:B=m>0?1:(D+="\f",-1);break;case 44:d[h++]=(lo(D)-1)*B,B=1;break;case 64:Ka()===45&&(D+=kd(Xn())),w=Ka(),m=p=lo(C=D+=_S(Sd())),_++;break;case 45:x===45&&lo(D)==2&&(y=0)}}return s}function A2(e,t,r,o,i,s,c,d,f,h,m,p){for(var w=i-1,v=i===0?s:[""],x=wS(v),y=0,k=0,B=0;y0?v[_]+" "+C:cn(C,/&\f/g,v[_])))&&(f[B++]=N);return tf(e,t,r,i===0?Qd:d,f,h,m,p)}function CT(e,t,r,o){return tf(e,t,r,gS,Jd(xT()),Al(e,2,-2),0,o)}function D2(e,t,r,o,i){return tf(e,t,r,Ep,Al(e,0,o),Al(e,o+1,-1),o,i)}function Ol(e,t){for(var r="",o=0;o{switch(e.type){case Qd:if(typeof e.props=="string")return;e.props=e.props.map(t=>t.indexOf(":global(")===-1?t:ST(t).reduce((r,o,i,s)=>{if(o==="")return r;if(o===":"&&s[i+1]==="global"){const c=s[i+2].slice(1,-1)+" ";return r.unshift(c),s[i+1]="",s[i+2]="",r}return r.push(o),r},[]).join(""))}};function zS(e,t,r){switch(vT(e,t)){case 5103:return io+"print-"+e+e;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return io+e+e;case 4215:if(Kr(e,9)===102||Kr(e,t+1)===116)return io+e+e;break;case 4789:return bu+e+e;case 5349:case 4246:case 6968:return io+e+bu+e+e;case 6187:if(!yS(e,/grab/))return cn(cn(cn(e,/(zoom-|grab)/,io+"$1"),/(image-set)/,io+"$1"),e,"")+e;case 5495:case 3959:return cn(e,/(image-set\([^]*)/,io+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return cn(e,/(.+)-inline(.+)/,io+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(lo(e)-1-t>6)switch(Kr(e,t+1)){case 102:if(Kr(e,t+3)===108)return cn(e,/(.+:)(.+)-([^]+)/,"$1"+io+"$2-$3$1"+bu+(Kr(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~xS(e,"stretch")?zS(cn(e,"stretch","fill-available"),t)+e:e}break}return e}function RS(e,t,r,o){if(e.length>-1&&!e.return)switch(e.type){case Ep:e.return=zS(e.value,e.length);return;case Qd:if(e.length)return yT(e.props,function(i){switch(yS(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ol([rm(e,{props:[cn(i,/:(read-\w+)/,":"+bu+"$1")]})],o);case"::placeholder":return Ol([rm(e,{props:[cn(i,/:(plac\w+)/,":"+io+"input-$1")]}),rm(e,{props:[cn(i,/:(plac\w+)/,":"+bu+"$1")]})],o)}return""})}}function NT(e){switch(e.type){case"@container":case fT:case mT:case pS:return!0}return!1}const zT=e=>{NT(e)&&Array.isArray(e.children)&&e.children.sort((t,r)=>t.props[0]>r.props[0]?1:-1)};function RT(){}function Np(e,t){const r=[];return Ol(TS(e),ES([ET,t?zT:RT,RS,CS,NS(o=>r.push(o))])),r}const AT=/,( *[^ &])/g;function DT(e){return"&"+mS(e.replace(AT,",&$1"))}function j2(e,t,r){let o=t;return r.length>0&&(o=r.reduceRight((i,s)=>`${DT(s)} { ${i} }`,t)),`${e}{${o}}`}function O2(e,t){const{className:r,selectors:o,property:i,rtlClassName:s,rtlProperty:c,rtlValue:d,value:f}=e,{container:h,layer:m,media:p,supports:w}=t,v=`.${r}`,x=Array.isArray(f)?`${f.map(k=>`${Nl(i)}: ${k}`).join(";")};`:`${Nl(i)}: ${f};`;let y=j2(v,x,o);if(c&&s){const k=`.${s}`,B=Array.isArray(d)?`${d.map(_=>`${Nl(c)}: ${_}`).join(";")};`:`${Nl(c)}: ${d};`;y+=j2(k,B,o)}return p&&(y=`@media ${p} { ${y} }`),m&&(y=`@layer ${m} { ${y} }`),w&&(y=`@supports ${w} { ${y} }`),h&&(y=`@container ${h} { ${y} }`),Np(y,!0)}function AS(e){let t="";for(const r in e){const o=e[r];if(typeof o=="string"||typeof o=="number"){t+=Nl(r)+":"+o+";";continue}if(Array.isArray(o))for(const i of o)t+=Nl(r)+":"+i+";"}return t}function M2(e){let t="";for(const r in e)t+=`${r}{${AS(e[r])}}`;return t}function q2(e,t){const r=`@keyframes ${e} {${t}}`,o=[];return Ol(TS(r),ES([CS,RS,NS(i=>o.push(i))])),o}const jT={animation:[-1,["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimeline","animationTimingFunction"]],animationRange:[-1,["animationRangeEnd","animationRangeStart"]],background:[-2,["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"]],backgroundPosition:[-1,["backgroundPositionX","backgroundPositionY"]],border:[-2,["borderBottom","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderTop","borderTopColor","borderTopStyle","borderTopWidth"]],borderBottom:[-1,["borderBottomColor","borderBottomStyle","borderBottomWidth"]],borderImage:[-1,["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"]],borderLeft:[-1,["borderLeftColor","borderLeftStyle","borderLeftWidth"]],borderRadius:[-1,["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"]],borderRight:[-1,["borderRightColor","borderRightStyle","borderRightWidth"]],borderTop:[-1,["borderTopColor","borderTopStyle","borderTopWidth"]],caret:[-1,["caretColor","caretShape"]],columnRule:[-1,["columnRuleColor","columnRuleStyle","columnRuleWidth"]],columns:[-1,["columnCount","columnWidth"]],containIntrinsicSize:[-1,["containIntrinsicHeight","containIntrinsicWidth"]],container:[-1,["containerName","containerType"]],flex:[-1,["flexBasis","flexGrow","flexShrink"]],flexFlow:[-1,["flexDirection","flexWrap"]],font:[-1,["fontFamily","fontSize","fontStretch","fontStyle","fontVariant","fontWeight","lineHeight"]],gap:[-1,["columnGap","rowGap"]],grid:[-1,["columnGap","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumnGap","gridRowGap","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","rowGap"]],gridArea:[-1,["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"]],gridColumn:[-1,["gridColumnEnd","gridColumnStart"]],gridRow:[-1,["gridRowEnd","gridRowStart"]],gridTemplate:[-1,["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"]],inset:[-1,["bottom","left","right","top"]],insetBlock:[-1,["insetBlockEnd","insetBlockStart"]],insetInline:[-1,["insetInlineEnd","insetInlineStart"]],listStyle:[-1,["listStyleImage","listStylePosition","listStyleType"]],margin:[-1,["marginBottom","marginLeft","marginRight","marginTop"]],marginBlock:[-1,["marginBlockEnd","marginBlockStart"]],marginInline:[-1,["marginInlineEnd","marginInlineStart"]],mask:[-1,["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPosition","maskRepeat","maskSize"]],maskBorder:[-1,["maskBorderMode","maskBorderOutset","maskBorderRepeat","maskBorderSlice","maskBorderSource","maskBorderWidth"]],offset:[-1,["offsetAnchor","offsetDistance","offsetPath","offsetPosition","offsetRotate"]],outline:[-1,["outlineColor","outlineStyle","outlineWidth"]],overflow:[-1,["overflowX","overflowY"]],overscrollBehavior:[-1,["overscrollBehaviorX","overscrollBehaviorY"]],padding:[-1,["paddingBottom","paddingLeft","paddingRight","paddingTop"]],paddingBlock:[-1,["paddingBlockEnd","paddingBlockStart"]],paddingInline:[-1,["paddingInlineEnd","paddingInlineStart"]],placeContent:[-1,["alignContent","justifyContent"]],placeItems:[-1,["alignItems","justifyItems"]],placeSelf:[-1,["alignSelf","justifySelf"]],scrollMargin:[-1,["scrollMarginBottom","scrollMarginLeft","scrollMarginRight","scrollMarginTop"]],scrollMarginBlock:[-1,["scrollMarginBlockEnd","scrollMarginBlockStart"]],scrollMarginInline:[-1,["scrollMarginInlineEnd","scrollMarginInlineStart"]],scrollPadding:[-1,["scrollPaddingBottom","scrollPaddingLeft","scrollPaddingRight","scrollPaddingTop"]],scrollPaddingBlock:[-1,["scrollPaddingBlockEnd","scrollPaddingBlockStart"]],scrollPaddingInline:[-1,["scrollPaddingInlineEnd","scrollPaddingInlineStart"]],scrollTimeline:[-1,["scrollTimelineAxis","scrollTimelineName"]],textDecoration:[-1,["textDecorationColor","textDecorationLine","textDecorationStyle","textDecorationThickness"]],textEmphasis:[-1,["textEmphasisColor","textEmphasisStyle"]],transition:[-1,["transitionBehavior","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"]],viewTimeline:[-1,["viewTimelineAxis","viewTimelineName"]]};function F2(e,t){return e.length===0?t:`${e} and ${t}`}function OT(e){return e.substr(0,6)==="@media"}function MT(e){return e.substr(0,6)==="@layer"}const qT=/^(:|\[|>|&)/;function FT(e){return qT.test(e)}function PT(e){return e.substr(0,9)==="@supports"}function IT(e){return e.substring(0,10)==="@container"}function LT(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}const P2={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function I2(e,t){if(t.media)return"m";if(t.layer||t.supports)return"t";if(t.container)return"c";if(e.length>0){const r=e[0].trim();if(r.charCodeAt(0)===58)return P2[r.slice(4,8)]||P2[r.slice(3,5)]||"d"}return"d"}function nd(e,t){return e&&t+e}function DS(e){return nd(e.container,"c")+nd(e.media,"m")+nd(e.layer,"l")+nd(e.supports,"s")}function nm(e,t,r){const o=e+DS(r)+t,i=yu(o),s=i.charCodeAt(0);return s>=48&&s<=57?String.fromCharCode(s+17)+i.slice(1):i}function od({property:e,selector:t,salt:r,value:o},i){return Og+yu(r+t+DS(i)+e+o.trim())}function HT(e){return e===qg}function om(e){return e.replace(/>\s+/g,">")}function L2(e){return jT[e]}function H2(e){var t;return(t=e==null?void 0:e[0])!==null&&t!==void 0?t:0}function am(e,t,r,o){e[t]=o?[r,o]:r}function U2(e,t){return t.length>0?[e,Object.fromEntries(t)]:e}function im(e,t,r,o,i,s){var c;const d=[];s!==0&&d.push(["p",s]),t==="m"&&i&&d.push(["m",i]),(c=e[t])!==null&&c!==void 0||(e[t]=[]),r&&e[t].push(U2(r,d)),o&&e[t].push(U2(o,d))}function aa(e,t="",r=[],o={container:"",layer:"",media:"",supports:""},i={},s={},c){for(const d in e){if(q_.hasOwnProperty(d)){e[d];continue}const f=e[d];if(f!=null){if(HT(f)){const h=om(r.join("")),m=nm(h,d,o);am(i,m,0,void 0);continue}if(typeof f=="string"||typeof f=="number"){const h=om(r.join("")),m=L2(d);if(m){const N=m[1],R=Object.fromEntries(N.map(j=>[j,qg]));aa(R,t,r,o,i,s)}const p=nm(h,d,o),w=od({value:f.toString(),salt:t,selector:h,property:d},o),v=c&&{key:d,value:c}||Fg(d,f),x=v.key!==d||v.value!==f,y=x?od({value:v.value.toString(),property:v.key,salt:t,selector:h},o):void 0,k=x?{rtlClassName:y,rtlProperty:v.key,rtlValue:v.value}:void 0,B=I2(r,o),[_,C]=O2(Object.assign({className:w,selectors:r,property:d,value:f},k),o);am(i,p,w,y),im(s,B,_,C,o.media,H2(m))}else if(d==="animationName"){const h=Array.isArray(f)?f:[f],m=[],p=[];for(const w of h){const v=M2(w),x=M2(hS(w)),y=Og+yu(v);let k;const B=q2(y,v);let _=[];v===x?k=y:(k=Og+yu(x),_=q2(k,x));for(let C=0;C[D,qg]));aa(j,t,r,o,i,s)}const p=nm(h,d,o),w=od({value:f.map(R=>(R??"").toString()).join(";"),salt:t,selector:h,property:d},o),v=f.map(R=>Fg(d,R));if(!!v.some(R=>R.key!==v[0].key))continue;const y=v[0].key!==d||v.some((R,j)=>R.value!==f[j]),k=y?od({value:v.map(R=>{var j;return((j=R==null?void 0:R.value)!==null&&j!==void 0?j:"").toString()}).join(";"),salt:t,property:v[0].key,selector:h},o):void 0,B=y?{rtlClassName:k,rtlProperty:v[0].key,rtlValue:v.map(R=>R.value)}:void 0,_=I2(r,o),[C,N]=O2(Object.assign({className:w,selectors:r,property:d,value:f},B),o);am(i,p,w,k),im(s,_,C,N,o.media,H2(m))}else if(LT(f)){if(FT(d))aa(f,t,r.concat(mS(d)),o,i,s);else if(OT(d)){const h=F2(o.media,d.slice(6).trim());aa(f,t,r,Object.assign({},o,{media:h}),i,s)}else if(MT(d)){const h=(o.layer?`${o.layer}.`:"")+d.slice(6).trim();aa(f,t,r,Object.assign({},o,{layer:h}),i,s)}else if(PT(d)){const h=F2(o.supports,d.slice(9).trim());aa(f,t,r,Object.assign({},o,{supports:h}),i,s)}else if(IT(d)){const h=d.slice(10).trim();aa(f,t,r,Object.assign({},o,{container:h}),i,s)}}}}return[i,s]}function UT(e,t=""){const r={},o={};for(const i in e){const s=e[i],[c,d]=aa(s,t);r[i]=c,Object.keys(d).forEach(f=>{o[f]=(o[f]||[]).concat(d[f])})}return[r,o]}function VT(e,t=Zd){const r=t();let o=null,i=null,s=null,c=null;function d(f){const{dir:h,renderer:m}=f;o===null&&([o,i]=UT(e,m.classNameHashSalt));const p=h==="ltr";return p?s===null&&(s=Od(o,h)):c===null&&(c=Od(o,h)),r(m,i),p?s:c}return d}function WT(e,t){const r=`${e} {${AS(t)}}`;return Np(r,!1)[0]}function GT(e){return e.reduce((t,r)=>{if(typeof r=="string"){const o=Np(r,!1);for(const i of o)t.push(i);return t}for(const o in r){const i=r[o],s=WT(o,i);t.push(s)}return t},[])}function $T(e,t=Zd){const r=t(),o=Array.isArray(e)?e:[e];function i(s){r(s.renderer,{d:GT(o)})}return i}function jS(e,t,r=Zd){const o=r();let i=null,s=null;function c(d){const{dir:f,renderer:h}=d,m=f==="ltr";return m?i===null&&(i=Od(e,f)):s===null&&(s=Od(e,f)),o(h,t),m?i:s}return c}function XT(e,t,r,o=Zd){const i=o();function s(c){const{dir:d,renderer:f}=c,h=d==="ltr"?e:t||e;return i(f,Array.isArray(r)?{r}:r),h}return s}function KT(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const V2=jd.useInsertionEffect?jd.useInsertionEffect:void 0,nf=()=>{const e={};return function(r,o){if(V2&&KT()){V2(()=>{r.insertCSSRules(o)},[r,o]);return}e[r.id]===void 0&&(r.insertCSSRules(o),e[r.id]=!0)}},YT=S.createContext(X_());function $l(){return S.useContext(YT)}const OS=S.createContext("ltr"),ZT=({children:e,dir:t})=>S.createElement(OS.Provider,{value:t},e);function zp(){return S.useContext(OS)}function Gt(e){const t=VT(e,nf);return function(){const o=zp(),i=$l();return t({dir:o,renderer:i})}}function QT(e){const t=$T(e,nf);return function(){const i={renderer:$l()};return t(i)}}function xe(e,t){const r=jS(e,t,nf);return function(){const i=zp(),s=$l();return r({dir:i,renderer:s})}}function We(e,t,r){const o=XT(e,t,r,nf);return function(){const s=zp(),c=$l();return o({dir:s,renderer:c})}}function JT(e,t){if(t){const r=Object.keys(t).reduce((o,i)=>`${o}--${i}: ${t[i]}; `,"");return`${e} { ${r} }`}return`${e} {}`}const Md=Symbol.for("fui.slotRenderFunction"),Ml=Symbol.for("fui.slotElementType"),MS=Symbol.for("fui.slotClassNameProp");function je(e,t){const{defaultProps:r,elementType:o}=t,i=eC(e),s={...r,...i,[Ml]:o,[MS]:i==null?void 0:i.className};return i&&typeof i.children=="function"&&(s[Md]=i.children,s.children=r==null?void 0:r.children),s}function gt(e,t){if(!(e===null||e===void 0&&!t.renderByDefault))return je(e,t)}function eC(e){return typeof e=="string"||typeof e=="number"||Array.isArray(e)||S.isValidElement(e)?{children:e}:e}function tC(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&!S.isValidElement(e)}function W2(e){return!!(e!=null&&e.hasOwnProperty(Ml))}const Lt=(...e)=>{const t={};for(const r of e){const o=Array.isArray(r)?r:Object.keys(r);for(const i of o)t[i]=1}return t},rC=Lt(["onAuxClick","onAnimationEnd","onAnimationStart","onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onInput","onSubmit","onLoad","onError","onKeyDown","onKeyDownCapture","onKeyPress","onKeyUp","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onClick","onClickCapture","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onMouseUpCapture","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel","onPointerCancel","onPointerDown","onPointerEnter","onPointerLeave","onPointerMove","onPointerOut","onPointerOver","onPointerUp","onGotPointerCapture","onLostPointerCapture"]),nC=Lt(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),oC=Lt(["itemID","itemProp","itemRef","itemScope","itemType"]),_r=Lt(nC,rC,oC),aC=Lt(_r,["form"]),qS=Lt(_r,["height","loop","muted","preload","src","width"]),iC=Lt(qS,["poster"]),lC=Lt(_r,["start"]),sC=Lt(_r,["value"]),uC=Lt(_r,["download","href","hrefLang","media","rel","target","type"]),cC=Lt(_r,["dateTime"]),of=Lt(_r,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),dC=Lt(of,["accept","alt","autoCorrect","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","minLength","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),fC=Lt(of,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),hC=Lt(of,["form","multiple","required"]),mC=Lt(_r,["selected","value"]),gC=Lt(_r,["cellPadding","cellSpacing"]),pC=_r,bC=Lt(_r,["colSpan","rowSpan","scope"]),vC=Lt(_r,["colSpan","headers","rowSpan","scope"]),yC=Lt(_r,["span"]),xC=Lt(_r,["span"]),wC=Lt(_r,["disabled","form"]),SC=Lt(_r,["acceptCharset","action","encType","encType","method","noValidate","target"]),kC=Lt(_r,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),BC=Lt(_r,["alt","crossOrigin","height","src","srcSet","useMap","width"]),_C=Lt(_r,["open","onCancel","onClose"]);function TC(e,t,r){const o=Array.isArray(t),i={},s=Object.keys(e);for(const c of s)(!o&&t[c]||o&&t.indexOf(c)>=0||c.indexOf("data-")===0||c.indexOf("aria-")===0)&&(!r||(r==null?void 0:r.indexOf(c))===-1)&&(i[c]=e[c]);return i}const CC={label:aC,audio:qS,video:iC,ol:lC,li:sC,a:uC,button:of,input:dC,textarea:fC,select:hC,option:mC,table:gC,tr:pC,th:bC,td:vC,colGroup:yC,col:xC,fieldset:wC,form:SC,iframe:kC,img:BC,time:cC,dialog:_C};function FS(e,t,r){const o=e&&CC[e]||_r;return o.as=1,TC(t,o,r)}const af=({primarySlotTagName:e,props:t,excludedPropNames:r})=>({root:{style:t.style,className:t.className},primary:FS(e,t,[...r||[],"style","className"])}),ct=(e,t,r)=>{var o;return FS((o=t.as)!==null&&o!==void 0?o:e,t,r)};function PS(e,t){const r=S.useRef(void 0),o=S.useCallback((s,c)=>(r.current!==void 0&&t(r.current),r.current=e(s,c),r.current),[t,e]),i=S.useCallback(()=>{r.current!==void 0&&(t(r.current),r.current=void 0)},[t]);return S.useEffect(()=>i,[i]),[o,i]}const IS=S.createContext(void 0),EC=IS.Provider,LS=S.createContext(void 0),NC="",zC=LS.Provider;function RC(){var e;return(e=S.useContext(LS))!==null&&e!==void 0?e:NC}const HS=S.createContext(void 0),AC={},DC=HS.Provider;function jC(){var e;return(e=S.useContext(HS))!==null&&e!==void 0?e:AC}const US=S.createContext(void 0),OC={targetDocument:typeof document=="object"?document:void 0,dir:"ltr"},MC=US.Provider;function St(){var e;return(e=S.useContext(US))!==null&&e!==void 0?e:OC}const VS=S.createContext(void 0),qC=VS.Provider;function WS(){var e;return(e=S.useContext(VS))!==null&&e!==void 0?e:{}}const Rp=S.createContext(void 0),FC=()=>{},PC=Rp.Provider,Xe=e=>{var t,r;return(r=(t=S.useContext(Rp))===null||t===void 0?void 0:t[e])!==null&&r!==void 0?r:FC},GS=S.createContext(void 0),IC=GS.Provider;function Ap(){return S.useContext(GS)}const $S=S.createContext(void 0);$S.Provider;function LC(){return S.useContext($S)}const HC=e=>(e(0),0),UC=e=>e;function VC(){const{targetDocument:e}=St(),t=e==null?void 0:e.defaultView,r=t?t.requestAnimationFrame:HC,o=t?t.cancelAnimationFrame:UC;return PS(r,o)}function WC(e){return typeof e=="function"}const Rn=e=>{"use no memo";const[t,r]=S.useState(()=>e.defaultState===void 0?e.initialState:GC(e.defaultState)?e.defaultState():e.defaultState),o=S.useRef(e.state);S.useEffect(()=>{o.current=e.state},[e.state]);const i=S.useCallback(s=>{WC(s)&&s(o.current)},[]);return $C(e.state)?[e.state,i]:[t,r]};function GC(e){return typeof e=="function"}const $C=e=>{"use no memo";const[t]=S.useState(()=>e!==void 0);return t};function lf(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const XS={current:0},XC=S.createContext(void 0);function KS(){var e;return(e=S.useContext(XC))!==null&&e!==void 0?e:XS}function KC(){const e=KS()!==XS,[t,r]=S.useState(e);return lf()&&e&&S.useLayoutEffect(()=>{r(!1)},[]),t}const jr=lf()?S.useLayoutEffect:S.useEffect,ke=e=>{const t=S.useRef(()=>{throw new Error("Cannot call an event handler while rendering")});return jr(()=>{t.current=e},[e]),S.useCallback((...r)=>{const o=t.current;return o(...r)},[t])};function YS(){const e=S.useRef(!0);return e.current?(e.current=!1,!0):e.current}function ZS(){return S.useReducer(e=>e+1,0)[1]}const QS=S.createContext(void 0);QS.Provider;function YC(){return S.useContext(QS)||""}function hn(e="fui-",t){"use no memo";const r=KS(),o=YC(),i=jd.useId;if(i){const s=i(),c=S.useMemo(()=>s.replace(/:/g,""),[s]);return t||`${o}${e}${c}`}return S.useMemo(()=>t||`${o}${e}${++r.current}`,[o,e,t,r])}function Br(...e){"use no memo";const t=S.useCallback(r=>{t.current=r;for(const o of e)typeof o=="function"?o(r):o&&(o.current=r)},[...e]);return t}const JS=(e,t)=>!!(e!=null&&e.contains(t)),e5=e=>{const{targetDocument:t}=St(),r=t==null?void 0:t.defaultView,{refs:o,callback:i,element:s,disabled:c,disabledFocusOnIframe:d,contains:f=JS}=e,h=S.useRef(void 0);QC({element:s,disabled:d||c,callback:i,refs:o,contains:f});const m=S.useRef(!1),p=ke(v=>{if(m.current){m.current=!1;return}const x=v.composedPath()[0];o.every(k=>!f(k.current||null,x))&&!c&&i(v)}),w=ke(v=>{m.current=o.some(x=>f(x.current||null,v.target))});S.useEffect(()=>{if(c)return;let v=ZC(r);const x=y=>{if(y===v){v=void 0;return}p(y)};return s==null||s.addEventListener("click",x,!0),s==null||s.addEventListener("touchstart",x,!0),s==null||s.addEventListener("contextmenu",x,!0),s==null||s.addEventListener("mousedown",w,!0),h.current=r==null?void 0:r.setTimeout(()=>{v=void 0},1),()=>{s==null||s.removeEventListener("click",x,!0),s==null||s.removeEventListener("touchstart",x,!0),s==null||s.removeEventListener("contextmenu",x,!0),s==null||s.removeEventListener("mousedown",w,!0),r==null||r.clearTimeout(h.current),v=void 0}},[p,s,c,w,r])},ZC=e=>{if(e){var t,r;if(typeof e.window=="object"&&e.window===e)return e.event;var o;return(o=(r=e.ownerDocument)===null||r===void 0||(t=r.defaultView)===null||t===void 0?void 0:t.event)!==null&&o!==void 0?o:void 0}},lm="fuiframefocus",QC=e=>{const{disabled:t,element:r,callback:o,contains:i=JS,pollDuration:s=1e3,refs:c}=e,d=S.useRef(),f=ke(h=>{c.every(p=>!i(p.current||null,h.target))&&!t&&o(h)});S.useEffect(()=>{if(!t)return r==null||r.addEventListener(lm,f,!0),()=>{r==null||r.removeEventListener(lm,f,!0)}},[r,t,f]),S.useEffect(()=>{var h;if(!t)return d.current=r==null||(h=r.defaultView)===null||h===void 0?void 0:h.setInterval(()=>{const m=r==null?void 0:r.activeElement;if((m==null?void 0:m.tagName)==="IFRAME"||(m==null?void 0:m.tagName)==="WEBVIEW"){const p=new CustomEvent(lm,{bubbles:!0});m.dispatchEvent(p)}},s),()=>{var m;r==null||(m=r.defaultView)===null||m===void 0||m.clearTimeout(d.current)}},[r,t,s])},t5=e=>{const{refs:t,callback:r,element:o,disabled:i,contains:s}=e,c=ke(d=>{const f=s||((p,w)=>!!(p!=null&&p.contains(w))),h=d.composedPath()[0];t.every(p=>!f(p.current||null,h))&&!i&&r(d)});S.useEffect(()=>{if(!i)return o==null||o.addEventListener("wheel",c),o==null||o.addEventListener("touchmove",c),()=>{o==null||o.removeEventListener("wheel",c),o==null||o.removeEventListener("touchmove",c)}},[c,o,i])},JC=e=>-1,eE=e=>{};function Xl(){const{targetDocument:e}=St(),t=e==null?void 0:e.defaultView,r=t?t.setTimeout:JC,o=t?t.clearTimeout:eE;return PS(r,o)}function Mt(e,t){return(...r)=>{e==null||e(...r),t==null||t(...r)}}function Zt(e,t){var r;const o=e;var i;return!!(!(o==null||(r=o.ownerDocument)===null||r===void 0)&&r.defaultView&&o instanceof o.ownerDocument.defaultView[(i=void 0)!==null&&i!==void 0?i:"HTMLElement"])}function tE(e){if(!Zt(e))return!1;const{tagName:t}=e;switch(t){case"BUTTON":case"A":case"INPUT":case"TEXTAREA":return!0}return e.isContentEditable}function r5(e){const t=[];let r=0;const o=(w,v)=>{const x=t[w];t[w]=t[v],t[v]=x},i=w=>{let v=w;const x=rE(w),y=nE(w);xt.slice(0,r),clear:()=>{r=0},contains:w=>{const v=t.indexOf(w);return v>=0&&v{if(r===0)throw new Error("Priority queue empty");const w=t[0];return t[0]=t[--r],i(0),w},enqueue:w=>{t[r++]=w;let v=r-1,x=G2(v);for(;v>0&&e(t[x],t[v])>0;)o(x,v),v=x,x=G2(v)},peek:()=>r===0?null:t[0],remove:w=>{const v=t.indexOf(w);v===-1||v>=r||(t[v]=t[--r],i(v))},size:()=>r}}const rE=e=>2*e+1,nE=e=>2*e+2,G2=e=>Math.floor((e-1)/2);function n5(e){return!!e.type.isFluentTriggerComponent}function sf(e,t){return typeof e=="function"?e(t):e?o5(e,t):e||null}function o5(e,t){if(!S.isValidElement(e)||e.type===S.Fragment)throw new Error("A trigger element must be a single element for this component. Please ensure that you're not using React Fragments.");if(n5(e)){const r=o5(e.props.children,t);return S.cloneElement(e,void 0,r)}else return S.cloneElement(e,t)}function Eu(e){return S.isValidElement(e)?n5(e)?Eu(e.props.children):e:null}function Ig(e){return e.type.startsWith("touch")}function Lg(e){return e.type.startsWith("mouse")||["click","contextmenu","dblclick"].indexOf(e.type)>-1}function $2(e){return Lg(e)?{clientX:e.clientX,clientY:e.clientY}:Ig(e)?{clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}:{clientX:0,clientY:0}}function X2(e){return e instanceof Set?e:new Set(e)}function a5(e){const[t,r]=Rn({initialState:new Set,defaultState:S.useMemo(()=>e.defaultSelectedItems&&X2(e.defaultSelectedItems),[e.defaultSelectedItems]),state:S.useMemo(()=>e.selectedItems&&X2(e.selectedItems),[e.selectedItems])});return[t,(i,s)=>{var c;(c=e.onSelectionChange)===null||c===void 0||c.call(e,i,{selectedItems:s}),r(s)}]}function oE(e){const[t,r]=a5(e);return[t,{deselectItem:i=>r(i,new Set),selectItem:(i,s)=>r(i,new Set([s])),toggleAllItems:()=>{},toggleItem:(i,s)=>r(i,new Set([s])),clearItems:i=>r(i,new Set),isSelected:i=>{var s;return(s=t.has(i))!==null&&s!==void 0?s:!1}}]}function aE(e){const[t,r]=a5(e);return[t,{toggleItem:(i,s)=>{const c=new Set(t);t.has(s)?c.delete(s):c.add(s),r(i,c)},selectItem:(i,s)=>{const c=new Set(t);c.add(s),r(i,c)},deselectItem:(i,s)=>{const c=new Set(t);c.delete(s),r(i,c)},clearItems:i=>{r(i,new Set)},isSelected:i=>t.has(i),toggleAllItems:(i,s)=>{const c=s.every(f=>t.has(f)),d=new Set(t);c?d.clear():s.forEach(f=>d.add(f)),r(i,d)}}]}function iE(e){"use no memo";return e.selectionMode==="multiselect"?aE(e):oE(e)}function lE(e){return e&&!!e._virtual}function sE(e){return lE(e)&&e._virtual.parent||null}function i5(e,t={}){if(!e)return null;if(!t.skipVirtual){const o=sE(e);if(o)return o}const r=e.parentNode;return r&&r.nodeType===Node.DOCUMENT_FRAGMENT_NODE?r.host:r}function ql(e,t){if(!e||!t)return!1;if(e===t)return!0;{const r=new WeakSet;for(;t;){const o=i5(t,{skipVirtual:r.has(t)});if(r.add(t),o===e)return!0;t=o}}return!1}function K2(e,t){if(!e)return;const r=e;r._virtual||(r._virtual={}),r._virtual.parent=t}function uE(e,t){return{...t,[Ml]:e}}function l5(e,t){return function(o,i,s,c,d){return W2(i)?t(uE(o,i),null,s,c,d):W2(o)?t(o,i,s,c,d):e(o,i,s,c,d)}}function s5(e){const{as:t,[MS]:r,[Ml]:o,[Md]:i,...s}=e,c=s,d=typeof o=="string"?t??o:o;return typeof d!="string"&&t&&(c.as=t),{elementType:d,props:c,renderFunction:i}}const zi=B_,cE=(e,t,r)=>{const{elementType:o,renderFunction:i,props:s}=s5(e),c={...s,...t};return i?zi.jsx(S.Fragment,{children:i(o,c)},r):zi.jsx(o,c,r)},dE=(e,t,r)=>{const{elementType:o,renderFunction:i,props:s}=s5(e),c={...s,...t};return i?zi.jsx(S.Fragment,{children:i(o,{...c,children:zi.jsxs(S.Fragment,{children:c.children},void 0)})},r):zi.jsxs(o,c,r)},ge=l5(zi.jsx,cE),xt=l5(zi.jsxs,dE),Hg=S.createContext(void 0),fE={},hE=Hg.Provider,mE=()=>S.useContext(Hg)?S.useContext(Hg):fE,gE=(e,t)=>ge(MC,{value:t.provider,children:ge(EC,{value:t.theme,children:ge(zC,{value:t.themeClassName,children:ge(PC,{value:t.customStyleHooks_unstable,children:ge(DC,{value:t.tooltip,children:ge(ZT,{dir:t.textDirection,children:ge(hE,{value:t.iconDirection,children:ge(qC,{value:t.overrides_unstable,children:xt(e.root,{children:[lf()?null:ge("style",{dangerouslySetInnerHTML:{__html:e.serverStyleProps.cssRule},...e.serverStyleProps.attributes}),e.root.children]})})})})})})})})});var pE=typeof WeakRef<"u",Y2=class{constructor(e){pE&&typeof e=="object"?this._weakRef=new WeakRef(e):this._instance=e}deref(){var e,t;let r;return this._weakRef?(r=(e=this._weakRef)==null?void 0:e.deref(),r||delete this._weakRef):(r=this._instance,(t=r==null?void 0:r.isDisposed)!=null&&t.call(r)&&delete this._instance),r}},Nn="keyborg:focusin",xu="keyborg:focusout";function bE(e){const t=e.HTMLElement,r=t.prototype.focus;let o=!1;return t.prototype.focus=function(){o=!0},e.document.createElement("button").focus(),t.prototype.focus=r,o}var sm=!1;function Ro(e){const t=e.focus;t.__keyborgNativeFocus?t.__keyborgNativeFocus.call(e):e.focus()}function vE(e){const t=e;sm||(sm=bE(t));const r=t.HTMLElement.prototype.focus;if(r.__keyborgNativeFocus)return;t.HTMLElement.prototype.focus=f;const o=new Set,i=m=>{const p=m.target;if(!p)return;const w=new CustomEvent(xu,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:m}});p.dispatchEvent(w)},s=m=>{const p=m.target;if(!p)return;let w=m.composedPath()[0];const v=new Set;for(;w;)w.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(v.add(w),w=w.host):w=w.parentNode;for(const x of o){const y=x.deref();(!y||!v.has(y))&&(o.delete(x),y&&(y.removeEventListener("focusin",s,!0),y.removeEventListener("focusout",i,!0)))}c(p,m.relatedTarget||void 0)},c=(m,p,w)=>{var v;const x=m.shadowRoot;if(x){for(const B of o)if(B.deref()===x)return;x.addEventListener("focusin",s,!0),x.addEventListener("focusout",i,!0),o.add(new Y2(x));return}const y={relatedTarget:p,originalEvent:w},k=new CustomEvent(Nn,{cancelable:!0,bubbles:!0,composed:!0,detail:y});k.details=y,(sm||d.lastFocusedProgrammatically)&&(y.isFocusedProgrammatically=m===((v=d.lastFocusedProgrammatically)==null?void 0:v.deref()),d.lastFocusedProgrammatically=void 0),m.dispatchEvent(k)},d=t.__keyborgData={focusInHandler:s,focusOutHandler:i,shadowTargets:o};t.document.addEventListener("focusin",t.__keyborgData.focusInHandler,!0),t.document.addEventListener("focusout",t.__keyborgData.focusOutHandler,!0);function f(){const m=t.__keyborgData;return m&&(m.lastFocusedProgrammatically=new Y2(this)),r.apply(this,arguments)}let h=t.document.activeElement;for(;h&&h.shadowRoot;)c(h),h=h.shadowRoot.activeElement;f.__keyborgNativeFocus=r}function yE(e){const t=e,r=t.HTMLElement.prototype,o=r.focus.__keyborgNativeFocus,i=t.__keyborgData;if(i){t.document.removeEventListener("focusin",i.focusInHandler,!0),t.document.removeEventListener("focusout",i.focusOutHandler,!0);for(const s of i.shadowTargets){const c=s.deref();c&&(c.removeEventListener("focusin",i.focusInHandler,!0),c.removeEventListener("focusout",i.focusOutHandler,!0))}i.shadowTargets.clear(),delete t.__keyborgData}o&&(r.focus=o)}var xE=500,u5=0,wE=class{constructor(e,t){this._isNavigatingWithKeyboard_DO_NOT_USE=!1,this._onFocusIn=o=>{if(this._isMouseOrTouchUsedTimer||this.isNavigatingWithKeyboard)return;const i=o.detail;i.relatedTarget&&(i.isFocusedProgrammatically||i.isFocusedProgrammatically===void 0||(this.isNavigatingWithKeyboard=!0))},this._onMouseDown=o=>{o.buttons===0||o.clientX===0&&o.clientY===0&&o.screenX===0&&o.screenY===0||this._onMouseOrTouch()},this._onMouseOrTouch=()=>{const o=this._win;o&&(this._isMouseOrTouchUsedTimer&&o.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=o.setTimeout(()=>{delete this._isMouseOrTouchUsedTimer},1e3)),this.isNavigatingWithKeyboard=!1},this._onKeyDown=o=>{this.isNavigatingWithKeyboard?this._shouldDismissKeyboardNavigation(o)&&this._scheduleDismiss():this._shouldTriggerKeyboardNavigation(o)&&(this.isNavigatingWithKeyboard=!0)},this.id="c"+ ++u5,this._win=e;const r=e.document;if(t){const o=t.triggerKeys,i=t.dismissKeys;o!=null&&o.length&&(this._triggerKeys=new Set(o)),i!=null&&i.length&&(this._dismissKeys=new Set(i))}r.addEventListener(Nn,this._onFocusIn,!0),r.addEventListener("mousedown",this._onMouseDown,!0),e.addEventListener("keydown",this._onKeyDown,!0),r.addEventListener("touchstart",this._onMouseOrTouch,!0),r.addEventListener("touchend",this._onMouseOrTouch,!0),r.addEventListener("touchcancel",this._onMouseOrTouch,!0),vE(e)}get isNavigatingWithKeyboard(){return this._isNavigatingWithKeyboard_DO_NOT_USE}set isNavigatingWithKeyboard(e){this._isNavigatingWithKeyboard_DO_NOT_USE!==e&&(this._isNavigatingWithKeyboard_DO_NOT_USE=e,this.update())}dispose(){const e=this._win;if(e){this._isMouseOrTouchUsedTimer&&(e.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=void 0),this._dismissTimer&&(e.clearTimeout(this._dismissTimer),this._dismissTimer=void 0),yE(e);const t=e.document;t.removeEventListener(Nn,this._onFocusIn,!0),t.removeEventListener("mousedown",this._onMouseDown,!0),e.removeEventListener("keydown",this._onKeyDown,!0),t.removeEventListener("touchstart",this._onMouseOrTouch,!0),t.removeEventListener("touchend",this._onMouseOrTouch,!0),t.removeEventListener("touchcancel",this._onMouseOrTouch,!0),delete this._win}}isDisposed(){return!!this._win}update(){var e,t;const r=(t=(e=this._win)==null?void 0:e.__keyborg)==null?void 0:t.refs;if(r)for(const o of Object.keys(r))Dp.update(r[o],this.isNavigatingWithKeyboard)}_shouldTriggerKeyboardNavigation(e){var t;if(e.key==="Tab")return!0;const r=(t=this._win)==null?void 0:t.document.activeElement,o=!this._triggerKeys||this._triggerKeys.has(e.keyCode),i=r&&(r.tagName==="INPUT"||r.tagName==="TEXTAREA"||r.isContentEditable);return o&&!i}_shouldDismissKeyboardNavigation(e){var t;return(t=this._dismissKeys)==null?void 0:t.has(e.keyCode)}_scheduleDismiss(){const e=this._win;if(e){this._dismissTimer&&(e.clearTimeout(this._dismissTimer),this._dismissTimer=void 0);const t=e.document.activeElement;this._dismissTimer=e.setTimeout(()=>{this._dismissTimer=void 0;const r=e.document.activeElement;t&&r&&t===r&&(this.isNavigatingWithKeyboard=!1)},xE)}}},Dp=class c5{constructor(t,r){this._cb=[],this._id="k"+ ++u5,this._win=t;const o=t.__keyborg;o?(this._core=o.core,o.refs[this._id]=this):(this._core=new wE(t,r),t.__keyborg={core:this._core,refs:{[this._id]:this}})}static create(t,r){return new c5(t,r)}static dispose(t){t.dispose()}static update(t,r){t._cb.forEach(o=>o(r))}dispose(){var t;const r=(t=this._win)==null?void 0:t.__keyborg;r!=null&&r.refs[this._id]&&(delete r.refs[this._id],Object.keys(r.refs).length===0&&(r.core.dispose(),delete this._win.__keyborg)),this._cb=[],delete this._core,delete this._win}isNavigatingWithKeyboard(){var t;return!!((t=this._core)!=null&&t.isNavigatingWithKeyboard)}subscribe(t){this._cb.push(t)}unsubscribe(t){const r=this._cb.indexOf(t);r>=0&&this._cb.splice(r,1)}setVal(t){this._core&&(this._core.isNavigatingWithKeyboard=t)}};function uf(e,t){return Dp.create(e,t)}function cf(e){Dp.dispose(e)}/*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + *//*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */const Kn="data-tabster",SE="data-tabster-dummy",d5=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", "),la={EscapeGroupper:1,Restorer:2,Deloser:3},Wa={Invisible:0,PartiallyVisible:1,Visible:2},Ai={Source:0,Target:1},so={Both:0,Vertical:1,Horizontal:2,Grid:3,GridLinear:4},ar={ArrowUp:1,ArrowDown:2,ArrowLeft:3,ArrowRight:4,PageUp:5,PageDown:6,Home:7,End:8},_d={Unlimited:0,Limited:1,LimitedTrapFocus:2},Ug={Enter:1,Escape:2},kE={Outside:2};/*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */function Ur(e,t){var r;return(r=e.storageEntry(t))===null||r===void 0?void 0:r.tabster}function f5(e,t,r){var o,i;const s=r||e._noop?void 0:t.getAttribute(Kn);let c=e.storageEntry(t),d;if(s)if(s!==((o=c==null?void 0:c.attr)===null||o===void 0?void 0:o.string))try{const p=JSON.parse(s);if(typeof p!="object")throw new Error(`Value is not a JSON object, got '${s}'.`);d={string:s,object:p}}catch{}else return;else if(!c)return;c||(c=e.storageEntry(t,!0)),c.tabster||(c.tabster={});const f=c.tabster||{},h=((i=c.attr)===null||i===void 0?void 0:i.object)||{},m=(d==null?void 0:d.object)||{};for(const p of Object.keys(h))if(!m[p]){if(p==="root"){const w=f[p];w&&e.root.onRoot(w,!0)}switch(p){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const w=f[p];w&&(w.dispose(),delete f[p]);break;case"observed":delete f[p],e.observedElement&&e.observedElement.onObservedElementUpdate(t);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete f[p];break}}for(const p of Object.keys(m)){const w=m.sys;switch(p){case"deloser":f.deloser?f.deloser.setProps(m.deloser):e.deloser&&(f.deloser=e.deloser.createDeloser(t,m.deloser));break;case"root":f.root?f.root.setProps(m.root):f.root=e.root.createRoot(t,m.root,w),e.root.onRoot(f.root);break;case"modalizer":f.modalizer?f.modalizer.setProps(m.modalizer):e.modalizer&&(f.modalizer=e.modalizer.createModalizer(t,m.modalizer,w));break;case"restorer":f.restorer?f.restorer.setProps(m.restorer):e.restorer&&m.restorer&&(f.restorer=e.restorer.createRestorer(t,m.restorer));break;case"focusable":f.focusable=m.focusable;break;case"groupper":f.groupper?f.groupper.setProps(m.groupper):e.groupper&&(f.groupper=e.groupper.createGroupper(t,m.groupper,w));break;case"mover":f.mover?f.mover.setProps(m.mover):e.mover&&(f.mover=e.mover.createMover(t,m.mover,w));break;case"observed":e.observedElement&&(f.observed=m.observed,e.observedElement.onObservedElementUpdate(t));break;case"uncontrolled":f.uncontrolled=m.uncontrolled;break;case"outline":e.outline&&(f.outline=m.outline);break;case"sys":f.sys=m.sys;break;default:console.error(`Unknown key '${p}' in data-tabster attribute value.`)}}d?c.attr=d:(Object.keys(f).length===0&&(delete c.tabster,delete c.attr),e.storageEntry(t,!1))}/*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */const BE="tabster:focusin",_E="tabster:focusout",Vg="tabster:movefocus",TE="tabster:modalizer:active",CE="tabster:modalizer:inactive",EE="tabster:mover:state",Wg="tabster:mover:movefocus",Z2="tabster:mover:memorized-element",Gg="tabster:groupper:movefocus",$g="tabster:restorer:restore-focus",NE="tabster:root:focus",zE="tabster:root:blur",RE=typeof CustomEvent<"u"?CustomEvent:function(){};class fo extends RE{constructor(t,r){super(t,{bubbles:!0,cancelable:!0,composed:!0,detail:r}),this.details=r}}class AE extends fo{constructor(t){super(BE,t)}}class DE extends fo{constructor(t){super(_E,t)}}class Ja extends fo{constructor(t){super(Vg,t)}}class Q2 extends fo{constructor(t){super(EE,t)}}class jE extends fo{constructor(t){super(Wg,t)}}class OE extends fo{constructor(t){super(Gg,t)}}class ME extends fo{constructor(t){super(TE,t)}}class qE extends fo{constructor(t){super(CE,t)}}class J2 extends fo{constructor(){super($g)}}class FE extends fo{constructor(t){super(NE,t)}}class PE extends fo{constructor(t){super(zE,t)}}/*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */const IE=e=>new MutationObserver(e),LE=(e,t,r,o)=>e.createTreeWalker(t,r,o),HE=e=>e?e.parentNode:null,UE=e=>e?e.parentElement:null,VE=(e,t)=>!!(t&&(e!=null&&e.contains(t))),WE=e=>e.activeElement,GE=(e,t)=>e.querySelector(t),$E=(e,t)=>Array.prototype.slice.call(e.querySelectorAll(t),0),XE=(e,t)=>e.getElementById(t),KE=e=>(e==null?void 0:e.firstChild)||null,YE=e=>(e==null?void 0:e.lastChild)||null,ZE=e=>(e==null?void 0:e.nextSibling)||null,QE=e=>(e==null?void 0:e.previousSibling)||null,JE=e=>(e==null?void 0:e.firstElementChild)||null,e9=e=>(e==null?void 0:e.lastElementChild)||null,t9=e=>(e==null?void 0:e.nextElementSibling)||null,r9=e=>(e==null?void 0:e.previousElementSibling)||null,n9=(e,t)=>e.appendChild(t),o9=(e,t,r)=>e.insertBefore(t,r),a9=e=>{var t;return((t=e.ownerDocument)===null||t===void 0?void 0:t.getSelection())||null},i9=(e,t)=>e.ownerDocument.getElementsByName(t),pe={createMutationObserver:IE,createTreeWalker:LE,getParentNode:HE,getParentElement:UE,nodeContains:VE,getActiveElement:WE,querySelector:GE,querySelectorAll:$E,getElementById:XE,getFirstChild:KE,getLastChild:YE,getNextSibling:ZE,getPreviousSibling:QE,getFirstElementChild:JE,getLastElementChild:e9,getNextElementSibling:t9,getPreviousElementSibling:r9,appendChild:n9,insertBefore:o9,getSelection:a9,getElementsByName:i9};function l9(e){for(const t of Object.keys(e))pe[t]=e[t]}/*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */let Xg;const ex=typeof DOMRect<"u"?DOMRect:class{constructor(e,t,r,o){this.left=e||0,this.top=t||0,this.right=(e||0)+(r||0),this.bottom=(t||0)+(o||0)}};let s9=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),Xg=!1}catch{Xg=!0}const um=100;function ha(e){const t=e();let r=t.__tabsterInstanceContext;return r||(r={elementByUId:{},basics:{Promise:t.Promise||void 0,WeakRef:t.WeakRef||void 0},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0,fakeWeakRefs:[],fakeWeakRefsStarted:!1},t.__tabsterInstanceContext=r),r}function u9(e){const t=e.__tabsterInstanceContext;t&&(t.elementByUId={},delete t.WeakRef,t.containerBoundingRectCache={},t.containerBoundingRectCacheTimer&&e.clearTimeout(t.containerBoundingRectCacheTimer),t.fakeWeakRefsTimer&&e.clearTimeout(t.fakeWeakRefsTimer),t.fakeWeakRefs=[],delete e.__tabsterInstanceContext)}function c9(e){const t=e.__tabsterInstanceContext;return new((t==null?void 0:t.basics.WeakMap)||WeakMap)}function d9(e){return!!e.querySelector(d5)}class h5{constructor(t){this._target=t}deref(){return this._target}static cleanup(t,r){return t._target?r||!Op(t._target.ownerDocument,t._target)?(delete t._target,!0):!1:!0}}class Tn{constructor(t,r,o){const i=ha(t);let s;i.WeakRef?s=new i.WeakRef(r):(s=new h5(r),i.fakeWeakRefs.push(s)),this._ref=s,this._data=o}get(){const t=this._ref;let r;return t&&(r=t.deref(),r||delete this._ref),r}getData(){return this._data}}function m5(e,t){const r=ha(e);r.fakeWeakRefs=r.fakeWeakRefs.filter(o=>!h5.cleanup(o,t))}function g5(e){const t=ha(e);t.fakeWeakRefsStarted||(t.fakeWeakRefsStarted=!0,t.WeakRef=b9(t)),t.fakeWeakRefsTimer||(t.fakeWeakRefsTimer=e().setTimeout(()=>{t.fakeWeakRefsTimer=void 0,m5(e),g5(e)},2*60*1e3))}function f9(e){const t=ha(e);t.fakeWeakRefsStarted=!1,t.fakeWeakRefsTimer&&(e().clearTimeout(t.fakeWeakRefsTimer),t.fakeWeakRefsTimer=void 0,t.fakeWeakRefs=[])}function jp(e,t,r){if(t.nodeType!==Node.ELEMENT_NODE)return;const o=Xg?r:{acceptNode:r};return pe.createTreeWalker(e,t,NodeFilter.SHOW_ELEMENT,o,!1)}function p5(e,t){let r=t.__tabsterCacheId;const o=ha(e),i=r?o.containerBoundingRectCache[r]:void 0;if(i)return i.rect;const s=t.ownerDocument&&t.ownerDocument.documentElement;if(!s)return new ex;let c=0,d=0,f=s.clientWidth,h=s.clientHeight;if(t!==s){const p=t.getBoundingClientRect();c=Math.max(c,p.left),d=Math.max(d,p.top),f=Math.min(f,p.right),h=Math.min(h,p.bottom)}const m=new ex(c{o.containerBoundingRectCacheTimer=void 0;for(const p of Object.keys(o.containerBoundingRectCache))delete o.containerBoundingRectCache[p].element.__tabsterCacheId;o.containerBoundingRectCache={}},50)),m}function tx(e,t,r){const o=b5(t);if(!o)return!1;const i=p5(e,o),s=t.getBoundingClientRect(),c=s.height*(1-r),d=Math.max(0,i.top-s.top),f=Math.max(0,s.bottom-i.bottom),h=d+f;return h===0||h<=c}function h9(e,t,r){const o=b5(t);if(o){const i=p5(e,o),s=t.getBoundingClientRect();r?o.scrollTop+=s.top-i.top:o.scrollTop+=s.bottom-i.bottom}}function b5(e){const t=e.ownerDocument;if(t){for(let r=pe.getParentElement(e);r;r=pe.getParentElement(r))if(r.scrollWidth>r.clientWidth||r.scrollHeight>r.clientHeight)return r;return t.documentElement}return null}function m9(e){e.__shouldIgnoreFocus=!0}function v5(e){return!!e.__shouldIgnoreFocus}function g9(e){const t=new Uint32Array(4);if(e.crypto&&e.crypto.getRandomValues)e.crypto.getRandomValues(t);else if(e.msCrypto&&e.msCrypto.getRandomValues)e.msCrypto.getRandomValues(t);else for(let o=0;o{if(this._fixedTarget){const w=this._fixedTarget.get();w&&Ro(w);return}const p=this.input;if(this.onFocusIn&&p){const w=m.relatedTarget;this.onFocusIn(this,this._isBackward(!0,p,w),w)}},this._focusOut=m=>{if(this._fixedTarget)return;this.useDefaultAction=!1;const p=this.input;if(this.onFocusOut&&p){const w=m.relatedTarget;this.onFocusOut(this,this._isBackward(!1,p,w),w)}};const d=t(),f=d.document.createElement("i");f.tabIndex=0,f.setAttribute("role","none"),f.setAttribute(SE,""),f.setAttribute("aria-hidden","true");const h=f.style;h.position="fixed",h.width=h.height="1px",h.opacity="0.001",h.zIndex="-1",h.setProperty("content-visibility","hidden"),m9(f),this.input=f,this.isFirst=o.isFirst,this.isOutside=r,this._isPhantom=(c=o.isPhantom)!==null&&c!==void 0?c:!1,this._fixedTarget=s,f.addEventListener("focusin",this._focusIn),f.addEventListener("focusout",this._focusOut),f.__tabsterDummyContainer=i,this._isPhantom&&(this._disposeTimer=d.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{this._disposeTimer&&(d.clearTimeout(this._disposeTimer),delete this._disposeTimer),delete this._clearDisposeTimeout})}dispose(){var t;this._clearDisposeTimeout&&this._clearDisposeTimeout();const r=this.input;r&&(delete this._fixedTarget,delete this.onFocusIn,delete this.onFocusOut,delete this.input,r.removeEventListener("focusin",this._focusIn),r.removeEventListener("focusout",this._focusOut),delete r.__tabsterDummyContainer,(t=pe.getParentNode(r))===null||t===void 0||t.removeChild(r))}setTopLeft(t,r){var o;const i=(o=this.input)===null||o===void 0?void 0:o.style;i&&(i.top=`${t}px`,i.left=`${r}px`)}_isBackward(t,r,o){return t&&!o?!this.isFirst:!!(o&&r.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING)}}const df={Root:1,Modalizer:2,Mover:3,Groupper:4};class Fl{constructor(t,r,o,i,s,c){this._element=r,this._instance=new x9(t,r,this,o,i,s,c)}_setHandlers(t,r){this._onFocusIn=t,this._onFocusOut=r}moveOut(t){var r;(r=this._instance)===null||r===void 0||r.moveOut(t)}moveOutWithDefaultAction(t,r){var o;(o=this._instance)===null||o===void 0||o.moveOutWithDefaultAction(t,r)}getHandler(t){return t?this._onFocusIn:this._onFocusOut}setTabbable(t){var r;(r=this._instance)===null||r===void 0||r.setTabbable(this,t)}dispose(){this._instance&&(this._instance.dispose(this),delete this._instance),delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(t,r,o,i,s){const d=new qd(t.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(d){let f,h;if(r.tagName==="BODY")f=r,h=o&&i||!o&&!i?pe.getFirstElementChild(r):null;else{o&&(!i||i&&!t.focusable.isFocusable(r,!1,!0,!0))?(f=r,h=i?r.firstElementChild:null):(f=pe.getParentElement(r),h=o&&i||!o&&!i?r:pe.getNextElementSibling(r));let m,p;do m=o&&i||!o&&!i?pe.getPreviousElementSibling(h):h,p=Pl(m),p===r?h=o&&i||!o&&!i?m:pe.getNextElementSibling(m):p=null;while(p)}f!=null&&f.dispatchEvent(new Ja({by:"root",owner:f,next:null,relatedEvent:s}))&&(pe.insertBefore(f,d,h),Ro(d))}}static addPhantomDummyWithTarget(t,r,o,i){const c=new qd(t.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new Tn(t.getWindow,i)).input;if(c){let d,f;d9(r)&&!o?(d=r,f=pe.getFirstElementChild(r)):(d=pe.getParentElement(r),f=o?r:pe.getNextElementSibling(r)),d&&pe.insertBefore(d,c,f)}}}class y9{constructor(t){this._updateQueue=new Set,this._lastUpdateQueueTime=0,this._changedParents=new WeakSet,this._dummyElements=[],this._dummyCallbacks=new WeakMap,this._domChanged=r=>{var o;this._changedParents.has(r)||(this._changedParents.add(r),!this._updateDummyInputsTimer&&(this._updateDummyInputsTimer=(o=this._win)===null||o===void 0?void 0:o.call(this).setTimeout(()=>{delete this._updateDummyInputsTimer;for(const i of this._dummyElements){const s=i.get();if(s){const c=this._dummyCallbacks.get(s);if(c){const d=pe.getParentNode(s);(!d||this._changedParents.has(d))&&c()}}}this._changedParents=new WeakSet},um)))},this._win=t}add(t,r){!this._dummyCallbacks.has(t)&&this._win&&(this._dummyElements.push(new Tn(this._win,t)),this._dummyCallbacks.set(t,r),this.domChanged=this._domChanged)}remove(t){this._dummyElements=this._dummyElements.filter(r=>{const o=r.get();return o&&o!==t}),this._dummyCallbacks.delete(t),this._dummyElements.length===0&&delete this.domChanged}dispose(){var t;const r=(t=this._win)===null||t===void 0?void 0:t.call(this);this._updateTimer&&(r==null||r.clearTimeout(this._updateTimer),delete this._updateTimer),this._updateDummyInputsTimer&&(r==null||r.clearTimeout(this._updateDummyInputsTimer),delete this._updateDummyInputsTimer),this._changedParents=new WeakSet,this._dummyCallbacks=new WeakMap,this._dummyElements=[],this._updateQueue.clear(),delete this.domChanged,delete this._win}updatePositions(t){this._win&&(this._updateQueue.add(t),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions())}_scheduledUpdatePositions(){var t;this._updateTimer||(this._updateTimer=(t=this._win)===null||t===void 0?void 0:t.call(this).setTimeout(()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+um<=Date.now()){const r=new Map,o=[];for(const i of this._updateQueue)o.push(i(r));this._updateQueue.clear();for(const i of o)i();r.clear()}else this._scheduledUpdatePositions()},um))}}class x9{constructor(t,r,o,i,s,c,d){this._wrappers=[],this._isOutside=!1,this._transformElements=new Set,this._onFocusIn=(v,x,y)=>{this._onFocus(!0,v,x,y)},this._onFocusOut=(v,x,y)=>{this._onFocus(!1,v,x,y)},this.moveOut=v=>{var x;const y=this._firstDummy,k=this._lastDummy;if(y&&k){this._ensurePosition();const B=y.input,_=k.input,C=(x=this._element)===null||x===void 0?void 0:x.get();if(B&&_&&C){let N;v?(B.tabIndex=0,N=B):(_.tabIndex=0,N=_),N&&Ro(N)}}},this.moveOutWithDefaultAction=(v,x)=>{var y;const k=this._firstDummy,B=this._lastDummy;if(k&&B){this._ensurePosition();const _=k.input,C=B.input,N=(y=this._element)===null||y===void 0?void 0:y.get();if(_&&C&&N){let R;v?!k.isOutside&&this._tabster.focusable.isFocusable(N,!0,!0,!0)?R=N:(k.useDefaultAction=!0,_.tabIndex=0,R=_):(B.useDefaultAction=!0,C.tabIndex=0,R=C),R&&N.dispatchEvent(new Ja({by:"root",owner:N,next:null,relatedEvent:x}))&&Ro(R)}}},this.setTabbable=(v,x)=>{var y,k;for(const _ of this._wrappers)if(_.manager===v){_.tabbable=x;break}const B=this._getCurrent();if(B){const _=B.tabbable?0:-1;let C=(y=this._firstDummy)===null||y===void 0?void 0:y.input;C&&(C.tabIndex=_),C=(k=this._lastDummy)===null||k===void 0?void 0:k.input,C&&(C.tabIndex=_)}},this._addDummyInputs=()=>{this._addTimer||(this._addTimer=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),this._addTransformOffsets()},0))},this._addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)},this._computeTransformOffsets=v=>{var x,y;const k=((x=this._firstDummy)===null||x===void 0?void 0:x.input)||((y=this._lastDummy)===null||y===void 0?void 0:y.input),B=this._transformElements,_=new Set;let C=0,N=0;const R=this._getWindow();for(let j=k;j&&j.nodeType===Node.ELEMENT_NODE;j=pe.getParentElement(j)){let D=v.get(j);if(D===void 0){const M=R.getComputedStyle(j).transform;M&&M!=="none"&&(D={scrollTop:j.scrollTop,scrollLeft:j.scrollLeft}),v.set(j,D||null)}D&&(_.add(j),B.has(j)||j.addEventListener("scroll",this._addTransformOffsets),C+=D.scrollTop,N+=D.scrollLeft)}for(const j of B)_.has(j)||j.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=_,()=>{var j,D;(j=this._firstDummy)===null||j===void 0||j.setTopLeft(C,N),(D=this._lastDummy)===null||D===void 0||D.setTopLeft(C,N)}};const f=r.get();if(!f)throw new Error("No element");this._tabster=t,this._getWindow=t.getWindow,this._callForDefaultAction=d;const h=f.__tabsterDummy;if((h||this)._wrappers.push({manager:o,priority:i,tabbable:!0}),h)return h;f.__tabsterDummy=this;const m=s==null?void 0:s.dummyInputsPosition,p=f.tagName;this._isOutside=m?m===kE.Outside:(c||p==="UL"||p==="OL"||p==="TABLE")&&!(p==="LI"||p==="TD"||p==="TH"),this._firstDummy=new qd(this._getWindow,this._isOutside,{isFirst:!0},r),this._lastDummy=new qd(this._getWindow,this._isOutside,{isFirst:!1},r);const w=this._firstDummy.input;w&&t._dummyObserver.add(w,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=r,this._addDummyInputs()}dispose(t,r){var o,i,s,c;if((this._wrappers=this._wrappers.filter(f=>f.manager!==t&&!r)).length===0){delete((o=this._element)===null||o===void 0?void 0:o.get()).__tabsterDummy;for(const m of this._transformElements)m.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();const f=this._getWindow();this._addTimer&&(f.clearTimeout(this._addTimer),delete this._addTimer);const h=(i=this._firstDummy)===null||i===void 0?void 0:i.input;h&&this._tabster._dummyObserver.remove(h),(s=this._firstDummy)===null||s===void 0||s.dispose(),(c=this._lastDummy)===null||c===void 0||c.dispose()}}_onFocus(t,r,o,i){var s;const c=this._getCurrent();c&&(!r.useDefaultAction||this._callForDefaultAction)&&((s=c.manager.getHandler(t))===null||s===void 0||s(r,o,i))}_getCurrent(){return this._wrappers.sort((t,r)=>t.tabbable!==r.tabbable?t.tabbable?-1:1:t.priority-r.priority),this._wrappers[0]}_ensurePosition(){var t,r,o;const i=(t=this._element)===null||t===void 0?void 0:t.get(),s=(r=this._firstDummy)===null||r===void 0?void 0:r.input,c=(o=this._lastDummy)===null||o===void 0?void 0:o.input;if(!(!i||!s||!c))if(this._isOutside){const d=pe.getParentNode(i);if(d){const f=pe.getNextSibling(i);f!==c&&pe.insertBefore(d,c,f),pe.getPreviousElementSibling(i)!==s&&pe.insertBefore(d,s,i)}}else{pe.getLastElementChild(i)!==c&&pe.appendChild(i,c);const d=pe.getFirstElementChild(i);d&&d!==s&&d.parentNode&&pe.insertBefore(d.parentNode,s,d)}}}function x5(e){let t=null;for(let r=pe.getLastElementChild(e);r;r=pe.getLastElementChild(r))t=r;return t||void 0}function w9(e,t){let r=e,o=null;for(;r&&!o;)o=t?pe.getPreviousElementSibling(r):pe.getNextElementSibling(r),r=pe.getParentElement(r);return o||void 0}function cm(e,t,r,o){const i=e.storageEntry(t,!0);let s=!1;if(!i.aug){if(o===void 0)return s;i.aug={}}if(o===void 0){if(r in i.aug){const c=i.aug[r];delete i.aug[r],c===null?t.removeAttribute(r):t.setAttribute(r,c),s=!0}}else{let c;r in i.aug||(c=t.getAttribute(r)),c!==void 0&&c!==o&&(i.aug[r]=c,o===null?t.removeAttribute(r):t.setAttribute(r,o),s=!0)}return o===void 0&&Object.keys(i.aug).length===0&&(delete i.aug,e.storageEntry(t,!1)),s}function S9(e){var t,r;const o=e.ownerDocument,i=(t=o.defaultView)===null||t===void 0?void 0:t.getComputedStyle(e);return e.offsetParent===null&&o.body!==e&&(i==null?void 0:i.position)!=="fixed"||(i==null?void 0:i.visibility)==="hidden"||(i==null?void 0:i.position)==="fixed"&&(i.display==="none"||((r=e.parentElement)===null||r===void 0?void 0:r.offsetParent)===null&&o.body!==e.parentElement)}function Kg(e){return e.tagName==="INPUT"&&!!e.name&&e.type==="radio"}function k9(e){if(!Kg(e))return;const t=e.name;let r=Array.from(pe.getElementsByName(e,t)),o;return r=r.filter(i=>Kg(i)?(i.checked&&(o=i),!0):!1),{name:t,buttons:new Set(r),checked:o}}function Pl(e){var t;return((t=e==null?void 0:e.__tabsterDummyContainer)===null||t===void 0?void 0:t.get())||null}/*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */function Mp(e,t){const r=JSON.stringify(e);return t===!0?r:{[Kn]:r}}function B9(e,t){for(const r of Object.keys(t)){const o=t[r];o?e[r]=o:delete e[r]}}function _9(e,t,r){let o;{const i=e.getAttribute(Kn);if(i)try{o=JSON.parse(i)}catch{}}o||(o={}),B9(o,t),Object.keys(o).length>0?e.setAttribute(Kn,Mp(o,!0)):e.removeAttribute(Kn)}class nx extends Fl{constructor(t,r,o,i){super(t,r,df.Root,i,void 0,!0),this._onDummyInputFocus=s=>{var c;if(s.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);const d=this._element.get();if(d){this._setFocused(!0);const f=this._tabster.focusedElement.getFirstOrLastTabbable(s.isFirst,{container:d,ignoreAccessibility:!0});if(f){Ro(f);return}}(c=s.input)===null||c===void 0||c.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=t,this._setFocused=o}}class T9 extends Nu{constructor(t,r,o,i,s){super(t,r,i),this._isFocused=!1,this._setFocused=h=>{var m;if(this._setFocusedTimer&&(this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._isFocused===h)return;const p=this._element.get();p&&(h?(this._isFocused=!0,(m=this._dummyManager)===null||m===void 0||m.setTabbable(!1),p.dispatchEvent(new FE({element:p}))):this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{var w;delete this._setFocusedTimer,this._isFocused=!1,(w=this._dummyManager)===null||w===void 0||w.setTabbable(!0),p.dispatchEvent(new PE({element:p}))},0))},this._onFocusIn=h=>{const m=this._tabster.getParent,p=this._element.get();let w=h.composedPath()[0];do{if(w===p){this._setFocused(!0);return}w=w&&m(w)}while(w)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=o;const c=t.getWindow;this.uid=Td(c,r),this._sys=s,(t.controlTab||t.rootDummyInputs)&&this.addDummyInputs();const f=c().document;f.addEventListener(Nn,this._onFocusIn),f.addEventListener(xu,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new nx(this._tabster,this._element,this._setFocused,this._sys))}dispose(){var t;this._onDispose(this);const r=this._tabster.getWindow(),o=r.document;o.removeEventListener(Nn,this._onFocusIn),o.removeEventListener(xu,this._onFocusOut),this._setFocusedTimer&&(r.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),(t=this._dummyManager)===null||t===void 0||t.dispose(),this._remove()}moveOutWithDefaultAction(t,r){const o=this._dummyManager;if(o)o.moveOutWithDefaultAction(t,r);else{const i=this.getElement();i&&nx.moveWithPhantomDummy(this._tabster,i,!0,t,r)}}_add(){}_remove(){}}class Nt{constructor(t,r){this._autoRootWaiting=!1,this._roots={},this._forceDummy=!1,this.rootById={},this._autoRootCreate=()=>{var o;const i=this._win().document,s=i.body;if(s){this._autoRootUnwait(i);const c=this._autoRoot;if(c)return _9(s,{root:c}),f5(this._tabster,s),(o=Ur(this._tabster,s))===null||o===void 0?void 0:o.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,i.addEventListener("readystatechange",this._autoRootCreate))},this._onRootDispose=o=>{delete this._roots[o.id]},this._tabster=t,this._win=t.getWindow,this._autoRoot=r,t.queueInit(()=>{this._autoRoot&&this._autoRootCreate()})}_autoRootUnwait(t){t.removeEventListener("readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){const t=this._win();this._autoRootUnwait(t.document),delete this._autoRoot,Object.keys(this._roots).forEach(r=>{this._roots[r]&&(this._roots[r].dispose(),delete this._roots[r])}),this.rootById={}}createRoot(t,r,o){const i=new T9(this._tabster,t,this._onRootDispose,r,o);return this._roots[i.id]=i,this._forceDummy&&i.addDummyInputs(),i}addDummyInputs(){this._forceDummy=!0;const t=this._roots;for(const r of Object.keys(t))t[r].addDummyInputs()}static getRootByUId(t,r){const o=t().__tabsterInstance;return o&&o.root.rootById[r]}static getTabsterContext(t,r,o){o===void 0&&(o={});var i,s,c,d;if(!r.ownerDocument)return;const{checkRtl:f,referenceElement:h}=o,m=t.getParent;t.drainInitQueue();let p,w,v,x,y=!1,k,B,_,C,N=h||r;const R={};for(;N&&(!p||f);){const D=Ur(t,N);if(f&&_===void 0){const re=N.dir;re&&(_=re.toLowerCase()==="rtl")}if(!D){N=m(N);continue}const M=N.tagName;(D.uncontrolled||M==="IFRAME"||M==="WEBVIEW")&&t.focusable.isVisible(N)&&(C=N),!x&&(!((i=D.focusable)===null||i===void 0)&&i.excludeFromMover)&&!v&&(y=!0);const I=D.modalizer,G=D.groupper,X=D.mover;!w&&I&&(w=I),!v&&G&&(!w||I)&&(w?(!G.isActive()&&G.getProps().tabbability&&w.userId!==((s=t.modalizer)===null||s===void 0?void 0:s.activeId)&&(w=void 0,v=G),B=G):v=G),!x&&X&&(!w||I)&&(!G||N!==r)&&N.contains(r)&&(x=X,k=!!v&&v!==G),D.root&&(p=D.root),!((c=D.focusable)===null||c===void 0)&&c.ignoreKeydown&&Object.assign(R,D.focusable.ignoreKeydown),N=m(N)}if(!p){const D=t.root;D._autoRoot&&!((d=r.ownerDocument)===null||d===void 0)&&d.body&&(p=D._autoRootCreate())}return v&&!x&&(k=!0),p?{root:p,modalizer:w,groupper:v,mover:x,groupperBeforeMover:k,modalizerInGroupper:B,rtl:f?!!_:void 0,uncontrolled:C,excludedFromMover:y,ignoreKeydown:D=>!!R[D.key]}:void 0}static getRoot(t,r){var o;const i=t.getParent;for(let s=r;s;s=i(s)){const c=(o=Ur(t,s))===null||o===void 0?void 0:o.root;if(c)return c}}onRoot(t,r){r?delete this.rootById[t.uid]:this.rootById[t.uid]=t}}/*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */class w5{constructor(){this._callbacks=[]}dispose(){this._callbacks=[],delete this._val}subscribe(t){const r=this._callbacks;r.indexOf(t)<0&&r.push(t)}subscribeFirst(t){const r=this._callbacks,o=r.indexOf(t);o>=0&&r.splice(o,1),r.unshift(t)}unsubscribe(t){const r=this._callbacks.indexOf(t);r>=0&&this._callbacks.splice(r,1)}setVal(t,r){this._val!==t&&(this._val=t,this._callCallbacks(t,r))}getVal(){return this._val}trigger(t,r){this._callCallbacks(t,r)}_callCallbacks(t,r){this._callbacks.forEach(o=>o(t,r))}}/*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */class C9{constructor(t){this._tabster=t}dispose(){}getProps(t){const r=Ur(this._tabster,t);return r&&r.focusable||{}}isFocusable(t,r,o,i){return y5(t,d5)&&(r||t.tabIndex!==-1)?(o||this.isVisible(t))&&(i||this.isAccessible(t)):!1}isVisible(t){if(!t.ownerDocument||t.nodeType!==Node.ELEMENT_NODE||S9(t))return!1;const r=t.ownerDocument.body.getBoundingClientRect();return!(r.width===0&&r.height===0)}isAccessible(t){var r;for(let o=t;o;o=pe.getParentElement(o)){const i=Ur(this._tabster,o);if(this._isHidden(o)||!((r=i==null?void 0:i.focusable)===null||r===void 0?void 0:r.ignoreAriaDisabled)&&this._isDisabled(o))return!1}return!0}_isDisabled(t){return t.hasAttribute("disabled")}_isHidden(t){var r;const o=t.getAttribute("aria-hidden");return!!(o&&o.toLowerCase()==="true"&&!(!((r=this._tabster.modalizer)===null||r===void 0)&&r.isAugmented(t)))}findFirst(t,r){return this.findElement({...t},r)}findLast(t,r){return this.findElement({isBackward:!0,...t},r)}findNext(t,r){return this.findElement({...t},r)}findPrev(t,r){return this.findElement({...t,isBackward:!0},r)}findDefault(t,r){return this.findElement({...t,acceptCondition:o=>this.isFocusable(o,t.includeProgrammaticallyFocusable)&&!!this.getProps(o).isDefault},r)||null}findAll(t){return this._findElements(!0,t)||[]}findElement(t,r){const o=this._findElements(!1,t,r);return o&&o[0]}_findElements(t,r,o){var i,s,c;const{container:d,currentElement:f=null,includeProgrammaticallyFocusable:h,useActiveModalizer:m,ignoreAccessibility:p,modalizerId:w,isBackward:v,onElement:x}=r;o||(o={});const y=[];let{acceptCondition:k}=r;const B=!!k;if(!d)return null;k||(k=R=>this.isFocusable(R,h,!1,p));const _={container:d,modalizerUserId:w===void 0&&m?(i=this._tabster.modalizer)===null||i===void 0?void 0:i.activeId:w||((c=(s=Nt.getTabsterContext(this._tabster,d))===null||s===void 0?void 0:s.modalizer)===null||c===void 0?void 0:c.userId),from:f||d,isBackward:v,isFindAll:t,acceptCondition:k,hasCustomCondition:B,includeProgrammaticallyFocusable:h,ignoreAccessibility:p,cachedGrouppers:{},cachedRadioGroups:{}},C=jp(d.ownerDocument,d,R=>this._acceptElement(R,_));if(!C)return null;const N=R=>{var j,D;const M=(j=_.foundElement)!==null&&j!==void 0?j:_.foundBackward;return M&&y.push(M),t?M&&(_.found=!1,delete _.foundElement,delete _.foundBackward,delete _.fromCtx,_.from=M,x&&!x(M))?!1:!!(M||R):(M&&o&&(o.uncontrolled=(D=Nt.getTabsterContext(this._tabster,M))===null||D===void 0?void 0:D.uncontrolled),!!(R&&!M))};if(f||(o.outOfDOMOrder=!0),f&&pe.nodeContains(d,f))C.currentNode=f;else if(v){const R=x5(d);if(!R)return null;if(this._acceptElement(R,_)===NodeFilter.FILTER_ACCEPT&&!N(!0))return _.skippedFocusable&&(o.outOfDOMOrder=!0),y;C.currentNode=R}do v?C.previousNode():C.nextNode();while(N());return _.skippedFocusable&&(o.outOfDOMOrder=!0),y.length?y:null}_acceptElement(t,r){var o,i,s;if(r.found)return NodeFilter.FILTER_ACCEPT;const c=r.foundBackward;if(c&&(t===c||!pe.nodeContains(c,t)))return r.found=!0,r.foundElement=c,NodeFilter.FILTER_ACCEPT;const d=r.container;if(t===d)return NodeFilter.FILTER_SKIP;if(!pe.nodeContains(d,t)||Pl(t)||pe.nodeContains(r.rejectElementsFrom,t))return NodeFilter.FILTER_REJECT;const f=r.currentCtx=Nt.getTabsterContext(this._tabster,t);if(!f)return NodeFilter.FILTER_SKIP;if(v5(t))return this.isFocusable(t,void 0,!0,!0)&&(r.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!r.hasCustomCondition&&(t.tagName==="IFRAME"||t.tagName==="WEBVIEW"))return this.isVisible(t)&&((o=f.modalizer)===null||o===void 0?void 0:o.userId)===((i=this._tabster.modalizer)===null||i===void 0?void 0:i.activeId)?(r.found=!0,r.rejectElementsFrom=r.foundElement=t,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT;if(!r.ignoreAccessibility&&!this.isAccessible(t))return this.isFocusable(t,!1,!0,!0)&&(r.skippedFocusable=!0),NodeFilter.FILTER_REJECT;let h,m=r.fromCtx;m||(m=r.fromCtx=Nt.getTabsterContext(this._tabster,r.from));const p=m==null?void 0:m.mover;let w=f.groupper,v=f.mover;if(h=(s=this._tabster.modalizer)===null||s===void 0?void 0:s.acceptElement(t,r),h!==void 0&&(r.skippedFocusable=!0),h===void 0&&(w||v||p)){const x=w==null?void 0:w.getElement(),y=p==null?void 0:p.getElement();let k=v==null?void 0:v.getElement();if(k&&pe.nodeContains(y,k)&&pe.nodeContains(d,y)&&(!x||!v||pe.nodeContains(y,x))&&(v=p,k=y),x){if(x===d||!pe.nodeContains(d,x))w=void 0;else if(!pe.nodeContains(x,t))return NodeFilter.FILTER_REJECT}if(k){if(!pe.nodeContains(d,k))v=void 0;else if(!pe.nodeContains(k,t))return NodeFilter.FILTER_REJECT}w&&v&&(k&&x&&!pe.nodeContains(x,k)?v=void 0:w=void 0),w&&(h=w.acceptElement(t,r)),v&&(h=v.acceptElement(t,r))}if(h===void 0&&(h=r.acceptCondition(t)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,h===NodeFilter.FILTER_SKIP&&this.isFocusable(t,!1,!0,!0)&&(r.skippedFocusable=!0)),h===NodeFilter.FILTER_ACCEPT&&!r.found){if(!r.isFindAll&&Kg(t)&&!t.checked){const x=t.name;let y=r.cachedRadioGroups[x];if(y||(y=k9(t),y&&(r.cachedRadioGroups[x]=y)),y!=null&&y.checked&&y.checked!==t)return NodeFilter.FILTER_SKIP}r.isBackward?(r.foundBackward=t,h=NodeFilter.FILTER_SKIP):(r.found=!0,r.foundElement=t)}return h}}/*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */const ir={Tab:"Tab",Enter:"Enter",Escape:"Escape",PageUp:"PageUp",PageDown:"PageDown",End:"End",Home:"Home",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",ArrowDown:"ArrowDown"};/*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */function E9(e,t){var r;const o=e.getParent;let i=t;do{const s=(r=Ur(e,i))===null||r===void 0?void 0:r.uncontrolled;if(s&&e.uncontrolled.isUncontrolledCompletely(i,!!s.completely))return i;i=o(i)}while(i)}const ox={[la.Restorer]:0,[la.Deloser]:1,[la.EscapeGroupper]:2};class lr extends w5{constructor(t,r){super(),this._init=()=>{const o=this._win(),i=o.document;i.addEventListener(Nn,this._onFocusIn,!0),i.addEventListener(xu,this._onFocusOut,!0),o.addEventListener("keydown",this._onKeyDown,!0);const s=pe.getActiveElement(i);s&&s!==i.body&&this._setFocusedElement(s),this.subscribe(this._onChanged)},this._onFocusIn=o=>{const i=o.composedPath()[0];i&&this._setFocusedElement(i,o.detail.relatedTarget,o.detail.isFocusedProgrammatically)},this._onFocusOut=o=>{var i;this._setFocusedElement(void 0,(i=o.detail)===null||i===void 0?void 0:i.originalEvent.relatedTarget)},this._validateFocusedElement=o=>{},this._onKeyDown=o=>{if(o.key!==ir.Tab||o.ctrlKey)return;const i=this.getVal();if(!i||!i.ownerDocument||i.contentEditable==="true")return;const s=this._tabster,c=s.controlTab,d=Nt.getTabsterContext(s,i);if(!d||d.ignoreKeydown(o))return;const f=o.shiftKey,h=lr.findNextTabbable(s,d,void 0,i,void 0,f,!0),m=d.root.getElement();if(!m)return;const p=h==null?void 0:h.element,w=E9(s,i);if(p){const v=h.uncontrolled;if(d.uncontrolled||pe.nodeContains(v,i)){if(!h.outOfDOMOrder&&v===d.uncontrolled||w&&!pe.nodeContains(w,p))return;Fl.addPhantomDummyWithTarget(s,i,f,p);return}if(v&&s.focusable.isVisible(v)||p.tagName==="IFRAME"&&s.focusable.isVisible(p)){m.dispatchEvent(new Ja({by:"root",owner:m,next:p,relatedEvent:o}))&&Fl.moveWithPhantomDummy(s,v??p,!1,f,o);return}(c||h!=null&&h.outOfDOMOrder)&&m.dispatchEvent(new Ja({by:"root",owner:m,next:p,relatedEvent:o}))&&(o.preventDefault(),o.stopImmediatePropagation(),Ro(p))}else!w&&m.dispatchEvent(new Ja({by:"root",owner:m,next:null,relatedEvent:o}))&&d.root.moveOutWithDefaultAction(f,o)},this._onChanged=(o,i)=>{var s,c;if(o)o.dispatchEvent(new AE(i));else{const d=(s=this._lastVal)===null||s===void 0?void 0:s.get();if(d){const f={...i},h=Nt.getTabsterContext(this._tabster,d),m=(c=h==null?void 0:h.modalizer)===null||c===void 0?void 0:c.userId;m&&(f.modalizerId=m),d.dispatchEvent(new DE(f))}}},this._tabster=t,this._win=r,t.queueInit(this._init)}dispose(){super.dispose();const t=this._win(),r=t.document;r.removeEventListener(Nn,this._onFocusIn,!0),r.removeEventListener(xu,this._onFocusOut,!0),t.removeEventListener("keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged);const o=this._asyncFocus;o&&(t.clearTimeout(o.timeout),delete this._asyncFocus),delete lr._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(t,r){var o,i;let s=lr._lastResetElement,c=s&&s.get();c&&pe.nodeContains(r,c)&&delete lr._lastResetElement,c=(i=(o=t._nextVal)===null||o===void 0?void 0:o.element)===null||i===void 0?void 0:i.get(),c&&pe.nodeContains(r,c)&&delete t._nextVal,s=t._lastVal,c=s&&s.get(),c&&pe.nodeContains(r,c)&&delete t._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){var t;let r=(t=this._lastVal)===null||t===void 0?void 0:t.get();return(!r||r&&!Op(r.ownerDocument,r))&&(this._lastVal=r=void 0),r}focus(t,r,o,i){return this._tabster.focusable.isFocusable(t,r,!1,o)?(t.focus({preventScroll:i}),!0):!1}focusDefault(t){const r=this._tabster.focusable.findDefault({container:t});return r?(this._tabster.focusedElement.focus(r),!0):!1}getFirstOrLastTabbable(t,r){var o;const{container:i,ignoreAccessibility:s}=r;let c;if(i){const d=Nt.getTabsterContext(this._tabster,i);d&&(c=(o=lr.findNextTabbable(this._tabster,d,i,void 0,void 0,!t,s))===null||o===void 0?void 0:o.element)}return c&&!pe.nodeContains(i,c)&&(c=void 0),c||void 0}_focusFirstOrLast(t,r){const o=this.getFirstOrLastTabbable(t,r);return o?(this.focus(o,!1,!0),!0):!1}focusFirst(t){return this._focusFirstOrLast(!0,t)}focusLast(t){return this._focusFirstOrLast(!1,t)}resetFocus(t){if(!this._tabster.focusable.isVisible(t))return!1;if(this._tabster.focusable.isFocusable(t,!0,!0,!0))this.focus(t);else{const r=t.getAttribute("tabindex"),o=t.getAttribute("aria-hidden");t.tabIndex=-1,t.setAttribute("aria-hidden","true"),lr._lastResetElement=new Tn(this._win,t),this.focus(t,!0,!0),this._setOrRemoveAttribute(t,"tabindex",r),this._setOrRemoveAttribute(t,"aria-hidden",o)}return!0}requestAsyncFocus(t,r,o){const i=this._tabster.getWindow(),s=this._asyncFocus;if(s){if(ox[t]>ox[s.source])return;i.clearTimeout(s.timeout)}this._asyncFocus={source:t,callback:r,timeout:i.setTimeout(()=>{this._asyncFocus=void 0,r()},o)}}cancelAsyncFocus(t){const r=this._asyncFocus;(r==null?void 0:r.source)===t&&(this._tabster.getWindow().clearTimeout(r.timeout),this._asyncFocus=void 0)}_setOrRemoveAttribute(t,r,o){o===null?t.removeAttribute(r):t.setAttribute(r,o)}_setFocusedElement(t,r,o){var i,s;if(this._tabster._noop)return;const c={relatedTarget:r};if(t){const f=(i=lr._lastResetElement)===null||i===void 0?void 0:i.get();if(lr._lastResetElement=void 0,f===t||v5(t))return;c.isFocusedProgrammatically=o;const h=Nt.getTabsterContext(this._tabster,t),m=(s=h==null?void 0:h.modalizer)===null||s===void 0?void 0:s.userId;m&&(c.modalizerId=m)}const d=this._nextVal={element:t?new Tn(this._win,t):void 0,detail:c};t&&t!==this._val&&this._validateFocusedElement(t),this._nextVal===d&&this.setVal(t,c),this._nextVal=void 0}setVal(t,r){super.setVal(t,r),t&&(this._lastVal=new Tn(this._win,t))}static findNextTabbable(t,r,o,i,s,c,d){const f=o||r.root.getElement();if(!f)return null;let h=null;const m=lr._isTabbingTimer,p=t.getWindow();m&&p.clearTimeout(m),lr.isTabbing=!0,lr._isTabbingTimer=p.setTimeout(()=>{delete lr._isTabbingTimer,lr.isTabbing=!1},0);const w=r.modalizer,v=r.groupper,x=r.mover,y=k=>{if(h=k.findNextTabbable(i,s,c,d),i&&!(h!=null&&h.element)){const B=k!==w&&pe.getParentElement(k.getElement());if(B){const _=Nt.getTabsterContext(t,i,{referenceElement:B});if(_){const C=k.getElement(),N=c?C:C&&x5(C)||C;N&&(h=lr.findNextTabbable(t,_,o,N,B,c,d),h&&(h.outOfDOMOrder=!0))}}}};if(v&&x)y(r.groupperBeforeMover?v:x);else if(v)y(v);else if(x)y(x);else if(w)y(w);else{const k={container:f,currentElement:i,referenceElement:s,ignoreAccessibility:d,useActiveModalizer:!0},B={};h={element:t.focusable[c?"findPrev":"findNext"](k,B),outOfDOMOrder:B.outOfDOMOrder,uncontrolled:B.uncontrolled}}return h}}lr.isTabbing=!1;/*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */class N9 extends Fl{constructor(t,r,o,i){super(o,t,df.Groupper,i,!0),this._setHandlers((s,c,d)=>{var f,h;const m=t.get(),p=s.input;if(m&&p){const w=Nt.getTabsterContext(o,p);if(w){let v;v=(f=r.findNextTabbable(d||void 0,void 0,c,!0))===null||f===void 0?void 0:f.element,v||(v=(h=lr.findNextTabbable(o,w,void 0,s.isOutside?p:w9(m,!c),void 0,c,!0))===null||h===void 0?void 0:h.element),v&&Ro(v)}}})}}class z9 extends Nu{constructor(t,r,o,i,s){super(t,r,i),this._shouldTabInside=!1,this.makeTabbable(!1),this._onDispose=o,t.controlTab||(this.dummyManager=new N9(this._element,this,t,s))}dispose(){var t;this._onDispose(this),this._element.get(),(t=this.dummyManager)===null||t===void 0||t.dispose(),delete this.dummyManager,delete this._first}findNextTabbable(t,r,o,i){const s=this.getElement();if(!s)return null;const c=Pl(t)===s;if(!this._shouldTabInside&&t&&pe.nodeContains(s,t)&&!c)return{element:void 0,outOfDOMOrder:!0};const d=this.getFirst(!0);if(!t||!pe.nodeContains(s,t)||c)return{element:d,outOfDOMOrder:!0};const f=this._tabster;let h=null,m=!1,p;if(this._shouldTabInside&&d){const w={container:s,currentElement:t,referenceElement:r,ignoreAccessibility:i,useActiveModalizer:!0},v={};h=f.focusable[o?"findPrev":"findNext"](w,v),m=!!v.outOfDOMOrder,!h&&this._props.tabbability===_d.LimitedTrapFocus&&(h=f.focusable[o?"findLast":"findFirst"]({container:s,ignoreAccessibility:i,useActiveModalizer:!0},v),m=!0),p=v.uncontrolled}return{element:h,uncontrolled:p,outOfDOMOrder:m}}makeTabbable(t){this._shouldTabInside=t||!this._props.tabbability}isActive(t){var r;const o=this.getElement()||null;let i=!0;for(let c=pe.getParentElement(o);c;c=pe.getParentElement(c)){const d=(r=Ur(this._tabster,c))===null||r===void 0?void 0:r.groupper;d&&(d._shouldTabInside||(i=!1))}let s=i?this._props.tabbability?this._shouldTabInside:!1:void 0;if(s&&t){const c=this._tabster.focusedElement.getFocusedElement();c&&(s=c!==this.getFirst(!0))}return s}getFirst(t){var r;const o=this.getElement();let i;if(o){if(t&&this._tabster.focusable.isFocusable(o))return o;i=(r=this._first)===null||r===void 0?void 0:r.get(),i||(i=this._tabster.focusable.findFirst({container:o,useActiveModalizer:!0})||void 0,i&&this.setFirst(i))}return i}setFirst(t){t?this._first=new Tn(this._tabster.getWindow,t):delete this._first}acceptElement(t,r){const o=r.cachedGrouppers,i=pe.getParentElement(this.getElement()),s=i&&Nt.getTabsterContext(this._tabster,i),c=s==null?void 0:s.groupper,d=s!=null&&s.groupperBeforeMover?c:void 0;let f;const h=w=>{let v=o[w.id],x;return v?x=v.isActive:(x=this.isActive(!0),v=o[w.id]={isActive:x}),x};if(d&&(f=d.getElement(),!h(d)&&f&&r.container!==f&&pe.nodeContains(r.container,f)))return r.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const m=h(this),p=this.getElement();if(p&&m!==!0){if(p===t&&c&&(f||(f=c.getElement()),f&&!h(c)&&pe.nodeContains(r.container,f)&&f!==r.container)||p!==t&&pe.nodeContains(p,t))return r.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const w=o[this.id];let v;if("first"in w?v=w.first:v=w.first=this.getFirst(!0),v&&r.acceptCondition(v))return r.rejectElementsFrom=p,r.skippedFocusable=!0,v!==r.from?(r.found=!0,r.foundElement=v,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT}}}class R9{constructor(t,r){this._current={},this._grouppers={},this._init=()=>{const o=this._win();this._tabster.focusedElement.subscribeFirst(this._onFocus);const i=o.document,s=pe.getActiveElement(i);s&&this._onFocus(s),i.addEventListener("mousedown",this._onMouseDown,!0),o.addEventListener("keydown",this._onKeyDown,!0),o.addEventListener(Gg,this._onMoveFocus)},this._onGroupperDispose=o=>{delete this._grouppers[o.id]},this._onFocus=o=>{o&&this._updateCurrent(o)},this._onMouseDown=o=>{let i=o.target;for(;i&&!this._tabster.focusable.isFocusable(i);)i=this._tabster.getParent(i);i&&this._updateCurrent(i)},this._onKeyDown=o=>{if(o.key!==ir.Enter&&o.key!==ir.Escape||o.ctrlKey||o.altKey||o.shiftKey||o.metaKey)return;const i=this._tabster.focusedElement.getFocusedElement();i&&this.handleKeyPress(i,o)},this._onMoveFocus=o=>{var i;const s=o.composedPath()[0],c=(i=o.detail)===null||i===void 0?void 0:i.action;s&&c!==void 0&&!o.defaultPrevented&&(c===Ug.Enter?this._enterGroupper(s):this._escapeGroupper(s),o.stopImmediatePropagation())},this._tabster=t,this._win=r,t.queueInit(this._init)}dispose(){const t=this._win();this._tabster.focusedElement.cancelAsyncFocus(la.EscapeGroupper),this._current={},this._updateTimer&&(t.clearTimeout(this._updateTimer),delete this._updateTimer),this._tabster.focusedElement.unsubscribe(this._onFocus),t.document.removeEventListener("mousedown",this._onMouseDown,!0),t.removeEventListener("keydown",this._onKeyDown,!0),t.removeEventListener(Gg,this._onMoveFocus),Object.keys(this._grouppers).forEach(r=>{this._grouppers[r]&&(this._grouppers[r].dispose(),delete this._grouppers[r])})}createGroupper(t,r,o){const i=this._tabster,s=new z9(i,t,this._onGroupperDispose,r,o);this._grouppers[s.id]=s;const c=i.focusedElement.getFocusedElement();return c&&pe.nodeContains(t,c)&&!this._updateTimer&&(this._updateTimer=this._win().setTimeout(()=>{delete this._updateTimer,c===i.focusedElement.getFocusedElement()&&this._updateCurrent(c)},0)),s}forgetCurrentGrouppers(){this._current={}}_updateCurrent(t){var r;this._updateTimer&&(this._win().clearTimeout(this._updateTimer),delete this._updateTimer);const o=this._tabster,i={};for(let s=o.getParent(t);s;s=o.getParent(s)){const c=(r=Ur(o,s))===null||r===void 0?void 0:r.groupper;if(c){i[c.id]=!0,this._current[c.id]=c;const d=c.isActive()||t!==s&&(!c.getProps().delegated||c.getFirst(!1)!==t);c.makeTabbable(d)}}for(const s of Object.keys(this._current)){const c=this._current[s];c.id in i||(c.makeTabbable(!1),c.setFirst(void 0),delete this._current[s])}}_enterGroupper(t,r){const o=this._tabster,i=Nt.getTabsterContext(o,t),s=(i==null?void 0:i.groupper)||(i==null?void 0:i.modalizerInGroupper),c=s==null?void 0:s.getElement();if(s&&c&&(t===c||s.getProps().delegated&&t===s.getFirst(!1))){const d=o.focusable.findNext({container:c,currentElement:t,useActiveModalizer:!0});if(d&&(!r||r&&c.dispatchEvent(new Ja({by:"groupper",owner:c,next:d,relatedEvent:r}))))return r&&(r.preventDefault(),r.stopImmediatePropagation()),d.focus(),d}return null}_escapeGroupper(t,r,o){const i=this._tabster,s=Nt.getTabsterContext(i,t);let c=(s==null?void 0:s.groupper)||(s==null?void 0:s.modalizerInGroupper);const d=c==null?void 0:c.getElement();if(c&&d&&pe.nodeContains(d,t)){let f;if(t!==d||o)f=c.getFirst(!0);else{const h=pe.getParentElement(d),m=h?Nt.getTabsterContext(i,h):void 0;c=m==null?void 0:m.groupper,f=c==null?void 0:c.getFirst(!0)}if(f&&(!r||r&&d.dispatchEvent(new Ja({by:"groupper",owner:d,next:f,relatedEvent:r}))))return c&&c.makeTabbable(!1),f.focus(),f}return null}moveFocus(t,r){return r===Ug.Enter?this._enterGroupper(t):this._escapeGroupper(t)}handleKeyPress(t,r,o){const i=this._tabster,s=Nt.getTabsterContext(i,t);if(s&&(s!=null&&s.groupper||s!=null&&s.modalizerInGroupper)){if(i.focusedElement.cancelAsyncFocus(la.EscapeGroupper),s.ignoreKeydown(r))return;if(r.key===ir.Enter)this._enterGroupper(t,r);else if(r.key===ir.Escape){const c=i.focusedElement.getFocusedElement();i.focusedElement.requestAsyncFocus(la.EscapeGroupper,()=>{c!==i.focusedElement.getFocusedElement()&&(o&&!c||!o)||this._escapeGroupper(t,r,o)},0)}}}}/*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */class A9 extends w5{constructor(t){super(),this._onChange=r=>{this.setVal(r,void 0)},this._keyborg=uf(t()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),cf(this._keyborg),delete this._keyborg)}setNavigatingWithKeyboard(t){var r;(r=this._keyborg)===null||r===void 0||r.setVal(t)}isNavigatingWithKeyboard(){var t;return!!(!((t=this._keyborg)===null||t===void 0)&&t.isNavigatingWithKeyboard())}}/*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */let D9=0;const dm="aria-hidden";class j9 extends Fl{constructor(t,r,o){super(r,t,df.Modalizer,o),this._setHandlers((i,s)=>{var c,d;const f=t.get(),h=f&&((c=Nt.getRoot(r,f))===null||c===void 0?void 0:c.getElement()),m=i.input;let p;if(h&&m){const w=Pl(m),v=Nt.getTabsterContext(r,w||m);v&&(p=(d=lr.findNextTabbable(r,v,h,m,void 0,s,!0))===null||d===void 0?void 0:d.element),p&&Ro(p)}})}}class O9 extends Nu{constructor(t,r,o,i,s,c){super(t,r,i),this._wasFocused=0,this.userId=i.id,this._onDispose=o,this._activeElements=c,t.controlTab||(this.dummyManager=new j9(this._element,t,s))}makeActive(t){if(this._isActive!==t){this._isActive=t;const r=this.getElement();if(r){const o=this._activeElements,i=o.map(s=>s.get()).indexOf(r);t?i<0&&o.push(new Tn(this._tabster.getWindow,r)):i>=0&&o.splice(i,1)}this._dispatchEvent(t)}}focused(t){return t||(this._wasFocused=++D9),this._wasFocused}setProps(t){t.id&&(this.userId=t.id),this._props={...t}}dispose(){var t;this.makeActive(!1),this._onDispose(this),(t=this.dummyManager)===null||t===void 0||t.dispose(),delete this.dummyManager,this._activeElements=[],this._remove()}isActive(){return!!this._isActive}contains(t){return pe.nodeContains(this.getElement(),t)}findNextTabbable(t,r,o,i){var s,c;if(!this.getElement())return null;const f=this._tabster;let h=null,m=!1,p;const w=t&&((s=Nt.getRoot(f,t))===null||s===void 0?void 0:s.getElement());if(w){const v={container:w,currentElement:t,referenceElement:r,ignoreAccessibility:i,useActiveModalizer:!0},x={};h=f.focusable[o?"findPrev":"findNext"](v,x),!h&&this._props.isTrapped&&(!((c=f.modalizer)===null||c===void 0)&&c.activeId)?(h=f.focusable[o?"findLast":"findFirst"]({container:w,ignoreAccessibility:i,useActiveModalizer:!0},x),h===null&&(h=t),m=!0):m=!!x.outOfDOMOrder,p=x.uncontrolled}return{element:h,uncontrolled:p,outOfDOMOrder:m}}_dispatchEvent(t,r){const o=this.getElement();let i=!1;if(o){const s=r?this._activeElements.map(c=>c.get()):[o];for(const c of s)if(c){const d={id:this.userId,element:o},f=t?new ME(d):new qE(d);c.dispatchEvent(f),f.defaultPrevented&&(i=!0)}}return i}_remove(){}}class M9{constructor(t,r,o){this._onModalizerDispose=s=>{const c=s.id,d=s.userId,f=this._parts[d];if(delete this._modalizers[c],f&&(delete f[c],Object.keys(f).length===0)){delete this._parts[d];const h=this._activationHistory,m=[];let p;for(let w=h.length;w--;){const v=h[w];v!==d&&v!==p&&(p=v,(v||m.length>0)&&m.unshift(v))}if(this._activationHistory=m,this.activeId===d){const w=m[0],v=w?Object.values(this._parts[w])[0]:void 0;this.setActive(v)}}},this._onKeyDown=s=>{var c;if(s.key!==ir.Escape)return;const d=this._tabster,f=d.focusedElement.getFocusedElement();if(f){const h=Nt.getTabsterContext(d,f),m=h==null?void 0:h.modalizer;if(h&&!h.groupper&&(m!=null&&m.isActive())&&!h.ignoreKeydown(s)){const p=m.userId;if(p){const w=this._parts[p];if(w){const v=Object.keys(w).map(x=>{var y;const k=w[x],B=k.getElement();let _;return B&&(_=(y=Ur(d,B))===null||y===void 0?void 0:y.groupper),k&&B&&_?{el:B,focusedSince:k.focused(!0)}:{focusedSince:0}}).filter(x=>x.focusedSince>0).sort((x,y)=>x.focusedSince>y.focusedSince?-1:x.focusedSince{var d;const f=this._tabster,h=s&&Nt.getTabsterContext(f,s);if(!h||!s)return;const m=this._augMap;for(let x=s;x;x=f.getParent(x))m.has(x)&&(m.delete(x),cm(f,x,dm));let p=h.modalizer;const w=Ur(f,s),v=w==null?void 0:w.modalizer;if(v&&(v.focused(),v.userId===this.activeId&&w.groupper)){const x=f.getParent(s),y=x&&((d=Nt.getTabsterContext(f,x))===null||d===void 0?void 0:d.modalizer);if(y)p=y;else{this.setActive(void 0);return}}if(p==null||p.focused(),(p==null?void 0:p.userId)===this.activeId){this.currentIsOthersAccessible=p==null?void 0:p.getProps().isOthersAccessible;return}if(c.isFocusedProgrammatically||this.currentIsOthersAccessible||p!=null&&p.getProps().isAlwaysAccessible)this.setActive(p);else{const x=this._win();x.clearTimeout(this._restoreModalizerFocusTimer),this._restoreModalizerFocusTimer=x.setTimeout(()=>this._restoreModalizerFocus(s),100)}},this._tabster=t,this._win=t.getWindow,this._modalizers={},this._parts={},this._augMap=new WeakMap,this._aug=[],this._alwaysAccessibleSelector=r,this._accessibleCheck=o,this._activationHistory=[],this.activeElements=[],t.controlTab||t.root.addDummyInputs(),this._win().addEventListener("keydown",this._onKeyDown,!0),t.queueInit(()=>{this._tabster.focusedElement.subscribe(this._onFocus)})}dispose(){const t=this._win();t.removeEventListener("keydown",this._onKeyDown,!0),Object.keys(this._modalizers).forEach(r=>{this._modalizers[r]&&(this._modalizers[r].dispose(),delete this._modalizers[r])}),t.clearTimeout(this._restoreModalizerFocusTimer),t.clearTimeout(this._hiddenUpdateTimer),this._parts={},delete this.activeId,this.activeElements=[],this._augMap=new WeakMap,this._aug=[],this._tabster.focusedElement.unsubscribe(this._onFocus)}createModalizer(t,r,o){var i;const s=new O9(this._tabster,t,this._onModalizerDispose,r,o,this.activeElements),c=s.id,d=r.id;this._modalizers[c]=s;let f=this._parts[d];f||(f=this._parts[d]={}),f[c]=s;const h=(i=this._tabster.focusedElement.getFocusedElement())!==null&&i!==void 0?i:null;return t!==h&&pe.nodeContains(t,h)&&(d!==this.activeId?this.setActive(s):s.makeActive(!0)),s}isAugmented(t){return this._augMap.has(t)}hiddenUpdate(){this._hiddenUpdateTimer||(this._hiddenUpdateTimer=this._win().setTimeout(()=>{delete this._hiddenUpdateTimer,this._hiddenUpdate()},250))}setActive(t){const r=t==null?void 0:t.userId,o=this.activeId;if(o===r)return;if(this.activeId=r,o){const s=this._parts[o];if(s)for(const c of Object.keys(s))s[c].makeActive(!1)}if(r){const s=this._parts[r];if(s)for(const c of Object.keys(s))s[c].makeActive(!0)}this.currentIsOthersAccessible=t==null?void 0:t.getProps().isOthersAccessible,this.hiddenUpdate();const i=this._activationHistory;i[0]!==r&&(r!==void 0||i.length>0)&&i.unshift(r)}focus(t,r,o){const i=this._tabster,s=Nt.getTabsterContext(i,t),c=s==null?void 0:s.modalizer;if(c){this.setActive(c);const d=c.getProps(),f=c.getElement();if(f){if(r===void 0&&(r=d.isNoFocusFirst),!r&&i.keyboardNavigation.isNavigatingWithKeyboard()&&i.focusedElement.focusFirst({container:f})||(o===void 0&&(o=d.isNoFocusDefault),!o&&i.focusedElement.focusDefault(f)))return!0;i.focusedElement.resetFocus(f)}}return!1}activate(t){var r;const o=t?(r=Nt.getTabsterContext(this._tabster,t))===null||r===void 0?void 0:r.modalizer:void 0;return!t||o?(this.setActive(o),!0):!1}acceptElement(t,r){var o;const i=r.modalizerUserId,s=(o=r.currentCtx)===null||o===void 0?void 0:o.modalizer;if(i)for(const d of this.activeElements){const f=d.get();if(f&&(pe.nodeContains(t,f)||f===t))return NodeFilter.FILTER_SKIP}const c=i===(s==null?void 0:s.userId)||!i&&(s!=null&&s.getProps().isAlwaysAccessible)?void 0:NodeFilter.FILTER_SKIP;return c!==void 0&&(r.skippedFocusable=!0),c}_hiddenUpdate(){var t;const r=this._tabster,o=r.getWindow().document.body,i=this.activeId,s=this._parts,c=[],d=[],f=this._alwaysAccessibleSelector,h=f?Array.from(pe.querySelectorAll(o,f)):[],m=[];for(const B of Object.keys(s)){const _=s[B];for(const C of Object.keys(_)){const N=_[C],R=N.getElement(),D=N.getProps().isAlwaysAccessible;R&&(B===i?(m.push(R),this.currentIsOthersAccessible||c.push(R)):D?h.push(R):d.push(R))}}const p=this._augMap,w=c.length>0?[...c,...h]:void 0,v=[],x=new WeakMap,y=(B,_)=>{var C;const N=B.tagName;if(N==="SCRIPT"||N==="STYLE")return;let R=!1;p.has(B)?_?R=!0:(p.delete(B),cm(r,B,dm)):_&&!(!((C=this._accessibleCheck)===null||C===void 0)&&C.call(this,B,m))&&cm(r,B,dm,"true")&&(p.set(B,!0),R=!0),R&&(v.push(new Tn(r.getWindow,B)),x.set(B,!0))},k=B=>{var _;for(let C=pe.getFirstElementChild(B);C;C=pe.getNextElementSibling(C)){let N=!1,R=!1,j=!1;if(w){const D=r.getParent(C);for(const M of w){if(C===M){N=!0;break}if(pe.nodeContains(C,M)){R=!0;break}else pe.nodeContains(M,D)&&(j=!0)}R||!((_=C.__tabsterElementFlags)===null||_===void 0)&&_.noDirectAriaHidden?k(C):!N&&!j&&y(C,!0)}else y(C,!1)}};w||h.forEach(B=>y(B,!1)),d.forEach(B=>y(B,!0)),o&&k(o),(t=this._aug)===null||t===void 0||t.map(B=>B.get()).forEach(B=>{B&&!x.get(B)&&y(B,!1)}),this._aug=v,this._augMap=x}_restoreModalizerFocus(t){var r;const o=t==null?void 0:t.ownerDocument;if(!t||!o)return;const i=this._tabster.focusedElement.getFocusedElement(),s=i&&((r=Nt.getTabsterContext(this._tabster,i))===null||r===void 0?void 0:r.modalizer);if(!i||i&&(s==null?void 0:s.userId)===this.activeId)return;const c=this._tabster,d=Nt.getTabsterContext(c,t),f=d==null?void 0:d.modalizer,h=this.activeId;if(!f&&!h||f&&h===f.userId)return;const m=d==null?void 0:d.root.getElement();if(m){let p=c.focusable.findFirst({container:m,useActiveModalizer:!0});if(p){if(t.compareDocumentPosition(p)&document.DOCUMENT_POSITION_PRECEDING&&(p=c.focusable.findLast({container:m,useActiveModalizer:!0}),!p))throw new Error("Something went wrong.");c.focusedElement.focus(p);return}}t.blur()}}/*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */const q9=["input","textarea","*[contenteditable]"].join(", ");class F9 extends Fl{constructor(t,r,o,i){super(r,t,df.Mover,i),this._onFocusDummyInput=s=>{var c,d;const f=this._element.get(),h=s.input;if(f&&h){const m=Nt.getTabsterContext(this._tabster,f);let p;m&&(p=(c=lr.findNextTabbable(this._tabster,m,void 0,h,void 0,!s.isFirst,!0))===null||c===void 0?void 0:c.element);const w=(d=this._getMemorized())===null||d===void 0?void 0:d.get();w&&this._tabster.focusable.isFocusable(w)&&(p=w),p&&Ro(p)}},this._tabster=r,this._getMemorized=o,this._setHandlers(this._onFocusDummyInput)}}const fm=1,ax=2,ix=3;class P9 extends Nu{constructor(t,r,o,i,s){var c;super(t,r,i),this._visible={},this._onIntersection=f=>{for(const h of f){const m=h.target,p=Td(this._win,m);let w,v=this._fullyVisible;if(h.intersectionRatio>=.25?(w=h.intersectionRatio>=.75?Wa.Visible:Wa.PartiallyVisible,w===Wa.Visible&&(v=p)):w=Wa.Invisible,this._visible[p]!==w){w===void 0?(delete this._visible[p],v===p&&delete this._fullyVisible):(this._visible[p]=w,this._fullyVisible=v);const x=this.getState(m);x&&m.dispatchEvent(new Q2(x))}}},this._win=t.getWindow,this.visibilityTolerance=(c=i.visibilityTolerance)!==null&&c!==void 0?c:.8,(this._props.trackState||this._props.visibilityAware)&&(this._intersectionObserver=new IntersectionObserver(this._onIntersection,{threshold:[0,.25,.5,.75,1]}),this._observeState()),this._onDispose=o;const d=()=>i.memorizeCurrent?this._current:void 0;t.controlTab||(this.dummyManager=new F9(this._element,t,d,s))}dispose(){var t;this._onDispose(this),this._intersectionObserver&&(this._intersectionObserver.disconnect(),delete this._intersectionObserver),delete this._current,delete this._fullyVisible,delete this._allElements,delete this._updateQueue,this._unobserve&&(this._unobserve(),delete this._unobserve);const r=this._win();this._setCurrentTimer&&(r.clearTimeout(this._setCurrentTimer),delete this._setCurrentTimer),this._updateTimer&&(r.clearTimeout(this._updateTimer),delete this._updateTimer),(t=this.dummyManager)===null||t===void 0||t.dispose(),delete this.dummyManager}setCurrent(t){t?this._current=new Tn(this._win,t):this._current=void 0,(this._props.trackState||this._props.visibilityAware)&&!this._setCurrentTimer&&(this._setCurrentTimer=this._win().setTimeout(()=>{var r;delete this._setCurrentTimer;const o=[];this._current!==this._prevCurrent&&(o.push(this._current),o.push(this._prevCurrent),this._prevCurrent=this._current);for(const i of o){const s=i==null?void 0:i.get();if(s&&((r=this._allElements)===null||r===void 0?void 0:r.get(s))===this){const c=this._props;if(s&&(c.visibilityAware!==void 0||c.trackState)){const d=this.getState(s);d&&s.dispatchEvent(new Q2(d))}}}}))}getCurrent(){var t;return((t=this._current)===null||t===void 0?void 0:t.get())||null}findNextTabbable(t,r,o,i){const s=this.getElement(),c=s&&Pl(t)===s;if(!s)return null;let d=null,f=!1,h;if(this._props.tabbable||c||t&&!pe.nodeContains(s,t)){const m={currentElement:t,referenceElement:r,container:s,ignoreAccessibility:i,useActiveModalizer:!0},p={};d=this._tabster.focusable[o?"findPrev":"findNext"](m,p),f=!!p.outOfDOMOrder,h=p.uncontrolled}return{element:d,uncontrolled:h,outOfDOMOrder:f}}acceptElement(t,r){var o,i;if(!lr.isTabbing)return!((o=r.currentCtx)===null||o===void 0)&&o.excludedFromMover?NodeFilter.FILTER_REJECT:void 0;const{memorizeCurrent:s,visibilityAware:c,hasDefault:d=!0}=this._props,f=this.getElement();if(f&&(s||c||d)&&(!pe.nodeContains(f,r.from)||Pl(r.from)===f)){let h;if(s){const m=(i=this._current)===null||i===void 0?void 0:i.get();m&&r.acceptCondition(m)&&(h=m)}if(!h&&d&&(h=this._tabster.focusable.findDefault({container:f,useActiveModalizer:!0})),!h&&c&&(h=this._tabster.focusable.findElement({container:f,useActiveModalizer:!0,isBackward:r.isBackward,acceptCondition:m=>{var p;const w=Td(this._win,m),v=this._visible[w];return f!==m&&!!(!((p=this._allElements)===null||p===void 0)&&p.get(m))&&r.acceptCondition(m)&&(v===Wa.Visible||v===Wa.PartiallyVisible&&(c===Wa.PartiallyVisible||!this._fullyVisible))}})),h)return r.found=!0,r.foundElement=h,r.rejectElementsFrom=f,r.skippedFocusable=!0,NodeFilter.FILTER_ACCEPT}}_observeState(){const t=this.getElement();if(this._unobserve||!t||typeof MutationObserver>"u")return;const r=this._win(),o=this._allElements=new WeakMap,i=this._tabster.focusable;let s=this._updateQueue=[];const c=pe.createMutationObserver(v=>{for(const x of v){const y=x.target,k=x.removedNodes,B=x.addedNodes;if(x.type==="attributes")x.attributeName==="tabindex"&&s.push({element:y,type:ax});else{for(let _=0;_{var y,k;const B=o.get(v);B&&x&&((y=this._intersectionObserver)===null||y===void 0||y.unobserve(v),o.delete(v)),!B&&!x&&(o.set(v,this),(k=this._intersectionObserver)===null||k===void 0||k.observe(v))},f=v=>{const x=i.isFocusable(v);o.get(v)?x||d(v,!0):x&&d(v)},h=v=>{const{mover:x}=w(v);if(x&&x!==this)if(x.getElement()===v&&i.isFocusable(v))d(v);else return;const y=jp(r.document,v,k=>{const{mover:B,groupper:_}=w(k);if(B&&B!==this)return NodeFilter.FILTER_REJECT;const C=_==null?void 0:_.getFirst(!0);return _&&_.getElement()!==k&&C&&C!==k?NodeFilter.FILTER_REJECT:(i.isFocusable(k)&&d(k),NodeFilter.FILTER_SKIP)});if(y)for(y.currentNode=v;y.nextNode(););},m=v=>{o.get(v)&&d(v,!0);for(let y=pe.getFirstElementChild(v);y;y=pe.getNextElementSibling(y))m(y)},p=()=>{!this._updateTimer&&s.length&&(this._updateTimer=r.setTimeout(()=>{delete this._updateTimer;for(const{element:v,type:x}of s)switch(x){case ax:f(v);break;case fm:h(v);break;case ix:m(v);break}s=this._updateQueue=[]},0))},w=v=>{const x={};for(let y=v;y;y=pe.getParentElement(y)){const k=Ur(this._tabster,y);if(k&&(k.groupper&&!x.groupper&&(x.groupper=k.groupper),k.mover)){x.mover=k.mover;break}}return x};s.push({element:t,type:fm}),p(),c.observe(t,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["tabindex"]}),this._unobserve=()=>{c.disconnect()}}getState(t){const r=Td(this._win,t);if(r in this._visible){const o=this._visible[r]||Wa.Invisible;return{isCurrent:this._current?this._current.get()===t:void 0,visibility:o}}}}function I9(e,t,r,o,i,s,c,d){const f=r{const o=this._win();o.addEventListener("keydown",this._onKeyDown,!0),o.addEventListener(Wg,this._onMoveFocus),o.addEventListener(Z2,this._onMemorizedElement),this._tabster.focusedElement.subscribe(this._onFocus)},this._onMoverDispose=o=>{delete this._movers[o.id]},this._onFocus=o=>{var i;let s=o,c=o;for(let d=pe.getParentElement(o);d;d=pe.getParentElement(d)){const f=(i=Ur(this._tabster,d))===null||i===void 0?void 0:i.mover;f&&(f.setCurrent(c),s=void 0),!s&&this._tabster.focusable.isFocusable(d)&&(s=c=d)}},this._onKeyDown=async o=>{var i;if(this._ignoredInputTimer&&(this._win().clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),(i=this._ignoredInputResolve)===null||i===void 0||i.call(this,!1),o.ctrlKey||o.altKey||o.shiftKey||o.metaKey)return;const s=o.key;let c;if(s===ir.ArrowDown?c=ar.ArrowDown:s===ir.ArrowRight?c=ar.ArrowRight:s===ir.ArrowUp?c=ar.ArrowUp:s===ir.ArrowLeft?c=ar.ArrowLeft:s===ir.PageDown?c=ar.PageDown:s===ir.PageUp?c=ar.PageUp:s===ir.Home?c=ar.Home:s===ir.End&&(c=ar.End),!c)return;const d=this._tabster.focusedElement.getFocusedElement();!d||await this._isIgnoredInput(d,s)||this._moveFocus(d,c,o)},this._onMoveFocus=o=>{var i;const s=o.composedPath()[0],c=(i=o.detail)===null||i===void 0?void 0:i.key;s&&c!==void 0&&!o.defaultPrevented&&(this._moveFocus(s,c),o.stopImmediatePropagation())},this._onMemorizedElement=o=>{var i;const s=o.composedPath()[0];let c=(i=o.detail)===null||i===void 0?void 0:i.memorizedElement;if(s){const d=Nt.getTabsterContext(this._tabster,s),f=d==null?void 0:d.mover;f&&(c&&!pe.nodeContains(f.getElement(),c)&&(c=void 0),f.setCurrent(c),o.stopImmediatePropagation())}},this._tabster=t,this._win=r,this._movers={},t.queueInit(this._init)}dispose(){var t;const r=this._win();this._tabster.focusedElement.unsubscribe(this._onFocus),(t=this._ignoredInputResolve)===null||t===void 0||t.call(this,!1),this._ignoredInputTimer&&(r.clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),r.removeEventListener("keydown",this._onKeyDown,!0),r.removeEventListener(Wg,this._onMoveFocus),r.removeEventListener(Z2,this._onMemorizedElement),Object.keys(this._movers).forEach(o=>{this._movers[o]&&(this._movers[o].dispose(),delete this._movers[o])})}createMover(t,r,o){const i=new P9(this._tabster,t,this._onMoverDispose,r,o);return this._movers[i.id]=i,i}moveFocus(t,r){return this._moveFocus(t,r)}_moveFocus(t,r,o){var i,s;const c=this._tabster,d=Nt.getTabsterContext(c,t,{checkRtl:!0});if(!d||!d.mover||d.excludedFromMover||o&&d.ignoreKeydown(o))return null;const f=d.mover,h=f.getElement();if(d.groupperBeforeMover){const M=d.groupper;if(M&&!M.isActive(!0)){for(let I=pe.getParentElement(M.getElement());I&&I!==h;I=pe.getParentElement(I))if(!((s=(i=Ur(c,I))===null||i===void 0?void 0:i.groupper)===null||s===void 0)&&s.isActive(!0))return null}else return null}if(!h)return null;const m=c.focusable,p=f.getProps(),w=p.direction||so.Both,v=w===so.Both,x=v||w===so.Vertical,y=v||w===so.Horizontal,k=w===so.GridLinear,B=k||w===so.Grid,_=p.cyclic;let C,N,R,j=0,D=0;if(B&&(R=t.getBoundingClientRect(),j=Math.ceil(R.left),D=Math.floor(R.right)),d.rtl&&(r===ar.ArrowRight?r=ar.ArrowLeft:r===ar.ArrowLeft&&(r=ar.ArrowRight)),r===ar.ArrowDown&&x||r===ar.ArrowRight&&(y||B))if(C=m.findNext({currentElement:t,container:h,useActiveModalizer:!0}),C&&B){const M=Math.ceil(C.getBoundingClientRect().left);!k&&D>M&&(C=void 0)}else!C&&_&&(C=m.findFirst({container:h,useActiveModalizer:!0}));else if(r===ar.ArrowUp&&x||r===ar.ArrowLeft&&(y||B))if(C=m.findPrev({currentElement:t,container:h,useActiveModalizer:!0}),C&&B){const M=Math.floor(C.getBoundingClientRect().right);!k&&M>j&&(C=void 0)}else!C&&_&&(C=m.findLast({container:h,useActiveModalizer:!0}));else if(r===ar.Home)B?m.findElement({container:h,currentElement:t,useActiveModalizer:!0,isBackward:!0,acceptCondition:M=>{var I;if(!m.isFocusable(M))return!1;const G=Math.ceil((I=M.getBoundingClientRect().left)!==null&&I!==void 0?I:0);return M!==t&&j<=G?!0:(C=M,!1)}}):C=m.findFirst({container:h,useActiveModalizer:!0});else if(r===ar.End)B?m.findElement({container:h,currentElement:t,useActiveModalizer:!0,acceptCondition:M=>{var I;if(!m.isFocusable(M))return!1;const G=Math.ceil((I=M.getBoundingClientRect().left)!==null&&I!==void 0?I:0);return M!==t&&j>=G?!0:(C=M,!1)}}):C=m.findLast({container:h,useActiveModalizer:!0});else if(r===ar.PageUp){if(m.findElement({currentElement:t,container:h,useActiveModalizer:!0,isBackward:!0,acceptCondition:M=>m.isFocusable(M)?tx(this._win,M,f.visibilityTolerance)?(C=M,!1):!0:!1}),B&&C){const M=Math.ceil(C.getBoundingClientRect().left);m.findElement({currentElement:C,container:h,useActiveModalizer:!0,acceptCondition:I=>{if(!m.isFocusable(I))return!1;const G=Math.ceil(I.getBoundingClientRect().left);return j=G?!0:(C=I,!1)}})}N=!1}else if(r===ar.PageDown){if(m.findElement({currentElement:t,container:h,useActiveModalizer:!0,acceptCondition:M=>m.isFocusable(M)?tx(this._win,M,f.visibilityTolerance)?(C=M,!1):!0:!1}),B&&C){const M=Math.ceil(C.getBoundingClientRect().left);m.findElement({currentElement:C,container:h,useActiveModalizer:!0,isBackward:!0,acceptCondition:I=>{if(!m.isFocusable(I))return!1;const G=Math.ceil(I.getBoundingClientRect().left);return j>G||M<=G?!0:(C=I,!1)}})}N=!0}else if(B){const M=r===ar.ArrowUp,I=j,G=Math.ceil(R.top),X=D,re=Math.floor(R.bottom);let ue,ne,fe=0;m.findAll({container:h,currentElement:t,isBackward:M,onElement:O=>{const W=O.getBoundingClientRect(),L=Math.ceil(W.left),Z=Math.ceil(W.top),se=Math.floor(W.right),A=Math.floor(W.bottom);if(M&&GZ)return!0;const U=Math.ceil(Math.min(X,se))-Math.floor(Math.max(I,L)),ae=Math.ceil(Math.min(X-I,se-L));if(U>0&&ae>=U){const me=U/ae;me>fe&&(ue=O,fe=me)}else if(fe===0){const me=I9(I,G,X,re,L,Z,se,A);(ne===void 0||me0)return!1;return!0}}),C=ue}return C&&(!o||o&&h.dispatchEvent(new Ja({by:"mover",owner:h,next:C,relatedEvent:o})))?(N!==void 0&&h9(this._win,C,N),o&&(o.preventDefault(),o.stopImmediatePropagation()),Ro(C),C):null}async _isIgnoredInput(t,r){if(t.getAttribute("aria-expanded")==="true"&&t.hasAttribute("aria-activedescendant"))return!0;if(y5(t,q9)){let o=0,i=0,s=0,c;if(t.tagName==="INPUT"||t.tagName==="TEXTAREA"){const d=t.type;if(s=(t.value||"").length,d==="email"||d==="number"){if(s){const h=pe.getSelection(t);if(h){const m=h.toString().length,p=r===ir.ArrowLeft||r===ir.ArrowUp;if(h.modify("extend",p?"backward":"forward","character"),m!==h.toString().length)return h.modify("extend",p?"forward":"backward","character"),!0;s=0}}}else{const h=t.selectionStart;if(h===null)return d==="hidden";o=h||0,i=t.selectionEnd||0}}else t.contentEditable==="true"&&(c=new(p9(this._win))(d=>{this._ignoredInputResolve=v=>{delete this._ignoredInputResolve,d(v)};const f=this._win();this._ignoredInputTimer&&f.clearTimeout(this._ignoredInputTimer);const{anchorNode:h,focusNode:m,anchorOffset:p,focusOffset:w}=pe.getSelection(t)||{};this._ignoredInputTimer=f.setTimeout(()=>{var v,x,y;delete this._ignoredInputTimer;const{anchorNode:k,focusNode:B,anchorOffset:_,focusOffset:C}=pe.getSelection(t)||{};if(k!==h||B!==m||_!==p||C!==w){(v=this._ignoredInputResolve)===null||v===void 0||v.call(this,!1);return}if(o=_||0,i=C||0,s=((x=t.textContent)===null||x===void 0?void 0:x.length)||0,k&&B&&pe.nodeContains(t,k)&&pe.nodeContains(t,B)&&k!==t){let N=!1;const R=j=>{if(j===k)N=!0;else if(j===B)return!0;const D=j.textContent;if(D&&!pe.getFirstChild(j)){const I=D.length;N?B!==k&&(i+=I):(o+=I,i+=I)}let M=!1;for(let I=pe.getFirstChild(j);I&&!M;I=I.nextSibling)M=R(I);return M};R(t)}(y=this._ignoredInputResolve)===null||y===void 0||y.call(this,!0)},0)}));if(c&&!await c||o!==i||o>0&&(r===ir.ArrowLeft||r===ir.ArrowUp||r===ir.Home)||o"u")return()=>{};const i=t.getWindow;let s;const c=m=>{var p,w,v,x,y;const k=new Set;for(const B of m){const _=B.target,C=B.removedNodes,N=B.addedNodes;if(B.type==="attributes")B.attributeName===Kn&&(k.has(_)||r(t,_));else{for(let R=0;Rf(v,p));if(w)for(;w.nextNode(););}function f(m,p){var w;if(!m.getAttribute)return NodeFilter.FILTER_SKIP;const v=m.__tabsterElementUID;return v&&s&&(p?delete s[v]:(w=s[v])!==null&&w!==void 0||(s[v]=new Tn(i,m))),(Ur(t,m)||m.hasAttribute(Kn))&&r(t,m,p),NodeFilter.FILTER_SKIP}const h=pe.createMutationObserver(c);return o&&d(i().document.body),h.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[Kn]}),()=>{h.disconnect()}}/*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */class U9{constructor(t){this._isUncontrolledCompletely=t}isUncontrolledCompletely(t,r){var o;const i=(o=this._isUncontrolledCompletely)===null||o===void 0?void 0:o.call(this,t,r);return i===void 0?r:i}}/*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */class V9 extends Nu{constructor(t,r,o){var i;if(super(t,r,o),this._hasFocus=!1,this._onFocusOut=s=>{var c;const d=(c=this._element)===null||c===void 0?void 0:c.get();d&&s.relatedTarget===null&&d.dispatchEvent(new J2),d&&!pe.nodeContains(d,s.relatedTarget)&&(this._hasFocus=!1)},this._onFocusIn=()=>{this._hasFocus=!0},this._props.type===Ai.Source){const s=(i=this._element)===null||i===void 0?void 0:i.get();s==null||s.addEventListener("focusout",this._onFocusOut),s==null||s.addEventListener("focusin",this._onFocusIn),this._hasFocus=pe.nodeContains(s,s&&pe.getActiveElement(s.ownerDocument))}}dispose(){var t;if(this._props.type===Ai.Source){const r=(t=this._element)===null||t===void 0?void 0:t.get();r==null||r.removeEventListener("focusout",this._onFocusOut),r==null||r.removeEventListener("focusin",this._onFocusIn),this._hasFocus&&this._tabster.getWindow().document.body.dispatchEvent(new J2)}}}class ff{constructor(t){this._stack=[],this._getWindow=t}push(t){var r;((r=this._stack[this._stack.length-1])===null||r===void 0?void 0:r.get())!==t&&(this._stack.length>ff.DEPTH&&this._stack.shift(),this._stack.push(new Tn(this._getWindow,t)))}pop(t){t===void 0&&(t=()=>!0);var r;const o=this._getWindow().document;for(let i=this._stack.length-1;i>=0;i--){const s=(r=this._stack.pop())===null||r===void 0?void 0:r.get();if(s&&pe.nodeContains(o.body,pe.getParentElement(s))&&t(s))return s}}}ff.DEPTH=10;class W9{constructor(t){this._onRestoreFocus=r=>{var o,i;this._focusedElementState.cancelAsyncFocus(la.Restorer);const s=r.composedPath()[0];if(s){const c=(i=(o=Ur(this._tabster,s))===null||o===void 0?void 0:o.restorer)===null||i===void 0?void 0:i.getProps().id;this._focusedElementState.requestAsyncFocus(la.Restorer,()=>this._restoreFocus(s,c),0)}},this._onFocusIn=r=>{var o;if(!r)return;const i=Ur(this._tabster,r);((o=i==null?void 0:i.restorer)===null||o===void 0?void 0:o.getProps().type)===Ai.Target&&this._history.push(r)},this._restoreFocus=(r,o)=>{var i;const s=this._getWindow().document;if(pe.getActiveElement(s)!==s.body||!this._keyboardNavState.isNavigatingWithKeyboard()&&pe.nodeContains(s.body,r))return;const c=d=>{var f,h;const m=(h=(f=Ur(this._tabster,d))===null||f===void 0?void 0:f.restorer)===null||h===void 0?void 0:h.getProps();return m?m.id:null};(i=this._history.pop(d=>o===c(d)))===null||i===void 0||i.focus()},this._tabster=t,this._getWindow=t.getWindow,this._getWindow().addEventListener($g,this._onRestoreFocus),this._history=new ff(this._getWindow),this._keyboardNavState=t.keyboardNavigation,this._focusedElementState=t.focusedElement,this._focusedElementState.subscribe(this._onFocusIn)}dispose(){const t=this._getWindow();this._focusedElementState.unsubscribe(this._onFocusIn),this._focusedElementState.cancelAsyncFocus(la.Restorer),t.removeEventListener($g,this._onRestoreFocus)}createRestorer(t,r){const o=new V9(this._tabster,t,r);return r.type===Ai.Target&&pe.getActiveElement(t.ownerDocument)===t&&this._history.push(t),o}}/*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */class G9{constructor(t){this.keyboardNavigation=t.keyboardNavigation,this.focusedElement=t.focusedElement,this.focusable=t.focusable,this.root=t.root,this.uncontrolled=t.uncontrolled,this.core=t}}class $9{constructor(t,r){var o,i;this._forgetMemorizedElements=[],this._wrappers=new Set,this._initQueue=[],this._version="8.5.4",this._noop=!1,this.getWindow=()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win},this._storage=c9(t),this._win=t;const s=this.getWindow;r!=null&&r.DOMAPI&&l9({...r.DOMAPI}),this.keyboardNavigation=new A9(s),this.focusedElement=new lr(this,s),this.focusable=new C9(this),this.root=new Nt(this,r==null?void 0:r.autoRoot),this.uncontrolled=new U9((r==null?void 0:r.checkUncontrolledCompletely)||(r==null?void 0:r.checkUncontrolledTrappingFocus)),this.controlTab=(o=r==null?void 0:r.controlTab)!==null&&o!==void 0?o:!0,this.rootDummyInputs=!!(r!=null&&r.rootDummyInputs),this._dummyObserver=new y9(s),this.getParent=(i=r==null?void 0:r.getParent)!==null&&i!==void 0?i:pe.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:c=>{if(!this._unobserve){const d=s().document;this._unobserve=H9(d,this,f5,c)}}},g5(s),this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(t){var r;t&&(this.getParent=(r=t.getParent)!==null&&r!==void 0?r:this.getParent)}createTabster(t,r){const o=new G9(this);return t||this._wrappers.add(o),this._mergeProps(r),o}disposeTabster(t,r){r?this._wrappers.clear():this._wrappers.delete(t),this._wrappers.size===0&&this.dispose()}dispose(){var t,r,o,i,s,c,d,f;this.internal.stopObserver();const h=this._win;h==null||h.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],h&&this._forgetMemorizedTimer&&(h.clearTimeout(this._forgetMemorizedTimer),delete this._forgetMemorizedTimer),(t=this.outline)===null||t===void 0||t.dispose(),(r=this.crossOrigin)===null||r===void 0||r.dispose(),(o=this.deloser)===null||o===void 0||o.dispose(),(i=this.groupper)===null||i===void 0||i.dispose(),(s=this.mover)===null||s===void 0||s.dispose(),(c=this.modalizer)===null||c===void 0||c.dispose(),(d=this.observedElement)===null||d===void 0||d.dispose(),(f=this.restorer)===null||f===void 0||f.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),f9(this.getWindow),rx(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),h&&(u9(h),delete h.__tabsterInstance,delete this._win)}storageEntry(t,r){const o=this._storage;let i=o.get(t);return i?r===!1&&Object.keys(i).length===0&&o.delete(t):r===!0&&(i={},o.set(t,i)),i}forceCleanup(){this._win&&(this._forgetMemorizedElements.push(this._win.document.body),!this._forgetMemorizedTimer&&(this._forgetMemorizedTimer=this._win.setTimeout(()=>{delete this._forgetMemorizedTimer;for(let t=this._forgetMemorizedElements.shift();t;t=this._forgetMemorizedElements.shift())rx(this.getWindow,t),lr.forgetMemorized(this.focusedElement,t)},0),m5(this.getWindow,!0)))}queueInit(t){var r;this._win&&(this._initQueue.push(t),this._initTimer||(this._initTimer=(r=this._win)===null||r===void 0?void 0:r.setTimeout(()=>{delete this._initTimer,this.drainInitQueue()},0)))}drainInitQueue(){if(!this._win)return;const t=this._initQueue;this._initQueue=[],t.forEach(r=>r())}}function X9(e,t){let r=Q9(e);return r?r.createTabster(!1,t):(r=new $9(e,t),e.__tabsterInstance=r,r.createTabster())}function K9(e){const t=e.core;return t.groupper||(t.groupper=new R9(t,t.getWindow)),t.groupper}function Y9(e){const t=e.core;return t.mover||(t.mover=new L9(t,t.getWindow)),t.mover}function S5(e,t,r){const o=e.core;return o.modalizer||(o.modalizer=new M9(o,t,r)),o.modalizer}function k5(e){const t=e.core;return t.restorer||(t.restorer=new W9(t)),t.restorer}function Z9(e,t){e.core.disposeTabster(e,t)}function Q9(e){return e.__tabsterInstance}const J9=e=>e;function eN(e){const t=(e==null?void 0:e.defaultView)||void 0,r=t==null?void 0:t.__tabsterShadowDOMAPI;if(t)return X9(t,{autoRoot:{},controlTab:!1,getParent:i5,checkUncontrolledTrappingFocus:o=>{var i;return!!(!((i=o.firstElementChild)===null||i===void 0)&&i.hasAttribute("data-is-focus-trap-zone-bumper"))},DOMAPI:r})}function qi(e=J9){const{targetDocument:t}=St(),r=S.useRef(null);return jr(()=>{const o=eN(t);if(o)return r.current=e(o),()=>{Z9(o),r.current=null}},[t,e]),r}const wu=e=>{qi();const t=Mp(e,!0);return S.useMemo(()=>({[Kn]:t}),[t])},ri=(e={})=>{const{circular:t,axis:r,memorizeCurrent:o=!0,tabbable:i,ignoreDefaultKeydown:s,unstable_hasDefault:c}=e;return qi(Y9),wu({mover:{cyclic:!!t,direction:tN(r??"vertical"),memorizeCurrent:o,tabbable:i,hasDefault:c},...s&&{focusable:{ignoreKeydown:s}}})};function tN(e){switch(e){case"horizontal":return so.Horizontal;case"grid":return so.Grid;case"grid-linear":return so.GridLinear;case"both":return so.Both;case"vertical":default:return so.Vertical}}const hf=e=>(qi(K9),wu({groupper:{tabbability:rN(e==null?void 0:e.tabBehavior)},focusable:{ignoreKeydown:e==null?void 0:e.ignoreDefaultKeydown}})),rN=e=>{switch(e){case"unlimited":return _d.Unlimited;case"limited":return _d.Limited;case"limited-trap-focus":return _d.LimitedTrapFocus;default:return}},ma=()=>{const e=qi(),{targetDocument:t}=St(),r=S.useCallback((d,f)=>{var h;return((h=e.current)===null||h===void 0?void 0:h.focusable.findAll({container:d,acceptCondition:f}))||[]},[e]),o=S.useCallback(d=>{var f;return(f=e.current)===null||f===void 0?void 0:f.focusable.findFirst({container:d})},[e]),i=S.useCallback(d=>{var f;return(f=e.current)===null||f===void 0?void 0:f.focusable.findLast({container:d})},[e]),s=S.useCallback((d,f={})=>{if(!e.current||!t)return null;const{container:h=t.body}=f;return e.current.focusable.findNext({currentElement:d,container:h})},[e,t]),c=S.useCallback((d,f={})=>{if(!e.current||!t)return null;const{container:h=t.body}=f;return e.current.focusable.findPrev({currentElement:d,container:h})},[e,t]);return{findAllFocusable:r,findFirstFocusable:o,findLastFocusable:i,findNextFocusable:s,findPrevFocusable:c}},lx="data-fui-focus-visible",B5="data-fui-focus-within";function nN(e,t){if(_5(e))return()=>{};const r={current:void 0},o=uf(t);function i(f){o.isNavigatingWithKeyboard()&&Zt(f)&&(r.current=f,f.setAttribute(lx,""))}function s(){r.current&&(r.current.removeAttribute(lx),r.current=void 0)}o.subscribe(f=>{f||s()});const c=f=>{s();const h=f.composedPath()[0];i(h)},d=f=>{(!f.relatedTarget||Zt(f.relatedTarget)&&!e.contains(f.relatedTarget))&&s()};return e.addEventListener(Nn,c),e.addEventListener("focusout",d),e.focusVisible=!0,e.contains(t.document.activeElement)&&i(t.document.activeElement),()=>{s(),e.removeEventListener(Nn,c),e.removeEventListener("focusout",d),delete e.focusVisible,cf(o)}}function _5(e){return e?e.focusVisible?!0:_5(e==null?void 0:e.parentElement):!1}function qp(e={}){const t=St(),r=S.useRef(null);var o;const i=(o=e.targetDocument)!==null&&o!==void 0?o:t.targetDocument;return S.useEffect(()=>{if(i!=null&&i.defaultView&&r.current)return nN(r.current,i.defaultView)},[r,i]),r}function oN(e,t){const r=uf(t);r.subscribe(s=>{s||sx(e)});const o=s=>{r.isNavigatingWithKeyboard()&&ux(s.target)&&aN(e)},i=s=>{(!s.relatedTarget||ux(s.relatedTarget)&&!e.contains(s.relatedTarget))&&sx(e)};return e.addEventListener(Nn,o),e.addEventListener("focusout",i),()=>{e.removeEventListener(Nn,o),e.removeEventListener("focusout",i),cf(r)}}function aN(e){e.setAttribute(B5,"")}function sx(e){e.removeAttribute(B5)}function ux(e){return e?!!(e&&typeof e=="object"&&"classList"in e&&"contains"in e):!1}function Kl(){const{targetDocument:e}=St(),t=S.useRef(null);return S.useEffect(()=>{if(e!=null&&e.defaultView&&t.current)return oN(t.current,e.defaultView)},[t,e]),t}function iN(){const{targetDocument:e}=St(),t=S.useRef(null);return S.useEffect(()=>{const r=e==null?void 0:e.defaultView;if(r){const o=uf(r);return t.current=o,()=>{cf(o),t.current=null}}},[e]),t}const lN="data-tabster-never-hide",sN=e=>e.hasAttribute(lN);function uN(e){S5(e,void 0,sN),k5(e)}const Fi=(e={})=>{const{trapFocus:t,alwaysFocusable:r,legacyTrapFocus:o}=e;qi(uN);const i=hn("modal-",e.id),s=wu({restorer:{type:Ai.Source},...t&&{modalizer:{id:i,isOthersAccessible:!t,isAlwaysAccessible:r,isTrapped:o&&t}}}),c=wu({restorer:{type:Ai.Target}});return{modalAttributes:s,triggerAttributes:c}},cN=(...e)=>{"use no memo";const t=e.reduce((r,o)=>(o!=null&&o[Kn]&&r.push(o[Kn]),r),[]);return S.useMemo(()=>({[Kn]:t.length>0?t.reduce(dN):void 0}),t)},dN=(e,t)=>JSON.stringify(Object.assign(cx(e),cx(t))),cx=e=>{try{return JSON.parse(e)}catch{return{}}};function fN(){return qi(k5),Mp({restorer:{type:Ai.Source}})}function hN(){const e=iN();return S.useCallback(()=>{var t,r;return(r=(t=e.current)===null||t===void 0?void 0:t.isNavigatingWithKeyboard())!==null&&r!==void 0?r:!1},[e])}function mN(){const e=qi(S5),[t]=Xl();return S.useCallback(o=>{t(()=>{var i;(i=e.current)===null||i===void 0||i.activate(o)},0)},[e,t])}const de={4:"#0a0a0a",8:"#141414",10:"#1a1a1a",12:"#1f1f1f",14:"#242424",16:"#292929",18:"#2e2e2e",20:"#333333",22:"#383838",24:"#3d3d3d",26:"#424242",30:"#4d4d4d",32:"#525252",34:"#575757",36:"#5c5c5c",38:"#616161",40:"#666666",42:"#6b6b6b",44:"#707070",46:"#757575",60:"#999999",68:"#adadad",70:"#b3b3b3",74:"#bdbdbd",78:"#c7c7c7",82:"#d1d1d1",84:"#d6d6d6",86:"#dbdbdb",88:"#e0e0e0",90:"#e6e6e6",92:"#ebebeb",94:"#f0f0f0",96:"#f5f5f5",98:"#fafafa"},Xr={5:"rgba(255, 255, 255, 0.05)",10:"rgba(255, 255, 255, 0.1)",20:"rgba(255, 255, 255, 0.2)",40:"rgba(255, 255, 255, 0.4)",50:"rgba(255, 255, 255, 0.5)",60:"rgba(255, 255, 255, 0.6)",70:"rgba(255, 255, 255, 0.7)",80:"rgba(255, 255, 255, 0.8)"},Vn={5:"rgba(0, 0, 0, 0.05)",10:"rgba(0, 0, 0, 0.1)",20:"rgba(0, 0, 0, 0.2)",30:"rgba(0, 0, 0, 0.3)",40:"rgba(0, 0, 0, 0.4)",50:"rgba(0, 0, 0, 0.5)"},gN={50:"rgba(26, 26, 26, 0.5)"},pN={70:"rgba(31, 31, 31, 0.7)"},dx={50:"rgba(36, 36, 36, 0.5)",80:"rgba(36, 36, 36, 0.8)"},Ve="#ffffff",Yg="#000000",bN={shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"},T5={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},vN={shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},yN={shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"},xN={shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},wN={shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},SN={shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},kN={shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},BN={shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},_N={shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},TN={shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},CN={shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"},EN={shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},NN={shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},zN={shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},C5={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},RN={shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},AN={shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},DN={shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"},jN={shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"},ON={shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},MN={shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"},qN={shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},FN={shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},PN={shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},IN={shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"},LN={shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},HN={shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},UN={shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},VN={shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"},WN={shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},GN={shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},$N={shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},XN={shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"},KN={shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},YN={shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"},vt={red:vN,green:C5,darkOrange:yN,yellow:BN,berry:HN,lightGreen:zN,marigold:kN},ei={darkRed:bN,cranberry:T5,pumpkin:xN,peach:SN,gold:_N,brass:TN,brown:CN,forest:EN,seafoam:NN,darkGreen:RN,lightTeal:AN,teal:DN,steel:jN,blue:ON,royalBlue:MN,cornflower:qN,navy:FN,lavender:PN,purple:IN,grape:LN,lilac:UN,pink:VN,magenta:WN,plum:GN,beige:$N,mink:XN,platinum:KN,anchor:YN},mt={cranberry:T5,green:C5,orange:wN},E5=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],N5=["darkRed","cranberry","pumpkin","peach","gold","brass","brown","forest","seafoam","darkGreen","lightTeal","teal","steel","blue","royalBlue","cornflower","navy","lavender","purple","grape","lilac","pink","magenta","plum","beige","mink","platinum","anchor"],mn={success:"green",warning:"orange",danger:"cranberry"},zu=E5.reduce((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),o={[`colorPalette${r}Background1`]:vt[t].tint60,[`colorPalette${r}Background2`]:vt[t].tint40,[`colorPalette${r}Background3`]:vt[t].primary,[`colorPalette${r}Foreground1`]:vt[t].shade10,[`colorPalette${r}Foreground2`]:vt[t].shade30,[`colorPalette${r}Foreground3`]:vt[t].primary,[`colorPalette${r}BorderActive`]:vt[t].primary,[`colorPalette${r}Border1`]:vt[t].tint40,[`colorPalette${r}Border2`]:vt[t].primary};return Object.assign(e,o)},{});zu.colorPaletteYellowForeground1=vt.yellow.shade30;zu.colorPaletteRedForegroundInverted=vt.red.tint20;zu.colorPaletteGreenForegroundInverted=vt.green.tint20;zu.colorPaletteYellowForegroundInverted=vt.yellow.tint40;const ZN=N5.reduce((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),o={[`colorPalette${r}Background2`]:ei[t].tint40,[`colorPalette${r}Foreground2`]:ei[t].shade30,[`colorPalette${r}BorderActive`]:ei[t].primary};return Object.assign(e,o)},{}),QN={...zu,...ZN},Yl=Object.entries(mn).reduce((e,[t,r])=>{const o=t.slice(0,1).toUpperCase()+t.slice(1),i={[`colorStatus${o}Background1`]:mt[r].tint60,[`colorStatus${o}Background2`]:mt[r].tint40,[`colorStatus${o}Background3`]:mt[r].primary,[`colorStatus${o}Foreground1`]:mt[r].shade10,[`colorStatus${o}Foreground2`]:mt[r].shade30,[`colorStatus${o}Foreground3`]:mt[r].primary,[`colorStatus${o}ForegroundInverted`]:mt[r].tint30,[`colorStatus${o}BorderActive`]:mt[r].primary,[`colorStatus${o}Border1`]:mt[r].tint40,[`colorStatus${o}Border2`]:mt[r].primary};return Object.assign(e,i)},{});Yl.colorStatusDangerBackground3Hover=mt[mn.danger].shade10;Yl.colorStatusDangerBackground3Pressed=mt[mn.danger].shade20;Yl.colorStatusWarningForeground1=mt[mn.warning].shade20;Yl.colorStatusWarningForeground3=mt[mn.warning].shade20;Yl.colorStatusWarningBorder2=mt[mn.warning].shade20;const JN=e=>({colorNeutralForeground1:de[14],colorNeutralForeground1Hover:de[14],colorNeutralForeground1Pressed:de[14],colorNeutralForeground1Selected:de[14],colorNeutralForeground2:de[26],colorNeutralForeground2Hover:de[14],colorNeutralForeground2Pressed:de[14],colorNeutralForeground2Selected:de[14],colorNeutralForeground2BrandHover:e[80],colorNeutralForeground2BrandPressed:e[70],colorNeutralForeground2BrandSelected:e[80],colorNeutralForeground3:de[38],colorNeutralForeground3Hover:de[26],colorNeutralForeground3Pressed:de[26],colorNeutralForeground3Selected:de[26],colorNeutralForeground3BrandHover:e[80],colorNeutralForeground3BrandPressed:e[70],colorNeutralForeground3BrandSelected:e[80],colorNeutralForeground4:de[44],colorNeutralForegroundDisabled:de[74],colorNeutralForegroundInvertedDisabled:Xr[40],colorBrandForegroundLink:e[70],colorBrandForegroundLinkHover:e[60],colorBrandForegroundLinkPressed:e[40],colorBrandForegroundLinkSelected:e[70],colorNeutralForeground2Link:de[26],colorNeutralForeground2LinkHover:de[14],colorNeutralForeground2LinkPressed:de[14],colorNeutralForeground2LinkSelected:de[14],colorCompoundBrandForeground1:e[80],colorCompoundBrandForeground1Hover:e[70],colorCompoundBrandForeground1Pressed:e[60],colorBrandForeground1:e[80],colorBrandForeground2:e[70],colorBrandForeground2Hover:e[60],colorBrandForeground2Pressed:e[30],colorNeutralForeground1Static:de[14],colorNeutralForegroundStaticInverted:Ve,colorNeutralForegroundInverted:Ve,colorNeutralForegroundInvertedHover:Ve,colorNeutralForegroundInvertedPressed:Ve,colorNeutralForegroundInvertedSelected:Ve,colorNeutralForegroundInverted2:Ve,colorNeutralForegroundOnBrand:Ve,colorNeutralForegroundInvertedLink:Ve,colorNeutralForegroundInvertedLinkHover:Ve,colorNeutralForegroundInvertedLinkPressed:Ve,colorNeutralForegroundInvertedLinkSelected:Ve,colorBrandForegroundInverted:e[100],colorBrandForegroundInvertedHover:e[110],colorBrandForegroundInvertedPressed:e[100],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:Ve,colorNeutralBackground1Hover:de[96],colorNeutralBackground1Pressed:de[88],colorNeutralBackground1Selected:de[92],colorNeutralBackground2:de[98],colorNeutralBackground2Hover:de[94],colorNeutralBackground2Pressed:de[86],colorNeutralBackground2Selected:de[90],colorNeutralBackground3:de[96],colorNeutralBackground3Hover:de[92],colorNeutralBackground3Pressed:de[84],colorNeutralBackground3Selected:de[88],colorNeutralBackground4:de[94],colorNeutralBackground4Hover:de[98],colorNeutralBackground4Pressed:de[96],colorNeutralBackground4Selected:Ve,colorNeutralBackground5:de[92],colorNeutralBackground5Hover:de[96],colorNeutralBackground5Pressed:de[94],colorNeutralBackground5Selected:de[98],colorNeutralBackground6:de[90],colorNeutralBackgroundInverted:de[16],colorNeutralBackgroundStatic:de[20],colorNeutralBackgroundAlpha:Xr[50],colorNeutralBackgroundAlpha2:Xr[80],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:de[96],colorSubtleBackgroundPressed:de[88],colorSubtleBackgroundSelected:de[92],colorSubtleBackgroundLightAlphaHover:Xr[70],colorSubtleBackgroundLightAlphaPressed:Xr[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:Vn[10],colorSubtleBackgroundInvertedPressed:Vn[30],colorSubtleBackgroundInvertedSelected:Vn[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:de[94],colorNeutralBackgroundInvertedDisabled:Xr[10],colorNeutralStencil1:de[90],colorNeutralStencil2:de[98],colorNeutralStencil1Alpha:Vn[10],colorNeutralStencil2Alpha:Vn[5],colorBackgroundOverlay:Vn[40],colorScrollbarOverlay:Vn[50],colorBrandBackground:e[80],colorBrandBackgroundHover:e[70],colorBrandBackgroundPressed:e[40],colorBrandBackgroundSelected:e[60],colorCompoundBrandBackground:e[80],colorCompoundBrandBackgroundHover:e[70],colorCompoundBrandBackgroundPressed:e[60],colorBrandBackgroundStatic:e[80],colorBrandBackground2:e[160],colorBrandBackground2Hover:e[150],colorBrandBackground2Pressed:e[130],colorBrandBackground3Static:e[60],colorBrandBackground4Static:e[40],colorBrandBackgroundInverted:Ve,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:de[98],colorNeutralCardBackgroundHover:Ve,colorNeutralCardBackgroundPressed:de[96],colorNeutralCardBackgroundSelected:de[92],colorNeutralCardBackgroundDisabled:de[94],colorNeutralStrokeAccessible:de[38],colorNeutralStrokeAccessibleHover:de[34],colorNeutralStrokeAccessiblePressed:de[30],colorNeutralStrokeAccessibleSelected:e[80],colorNeutralStroke1:de[82],colorNeutralStroke1Hover:de[78],colorNeutralStroke1Pressed:de[70],colorNeutralStroke1Selected:de[74],colorNeutralStroke2:de[88],colorNeutralStroke3:de[94],colorNeutralStrokeSubtle:de[88],colorNeutralStrokeOnBrand:Ve,colorNeutralStrokeOnBrand2:Ve,colorNeutralStrokeOnBrand2Hover:Ve,colorNeutralStrokeOnBrand2Pressed:Ve,colorNeutralStrokeOnBrand2Selected:Ve,colorBrandStroke1:e[80],colorBrandStroke2:e[140],colorBrandStroke2Hover:e[120],colorBrandStroke2Pressed:e[80],colorBrandStroke2Contrast:e[140],colorCompoundBrandStroke:e[80],colorCompoundBrandStrokeHover:e[70],colorCompoundBrandStrokePressed:e[60],colorNeutralStrokeDisabled:de[88],colorNeutralStrokeInvertedDisabled:Xr[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:Vn[5],colorNeutralStrokeAlpha2:Xr[20],colorStrokeFocus1:Ve,colorStrokeFocus2:Yg,colorNeutralShadowAmbient:"rgba(0,0,0,0.12)",colorNeutralShadowKey:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.06)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.07)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.20)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.24)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"}),z5={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadiusCircular:"10000px"},R5={curveAccelerateMax:"cubic-bezier(0.9,0.1,1,0.2)",curveAccelerateMid:"cubic-bezier(1,0,1,1)",curveAccelerateMin:"cubic-bezier(0.8,0,0.78,1)",curveDecelerateMax:"cubic-bezier(0.1,0.9,0.2,1)",curveDecelerateMid:"cubic-bezier(0,0,0,1)",curveDecelerateMin:"cubic-bezier(0.33,0,0.1,1)",curveEasyEaseMax:"cubic-bezier(0.8,0,0.2,1)",curveEasyEase:"cubic-bezier(0.33,0,0.67,1)",curveLinear:"cubic-bezier(0,0,1,1)"},A5={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"},D5={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},j5={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},O5={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},Fp={fontFamilyBase:"'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif",fontFamilyMonospace:"Consolas, 'Courier New', Courier, monospace",fontFamilyNumeric:"Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"},sr={none:"0",xxs:"2px",xs:"4px",sNudge:"6px",s:"8px",mNudge:"10px",m:"12px",l:"16px",xl:"20px",xxl:"24px",xxxl:"32px"},M5={spacingHorizontalNone:sr.none,spacingHorizontalXXS:sr.xxs,spacingHorizontalXS:sr.xs,spacingHorizontalSNudge:sr.sNudge,spacingHorizontalS:sr.s,spacingHorizontalMNudge:sr.mNudge,spacingHorizontalM:sr.m,spacingHorizontalL:sr.l,spacingHorizontalXL:sr.xl,spacingHorizontalXXL:sr.xxl,spacingHorizontalXXXL:sr.xxxl},q5={spacingVerticalNone:sr.none,spacingVerticalXXS:sr.xxs,spacingVerticalXS:sr.xs,spacingVerticalSNudge:sr.sNudge,spacingVerticalS:sr.s,spacingVerticalMNudge:sr.mNudge,spacingVerticalM:sr.m,spacingVerticalL:sr.l,spacingVerticalXL:sr.xl,spacingVerticalXXL:sr.xxl,spacingVerticalXXXL:sr.xxxl},F5={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"},F={colorNeutralForeground1:"var(--colorNeutralForeground1)",colorNeutralForeground2:"var(--colorNeutralForeground2)",colorNeutralForeground3:"var(--colorNeutralForeground3)",colorNeutralForeground4:"var(--colorNeutralForeground4)",colorNeutralForegroundDisabled:"var(--colorNeutralForegroundDisabled)",colorBrandForegroundLink:"var(--colorBrandForegroundLink)",colorBrandForegroundLinkHover:"var(--colorBrandForegroundLinkHover)",colorBrandForegroundLinkPressed:"var(--colorBrandForegroundLinkPressed)",colorBrandForegroundLinkSelected:"var(--colorBrandForegroundLinkSelected)",colorNeutralForeground2Link:"var(--colorNeutralForeground2Link)",colorNeutralForegroundOnBrand:"var(--colorNeutralForegroundOnBrand)",colorBrandForeground1:"var(--colorBrandForeground1)",colorNeutralBackground1:"var(--colorNeutralBackground1)",colorNeutralBackground2:"var(--colorNeutralBackground2)",colorNeutralBackground3:"var(--colorNeutralBackground3)",colorNeutralBackground6:"var(--colorNeutralBackground6)",colorSubtleBackground:"var(--colorSubtleBackground)",colorTransparentBackground:"var(--colorTransparentBackground)",colorNeutralStencil1:"var(--colorNeutralStencil1)",colorBrandBackground:"var(--colorBrandBackground)",colorBrandBackground2:"var(--colorBrandBackground2)",colorBrandBackground2Hover:"var(--colorBrandBackground2Hover)",colorNeutralStrokeAccessible:"var(--colorNeutralStrokeAccessible)",colorNeutralStrokeAccessibleHover:"var(--colorNeutralStrokeAccessibleHover)",colorNeutralStrokeAccessiblePressed:"var(--colorNeutralStrokeAccessiblePressed)",colorNeutralStrokeAccessibleSelected:"var(--colorNeutralStrokeAccessibleSelected)",colorNeutralStroke1:"var(--colorNeutralStroke1)",colorNeutralStroke1Hover:"var(--colorNeutralStroke1Hover)",colorNeutralStroke1Pressed:"var(--colorNeutralStroke1Pressed)",colorNeutralStroke2:"var(--colorNeutralStroke2)",colorCompoundBrandStroke:"var(--colorCompoundBrandStroke)",colorCompoundBrandStrokePressed:"var(--colorCompoundBrandStrokePressed)",colorNeutralStrokeDisabled:"var(--colorNeutralStrokeDisabled)",colorTransparentStroke:"var(--colorTransparentStroke)",colorPaletteRedBackground1:"var(--colorPaletteRedBackground1)",colorPaletteRedBorder2:"var(--colorPaletteRedBorder2)",colorPaletteRedForeground1:"var(--colorPaletteRedForeground1)",colorPaletteRedForeground2:"var(--colorPaletteRedForeground2)",colorPaletteDarkOrangeForeground2:"var(--colorPaletteDarkOrangeForeground2)",colorPaletteMarigoldForeground1:"var(--colorPaletteMarigoldForeground1)",colorPaletteLightGreenBackground3:"var(--colorPaletteLightGreenBackground3)",colorPaletteBlueBorderActive:"var(--colorPaletteBlueBorderActive)",colorPaletteBlueForeground2:"var(--colorPaletteBlueForeground2)",colorPalettePinkForeground2:"var(--colorPalettePinkForeground2)",borderRadiusSmall:"var(--borderRadiusSmall)",borderRadiusMedium:"var(--borderRadiusMedium)",fontFamilyBase:"var(--fontFamilyBase)",fontFamilyMonospace:"var(--fontFamilyMonospace)",fontSizeBase100:"var(--fontSizeBase100)",fontSizeBase200:"var(--fontSizeBase200)",fontSizeBase300:"var(--fontSizeBase300)",fontSizeBase400:"var(--fontSizeBase400)",fontWeightRegular:"var(--fontWeightRegular)",fontWeightSemibold:"var(--fontWeightSemibold)",lineHeightBase200:"var(--lineHeightBase200)",lineHeightBase400:"var(--lineHeightBase400)",shadow4:"var(--shadow4)",shadow16:"var(--shadow16)",shadow64:"var(--shadow64)",strokeWidthThin:"var(--strokeWidthThin)",strokeWidthThick:"var(--strokeWidthThick)",strokeWidthThicker:"var(--strokeWidthThicker)",spacingHorizontalXXS:"var(--spacingHorizontalXXS)",spacingHorizontalXS:"var(--spacingHorizontalXS)",spacingHorizontalS:"var(--spacingHorizontalS)",spacingHorizontalMNudge:"var(--spacingHorizontalMNudge)",spacingHorizontalM:"var(--spacingHorizontalM)",spacingHorizontalL:"var(--spacingHorizontalL)",spacingVerticalXXS:"var(--spacingVerticalXXS)",spacingVerticalXS:"var(--spacingVerticalXS)",spacingVerticalS:"var(--spacingVerticalS)",spacingVerticalM:"var(--spacingVerticalM)",spacingVerticalL:"var(--spacingVerticalL)",spacingVerticalXXL:"var(--spacingVerticalXXL)",durationUltraFast:"var(--durationUltraFast)",durationNormal:"var(--durationNormal)",curveAccelerateMid:"var(--curveAccelerateMid)",curveDecelerateMid:"var(--curveDecelerateMid)"};function Fd(e,t,r=""){return{[`shadow2${r}`]:`0 0 2px ${e}, 0 1px 2px ${t}`,[`shadow4${r}`]:`0 0 2px ${e}, 0 2px 4px ${t}`,[`shadow8${r}`]:`0 0 2px ${e}, 0 4px 8px ${t}`,[`shadow16${r}`]:`0 0 2px ${e}, 0 8px 16px ${t}`,[`shadow28${r}`]:`0 0 8px ${e}, 0 14px 28px ${t}`,[`shadow64${r}`]:`0 0 8px ${e}, 0 32px 64px ${t}`}}const e7=e=>{const t=JN(e);return{...z5,...D5,...j5,...Fp,...O5,...F5,...M5,...q5,...A5,...R5,...t,...QN,...Yl,...Fd(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...Fd(t.colorBrandShadowAmbient,t.colorBrandShadowKey,"Brand")}},P5={10:"#2b2b40",20:"#2f2f4a",30:"#333357",40:"#383966",50:"#3d3e78",60:"#444791",70:"#4f52b2",80:"#5b5fc7",90:"#7579eb",100:"#7f85f5",110:"#9299f7",120:"#aab1fa",130:"#b6bcfa",140:"#c5cbfa",150:"#dce0fa",160:"#e8ebfa"},I5={...Fp,fontFamilyBase:'-apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Apple Color Emoji", "Segoe UI Emoji", sans-serif'},t7={...e7(P5),...I5},jo=E5.reduce((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),o={[`colorPalette${r}Background1`]:vt[t].shade40,[`colorPalette${r}Background2`]:vt[t].shade30,[`colorPalette${r}Background3`]:vt[t].primary,[`colorPalette${r}Foreground1`]:vt[t].tint30,[`colorPalette${r}Foreground2`]:vt[t].tint40,[`colorPalette${r}Foreground3`]:vt[t].tint20,[`colorPalette${r}BorderActive`]:vt[t].tint30,[`colorPalette${r}Border1`]:vt[t].primary,[`colorPalette${r}Border2`]:vt[t].tint20};return Object.assign(e,o)},{});jo.colorPaletteRedForeground3=vt.red.tint30;jo.colorPaletteRedBorder2=vt.red.tint30;jo.colorPaletteGreenForeground3=vt.green.tint40;jo.colorPaletteGreenBorder2=vt.green.tint40;jo.colorPaletteDarkOrangeForeground3=vt.darkOrange.tint30;jo.colorPaletteDarkOrangeBorder2=vt.darkOrange.tint30;jo.colorPaletteRedForegroundInverted=vt.red.primary;jo.colorPaletteGreenForegroundInverted=vt.green.primary;jo.colorPaletteYellowForegroundInverted=vt.yellow.shade30;const Pp=N5.reduce((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),o={[`colorPalette${r}Background2`]:ei[t].shade30,[`colorPalette${r}Foreground2`]:ei[t].tint40,[`colorPalette${r}BorderActive`]:ei[t].tint30};return Object.assign(e,o)},{});Pp.colorPaletteDarkRedBackground2=ei.darkRed.shade20;Pp.colorPalettePlumBackground2=ei.plum.shade20;const r7={...jo,...Pp},oi=Object.entries(mn).reduce((e,[t,r])=>{const o=t.slice(0,1).toUpperCase()+t.slice(1),i={[`colorStatus${o}Background1`]:mt[r].shade40,[`colorStatus${o}Background2`]:mt[r].shade30,[`colorStatus${o}Background3`]:mt[r].primary,[`colorStatus${o}Foreground1`]:mt[r].tint30,[`colorStatus${o}Foreground2`]:mt[r].tint40,[`colorStatus${o}Foreground3`]:mt[r].tint20,[`colorStatus${o}BorderActive`]:mt[r].tint30,[`colorStatus${o}ForegroundInverted`]:mt[r].shade10,[`colorStatus${o}Border1`]:mt[r].primary,[`colorStatus${o}Border2`]:mt[r].tint20};return Object.assign(e,i)},{});oi.colorStatusDangerBackground3Hover=mt[mn.danger].shade10;oi.colorStatusDangerBackground3Pressed=mt[mn.danger].shade20;oi.colorStatusDangerForeground3=mt[mn.danger].tint40;oi.colorStatusDangerBorder2=mt[mn.danger].tint30;oi.colorStatusSuccessForeground3=mt[mn.success].tint40;oi.colorStatusSuccessBorder2=mt[mn.success].tint40;oi.colorStatusWarningForegroundInverted=mt[mn.warning].shade20;const n7=e=>({colorNeutralForeground1:Ve,colorNeutralForeground1Hover:Ve,colorNeutralForeground1Pressed:Ve,colorNeutralForeground1Selected:Ve,colorNeutralForeground2:de[84],colorNeutralForeground2Hover:Ve,colorNeutralForeground2Pressed:Ve,colorNeutralForeground2Selected:Ve,colorNeutralForeground2BrandHover:e[100],colorNeutralForeground2BrandPressed:e[90],colorNeutralForeground2BrandSelected:e[100],colorNeutralForeground3:de[68],colorNeutralForeground3Hover:de[84],colorNeutralForeground3Pressed:de[84],colorNeutralForeground3Selected:de[84],colorNeutralForeground3BrandHover:e[100],colorNeutralForeground3BrandPressed:e[90],colorNeutralForeground3BrandSelected:e[100],colorNeutralForeground4:de[60],colorNeutralForegroundDisabled:de[36],colorNeutralForegroundInvertedDisabled:Xr[40],colorBrandForegroundLink:e[100],colorBrandForegroundLinkHover:e[110],colorBrandForegroundLinkPressed:e[90],colorBrandForegroundLinkSelected:e[100],colorNeutralForeground2Link:de[84],colorNeutralForeground2LinkHover:Ve,colorNeutralForeground2LinkPressed:Ve,colorNeutralForeground2LinkSelected:Ve,colorCompoundBrandForeground1:e[100],colorCompoundBrandForeground1Hover:e[110],colorCompoundBrandForeground1Pressed:e[90],colorBrandForeground1:e[100],colorBrandForeground2:e[120],colorBrandForeground2Hover:e[130],colorBrandForeground2Pressed:e[160],colorNeutralForeground1Static:de[14],colorNeutralForegroundStaticInverted:Ve,colorNeutralForegroundInverted:de[14],colorNeutralForegroundInvertedHover:de[14],colorNeutralForegroundInvertedPressed:de[14],colorNeutralForegroundInvertedSelected:de[14],colorNeutralForegroundInverted2:de[14],colorNeutralForegroundOnBrand:Ve,colorNeutralForegroundInvertedLink:Ve,colorNeutralForegroundInvertedLinkHover:Ve,colorNeutralForegroundInvertedLinkPressed:Ve,colorNeutralForegroundInvertedLinkSelected:Ve,colorBrandForegroundInverted:e[80],colorBrandForegroundInvertedHover:e[70],colorBrandForegroundInvertedPressed:e[60],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:de[16],colorNeutralBackground1Hover:de[24],colorNeutralBackground1Pressed:de[12],colorNeutralBackground1Selected:de[22],colorNeutralBackground2:de[14],colorNeutralBackground2Hover:de[22],colorNeutralBackground2Pressed:de[10],colorNeutralBackground2Selected:de[20],colorNeutralBackground3:de[12],colorNeutralBackground3Hover:de[20],colorNeutralBackground3Pressed:de[8],colorNeutralBackground3Selected:de[18],colorNeutralBackground4:de[8],colorNeutralBackground4Hover:de[16],colorNeutralBackground4Pressed:de[4],colorNeutralBackground4Selected:de[14],colorNeutralBackground5:de[4],colorNeutralBackground5Hover:de[12],colorNeutralBackground5Pressed:Yg,colorNeutralBackground5Selected:de[10],colorNeutralBackground6:de[20],colorNeutralBackgroundInverted:Ve,colorNeutralBackgroundStatic:de[24],colorNeutralBackgroundAlpha:gN[50],colorNeutralBackgroundAlpha2:pN[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:de[22],colorSubtleBackgroundPressed:de[18],colorSubtleBackgroundSelected:de[20],colorSubtleBackgroundLightAlphaHover:dx[80],colorSubtleBackgroundLightAlphaPressed:dx[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:Vn[10],colorSubtleBackgroundInvertedPressed:Vn[30],colorSubtleBackgroundInvertedSelected:Vn[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:de[8],colorNeutralBackgroundInvertedDisabled:Xr[10],colorNeutralStencil1:de[34],colorNeutralStencil2:de[20],colorNeutralStencil1Alpha:Xr[10],colorNeutralStencil2Alpha:Xr[5],colorBackgroundOverlay:Vn[50],colorScrollbarOverlay:Xr[60],colorBrandBackground:e[70],colorBrandBackgroundHover:e[80],colorBrandBackgroundPressed:e[40],colorBrandBackgroundSelected:e[60],colorCompoundBrandBackground:e[100],colorCompoundBrandBackgroundHover:e[110],colorCompoundBrandBackgroundPressed:e[90],colorBrandBackgroundStatic:e[80],colorBrandBackground2:e[20],colorBrandBackground2Hover:e[40],colorBrandBackground2Pressed:e[10],colorBrandBackground3Static:e[60],colorBrandBackground4Static:e[40],colorBrandBackgroundInverted:Ve,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:de[20],colorNeutralCardBackgroundHover:de[24],colorNeutralCardBackgroundPressed:de[18],colorNeutralCardBackgroundSelected:de[22],colorNeutralCardBackgroundDisabled:de[8],colorNeutralStrokeAccessible:de[68],colorNeutralStrokeAccessibleHover:de[74],colorNeutralStrokeAccessiblePressed:de[70],colorNeutralStrokeAccessibleSelected:e[100],colorNeutralStroke1:de[40],colorNeutralStroke1Hover:de[46],colorNeutralStroke1Pressed:de[42],colorNeutralStroke1Selected:de[44],colorNeutralStroke2:de[32],colorNeutralStroke3:de[24],colorNeutralStrokeSubtle:de[4],colorNeutralStrokeOnBrand:de[16],colorNeutralStrokeOnBrand2:Ve,colorNeutralStrokeOnBrand2Hover:Ve,colorNeutralStrokeOnBrand2Pressed:Ve,colorNeutralStrokeOnBrand2Selected:Ve,colorBrandStroke1:e[100],colorBrandStroke2:e[50],colorBrandStroke2Hover:e[50],colorBrandStroke2Pressed:e[30],colorBrandStroke2Contrast:e[50],colorCompoundBrandStroke:e[90],colorCompoundBrandStrokeHover:e[100],colorCompoundBrandStrokePressed:e[80],colorNeutralStrokeDisabled:de[26],colorNeutralStrokeInvertedDisabled:Xr[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:Xr[10],colorNeutralStrokeAlpha2:Xr[20],colorStrokeFocus1:Yg,colorStrokeFocus2:Ve,colorNeutralShadowAmbient:"rgba(0,0,0,0.24)",colorNeutralShadowKey:"rgba(0,0,0,0.28)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.12)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.40)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.48)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"}),o7=e=>{const t=n7(e);return{...z5,...D5,...j5,...Fp,...O5,...F5,...M5,...q5,...A5,...R5,...t,...r7,...oi,...Fd(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...Fd(t.colorBrandShadowAmbient,t.colorBrandShadowKey,"Brand")}},a7={...o7(P5),...I5},L5={root:"fui-FluentProvider"},i7=jS({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",fsow6f:["f1o700av","fes3tcz"],Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),l7=e=>{"use no memo";const t=$l(),r=i7({dir:e.dir,renderer:t});return e.root.className=J(L5.root,e.themeClassName,r.root,e.root.className),e},s7=S.useInsertionEffect?S.useInsertionEffect:jr,u7=(e,t)=>{if(!(e!=null&&e.head))return;const r=e.createElement("style");return Object.keys(t).forEach(o=>{r.setAttribute(o,t[o])}),e.head.appendChild(r),r},c7=(e,t)=>{const r=e.sheet;r&&(r.cssRules.length>0&&r.deleteRule(0),r.insertRule(t,0))},d7=e=>{"use no memo";const{targetDocument:t,theme:r,rendererAttributes:o}=e,i=S.useRef(),s=hn(L5.root),c=o,d=S.useMemo(()=>JT(`.${s}`,r),[r,s]);return f7(t,s),s7(()=>{const f=t==null?void 0:t.getElementById(s);return f?i.current=f:(i.current=u7(t,{...c,id:s}),i.current&&c7(i.current,d)),()=>{var h;(h=i.current)===null||h===void 0||h.remove()}},[s,t,d,c]),{styleTagId:s,rule:d}};function f7(e,t){S.useState(()=>{if(!e)return;const r=e.getElementById(t);r&&e.head.append(r)})}const h7={},m7={},g7=(e,t)=>{"use no memo";const r=St(),o=p7(),i=WS(),s=S.useContext(Rp)||h7,{applyStylesToPortals:c=!0,customStyleHooks_unstable:d,dir:f=r.dir,targetDocument:h=r.targetDocument,theme:m,overrides_unstable:p={}}=e,w=hm(o,m),v=hm(i,p),x=hm(s,d),y=$l();var k;const{styleTagId:B,rule:_}=d7({theme:w,targetDocument:h,rendererAttributes:(k=y.styleElementAttributes)!==null&&k!==void 0?k:m7});return{applyStylesToPortals:c,customStyleHooks_unstable:x,dir:f,targetDocument:h,theme:w,overrides_unstable:v,themeClassName:B,components:{root:"div"},root:je(ct("div",{...e,dir:f,ref:Br(t,qp({targetDocument:h}))}),{elementType:"div"}),serverStyleProps:{cssRule:_,attributes:{...y.styleElementAttributes,id:B}}}};function hm(e,t){return e&&t?{...e,...t}:e||t}function p7(){return S.useContext(IS)}function b7(e){const{applyStylesToPortals:t,customStyleHooks_unstable:r,dir:o,root:i,targetDocument:s,theme:c,themeClassName:d,overrides_unstable:f}=e,h=S.useMemo(()=>({dir:o,targetDocument:s}),[o,s]),[m]=S.useState(()=>({})),p=S.useMemo(()=>({textDirection:o}),[o]);return{customStyleHooks_unstable:r,overrides_unstable:f,provider:h,textDirection:o,iconDirection:p,tooltip:m,theme:c,themeClassName:t?i.className:d}}const H5=S.forwardRef((e,t)=>{const r=g7(e,t);l7(r);const o=b7(r);return gE(r,o)});H5.displayName="FluentProvider";var mm={exports:{}},gm={};/** + * @license React + * scheduler.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var fx;function v7(){return fx||(fx=1,function(e){function t(L,Z){var se=L.length;L.push(Z);e:for(;0>>1,U=L[A];if(0>>1;Ai(Te,se))Aei(Le,Te)?(L[A]=Le,L[Ae]=se,A=Ae):(L[A]=Te,L[me]=se,A=me);else if(Aei(Le,se))L[A]=Le,L[Ae]=se,A=Ae;else break e}}return Z}function i(L,Z){var se=L.sortIndex-Z.sortIndex;return se!==0?se:L.id-Z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var c=Date,d=c.now();e.unstable_now=function(){return c.now()-d}}var f=[],h=[],m=1,p=null,w=3,v=!1,x=!1,y=!1,k=typeof setTimeout=="function"?setTimeout:null,B=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function C(L){for(var Z=r(h);Z!==null;){if(Z.callback===null)o(h);else if(Z.startTime<=L)o(h),Z.sortIndex=Z.expirationTime,t(f,Z);else break;Z=r(h)}}function N(L){if(y=!1,C(L),!x)if(r(f)!==null)x=!0,O(R);else{var Z=r(h);Z!==null&&W(N,Z.startTime-L)}}function R(L,Z){x=!1,y&&(y=!1,B(M),M=-1),v=!0;var se=w;try{for(C(Z),p=r(f);p!==null&&(!(p.expirationTime>Z)||L&&!X());){var A=p.callback;if(typeof A=="function"){p.callback=null,w=p.priorityLevel;var U=A(p.expirationTime<=Z);Z=e.unstable_now(),typeof U=="function"?p.callback=U:p===r(f)&&o(f),C(Z)}else o(f);p=r(f)}if(p!==null)var ae=!0;else{var me=r(h);me!==null&&W(N,me.startTime-Z),ae=!1}return ae}finally{p=null,w=se,v=!1}}var j=!1,D=null,M=-1,I=5,G=-1;function X(){return!(e.unstable_now()-GL||125A?(L.sortIndex=se,t(h,L),r(f)===null&&L===r(h)&&(y?(B(M),M=-1):y=!0,W(N,se-A))):(L.sortIndex=U,t(f,L),x||v||(x=!0,O(R))),L},e.unstable_shouldYield=X,e.unstable_wrapCallback=function(L){var Z=w;return function(){var se=w;w=Z;try{return L.apply(this,arguments)}finally{w=se}}}}(gm)),gm}var hx;function y7(){return hx||(hx=1,mm.exports=v7()),mm.exports}var mx=y7();const x7=e=>r=>{const o=S.useRef(r.value),i=S.useRef(0),s=S.useRef();return s.current||(s.current={value:o,version:i,listeners:[]}),jr(()=>{o.current=r.value,i.current+=1,mx.unstable_runWithPriority(mx.unstable_NormalPriority,()=>{s.current.listeners.forEach(c=>{c([i.current,r.value])})})},[r.value]),S.createElement(e,{value:s.current},r.children)},Zl=e=>{const t=S.createContext({value:{current:e},version:{current:-1},listeners:[]});return t.Provider=x7(t.Provider),delete t.Consumer,t},Ql=(e,t)=>{const r=S.useContext(e),{value:{current:o},version:{current:i},listeners:s}=r,c=t(o),[d,f]=S.useState([o,c]),h=p=>{f(w=>{if(!p)return[o,c];if(p[0]<=i)return Object.is(w[1],c)?w:[o,c];try{if(Object.is(w[0],p[1]))return w;const v=t(p[1]);return Object.is(w[1],v)?w:[p[1],v]}catch{}return[w[0],w[1]]})};Object.is(d[1],c)||h(void 0);const m=ke(h);return jr(()=>(s.push(m),()=>{const p=s.indexOf(m);s.splice(p,1)}),[m,s]),d[1]};function Ip(e){const t=S.useContext(e);return t.version?t.version.current!==-1:!1}const w7="Shift",zl="Enter",Ya=" ",U5="Tab",Lp="ArrowDown",Hp="ArrowLeft",mf="ArrowRight",V5="ArrowUp",S7="End",k7="Home",B7="Delete",Pi="Escape";function Di(e,t){const{disabled:r,disabledFocusable:o=!1,["aria-disabled"]:i,onClick:s,onKeyDown:c,onKeyUp:d,...f}=t??{},h=typeof i=="string"?i==="true":i,m=r||o||h,p=ke(x=>{m?(x.preventDefault(),x.stopPropagation()):s==null||s(x)}),w=ke(x=>{if(c==null||c(x),x.isDefaultPrevented())return;const y=x.key;if(m&&(y===zl||y===Ya)){x.preventDefault(),x.stopPropagation();return}if(y===Ya){x.preventDefault();return}else y===zl&&(x.preventDefault(),x.currentTarget.click())}),v=ke(x=>{if(d==null||d(x),x.isDefaultPrevented())return;const y=x.key;if(m&&(y===zl||y===Ya)){x.preventDefault(),x.stopPropagation();return}y===Ya&&(x.preventDefault(),x.currentTarget.click())});if(e==="button"||e===void 0)return{...f,disabled:r&&!o,"aria-disabled":o?!0:h,onClick:o?void 0:p,onKeyUp:o?void 0:d,onKeyDown:o?void 0:c};{const x=!!f.href;let y=x?void 0:"button";!y&&m&&(y="link");const k={role:y,tabIndex:o||!x&&!r?0:void 0,...f,onClick:p,onKeyUp:v,onKeyDown:w,"aria-disabled":m};return e==="a"&&m&&(k.href=void 0),k}}const _7=xe({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in",ycbfsm:"fg4l7m0"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1);}"],t:["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}"]}),W5=(e,t)=>{const{title:r,primaryFill:o="currentColor",...i}=e,s={...i,title:void 0,fill:o},c=_7(),d=mE();return s.className=J(c.root,(t==null?void 0:t.flipInRtl)&&(d==null?void 0:d.textDirection)==="rtl"&&c.rtl,s.className),r&&(s["aria-label"]=r),!s["aria-label"]&&!s["aria-labelledby"]?s["aria-hidden"]=!0:s.role="img",s},Ne=(e,t,r,o)=>{const i=t==="1em"?"20":t,s=S.forwardRef((c,d)=>{const f={...W5(c,{flipInRtl:o==null?void 0:o.flipInRtl}),ref:d,width:t,height:t,viewBox:`0 0 ${i} ${i}`,xmlns:"http://www.w3.org/2000/svg"};return S.createElement("svg",f,...r.map(h=>S.createElement("path",{d:h,fill:f.fill})))});return s.displayName=e,s},T7=Ne("ArrowDownRegular","1em",["M16.87 10.84a.5.5 0 1 0-.74-.68l-5.63 6.17V2.5a.5.5 0 0 0-1 0v13.83l-5.63-6.17a.5.5 0 0 0-.74.68l6.31 6.91a.75.75 0 0 0 1.11 0l6.32-6.91Z"]),C7=Ne("ArrowUpRegular","1em",["M3.13 9.16a.5.5 0 1 0 .74.68L9.5 3.67V17.5a.5.5 0 1 0 1 0V3.67l5.63 6.17a.5.5 0 0 0 .74-.68l-6.32-6.92a.75.75 0 0 0-1.1 0L3.13 9.16Z"],{flipInRtl:!0}),E7=Ne("AttachRegular","1em",["m4.83 10.48 5.65-5.65a3 3 0 0 1 4.25 4.24L8 15.8a1.5 1.5 0 0 1-2.12-2.12l6-6.01a.5.5 0 1 0-.7-.71l-6 6.01a2.5 2.5 0 0 0 3.53 3.54l6.71-6.72a4 4 0 1 0-5.65-5.66L4.12 9.78a.5.5 0 0 0 .7.7Z"]),N7=Ne("CheckmarkCircleFilled","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm3.36 5.65a.5.5 0 0 0-.64-.06l-.07.06L9 11.3 7.35 9.65l-.07-.06a.5.5 0 0 0-.7.7l.07.07 2 2 .07.06c.17.11.4.11.56 0l.07-.06 4-4 .07-.08a.5.5 0 0 0-.06-.63Z"]),z7=Ne("ChevronDownRegular","1em",["M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z"]),R7=Ne("ChevronLeftFilled","1em",["M12.27 15.8a.75.75 0 0 1-1.06-.03l-5-5.25a.75.75 0 0 1 0-1.04l5-5.25a.75.75 0 1 1 1.08 1.04L7.8 10l4.5 4.73c.29.3.28.78-.02 1.06Z"]),A7=Ne("ChevronLeftRegular","1em",["M12.35 15.85a.5.5 0 0 1-.7 0L6.16 10.4a.55.55 0 0 1 0-.78l5.49-5.46a.5.5 0 1 1 .7.7L7.2 10l5.16 5.15c.2.2.2.5 0 .7Z"]),D7=Ne("ChevronRightFilled","1em",["M7.73 4.2a.75.75 0 0 1 1.06.03l5 5.25c.28.3.28.75 0 1.04l-5 5.25a.75.75 0 1 1-1.08-1.04L12.2 10l-4.5-4.73a.75.75 0 0 1 .02-1.06Z"]),j7=Ne("ChevronRightRegular","1em",["M7.65 4.15c.2-.2.5-.2.7 0l5.49 5.46c.21.22.21.57 0 .78l-5.49 5.46a.5.5 0 0 1-.7-.7L12.8 10 7.65 4.85a.5.5 0 0 1 0-.7Z"]),G5=Ne("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),O7=Ne("DismissCircleFilled","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16ZM7.8 7.11a.5.5 0 0 0-.63.06l-.06.07a.5.5 0 0 0 .06.64L9.3 10l-2.12 2.12-.06.07a.5.5 0 0 0 .06.64l.07.06c.2.13.47.11.64-.06L10 10.7l2.12 2.12.07.06c.2.13.46.11.64-.06l.06-.07a.5.5 0 0 0-.06-.64L10.7 10l2.12-2.12.06-.07a.5.5 0 0 0-.06-.64l-.07-.06a.5.5 0 0 0-.64.06L10 9.3 7.88 7.17l-.07-.06Z"]),M7=Ne("InfoFilled","1em",["M18 10a8 8 0 1 0-16 0 8 8 0 0 0 16 0ZM9.5 8.91a.5.5 0 0 1 1 0V13.6a.5.5 0 0 1-1 0V8.9Zm-.25-2.16a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0Z"]),q7=Ne("PersonRegular","1em",["M10 2a4 4 0 1 0 0 8 4 4 0 0 0 0-8ZM7 6a3 3 0 1 1 6 0 3 3 0 0 1-6 0Zm-2 5a2 2 0 0 0-2 2c0 1.7.83 2.97 2.13 3.8A9.14 9.14 0 0 0 10 18c1.85 0 3.58-.39 4.87-1.2A4.35 4.35 0 0 0 17 13a2 2 0 0 0-2-2H5Zm-1 2a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1c0 1.3-.62 2.28-1.67 2.95A8.16 8.16 0 0 1 10 17a8.16 8.16 0 0 1-4.33-1.05A3.36 3.36 0 0 1 4 13Z"]),F7=Ne("WarningFilled","1em",["M8.68 2.79a1.5 1.5 0 0 1 2.64 0l6.5 12A1.5 1.5 0 0 1 16.5 17h-13a1.5 1.5 0 0 1-1.32-2.21l6.5-12ZM10.5 7.5a.5.5 0 0 0-1 0v4a.5.5 0 0 0 1 0v-4Zm.25 6.25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Z"]),P7=Ne("Checkmark12Filled","12",["M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z"]),I7=Ne("Checkmark16Filled","16",["M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 0 1 4.9 12L2.22 9.28a.75.75 0 1 1 1.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 0 1 1.06.04Z"]),L7=Ne("Dismiss20Regular","20",["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]),H7=Ne("Info12Filled","12",["M11 6A5 5 0 1 1 1 6a5 5 0 0 1 10 0Zm-5.5.5V8a.5.5 0 0 0 1 0V6.5a.5.5 0 0 0-1 0ZM6 3.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"]),U7=Ne("Info12Regular","12",["M5.5 6.5a.5.5 0 0 1 1 0V8a.5.5 0 0 1-1 0V6.5ZM6 3.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM1 6a5 5 0 1 1 10 0A5 5 0 0 1 1 6Zm5-4a4 4 0 1 0 0 8 4 4 0 0 0 0-8Z"]),V7=Ne("Info16Filled","16",["M8 1a7 7 0 1 1 0 14A7 7 0 0 1 8 1Zm0 5.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm.5 1.25a.5.5 0 0 0-1 0v3a.5.5 0 0 0 1 0v-3Z"]),W7=Ne("Info16Regular","16",["M8.5 7.5a.5.5 0 1 0-1 0v3a.5.5 0 0 0 1 0v-3Zm.25-2a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1ZM2 8a6 6 0 1 1 12 0A6 6 0 0 1 2 8Z"]),G7=Ne("Info20Filled","20",["M18 10a8 8 0 1 0-16 0 8 8 0 0 0 16 0ZM9.5 8.91a.5.5 0 0 1 1 0V13.6a.5.5 0 0 1-1 0V8.9Zm-.25-2.16a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0Z"]),$7=Ne("Info20Regular","20",["M10.5 8.91a.5.5 0 0 0-1 .09v4.6a.5.5 0 0 0 1-.1V8.91Zm.3-2.16a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0ZM18 10a8 8 0 1 0-16 0 8 8 0 0 0 16 0ZM3 10a7 7 0 1 1 14 0 7 7 0 0 1-14 0Z"]),gx=Ne("PresenceAvailable10Filled","10",["M5 10A5 5 0 1 0 5 0a5 5 0 0 0 0 10Zm2.1-5.9L4.85 6.35a.5.5 0 0 1-.7 0l-1-1a.5.5 0 0 1 .7-.7l.65.64 1.9-1.9a.5.5 0 0 1 .7.71Z"]),px=Ne("PresenceAvailable10Regular","10",["M5 0a5 5 0 1 0 0 10A5 5 0 0 0 5 0ZM1 5a4 4 0 1 1 8 0 4 4 0 0 1-8 0Zm6.1-1.6c.2.2.2.5 0 .7L4.85 6.35a.5.5 0 0 1-.7 0l-1-1a.5.5 0 1 1 .7-.7l.65.64 1.9-1.9c.2-.19.5-.19.7 0Z"]),X7=Ne("PresenceAvailable12Filled","12",["M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12Zm2.53-6.72L5.78 8.03c-.3.3-.77.3-1.06 0l-1-1a.75.75 0 0 1 1.06-1.06l.47.47 2.22-2.22a.75.75 0 0 1 1.06 1.06Z"]),K7=Ne("PresenceAvailable12Regular","12",["M6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0ZM1.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0Zm7.03-1.78c.3.3.3.77 0 1.06L5.78 8.03c-.3.3-.77.3-1.06 0l-1-1a.75.75 0 0 1 1.06-1.06l.47.47 2.22-2.22c.3-.3.77-.3 1.06 0Z"]),Y7=Ne("PresenceAvailable16Filled","16",["M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16Zm3.7-9.3-4 4a1 1 0 0 1-1.41 0l-2-2a1 1 0 1 1 1.42-1.4L7 8.58l3.3-3.3a1 1 0 0 1 1.4 1.42Z"]),Z7=Ne("PresenceAvailable16Regular","16",["M11.7 6.7a1 1 0 0 0-1.4-1.4L7 8.58l-1.3-1.3a1 1 0 0 0-1.4 1.42l2 2a1 1 0 0 0 1.4 0l4-4ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"]),bx=Ne("PresenceAvailable20Filled","20",["M10 20a10 10 0 1 0 0-20 10 10 0 0 0 0 20Zm4.2-11.8-4.5 4.5a1 1 0 0 1-1.4 0l-2-2a1 1 0 1 1 1.4-1.4L9 10.58l3.8-3.8a1 1 0 1 1 1.4 1.42Z"]),vx=Ne("PresenceAvailable20Regular","20",["M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20ZM2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm12.2-3.2a1 1 0 0 1 0 1.4l-4.5 4.5a1 1 0 0 1-1.4 0l-2-2a1 1 0 0 1 1.4-1.4L9 10.58l3.8-3.8a1 1 0 0 1 1.4 0Z"]),yx=Ne("PresenceAway10Filled","10",["M5 10A5 5 0 1 0 5 0a5 5 0 0 0 0 10Zm0-7v1.8l1.35 1.35a.5.5 0 1 1-.7.7l-1.5-1.5A.5.5 0 0 1 4 5V3a.5.5 0 0 1 1 0Z"]),Q7=Ne("PresenceAway12Filled","12",["M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12Zm.5-8.75v2.4l1.49 1.28A.75.75 0 1 1 7 8.07l-1.75-1.5A.75.75 0 0 1 5 6V3.25a.75.75 0 0 1 1.5 0Z"]),J7=Ne("PresenceAway16Filled","16",["M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16Zm.5-11.5v3.02l2.12 1.7a1 1 0 1 1-1.24 1.56l-2.5-2A1 1 0 0 1 6.5 8V4.5a1 1 0 0 1 2 0Z"]),xx=Ne("PresenceAway20Filled","20",["M10 20a10 10 0 1 0 0-20 10 10 0 0 0 0 20Zm0-14V9.6l2.7 2.7a1 1 0 0 1-1.4 1.42l-3-3A1 1 0 0 1 8 10V6a1 1 0 1 1 2 0Z"]),wx=Ne("PresenceBlocked10Regular","10",["M10 5A5 5 0 1 0 0 5a5 5 0 0 0 10 0ZM9 5a4 4 0 0 1-6.45 3.16l5.61-5.61C8.69 3.22 9 4.08 9 5ZM7.45 1.84 1.84 7.45a4 4 0 0 1 5.61-5.61Z"]),ez=Ne("PresenceBlocked12Regular","12",["M12 6A6 6 0 1 1 0 6a6 6 0 0 1 12 0Zm-1.5 0c0-.97-.3-1.87-.83-2.6L3.39 9.66A4.5 4.5 0 0 0 10.5 6ZM8.6 2.33a4.5 4.5 0 0 0-6.28 6.28l6.29-6.28Z"]),tz=Ne("PresenceBlocked16Regular","16",["M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Zm-2 0c0-1.3-.41-2.5-1.1-3.48L4.51 12.9A6 6 0 0 0 14 8Zm-2.52-4.9a6 6 0 0 0-8.37 8.37l8.37-8.36Z"]),Sx=Ne("PresenceBlocked20Regular","20",["M20 10a10 10 0 1 0-20 0 10 10 0 0 0 20 0Zm-2 0a8 8 0 0 1-12.9 6.32L16.31 5.09A7.97 7.97 0 0 1 18 10Zm-3.1-6.32L3.69 14.91A8 8 0 0 1 14.91 3.68Z"]),kx=Ne("PresenceBusy10Filled","10",["M10 5A5 5 0 1 1 0 5a5 5 0 0 1 10 0Z"]),rz=Ne("PresenceBusy12Filled","12",["M12 6A6 6 0 1 1 0 6a6 6 0 0 1 12 0Z"]),nz=Ne("PresenceBusy16Filled","16",["M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Z"]),Bx=Ne("PresenceBusy20Filled","20",["M20 10a10 10 0 1 1-20 0 10 10 0 0 1 20 0Z"]),_x=Ne("PresenceDnd10Filled","10",["M5 10A5 5 0 1 0 5 0a5 5 0 0 0 0 10ZM3.5 4.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1 0-1Z"]),Tx=Ne("PresenceDnd10Regular","10",["M5 0a5 5 0 1 0 0 10A5 5 0 0 0 5 0ZM1 5a4 4 0 1 1 8 0 4 4 0 0 1-8 0Zm2 0c0-.28.22-.5.5-.5h3a.5.5 0 0 1 0 1h-3A.5.5 0 0 1 3 5Z"]),oz=Ne("PresenceDnd12Filled","12",["M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12ZM3.75 5.25h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5Z"]),az=Ne("PresenceDnd12Regular","12",["M6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0ZM1.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM3 6c0-.41.34-.75.75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5A.75.75 0 0 1 3 6Z"]),iz=Ne("PresenceDnd16Filled","16",["M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16ZM5.25 7h5.5a1 1 0 1 1 0 2h-5.5a1 1 0 1 1 0-2Z"]),lz=Ne("PresenceDnd16Regular","16",["M5.25 7a1 1 0 0 0 0 2h5.5a1 1 0 1 0 0-2h-5.5ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"]),Cx=Ne("PresenceDnd20Filled","20",["M10 20a10 10 0 1 0 0-20 10 10 0 0 0 0 20ZM7 9h6a1 1 0 1 1 0 2H7a1 1 0 1 1 0-2Z"]),Ex=Ne("PresenceDnd20Regular","20",["M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20ZM2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm4 0a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1Z"]),Nx=Ne("PresenceOffline10Regular","10",["M6.85 3.15c.2.2.2.5 0 .7L5.71 5l1.14 1.15a.5.5 0 1 1-.7.7L5 5.71 3.85 6.85a.5.5 0 1 1-.7-.7L4.29 5 3.15 3.85a.5.5 0 1 1 .7-.7L5 4.29l1.15-1.14c.2-.2.5-.2.7 0ZM0 5a5 5 0 1 1 10 0A5 5 0 0 1 0 5Zm5-4a4 4 0 1 0 0 8 4 4 0 0 0 0-8Z"]),sz=Ne("PresenceOffline12Regular","12",["M8.03 3.97c.3.3.3.77 0 1.06L7.06 6l.97.97a.75.75 0 0 1-1.06 1.06L6 7.06l-.97.97a.75.75 0 0 1-1.06-1.06L4.94 6l-.97-.97a.75.75 0 0 1 1.06-1.06l.97.97.97-.97c.3-.3.77-.3 1.06 0ZM0 6a6 6 0 1 1 12 0A6 6 0 0 1 0 6Zm6-4.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9Z"]),uz=Ne("PresenceOffline16Regular","16",["M10.7 5.3a1 1 0 0 1 0 1.4L9.42 8l1.3 1.3a1 1 0 0 1-1.42 1.4L8 9.42l-1.3 1.3a1 1 0 0 1-1.4-1.42L6.58 8l-1.3-1.3a1 1 0 0 1 1.42-1.4L8 6.58l1.3-1.3a1 1 0 0 1 1.4 0ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"]),zx=Ne("PresenceOffline20Regular","20",["M13.7 6.3a1 1 0 0 1 0 1.4L11.42 10l2.3 2.3a1 1 0 0 1-1.42 1.4L10 11.42l-2.3 2.3a1 1 0 0 1-1.4-1.42L8.58 10l-2.3-2.3a1 1 0 0 1 1.42-1.4L10 8.58l2.3-2.3a1 1 0 0 1 1.4 0ZM0 10a10 10 0 1 1 20 0 10 10 0 0 1-20 0Zm10-8a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),Rx=Ne("PresenceOof10Regular","10",["M5.35 3.85a.5.5 0 1 0-.7-.7l-1.5 1.5a.5.5 0 0 0 0 .7l1.5 1.5a.5.5 0 1 0 .7-.7L4.7 5.5h1.8a.5.5 0 1 0 0-1H4.7l.65-.65ZM5 0a5 5 0 1 0 0 10A5 5 0 0 0 5 0ZM1 5a4 4 0 1 1 8 0 4 4 0 0 1-8 0Z"]),cz=Ne("PresenceOof12Regular","12",["M6.28 4.53a.75.75 0 0 0-1.06-1.06l-2 2c-.3.3-.3.77 0 1.06l2 2a.75.75 0 0 0 1.06-1.06l-.72-.72h2.69a.75.75 0 1 0 0-1.5h-2.7l.73-.72ZM6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0ZM1.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0Z"]),dz=Ne("PresenceOof16Regular","16",["M8.2 6.2a1 1 0 1 0-1.4-1.4L4.3 7.3a1 1 0 0 0 0 1.4l2.5 2.5a1 1 0 0 0 1.4-1.4L7.42 9H11a1 1 0 1 0 0-2H7.41l.8-.8ZM8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0ZM2 8a6 6 0 1 1 12 0A6 6 0 0 1 2 8Z"]),Ax=Ne("PresenceOof20Regular","20",["M10.7 7.7A1 1 0 1 0 9.28 6.3l-3 3a1 1 0 0 0 0 1.41l3 3a1 1 0 1 0 1.42-1.41l-1.3-1.3H13a1 1 0 1 0 0-2H9.4l1.3-1.29ZM10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20ZM2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0Z"]),Dx=Ne("PresenceUnknown10Regular","10",["M5 1a4 4 0 1 0 0 8 4 4 0 0 0 0-8ZM0 5a5 5 0 1 1 10 0A5 5 0 0 1 0 5Z"]),fz=Ne("PresenceUnknown12Regular","12",["M6 1.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9ZM0 6a6 6 0 1 1 12 0A6 6 0 0 1 0 6Z"]),hz=Ne("PresenceUnknown16Regular","16",["M8 2a6 6 0 1 0 0 12A6 6 0 0 0 8 2ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Z"]),jx=Ne("PresenceUnknown20Regular","20",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16ZM0 10a10 10 0 1 1 20 0 10 10 0 0 1-20 0Z"]),mz=Ne("Square12Filled","12",["M2 4c0-1.1.9-2 2-2h4a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4Z"]),gz=Ne("Square16Filled","16",["M2 4.5A2.5 2.5 0 0 1 4.5 2h7A2.5 2.5 0 0 1 14 4.5v7a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 11.5v-7Z"]),pz="fui-Icon-filled",bz="fui-Icon-regular",vz="fui-Icon-font",yz=xe({root:{mc9l5x:"fjseox"},visible:{mc9l5x:"f1w7gpdv"}},{d:[".fjseox{display:none;}",".f1w7gpdv{display:inline;}"]}),Vr=(e,t)=>{const r=o=>{const{className:i,filled:s,...c}=o,d=yz();return S.createElement(S.Fragment,null,S.createElement(e,Object.assign({},c,{className:J(d.root,s&&d.visible,pz,i)})),S.createElement(t,Object.assign({},c,{className:J(d.root,!s&&d.visible,bz,i)})))};return r.displayName="CompoundIcon",r},xz={durationUltraFast:50,durationFaster:100,durationFast:150,durationNormal:200,durationGentle:250,durationSlow:300,durationSlower:400,durationUltraSlow:500},wz={curveAccelerateMax:"cubic-bezier(0.9,0.1,1,0.2)",curveAccelerateMid:"cubic-bezier(1,0,1,1)",curveAccelerateMin:"cubic-bezier(0.8,0,0.78,1)",curveDecelerateMax:"cubic-bezier(0.1,0.9,0.2,1)",curveDecelerateMid:"cubic-bezier(0,0,0,1)",curveDecelerateMin:"cubic-bezier(0.33,0,0.1,1)",curveEasyEaseMax:"cubic-bezier(0.8,0,0.2,1)",curveEasyEase:"cubic-bezier(0.33,0,0.67,1)",curveLinear:"cubic-bezier(0,0,1,1)"},kr={...xz,...wz};function Sz(e){if(e.playState==="running"){var t;if(e.overallProgress!==void 0){var r;const d=(r=e.overallProgress)!==null&&r!==void 0?r:0;return d>0&&d<1}var o;const s=Number((o=e.currentTime)!==null&&o!==void 0?o:0);var i;const c=Number((i=(t=e.effect)===null||t===void 0?void 0:t.getTiming().duration)!==null&&i!==void 0?i:0);return s>0&&s{const s=Array.isArray(o)?o:[o],{isReducedMotion:c}=i,d=s.map(f=>{const{keyframes:h,reducedMotion:m=Bz,...p}=f,{keyframes:w=h,...v}=m,x=c?w:h,y={...kz,...p,...c&&v};try{const B=r.animate(x,y);if(t)B==null||B.persist();else{const _=x[x.length-1];var k;Object.assign((k=r.style)!==null&&k!==void 0?k:{},_)}return B}catch{return null}}).filter(f=>!!f);return{set playbackRate(f){d.forEach(h=>{h.playbackRate=f})},setMotionEndCallbacks(f,h){const m=d.map(p=>new Promise((w,v)=>{p.onfinish=()=>w(),p.oncancel=()=>v()}));Promise.all(m).then(()=>{f()}).catch(()=>{h()})},isRunning(){return d.some(f=>Sz(f))},cancel:()=>{d.forEach(f=>{f.cancel()})},pause:()=>{d.forEach(f=>{f.pause()})},play:()=>{d.forEach(f=>{f.play()})},finish:()=>{d.forEach(f=>{f.finish()})},reverse:()=>{d.forEach(f=>{f.reverse()})}}},[t])}function Tz(){"use no memo";return _z()}function Cz(e){const t=S.useRef();return S.useImperativeHandle(e,()=>({setPlayState:r=>{if(r==="running"){var o;(o=t.current)===null||o===void 0||o.play()}if(r==="paused"){var i;(i=t.current)===null||i===void 0||i.pause()}},setPlaybackRate:r=>{t.current&&(t.current.playbackRate=r)}})),t}const Ez="screen and (prefers-reduced-motion: reduce)";function Nz(){const{targetDocument:e}=St();var t;const r=(t=e==null?void 0:e.defaultView)!==null&&t!==void 0?t:null,o=S.useRef(!1),i=S.useCallback(()=>o.current,[]);return jr(()=>{if(r===null||typeof r.matchMedia!="function")return;const s=r.matchMedia(Ez);s.matches&&(o.current=!0);const c=d=>{o.current=d.matches};return s.addEventListener("change",c),()=>{s.removeEventListener("change",c)}},[r]),i}const zz=S.version.startsWith("19."),Rz=["@fluentui/react-motion: Invalid child element.",` +`,"Motion factories require a single child element to be passed. ","That element element should support ref forwarding i.e. it should be either an intrinsic element (e.g. div) or a component that uses React.forwardRef()."].join("");function Az(e){return zz?e.props.ref:e.ref}function Dz(e,t=!0){const r=S.useRef(null);S.useEffect(()=>{},[t]);try{const o=S.Children.only(e);if(S.isValidElement(o))return[S.cloneElement(o,{ref:Br(r,Az(o))}),r]}catch{}throw new Error(Rz)}const $5=S.createContext(void 0);$5.Provider;const jz=()=>{var e;return(e=S.useContext($5))!==null&&e!==void 0?e:"default"},Oz=S.createContext(void 0);function Mz(e=!1,t=!1){const r=S.useRef(t?e:!0),o=ZS(),i=S.useCallback(s=>{r.current!==s&&(r.current=s,o())},[o]);return S.useEffect(()=>{e&&(r.current=e)}),[e||r.current,i]}const qz=Symbol("MOTION_DEFINITION"),Fz=Symbol.for("interruptablePresence");function ai(e){return Object.assign(t=>{"use no memo";const o={...S.useContext(Oz),...t},i=jz()==="skip",{appear:s,children:c,imperativeRef:d,onExit:f,onMotionFinish:h,onMotionStart:m,onMotionCancel:p,visible:w,unmountOnExit:v,...x}=o,y=x,[k,B]=Mz(w,v),[_,C]=Dz(c,k),N=Cz(d),R=S.useRef({appear:s,params:y,skipMotions:i}),j=Tz(),D=YS(),M=Nz(),I=ke(re=>{m==null||m(null,{direction:re})}),G=ke(re=>{h==null||h(null,{direction:re}),re==="exit"&&v&&(B(!1),f==null||f())}),X=ke(re=>{p==null||p(null,{direction:re})});return jr(()=>{R.current={appear:s,params:y,skipMotions:i}}),jr(()=>{const re=C.current;if(!re)return;let ue;function ne(){ue&&(O&&ue.isRunning()||(ue.cancel(),N.current=void 0))}const fe=typeof e=="function"?e({element:re,...R.current.params}):e,O=fe[Fz];if(O&&(ue=N.current,ue&&ue.isRunning()))return ue.reverse(),ne;const W=w?fe.enter:fe.exit,L=w?"enter":"exit",Z=!R.current.appear&&D,se=R.current.skipMotions;return Z||I(L),ue=j(re,W,{isReducedMotion:M()}),Z?(ue.finish(),ne):(N.current=ue,ue.setMotionEndCallbacks(()=>G(L),()=>X(L)),se&&ue.finish(),ne)},[j,C,N,M,G,I,X,w]),k?_:null},{[qz]:typeof e=="function"?e:()=>e})}function X5(e,t){const{as:r,children:o,...i}=e??{};if(e===null){const c=!t.defaultProps.visible&&t.defaultProps.unmountOnExit,d=(f,h)=>c?null:S.createElement(S.Fragment,null,h.children);return{[Md]:d,[Ml]:t.elementType}}const s={...t.defaultProps,...i,[Ml]:t.elementType};return typeof o=="function"&&(s[Md]=o),s}const K5=(e,t)=>{const r=e==="horizontal"?"maxWidth":"maxHeight",o=e==="horizontal"?"overflowX":"overflowY",s=`${e==="horizontal"?t.scrollWidth:t.scrollHeight}px`;return{sizeName:r,overflowName:o,toSize:s}},Pz=({orientation:e,duration:t,easing:r,element:o,fromSize:i="0"})=>{const{sizeName:s,overflowName:c,toSize:d}=K5(e,o);return{keyframes:[{[s]:i,[c]:"hidden"},{[s]:d,offset:.9999,[c]:"hidden"},{[s]:"unset",[c]:"unset"}],duration:t,easing:r}},Iz=({orientation:e,duration:t,easing:r,element:o,delay:i=0,fromSize:s="0"})=>{const{sizeName:c,overflowName:d,toSize:f}=K5(e,o);return{keyframes:[{[c]:f,[d]:"hidden"},{[c]:s,[d]:"hidden"}],duration:t,easing:r,fill:"both",delay:i}},Lz=e=>e==="horizontal"?{paddingStart:"paddingInlineStart",paddingEnd:"paddingInlineEnd",marginStart:"marginInlineStart",marginEnd:"marginInlineEnd"}:{paddingStart:"paddingBlockStart",paddingEnd:"paddingBlockEnd",marginStart:"marginBlockStart",marginEnd:"marginBlockEnd"},Ox=({direction:e,orientation:t,duration:r,easing:o,delay:i=0})=>{const{paddingStart:s,paddingEnd:c,marginStart:d,marginEnd:f}=Lz(t),h=e==="enter"?0:1,p={keyframes:[{[s]:"0",[c]:"0",[d]:"0",[f]:"0",offset:h}],duration:r,easing:o,delay:i};return e==="exit"&&(p.fill="forwards"),p},Pd=({direction:e,duration:t,easing:r=kr.curveLinear,fromValue:o=0})=>{const i=[{opacity:o},{opacity:1}];return e==="exit"&&i.reverse(),{keyframes:i,duration:t,easing:r}},Y5=({enterSizeDuration:e=kr.durationNormal,enterOpacityDuration:t=e,enterEasing:r=kr.curveEasyEaseMax,enterDelay:o=0,exitSizeDuration:i=e,exitOpacityDuration:s=t,exitEasing:c=r,exitDelay:d=0}={})=>({element:f,animateOpacity:h=!0,orientation:m="vertical"})=>{const p=[Pz({orientation:m,duration:e,easing:r,element:f}),Ox({direction:"enter",orientation:m,duration:e,easing:r})];h&&p.push({...Pd({direction:"enter",duration:t,easing:r}),delay:o,fill:"both"});const w=[];return h&&w.push(Pd({direction:"exit",duration:s,easing:c})),w.push(Iz({orientation:m,duration:i,easing:c,element:f,delay:d}),Ox({direction:"exit",orientation:m,duration:i,easing:c,delay:d})),{enter:p,exit:w}},Up=({enterDuration:e=kr.durationNormal,enterEasing:t=kr.curveEasyEaseMax,exitDuration:r=e,exitEasing:o=t}={})=>Y5({enterSizeDuration:e,enterEasing:t,exitSizeDuration:r,exitEasing:o});ai(Up());ai(Up({enterDuration:kr.durationFast}));ai(Up({enterDuration:kr.durationSlower}));const Hz=ai(Y5({enterSizeDuration:kr.durationNormal,enterOpacityDuration:kr.durationSlower,enterDelay:kr.durationNormal,exitDelay:kr.durationSlower,enterEasing:kr.curveEasyEase})),Vp=({enterDuration:e=kr.durationNormal,enterEasing:t=kr.curveEasyEase,exitDuration:r=e,exitEasing:o=t}={})=>({enter:Pd({direction:"enter",duration:e,easing:t}),exit:Pd({direction:"exit",duration:r,easing:o})});ai(Vp());ai(Vp({enterDuration:kr.durationFast}));const Uz=ai(Vp({enterDuration:kr.durationGentle})),Vz=e=>xt(e.root,{children:[e.initials&&ge(e.initials,{}),e.icon&&ge(e.icon,{}),e.image&&ge(e.image,{}),e.badge&&ge(e.badge,{}),e.activeAriaLabelElement]}),Wz=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,Gz=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,$z=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,Xz=/\s+/g,Kz=/[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uAC00-\uD7AF\uD7B0-\uD7FF\u3040-\u309F\u30A0-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF]|[\uD840-\uD869][\uDC00-\uDED6]/;function Yz(e,t,r){let o="";const i=e.split(" ");return i.length!==0&&(o+=i[0].charAt(0).toUpperCase()),r||(i.length===2?o+=i[1].charAt(0).toUpperCase():i.length===3&&(o+=i[2].charAt(0).toUpperCase())),t&&o.length>1?o.charAt(1)+o.charAt(0):o}function Zz(e){return e=e.replace(Wz,""),e=e.replace(Gz,""),e=e.replace(Xz," "),e=e.trim(),e}function Qz(e,t,r){return!e||(e=Zz(e),Kz.test(e)||!(r!=null&&r.allowPhoneInitials)&&$z.test(e))?"":Yz(e,t,r==null?void 0:r.firstInitialOnly)}const Z5=(e,t)=>{const{shape:r="circular",size:o="medium",iconPosition:i="before",appearance:s="filled",color:c="brand"}=e;return{shape:r,size:o,iconPosition:i,appearance:s,color:c,components:{root:"div",icon:"span"},root:je(ct("div",{ref:t,...e}),{elementType:"div"}),icon:gt(e.icon,{elementType:"span"})}},Mx={root:"fui-Badge",icon:"fui-Badge__icon"},Jz=We("r1iycov","r115jdol",[".r1iycov{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}",'.r1iycov::after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}',".r115jdol{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}",'.r115jdol::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}']),eR=xe({fontSmallToTiny:{Bahqtrf:"fk6fouc",Be2twd7:"f13mqy1h",Bhrd7zp:"fl43uef",Bg96gwp:"fcpl73t"},tiny:{a9b677:"f16dn6v3",Bqenvij:"f3mu39s",Be2twd7:"f130uwy9",Bg96gwp:"fod1mrr",Bf4jedk:"f18p0k4z",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f19jm9xf"},"extra-small":{a9b677:"fpd43o0",Bqenvij:"f30q22z",Be2twd7:"f1tccstq",Bg96gwp:"f1y3arg5",Bf4jedk:"f18p0k4z",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f19jm9xf"},small:{Bf4jedk:"fq2vo04",Bqenvij:"fd461yt",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fupdldz"},medium:{},large:{Bf4jedk:"f17fgpbq",Bqenvij:"frvgh55",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1996nqw"},"extra-large":{Bf4jedk:"fwbmr0d",Bqenvij:"f1d2rq10",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fty64o7"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},roundedSmallToTiny:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91"},circular:{},borderGhost:{ap17g6:"f10ludwy"},filled:{},"filled-brand":{De3pzq:"ffp7eso",sj55zd:"f1phragk"},"filled-danger":{De3pzq:"fdl5y0r",sj55zd:"f1phragk"},"filled-important":{De3pzq:"f1c73kur",sj55zd:"fr0bkrk"},"filled-informative":{De3pzq:"f3vzo32",sj55zd:"f11d4kpn"},"filled-severe":{De3pzq:"f1s438gw",sj55zd:"f1phragk"},"filled-subtle":{De3pzq:"fxugw4r",sj55zd:"f19n0e5"},"filled-success":{De3pzq:"flxk52p",sj55zd:"f1phragk"},"filled-warning":{De3pzq:"ffq97bm",sj55zd:"ff5vbop"},ghost:{},"ghost-brand":{sj55zd:"f16muhyy"},"ghost-danger":{sj55zd:"f1whyuy6"},"ghost-important":{sj55zd:"f19n0e5"},"ghost-informative":{sj55zd:"f11d4kpn"},"ghost-severe":{sj55zd:"f1l8vj45"},"ghost-subtle":{sj55zd:"fonrgv7"},"ghost-success":{sj55zd:"f1m7fhi8"},"ghost-warning":{sj55zd:"fpti2h4"},outline:{g2u3we:"f23ftbb",h3c5rm:["f1gkuv52","f1p1bl80"],B9xav0g:"fioka3i",zhjwy3:["f1p1bl80","f1gkuv52"]},"outline-brand":{sj55zd:"f16muhyy"},"outline-danger":{sj55zd:"f1whyuy6",g2u3we:"fyqpifd",h3c5rm:["f3ukxca","f1k7dugc"],B9xav0g:"f1njxb2b",zhjwy3:["f1k7dugc","f3ukxca"]},"outline-important":{sj55zd:"f11d4kpn",g2u3we:"fq0vr37",h3c5rm:["f1byw159","f11cr0be"],B9xav0g:"f1c1zstj",zhjwy3:["f11cr0be","f1byw159"]},"outline-informative":{sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"outline-severe":{sj55zd:"f1l8vj45"},"outline-subtle":{sj55zd:"fonrgv7"},"outline-success":{sj55zd:"f1m7fhi8",g2u3we:"f1mmhl11",h3c5rm:["f1tjpp2f","f1ocn5n7"],B9xav0g:"f1gjv25d",zhjwy3:["f1ocn5n7","f1tjpp2f"]},"outline-warning":{sj55zd:"fpti2h4"},tint:{},"tint-brand":{De3pzq:"f16xkysk",sj55zd:"faj9fo0",g2u3we:"f161y7kd",h3c5rm:["f1c8dzaj","f1sl6hi9"],B9xav0g:"f1619yhw",zhjwy3:["f1sl6hi9","f1c8dzaj"]},"tint-danger":{De3pzq:"ff0poqj",sj55zd:"f1hcrxcs",g2u3we:"f1oqjm8o",h3c5rm:["fkgrb8g","frb5wm0"],B9xav0g:"f1iai1ph",zhjwy3:["frb5wm0","fkgrb8g"]},"tint-important":{De3pzq:"f945g0u",sj55zd:"fr0bkrk",g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},"tint-informative":{De3pzq:"f1ctqxl6",sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"tint-severe":{De3pzq:"f1xzsg4",sj55zd:"f1k5f75o",g2u3we:"fxy9dsj",h3c5rm:["f54u6j2","fcm23ze"],B9xav0g:"f4vf0uq",zhjwy3:["fcm23ze","f54u6j2"]},"tint-subtle":{De3pzq:"fxugw4r",sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"tint-success":{De3pzq:"f2vsrz6",sj55zd:"ffmvakt",g2u3we:"fdmic9h",h3c5rm:["f196y6m","fetptd8"],B9xav0g:"f1pev5xq",zhjwy3:["fetptd8","f196y6m"]},"tint-warning":{De3pzq:"f10s6hli",sj55zd:"f42v8de",g2u3we:"fn9i3n",h3c5rm:["f1aw8cx4","f51if14"],B9xav0g:"fvq8iai",zhjwy3:["f51if14","f1aw8cx4"]}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".f16dn6v3{width:6px;}",".f3mu39s{height:6px;}",".f130uwy9{font-size:4px;}",".fod1mrr{line-height:4px;}",".f18p0k4z{min-width:unset;}",[".f19jm9xf{padding:unset;}",{p:-1}],".fpd43o0{width:10px;}",".f30q22z{height:10px;}",".f1tccstq{font-size:6px;}",".f1y3arg5{line-height:6px;}",[".f19jm9xf{padding:unset;}",{p:-1}],".fq2vo04{min-width:16px;}",".fd461yt{height:16px;}",[".fupdldz{padding:0 calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",{p:-1}],".f17fgpbq{min-width:24px;}",".frvgh55{height:24px;}",[".f1996nqw{padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",{p:-1}],".fwbmr0d{min-width:32px;}",".f1d2rq10{height:32px;}",[".fty64o7{padding:0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f10ludwy::after{display:none;}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}",".f1c73kur{background-color:var(--colorNeutralForeground1);}",".fr0bkrk{color:var(--colorNeutralBackground1);}",".f3vzo32{background-color:var(--colorNeutralBackground5);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".flxk52p{background-color:var(--colorPaletteGreenBackground3);}",".ffq97bm{background-color:var(--colorPaletteYellowBackground3);}",".ff5vbop{color:var(--colorNeutralForeground1Static);}",".f16muhyy{color:var(--colorBrandForeground1);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".f1l8vj45{color:var(--colorPaletteDarkOrangeForeground3);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1m7fhi8{color:var(--colorPaletteGreenForeground3);}",".fpti2h4{color:var(--colorPaletteYellowForeground2);}",".f23ftbb{border-top-color:currentColor;}",".f1gkuv52{border-right-color:currentColor;}",".f1p1bl80{border-left-color:currentColor;}",".fioka3i{border-bottom-color:currentColor;}",".fyqpifd{border-top-color:var(--colorPaletteRedBorder2);}",".f3ukxca{border-right-color:var(--colorPaletteRedBorder2);}",".f1k7dugc{border-left-color:var(--colorPaletteRedBorder2);}",".f1njxb2b{border-bottom-color:var(--colorPaletteRedBorder2);}",".fq0vr37{border-top-color:var(--colorNeutralStrokeAccessible);}",".f1byw159{border-right-color:var(--colorNeutralStrokeAccessible);}",".f11cr0be{border-left-color:var(--colorNeutralStrokeAccessible);}",".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f68mrw8{border-top-color:var(--colorNeutralStroke2);}",".f7pw515{border-right-color:var(--colorNeutralStroke2);}",".fw35ms5{border-left-color:var(--colorNeutralStroke2);}",".frpde29{border-bottom-color:var(--colorNeutralStroke2);}",".f1mmhl11{border-top-color:var(--colorPaletteGreenBorder2);}",".f1tjpp2f{border-right-color:var(--colorPaletteGreenBorder2);}",".f1ocn5n7{border-left-color:var(--colorPaletteGreenBorder2);}",".f1gjv25d{border-bottom-color:var(--colorPaletteGreenBorder2);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".faj9fo0{color:var(--colorBrandForeground2);}",".f161y7kd{border-top-color:var(--colorBrandStroke2);}",".f1c8dzaj{border-right-color:var(--colorBrandStroke2);}",".f1sl6hi9{border-left-color:var(--colorBrandStroke2);}",".f1619yhw{border-bottom-color:var(--colorBrandStroke2);}",".ff0poqj{background-color:var(--colorPaletteRedBackground1);}",".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1oqjm8o{border-top-color:var(--colorPaletteRedBorder1);}",".fkgrb8g{border-right-color:var(--colorPaletteRedBorder1);}",".frb5wm0{border-left-color:var(--colorPaletteRedBorder1);}",".f1iai1ph{border-bottom-color:var(--colorPaletteRedBorder1);}",".f945g0u{background-color:var(--colorNeutralForeground3);}",".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".f1ctqxl6{background-color:var(--colorNeutralBackground4);}",".f1xzsg4{background-color:var(--colorPaletteDarkOrangeBackground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".fxy9dsj{border-top-color:var(--colorPaletteDarkOrangeBorder1);}",".f54u6j2{border-right-color:var(--colorPaletteDarkOrangeBorder1);}",".fcm23ze{border-left-color:var(--colorPaletteDarkOrangeBorder1);}",".f4vf0uq{border-bottom-color:var(--colorPaletteDarkOrangeBorder1);}",".f2vsrz6{background-color:var(--colorPaletteGreenBackground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}",".fdmic9h{border-top-color:var(--colorPaletteGreenBorder1);}",".f196y6m{border-right-color:var(--colorPaletteGreenBorder1);}",".fetptd8{border-left-color:var(--colorPaletteGreenBorder1);}",".f1pev5xq{border-bottom-color:var(--colorPaletteGreenBorder1);}",".f10s6hli{background-color:var(--colorPaletteYellowBackground1);}",".f42v8de{color:var(--colorPaletteYellowForeground1);}",".fn9i3n{border-top-color:var(--colorPaletteYellowBorder1);}",".f1aw8cx4{border-right-color:var(--colorPaletteYellowBorder1);}",".f51if14{border-left-color:var(--colorPaletteYellowBorder1);}",".fvq8iai{border-bottom-color:var(--colorPaletteYellowBorder1);}"]}),tR=We("rttl5z0",null,[".rttl5z0{display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}"]),rR=xe({beforeText:{t21cq0:["f1t8l4o1","f11juvx6"]},afterText:{Frg6f3:["f11juvx6","f1t8l4o1"]},beforeTextXL:{t21cq0:["f1rs9grm","f1kwmkpi"]},afterTextXL:{Frg6f3:["f1kwmkpi","f1rs9grm"]},tiny:{Be2twd7:"f1tccstq"},"extra-small":{Be2twd7:"fnmn6fi"},small:{Be2twd7:"f1ugzwwg"},medium:{},large:{Be2twd7:"f4ybsrx"},"extra-large":{Be2twd7:"fe5j1ua"}},{d:[".f1t8l4o1{margin-right:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f11juvx6{margin-left:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f1rs9grm{margin-right:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1kwmkpi{margin-left:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1tccstq{font-size:6px;}",".fnmn6fi{font-size:10px;}",".f1ugzwwg{font-size:12px;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}"]}),nR=e=>{"use no memo";const t=Jz(),r=eR(),o=e.size==="small"||e.size==="extra-small"||e.size==="tiny";e.root.className=J(Mx.root,t,o&&r.fontSmallToTiny,r[e.size],r[e.shape],e.shape==="rounded"&&o&&r.roundedSmallToTiny,e.appearance==="ghost"&&r.borderGhost,r[e.appearance],r[`${e.appearance}-${e.color}`],e.root.className);const i=tR(),s=rR();if(e.icon){let c;e.root.children&&(e.size==="extra-large"?c=e.iconPosition==="after"?s.afterTextXL:s.beforeTextXL:c=e.iconPosition==="after"?s.afterText:s.beforeText),e.icon.className=J(Mx.icon,i,c,s[e.size],e.icon.className)}return e},Q5=e=>xt(e.root,{children:[e.iconPosition==="before"&&e.icon&&ge(e.icon,{}),e.root.children,e.iconPosition==="after"&&e.icon&&ge(e.icon,{})]}),Wp=S.forwardRef((e,t)=>{const r=Z5(e,t);return nR(r),Xe("useBadgeStyles_unstable")(r),Q5(r)});Wp.displayName="Badge";const oR={tiny:yx,"extra-small":yx,small:Q7,medium:J7,large:xx,"extra-large":xx},aR={tiny:px,"extra-small":px,small:K7,medium:Z7,large:vx,"extra-large":vx},iR={tiny:gx,"extra-small":gx,small:X7,medium:Y7,large:bx,"extra-large":bx},lR={tiny:wx,"extra-small":wx,small:ez,medium:tz,large:Sx,"extra-large":Sx},sR={tiny:kx,"extra-small":kx,small:rz,medium:nz,large:Bx,"extra-large":Bx},uR={tiny:_x,"extra-small":_x,small:oz,medium:iz,large:Cx,"extra-large":Cx},cR={tiny:Tx,"extra-small":Tx,small:az,medium:lz,large:Ex,"extra-large":Ex},pm={tiny:Rx,"extra-small":Rx,small:cz,medium:dz,large:Ax,"extra-large":Ax},dR={tiny:Nx,"extra-small":Nx,small:sz,medium:uz,large:zx,"extra-large":zx},qx={tiny:Dx,"extra-small":Dx,small:fz,medium:hz,large:jx,"extra-large":jx},fR=(e,t,r)=>{switch(e){case"available":return t?aR[r]:iR[r];case"away":return t?pm[r]:oR[r];case"blocked":return lR[r];case"busy":return t?qx[r]:sR[r];case"do-not-disturb":return t?cR[r]:uR[r];case"offline":return t?pm[r]:dR[r];case"out-of-office":return pm[r];case"unknown":return qx[r]}},Fx={busy:"busy","out-of-office":"out of office",away:"away",available:"available",offline:"offline","do-not-disturb":"do not disturb",unknown:"unknown",blocked:"blocked"},hR=(e,t)=>{const{size:r="medium",status:o="available",outOfOffice:i=!1}=e,s=Fx[o],c=e.outOfOffice&&e.status!=="out-of-office"?` ${Fx["out-of-office"]}`:"",d=fR(o,i,r);return{...Z5({"aria-label":s+c,role:"img",...e,size:r,icon:gt(e.icon,{defaultProps:{children:d?S.createElement(d,null):null},renderByDefault:!0,elementType:"span"})},t),status:o,outOfOffice:i}},Px={root:"fui-PresenceBadge",icon:"fui-PresenceBadge__icon"},mR=e=>e==="busy"||e==="do-not-disturb"||e==="blocked",gR=We("r832ydo",null,[".r832ydo{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;border-radius:var(--borderRadiusCircular);background-color:var(--colorNeutralBackground1);padding:1px;background-clip:content-box;}"]),pR=We("r11ag4qr",null,[".r11ag4qr{display:flex;margin:-1px;}"]),bR=xe({statusBusy:{sj55zd:"fvi85wt"},statusAway:{sj55zd:"f14k8a89"},statusAvailable:{sj55zd:"fqa5hgp"},statusOffline:{sj55zd:"f11d4kpn"},statusOutOfOffice:{sj55zd:"fdce8r3"},statusUnknown:{sj55zd:"f11d4kpn"},outOfOffice:{sj55zd:"fr0bkrk"},outOfOfficeAvailable:{sj55zd:"fqa5hgp"},outOfOfficeBusy:{sj55zd:"fvi85wt"},outOfOfficeUnknown:{sj55zd:"f11d4kpn"},tiny:{Bubjx69:"f9ikmtg",a9b677:"f16dn6v3",B2eet1l:"f1w2irj7",B5pe6w7:"fab5kbq",p4uzdd:"f1ms1d91"},large:{Bubjx69:"f9ikmtg",a9b677:"f64fuq3",B5pe6w7:"f1vfi1yj",p4uzdd:"f15s34gz"},extraLarge:{Bubjx69:"f9ikmtg",a9b677:"f1w9dchk",B5pe6w7:"f14efy9b",p4uzdd:"fhipgdu"}},{d:[".fvi85wt{color:var(--colorPaletteRedBackground3);}",".f14k8a89{color:var(--colorPaletteMarigoldBackground3);}",".fqa5hgp{color:var(--colorPaletteLightGreenForeground3);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".fdce8r3{color:var(--colorPaletteBerryForeground3);}",".fr0bkrk{color:var(--colorNeutralBackground1);}",".f9ikmtg{aspect-ratio:1;}",".f16dn6v3{width:6px;}",".f1w2irj7{background-clip:unset;}",".fab5kbq svg{width:6px!important;}",".f1ms1d91 svg{height:6px!important;}",".f64fuq3{width:20px;}",".f1vfi1yj svg{width:20px!important;}",".f15s34gz svg{height:20px!important;}",".f1w9dchk{width:28px;}",".f14efy9b svg{width:28px!important;}",".fhipgdu svg{height:28px!important;}"]}),vR=e=>{"use no memo";const t=gR(),r=pR(),o=bR(),i=mR(e.status);return e.root.className=J(Px.root,t,i&&o.statusBusy,e.status==="away"&&o.statusAway,e.status==="available"&&o.statusAvailable,e.status==="offline"&&o.statusOffline,e.status==="out-of-office"&&o.statusOutOfOffice,e.status==="unknown"&&o.statusUnknown,e.outOfOffice&&o.outOfOffice,e.outOfOffice&&e.status==="available"&&o.outOfOfficeAvailable,e.outOfOffice&&i&&o.outOfOfficeBusy,e.outOfOffice&&(e.status==="out-of-office"||e.status==="away"||e.status==="offline")&&o.statusOutOfOffice,e.outOfOffice&&e.status==="unknown"&&o.outOfOfficeUnknown,e.size==="tiny"&&o.tiny,e.size==="large"&&o.large,e.size==="extra-large"&&o.extraLarge,e.root.className),e.icon&&(e.icon.className=J(Px.icon,r,e.icon.className)),e},Zg=S.forwardRef((e,t)=>{const r=hR(e,t);return vR(r),Xe("usePresenceBadgeStyles_unstable")(r),Q5(r)});Zg.displayName="PresenceBadge";const J5=S.createContext(void 0),yR={};J5.Provider;const xR=()=>{var e;return(e=S.useContext(J5))!==null&&e!==void 0?e:yR},wR={active:"active",inactive:"inactive"},SR=(e,t)=>{const{dir:r}=St(),{shape:o,size:i}=xR(),{name:s,size:c=i??32,shape:d=o??"circular",active:f="unset",activeAppearance:h="ring",idForColor:m}=e;let{color:p="neutral"}=e;if(p==="colorful"){var w;p=Ix[BR((w=m??s)!==null&&w!==void 0?w:"")%Ix.length]}const v=hn("avatar-"),x=je(ct("span",{role:"img",id:v,...e,ref:t},["name"]),{elementType:"span"}),[y,k]=S.useState(void 0);let B=gt(e.image,{defaultProps:{alt:"",role:"presentation","aria-hidden":!0,hidden:y},elementType:"img"});B!=null&&B.src||(B=void 0),B&&(B.onError=Mt(B.onError,()=>k(!0)),B.onLoad=Mt(B.onLoad,()=>k(void 0)));let _=gt(e.initials,{renderByDefault:!0,defaultProps:{children:Qz(s,r==="rtl",{firstInitialOnly:c<=16}),id:v+"__initials"},elementType:"span"});_!=null&&_.children||(_=void 0);let C;!_&&(!B||y)&&(C=gt(e.icon,{renderByDefault:!0,defaultProps:{children:S.createElement(q7,null),"aria-hidden":!0},elementType:"span"}));const N=gt(e.badge,{defaultProps:{size:kR(c),id:v+"__badge"},elementType:Zg});let R;if(!x["aria-label"]&&!x["aria-labelledby"]&&(s?(x["aria-label"]=s,N&&(x["aria-labelledby"]=x.id+" "+N.id)):_&&(x["aria-labelledby"]=_.id+(N?" "+N.id:"")),f==="active"||f==="inactive")){const j=wR[f];if(x["aria-labelledby"]){const D=v+"__active";x["aria-labelledby"]+=" "+D,R=S.createElement("span",{hidden:!0,id:D},j)}else x["aria-label"]&&(x["aria-label"]+=" "+j)}return{size:c,shape:d,active:f,activeAppearance:h,activeAriaLabelElement:R,color:p,components:{root:"span",initials:"span",icon:"span",image:"img",badge:Zg},root:x,initials:_,icon:C,image:B,badge:N}},kR=e=>e>=96?"extra-large":e>=64?"large":e>=56?"medium":e>=40?"small":e>=28?"extra-small":"tiny",Ix=["dark-red","cranberry","red","pumpkin","peach","marigold","gold","brass","brown","forest","seafoam","dark-green","light-teal","teal","steel","blue","royal-blue","cornflower","navy","lavender","purple","grape","lilac","pink","magenta","plum","beige","mink","platinum","anchor"],BR=e=>{let t=0;for(let r=e.length-1;r>=0;r--){const o=e.charCodeAt(r),i=r%8;t^=(o<>8-i)}return t},nu={root:"fui-Avatar",image:"fui-Avatar__image",initials:"fui-Avatar__initials",icon:"fui-Avatar__icon",badge:"fui-Avatar__badge"},_R=We("r81b29z","r1aatmv",{r:[".r81b29z{display:inline-block;flex-shrink:0;position:relative;vertical-align:middle;border-radius:var(--borderRadiusCircular);font-family:var(--fontFamilyBase);font-weight:var(--fontWeightSemibold);font-size:var(--fontSizeBase300);width:32px;height:32px;}",".r81b29z::before,.r81b29z::after{position:absolute;top:0;left:0;bottom:0;right:0;z-index:-1;margin:calc(-2 * var(--fui-Avatar-ringWidth, 0px));border-radius:inherit;transition-property:margin,opacity;transition-timing-function:var(--curveEasyEaseMax),var(--curveLinear);transition-duration:var(--durationUltraSlow),var(--durationSlower);}",".r81b29z::before{border-style:solid;border-width:var(--fui-Avatar-ringWidth);}",".r1aatmv{display:inline-block;flex-shrink:0;position:relative;vertical-align:middle;border-radius:var(--borderRadiusCircular);font-family:var(--fontFamilyBase);font-weight:var(--fontWeightSemibold);font-size:var(--fontSizeBase300);width:32px;height:32px;}",".r1aatmv::before,.r1aatmv::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;margin:calc(-2 * var(--fui-Avatar-ringWidth, 0px));border-radius:inherit;transition-property:margin,opacity;transition-timing-function:var(--curveEasyEaseMax),var(--curveLinear);transition-duration:var(--durationUltraSlow),var(--durationSlower);}",".r1aatmv::before{border-style:solid;border-width:var(--fui-Avatar-ringWidth);}"],s:["@media screen and (prefers-reduced-motion: reduce){.r81b29z::before,.r81b29z::after{transition-duration:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1aatmv::before,.r1aatmv::after{transition-duration:0.01ms;}}"]}),TR=We("r136dc0n","rjly0nl",[".r136dc0n{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:inherit;object-fit:cover;vertical-align:top;}",".rjly0nl{position:absolute;top:0;right:0;width:100%;height:100%;border-radius:inherit;object-fit:cover;vertical-align:top;}"]),CR=We("rip04v","r31uzil",[".rip04v{position:absolute;box-sizing:border-box;top:0;left:0;width:100%;height:100%;line-height:1;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);display:flex;align-items:center;justify-content:center;vertical-align:center;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:inherit;}",".r31uzil{position:absolute;box-sizing:border-box;top:0;right:0;width:100%;height:100%;line-height:1;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);display:flex;align-items:center;justify-content:center;vertical-align:center;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:inherit;}"]),ER=xe({textCaption2Strong:{Be2twd7:"f13mqy1h"},textCaption1Strong:{Be2twd7:"fy9rknc"},textSubtitle2:{Be2twd7:"fod5ikn"},textSubtitle1:{Be2twd7:"f1pp30po"},textTitle3:{Be2twd7:"f1x0m3f5"},squareSmall:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91"},squareMedium:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},squareLarge:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1o0qvyv"},squareXLarge:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1kijzfu"},activeOrInactive:{Bz10aip:"ftfx35i",Bmy1vo4:"fv0atk9",B3o57yi:"f1iry5bo",Bkqvd7p:"f15n41j8",Hwfdqs:"f1onx1g3"},ring:{Ftih45:"f1wl9k8s"},ringBadgeCutout:{f4a502:"fp2gujx"},ringThick:{of393c:"fq1w1vq"},ringThicker:{of393c:"fzg6ace"},ringThickest:{of393c:"f1nu8p71"},shadow:{Bsft5z2:"f13zj6fq"},shadow4:{Be6vj1x:"fcjn15l"},shadow8:{Be6vj1x:"f1tm8t9f"},shadow16:{Be6vj1x:"f1a1aohj"},shadow28:{Be6vj1x:"fond6v5"},inactive:{abs64n:"fp25eh",Bz10aip:"f1clczzi",Bkqvd7p:"f1l3s34x",Bfgortx:0,Bnvr3x9:0,b2tv09:0,Bucmhp4:0,iayac2:"flkahu5",b6ubon:"fw457kn",Bqinb2h:"f1wmllxl"},badge:{qhf8xq:"f1euv43f",B5kzvoi:"f1yab3r1",j35jbq:["f1e31b4d","f1vgc2s3"]},badgeCutout:{btxmck:"f1eugkqs"},badgeAlign:{Dnlfbu:["f1tlnv9o","f1y9kyih"]},tiny:{Bdjeniz:"f1uwoubl",niu6jh:"fid048z"},"extra-small":{Bdjeniz:"f13ar0e0",niu6jh:"fid048z"},small:{Bdjeniz:"fwwuruf",niu6jh:"fid048z"},medium:{Bdjeniz:"f1af27q5",niu6jh:"fid048z"},large:{Bdjeniz:"f18yy57a",niu6jh:"f924bxt"},"extra-large":{Bdjeniz:"f2jg042",niu6jh:"f924bxt"},icon12:{Be2twd7:"f1ugzwwg"},icon16:{Be2twd7:"f4ybsrx"},icon20:{Be2twd7:"fe5j1ua"},icon24:{Be2twd7:"f1rt2boy"},icon28:{Be2twd7:"f24l1pt"},icon32:{Be2twd7:"ffl51b"},icon48:{Be2twd7:"f18m8u13"}},{d:[".f13mqy1h{font-size:var(--fontSizeBase100);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1o0qvyv{border-radius:var(--borderRadiusLarge);}",{p:-1}],[".f1kijzfu{border-radius:var(--borderRadiusXLarge);}",{p:-1}],".ftfx35i{transform:perspective(1px);}",".fv0atk9{transition-property:transform,opacity;}",".f1iry5bo{transition-duration:var(--durationUltraSlow),var(--durationFaster);}",".f15n41j8{transition-timing-function:var(--curveEasyEaseMax),var(--curveLinear);}",'.f1wl9k8s::before{content:"";}',".fp2gujx::before{-webkit-mask-image:radial-gradient(circle at bottom calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)) var(--fui-Avatar-badgeAlign) calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));mask-image:radial-gradient(circle at bottom calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)) var(--fui-Avatar-badgeAlign) calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));}",".fq1w1vq{--fui-Avatar-ringWidth:var(--strokeWidthThick);}",".fzg6ace{--fui-Avatar-ringWidth:var(--strokeWidthThicker);}",".f1nu8p71{--fui-Avatar-ringWidth:var(--strokeWidthThickest);}",'.f13zj6fq::after{content:"";}',".fcjn15l::after{box-shadow:var(--shadow4);}",".f1tm8t9f::after{box-shadow:var(--shadow8);}",".f1a1aohj::after{box-shadow:var(--shadow16);}",".fond6v5::after{box-shadow:var(--shadow28);}",".fp25eh{opacity:0.8;}",".f1clczzi{transform:scale(0.875);}",".f1l3s34x{transition-timing-function:var(--curveDecelerateMin),var(--curveLinear);}",[".flkahu5::before,.flkahu5::after{margin:0;}",{p:-1}],".fw457kn::before,.fw457kn::after{opacity:0;}",".f1wmllxl::before,.f1wmllxl::after{transition-timing-function:var(--curveDecelerateMin),var(--curveLinear);}",".f1euv43f{position:absolute;}",".f1yab3r1{bottom:0;}",".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f1eugkqs{-webkit-mask-image:radial-gradient(circle at bottom var(--fui-Avatar-badgeRadius) var(--fui-Avatar-badgeAlign) var(--fui-Avatar-badgeRadius), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));mask-image:radial-gradient(circle at bottom var(--fui-Avatar-badgeRadius) var(--fui-Avatar-badgeAlign) var(--fui-Avatar-badgeRadius), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));}",".f1tlnv9o{--fui-Avatar-badgeAlign:right;}",".f1y9kyih{--fui-Avatar-badgeAlign:left;}",".f1uwoubl{--fui-Avatar-badgeRadius:3px;}",".fid048z{--fui-Avatar-badgeGap:var(--strokeWidthThin);}",".f13ar0e0{--fui-Avatar-badgeRadius:5px;}",".fwwuruf{--fui-Avatar-badgeRadius:6px;}",".f1af27q5{--fui-Avatar-badgeRadius:8px;}",".f18yy57a{--fui-Avatar-badgeRadius:10px;}",".f924bxt{--fui-Avatar-badgeGap:var(--strokeWidthThick);}",".f2jg042{--fui-Avatar-badgeRadius:14px;}",".f1ugzwwg{font-size:12px;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}",".f24l1pt{font-size:28px;}",".ffl51b{font-size:32px;}",".f18m8u13{font-size:48px;}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1onx1g3{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),NR=xe({16:{a9b677:"fjw5fx7",Bqenvij:"fd461yt"},20:{a9b677:"f64fuq3",Bqenvij:"fjamq6b"},24:{a9b677:"fq4mcun",Bqenvij:"frvgh55"},28:{a9b677:"f1w9dchk",Bqenvij:"fxldao9"},32:{a9b677:"f1szoe96",Bqenvij:"f1d2rq10"},36:{a9b677:"fpdz1er",Bqenvij:"f8ljn23"},40:{a9b677:"feqmc2u",Bqenvij:"fbhnoac"},48:{a9b677:"f124akge",Bqenvij:"ff2sm71"},56:{a9b677:"f1u66zr1",Bqenvij:"fzki0ko"},64:{a9b677:"fa9ln6p",Bqenvij:"f16k9i2m"},72:{a9b677:"fhcae8x",Bqenvij:"f1shusfg"},96:{a9b677:"f1kyr2gn",Bqenvij:"fypu0ge"},120:{a9b677:"fwfqyga",Bqenvij:"fjr5b71"},128:{a9b677:"f1iksgmy",Bqenvij:"fele2au"}},{d:[".fjw5fx7{width:16px;}",".fd461yt{height:16px;}",".f64fuq3{width:20px;}",".fjamq6b{height:20px;}",".fq4mcun{width:24px;}",".frvgh55{height:24px;}",".f1w9dchk{width:28px;}",".fxldao9{height:28px;}",".f1szoe96{width:32px;}",".f1d2rq10{height:32px;}",".fpdz1er{width:36px;}",".f8ljn23{height:36px;}",".feqmc2u{width:40px;}",".fbhnoac{height:40px;}",".f124akge{width:48px;}",".ff2sm71{height:48px;}",".f1u66zr1{width:56px;}",".fzki0ko{height:56px;}",".fa9ln6p{width:64px;}",".f16k9i2m{height:64px;}",".fhcae8x{width:72px;}",".f1shusfg{height:72px;}",".f1kyr2gn{width:96px;}",".fypu0ge{height:96px;}",".fwfqyga{width:120px;}",".fjr5b71{height:120px;}",".f1iksgmy{width:128px;}",".fele2au{height:128px;}"]}),zR=xe({neutral:{sj55zd:"f11d4kpn",De3pzq:"f18f03hv"},brand:{sj55zd:"fonrgv7",De3pzq:"f1blnnmj"},"dark-red":{sj55zd:"fqjd1y1",De3pzq:"f1vq2oo4"},cranberry:{sj55zd:"fg9gses",De3pzq:"f1lwxszt"},red:{sj55zd:"f23f7i0",De3pzq:"f1q9qhfq"},pumpkin:{sj55zd:"fjnan08",De3pzq:"fz91bi3"},peach:{sj55zd:"fknu15p",De3pzq:"f1b9nr51"},marigold:{sj55zd:"f9603vw",De3pzq:"f3z4w6d"},gold:{sj55zd:"fmq0uwp",De3pzq:"fg50kya"},brass:{sj55zd:"f28g5vo",De3pzq:"f4w2gd0"},brown:{sj55zd:"ftl572b",De3pzq:"f14wu1f4"},forest:{sj55zd:"f1gymlvd",De3pzq:"f19ut4y6"},seafoam:{sj55zd:"fnnb6wn",De3pzq:"f1n057jc"},"dark-green":{sj55zd:"ff58qw8",De3pzq:"f11t05wk"},"light-teal":{sj55zd:"f1up9qbj",De3pzq:"f42feg1"},teal:{sj55zd:"f135dsb4",De3pzq:"f6hvv1p"},steel:{sj55zd:"f151dlcp",De3pzq:"f1lnp8zf"},blue:{sj55zd:"f1rjv50u",De3pzq:"f1ggcpy6"},"royal-blue":{sj55zd:"f1emykk5",De3pzq:"f12rj61f"},cornflower:{sj55zd:"fqsigj7",De3pzq:"f8k7hur"},navy:{sj55zd:"f1nj97xi",De3pzq:"f19gw0ux"},lavender:{sj55zd:"fwctg0i",De3pzq:"ff379vm"},purple:{sj55zd:"fjrsgpu",De3pzq:"f1mzf1e1"},grape:{sj55zd:"f1fiiydq",De3pzq:"f1o4k8oy"},lilac:{sj55zd:"f1res9jt",De3pzq:"f1x6mz1o"},pink:{sj55zd:"fv3fbbi",De3pzq:"fydlv6t"},magenta:{sj55zd:"f1f1fwnz",De3pzq:"f4xb6j5"},plum:{sj55zd:"f8ptl6j",De3pzq:"fqo8e26"},beige:{sj55zd:"f1ntv3ld",De3pzq:"f101elhj"},mink:{sj55zd:"f1fscmp",De3pzq:"f13g8o5c"},platinum:{sj55zd:"f1dr00v2",De3pzq:"fkh7blw"},anchor:{sj55zd:"f1f3ti53",De3pzq:"fu4yj0j"}},{d:[".f11d4kpn{color:var(--colorNeutralForeground3);}",".f18f03hv{background-color:var(--colorNeutralBackground6);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1blnnmj{background-color:var(--colorBrandBackgroundStatic);}",".fqjd1y1{color:var(--colorPaletteDarkRedForeground2);}",".f1vq2oo4{background-color:var(--colorPaletteDarkRedBackground2);}",".fg9gses{color:var(--colorPaletteCranberryForeground2);}",".f1lwxszt{background-color:var(--colorPaletteCranberryBackground2);}",".f23f7i0{color:var(--colorPaletteRedForeground2);}",".f1q9qhfq{background-color:var(--colorPaletteRedBackground2);}",".fjnan08{color:var(--colorPalettePumpkinForeground2);}",".fz91bi3{background-color:var(--colorPalettePumpkinBackground2);}",".fknu15p{color:var(--colorPalettePeachForeground2);}",".f1b9nr51{background-color:var(--colorPalettePeachBackground2);}",".f9603vw{color:var(--colorPaletteMarigoldForeground2);}",".f3z4w6d{background-color:var(--colorPaletteMarigoldBackground2);}",".fmq0uwp{color:var(--colorPaletteGoldForeground2);}",".fg50kya{background-color:var(--colorPaletteGoldBackground2);}",".f28g5vo{color:var(--colorPaletteBrassForeground2);}",".f4w2gd0{background-color:var(--colorPaletteBrassBackground2);}",".ftl572b{color:var(--colorPaletteBrownForeground2);}",".f14wu1f4{background-color:var(--colorPaletteBrownBackground2);}",".f1gymlvd{color:var(--colorPaletteForestForeground2);}",".f19ut4y6{background-color:var(--colorPaletteForestBackground2);}",".fnnb6wn{color:var(--colorPaletteSeafoamForeground2);}",".f1n057jc{background-color:var(--colorPaletteSeafoamBackground2);}",".ff58qw8{color:var(--colorPaletteDarkGreenForeground2);}",".f11t05wk{background-color:var(--colorPaletteDarkGreenBackground2);}",".f1up9qbj{color:var(--colorPaletteLightTealForeground2);}",".f42feg1{background-color:var(--colorPaletteLightTealBackground2);}",".f135dsb4{color:var(--colorPaletteTealForeground2);}",".f6hvv1p{background-color:var(--colorPaletteTealBackground2);}",".f151dlcp{color:var(--colorPaletteSteelForeground2);}",".f1lnp8zf{background-color:var(--colorPaletteSteelBackground2);}",".f1rjv50u{color:var(--colorPaletteBlueForeground2);}",".f1ggcpy6{background-color:var(--colorPaletteBlueBackground2);}",".f1emykk5{color:var(--colorPaletteRoyalBlueForeground2);}",".f12rj61f{background-color:var(--colorPaletteRoyalBlueBackground2);}",".fqsigj7{color:var(--colorPaletteCornflowerForeground2);}",".f8k7hur{background-color:var(--colorPaletteCornflowerBackground2);}",".f1nj97xi{color:var(--colorPaletteNavyForeground2);}",".f19gw0ux{background-color:var(--colorPaletteNavyBackground2);}",".fwctg0i{color:var(--colorPaletteLavenderForeground2);}",".ff379vm{background-color:var(--colorPaletteLavenderBackground2);}",".fjrsgpu{color:var(--colorPalettePurpleForeground2);}",".f1mzf1e1{background-color:var(--colorPalettePurpleBackground2);}",".f1fiiydq{color:var(--colorPaletteGrapeForeground2);}",".f1o4k8oy{background-color:var(--colorPaletteGrapeBackground2);}",".f1res9jt{color:var(--colorPaletteLilacForeground2);}",".f1x6mz1o{background-color:var(--colorPaletteLilacBackground2);}",".fv3fbbi{color:var(--colorPalettePinkForeground2);}",".fydlv6t{background-color:var(--colorPalettePinkBackground2);}",".f1f1fwnz{color:var(--colorPaletteMagentaForeground2);}",".f4xb6j5{background-color:var(--colorPaletteMagentaBackground2);}",".f8ptl6j{color:var(--colorPalettePlumForeground2);}",".fqo8e26{background-color:var(--colorPalettePlumBackground2);}",".f1ntv3ld{color:var(--colorPaletteBeigeForeground2);}",".f101elhj{background-color:var(--colorPaletteBeigeBackground2);}",".f1fscmp{color:var(--colorPaletteMinkForeground2);}",".f13g8o5c{background-color:var(--colorPaletteMinkBackground2);}",".f1dr00v2{color:var(--colorPalettePlatinumForeground2);}",".fkh7blw{background-color:var(--colorPalettePlatinumBackground2);}",".f1f3ti53{color:var(--colorPaletteAnchorForeground2);}",".fu4yj0j{background-color:var(--colorPaletteAnchorBackground2);}"]}),RR=xe({neutral:{Bic5iru:"f1uuiafn"},brand:{Bic5iru:"f1uuiafn"},"dark-red":{Bic5iru:"f1t2x9on"},cranberry:{Bic5iru:"f1pvshc9"},red:{Bic5iru:"f1ectbk9"},pumpkin:{Bic5iru:"fvzpl0b"},peach:{Bic5iru:"fwj2kd7"},marigold:{Bic5iru:"fr120vy"},gold:{Bic5iru:"f8xmmar"},brass:{Bic5iru:"f1hbety2"},brown:{Bic5iru:"f1vg3s4g"},forest:{Bic5iru:"f1m3olm5"},seafoam:{Bic5iru:"f17xiqtr"},"dark-green":{Bic5iru:"fx32vyh"},"light-teal":{Bic5iru:"f1mkihwv"},teal:{Bic5iru:"fecnooh"},steel:{Bic5iru:"f15hfgzm"},blue:{Bic5iru:"fqproka"},"royal-blue":{Bic5iru:"f17v2w59"},cornflower:{Bic5iru:"fp0q1mo"},navy:{Bic5iru:"f1nlym55"},lavender:{Bic5iru:"f62vk8h"},purple:{Bic5iru:"f15zl69q"},grape:{Bic5iru:"f53w4j7"},lilac:{Bic5iru:"fu2771t"},pink:{Bic5iru:"fzflscs"},magenta:{Bic5iru:"fb6rmqc"},plum:{Bic5iru:"f1a4gm5b"},beige:{Bic5iru:"f1qpf9z1"},mink:{Bic5iru:"f1l7or83"},platinum:{Bic5iru:"fzrj0iu"},anchor:{Bic5iru:"f8oz6wf"}},{d:[".f1uuiafn::before{color:var(--colorBrandStroke1);}",".f1t2x9on::before{color:var(--colorPaletteDarkRedBorderActive);}",".f1pvshc9::before{color:var(--colorPaletteCranberryBorderActive);}",".f1ectbk9::before{color:var(--colorPaletteRedBorderActive);}",".fvzpl0b::before{color:var(--colorPalettePumpkinBorderActive);}",".fwj2kd7::before{color:var(--colorPalettePeachBorderActive);}",".fr120vy::before{color:var(--colorPaletteMarigoldBorderActive);}",".f8xmmar::before{color:var(--colorPaletteGoldBorderActive);}",".f1hbety2::before{color:var(--colorPaletteBrassBorderActive);}",".f1vg3s4g::before{color:var(--colorPaletteBrownBorderActive);}",".f1m3olm5::before{color:var(--colorPaletteForestBorderActive);}",".f17xiqtr::before{color:var(--colorPaletteSeafoamBorderActive);}",".fx32vyh::before{color:var(--colorPaletteDarkGreenBorderActive);}",".f1mkihwv::before{color:var(--colorPaletteLightTealBorderActive);}",".fecnooh::before{color:var(--colorPaletteTealBorderActive);}",".f15hfgzm::before{color:var(--colorPaletteSteelBorderActive);}",".fqproka::before{color:var(--colorPaletteBlueBorderActive);}",".f17v2w59::before{color:var(--colorPaletteRoyalBlueBorderActive);}",".fp0q1mo::before{color:var(--colorPaletteCornflowerBorderActive);}",".f1nlym55::before{color:var(--colorPaletteNavyBorderActive);}",".f62vk8h::before{color:var(--colorPaletteLavenderBorderActive);}",".f15zl69q::before{color:var(--colorPalettePurpleBorderActive);}",".f53w4j7::before{color:var(--colorPaletteGrapeBorderActive);}",".fu2771t::before{color:var(--colorPaletteLilacBorderActive);}",".fzflscs::before{color:var(--colorPalettePinkBorderActive);}",".fb6rmqc::before{color:var(--colorPaletteMagentaBorderActive);}",".f1a4gm5b::before{color:var(--colorPalettePlumBorderActive);}",".f1qpf9z1::before{color:var(--colorPaletteBeigeBorderActive);}",".f1l7or83::before{color:var(--colorPaletteMinkBorderActive);}",".fzrj0iu::before{color:var(--colorPalettePlatinumBorderActive);}",".f8oz6wf::before{color:var(--colorPaletteAnchorBorderActive);}"]}),AR=e=>{"use no memo";const{size:t,shape:r,active:o,activeAppearance:i,color:s}=e,c=_R(),d=TR(),f=CR(),h=ER(),m=NR(),p=zR(),w=RR(),v=[c,t!==32&&m[t]];if(e.badge&&v.push(h.badgeAlign,h[e.badge.size||"medium"]),t<=24?v.push(h.textCaption2Strong):t<=28?v.push(h.textCaption1Strong):t<=40||(t<=56?v.push(h.textSubtitle2):t<=96?v.push(h.textSubtitle1):v.push(h.textTitle3)),r==="square"&&(t<=24?v.push(h.squareSmall):t<=48?v.push(h.squareMedium):t<=72?v.push(h.squareLarge):v.push(h.squareXLarge)),(o==="active"||o==="inactive")&&(v.push(h.activeOrInactive),(i==="ring"||i==="ring-shadow")&&(v.push(h.ring,w[s]),e.badge&&v.push(h.ringBadgeCutout),t<=48?v.push(h.ringThick):t<=64?v.push(h.ringThicker):v.push(h.ringThickest)),(i==="shadow"||i==="ring-shadow")&&(v.push(h.shadow),t<=28?v.push(h.shadow4):t<=48?v.push(h.shadow8):t<=64?v.push(h.shadow16):v.push(h.shadow28)),o==="inactive"&&v.push(h.inactive)),e.root.className=J(nu.root,...v,e.root.className),e.badge&&(e.badge.className=J(nu.badge,h.badge,e.badge.className)),e.image&&(e.image.className=J(nu.image,d,p[s],e.badge&&h.badgeCutout,e.image.className)),e.initials&&(e.initials.className=J(nu.initials,f,p[s],e.badge&&h.badgeCutout,e.initials.className)),e.icon){let x;t<=16?x=h.icon12:t<=24?x=h.icon16:t<=40?x=h.icon20:t<=48?x=h.icon24:t<=56?x=h.icon28:t<=72?x=h.icon32:x=h.icon48,e.icon.className=J(nu.icon,f,x,p[s],e.badge&&h.badgeCutout,e.icon.className)}return e},e6=S.forwardRef((e,t)=>{const r=SR(e,t);return AR(r),Xe("useAvatarStyles_unstable")(r),Vz(r)});e6.displayName="Avatar";function DR(e){const t=e.clientX,r=e.clientY,o=t+1,i=r+1;function s(){return{left:t,top:r,right:o,bottom:i,x:t,y:r,height:1,width:1}}return{getBoundingClientRect:s}}const Lx="data-popper-is-intersecting",Hx="data-popper-escaped",Ux="data-popper-reference-hidden",jR="data-popper-placement",Qg="fui-positioningend",OR=["top","right","bottom","left"],ji=Math.min,Wn=Math.max,Id=Math.round,zo=e=>({x:e,y:e}),MR={left:"right",right:"left",bottom:"top",top:"bottom"},qR={start:"end",end:"start"};function Jg(e,t,r){return Wn(e,ji(t,r))}function ua(e,t){return typeof e=="function"?e(t):e}function ca(e){return e.split("-")[0]}function Jl(e){return e.split("-")[1]}function Gp(e){return e==="x"?"y":"x"}function $p(e){return e==="y"?"height":"width"}const FR=new Set(["top","bottom"]);function No(e){return FR.has(ca(e))?"y":"x"}function Xp(e){return Gp(No(e))}function PR(e,t,r){r===void 0&&(r=!1);const o=Jl(e),i=Xp(e),s=$p(i);let c=i==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(c=Ld(c)),[c,Ld(c)]}function IR(e){const t=Ld(e);return[ep(e),t,ep(t)]}function ep(e){return e.replace(/start|end/g,t=>qR[t])}const Vx=["left","right"],Wx=["right","left"],LR=["top","bottom"],HR=["bottom","top"];function UR(e,t,r){switch(e){case"top":case"bottom":return r?t?Wx:Vx:t?Vx:Wx;case"left":case"right":return t?LR:HR;default:return[]}}function VR(e,t,r,o){const i=Jl(e);let s=UR(ca(e),r==="start",o);return i&&(s=s.map(c=>c+"-"+i),t&&(s=s.concat(s.map(ep)))),s}function Ld(e){return e.replace(/left|right|bottom|top/g,t=>MR[t])}function WR(e){return{top:0,right:0,bottom:0,left:0,...e}}function t6(e){return typeof e!="number"?WR(e):{top:e,right:e,bottom:e,left:e}}function Hd(e){const{x:t,y:r,width:o,height:i}=e;return{width:o,height:i,top:r,left:t,right:t+o,bottom:r+i,x:t,y:r}}function Gx(e,t,r){let{reference:o,floating:i}=e;const s=No(t),c=Xp(t),d=$p(c),f=ca(t),h=s==="y",m=o.x+o.width/2-i.width/2,p=o.y+o.height/2-i.height/2,w=o[d]/2-i[d]/2;let v;switch(f){case"top":v={x:m,y:o.y-i.height};break;case"bottom":v={x:m,y:o.y+o.height};break;case"right":v={x:o.x+o.width,y:p};break;case"left":v={x:o.x-i.width,y:p};break;default:v={x:o.x,y:o.y}}switch(Jl(t)){case"start":v[c]-=w*(r&&h?-1:1);break;case"end":v[c]+=w*(r&&h?-1:1);break}return v}const GR=async(e,t,r)=>{const{placement:o="bottom",strategy:i="absolute",middleware:s=[],platform:c}=r,d=s.filter(Boolean),f=await(c.isRTL==null?void 0:c.isRTL(t));let h=await c.getElementRects({reference:e,floating:t,strategy:i}),{x:m,y:p}=Gx(h,o,f),w=o,v={},x=0;for(let y=0;y({name:"arrow",options:e,async fn(t){const{x:r,y:o,placement:i,rects:s,platform:c,elements:d,middlewareData:f}=t,{element:h,padding:m=0}=ua(e,t)||{};if(h==null)return{};const p=t6(m),w={x:r,y:o},v=Xp(i),x=$p(v),y=await c.getDimensions(h),k=v==="y",B=k?"top":"left",_=k?"bottom":"right",C=k?"clientHeight":"clientWidth",N=s.reference[x]+s.reference[v]-w[v]-s.floating[x],R=w[v]-s.reference[v],j=await(c.getOffsetParent==null?void 0:c.getOffsetParent(h));let D=j?j[C]:0;(!D||!await(c.isElement==null?void 0:c.isElement(j)))&&(D=d.floating[C]||s.floating[x]);const M=N/2-R/2,I=D/2-y[x]/2-1,G=ji(p[B],I),X=ji(p[_],I),re=G,ue=D-y[x]-X,ne=D/2-y[x]/2+M,fe=Jg(re,ne,ue),O=!f.arrow&&Jl(i)!=null&&ne!==fe&&s.reference[x]/2-(nene<=0)){var X,re;const ne=(((X=s.flip)==null?void 0:X.index)||0)+1,fe=D[ne];if(fe&&(!(p==="alignment"?_!==No(fe):!1)||G.every(L=>No(L.placement)===_?L.overflows[0]>0:!0)))return{data:{index:ne,overflows:G},reset:{placement:fe}};let O=(re=G.filter(W=>W.overflows[0]<=0).sort((W,L)=>W.overflows[1]-L.overflows[1])[0])==null?void 0:re.placement;if(!O)switch(v){case"bestFit":{var ue;const W=(ue=G.filter(L=>{if(j){const Z=No(L.placement);return Z===_||Z==="y"}return!0}).map(L=>[L.placement,L.overflows.filter(Z=>Z>0).reduce((Z,se)=>Z+se,0)]).sort((L,Z)=>L[1]-Z[1])[0])==null?void 0:ue[0];W&&(O=W);break}case"initialPlacement":O=d;break}if(i!==O)return{reset:{placement:O}}}return{}}}};function $x(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Xx(e){return OR.some(t=>e[t]>=0)}const KR=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:o="referenceHidden",...i}=ua(e,t);switch(o){case"referenceHidden":{const s=await Il(t,{...i,elementContext:"reference"}),c=$x(s,r.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:Xx(c)}}}case"escaped":{const s=await Il(t,{...i,altBoundary:!0}),c=$x(s,r.floating);return{data:{escapedOffsets:c,escaped:Xx(c)}}}default:return{}}}}},r6=new Set(["left","top"]);async function YR(e,t){const{placement:r,platform:o,elements:i}=e,s=await(o.isRTL==null?void 0:o.isRTL(i.floating)),c=ca(r),d=Jl(r),f=No(r)==="y",h=r6.has(c)?-1:1,m=s&&f?-1:1,p=ua(t,e);let{mainAxis:w,crossAxis:v,alignmentAxis:x}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return d&&typeof x=="number"&&(v=d==="end"?x*-1:x),f?{x:v*m,y:w*h}:{x:w*h,y:v*m}}const ZR=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,o;const{x:i,y:s,placement:c,middlewareData:d}=t,f=await YR(t,e);return c===((r=d.offset)==null?void 0:r.placement)&&(o=d.arrow)!=null&&o.alignmentOffset?{}:{x:i+f.x,y:s+f.y,data:{...f,placement:c}}}}},QR=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:o,placement:i}=t,{mainAxis:s=!0,crossAxis:c=!1,limiter:d={fn:k=>{let{x:B,y:_}=k;return{x:B,y:_}}},...f}=ua(e,t),h={x:r,y:o},m=await Il(t,f),p=No(ca(i)),w=Gp(p);let v=h[w],x=h[p];if(s){const k=w==="y"?"top":"left",B=w==="y"?"bottom":"right",_=v+m[k],C=v-m[B];v=Jg(_,v,C)}if(c){const k=p==="y"?"top":"left",B=p==="y"?"bottom":"right",_=x+m[k],C=x-m[B];x=Jg(_,x,C)}const y=d.fn({...t,[w]:v,[p]:x});return{...y,data:{x:y.x-r,y:y.y-o,enabled:{[w]:s,[p]:c}}}}}},JR=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:o,placement:i,rects:s,middlewareData:c}=t,{offset:d=0,mainAxis:f=!0,crossAxis:h=!0}=ua(e,t),m={x:r,y:o},p=No(i),w=Gp(p);let v=m[w],x=m[p];const y=ua(d,t),k=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(f){const C=w==="y"?"height":"width",N=s.reference[w]-s.floating[C]+k.mainAxis,R=s.reference[w]+s.reference[C]-k.mainAxis;vR&&(v=R)}if(h){var B,_;const C=w==="y"?"width":"height",N=r6.has(ca(i)),R=s.reference[p]-s.floating[C]+(N&&((B=c.offset)==null?void 0:B[p])||0)+(N?0:k.crossAxis),j=s.reference[p]+s.reference[C]+(N?0:((_=c.offset)==null?void 0:_[p])||0)-(N?k.crossAxis:0);xj&&(x=j)}return{[w]:v,[p]:x}}}},eA=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,o;const{placement:i,rects:s,platform:c,elements:d}=t,{apply:f=()=>{},...h}=ua(e,t),m=await Il(t,h),p=ca(i),w=Jl(i),v=No(i)==="y",{width:x,height:y}=s.floating;let k,B;p==="top"||p==="bottom"?(k=p,B=w===(await(c.isRTL==null?void 0:c.isRTL(d.floating))?"start":"end")?"left":"right"):(B=p,k=w==="end"?"top":"bottom");const _=y-m.top-m.bottom,C=x-m.left-m.right,N=ji(y-m[k],_),R=ji(x-m[B],C),j=!t.middlewareData.shift;let D=N,M=R;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(M=C),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(D=_),j&&!w){const G=Wn(m.left,0),X=Wn(m.right,0),re=Wn(m.top,0),ue=Wn(m.bottom,0);v?M=x-2*(G!==0||X!==0?G+X:Wn(m.left,m.right)):D=y-2*(re!==0||ue!==0?re+ue:Wn(m.top,m.bottom))}await f({...t,availableWidth:M,availableHeight:D});const I=await c.getDimensions(d.floating);return x!==I.width||y!==I.height?{reset:{rects:!0}}:{}}}};function gf(){return typeof window<"u"}function es(e){return n6(e)?(e.nodeName||"").toLowerCase():"#document"}function Cn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ga(e){var t;return(t=(n6(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function n6(e){return gf()?e instanceof Node||e instanceof Cn(e).Node:!1}function uo(e){return gf()?e instanceof Element||e instanceof Cn(e).Element:!1}function Ao(e){return gf()?e instanceof HTMLElement||e instanceof Cn(e).HTMLElement:!1}function Kx(e){return!gf()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Cn(e).ShadowRoot}const tA=new Set(["inline","contents"]);function Ru(e){const{overflow:t,overflowX:r,overflowY:o,display:i}=co(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&!tA.has(i)}const rA=new Set(["table","td","th"]);function nA(e){return rA.has(es(e))}const oA=[":popover-open",":modal"];function pf(e){return oA.some(t=>{try{return e.matches(t)}catch{return!1}})}const aA=["transform","translate","scale","rotate","perspective"],iA=["transform","translate","scale","rotate","perspective","filter"],lA=["paint","layout","strict","content"];function Kp(e){const t=Yp(),r=uo(e)?co(e):e;return aA.some(o=>r[o]?r[o]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||iA.some(o=>(r.willChange||"").includes(o))||lA.some(o=>(r.contain||"").includes(o))}function sA(e){let t=ni(e);for(;Ao(t)&&!Ll(t);){if(Kp(t))return t;if(pf(t))return null;t=ni(t)}return null}function Yp(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const uA=new Set(["html","body","#document"]);function Ll(e){return uA.has(es(e))}function co(e){return Cn(e).getComputedStyle(e)}function bf(e){return uo(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ni(e){if(es(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Kx(e)&&e.host||ga(e);return Kx(t)?t.host:t}function o6(e){const t=ni(e);return Ll(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ao(t)&&Ru(t)?t:o6(t)}function a6(e,t,r){var o;t===void 0&&(t=[]);const i=o6(e),s=i===((o=e.ownerDocument)==null?void 0:o.body),c=Cn(i);return s?(tp(c),t.concat(c,c.visualViewport||[],Ru(i)?i:[],[])):t.concat(i,a6(i,[]))}function tp(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function i6(e){const t=co(e);let r=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const i=Ao(e),s=i?e.offsetWidth:r,c=i?e.offsetHeight:o,d=Id(r)!==s||Id(o)!==c;return d&&(r=s,o=c),{width:r,height:o,$:d}}function l6(e){return uo(e)?e:e.contextElement}function Rl(e){const t=l6(e);if(!Ao(t))return zo(1);const r=t.getBoundingClientRect(),{width:o,height:i,$:s}=i6(t);let c=(s?Id(r.width):r.width)/o,d=(s?Id(r.height):r.height)/i;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}const cA=zo(0);function s6(e){const t=Cn(e);return!Yp()||!t.visualViewport?cA:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function dA(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Cn(e)?!1:t}function Su(e,t,r,o){t===void 0&&(t=!1),r===void 0&&(r=!1);const i=e.getBoundingClientRect(),s=l6(e);let c=zo(1);t&&(o?uo(o)&&(c=Rl(o)):c=Rl(e));const d=dA(s,r,o)?s6(s):zo(0);let f=(i.left+d.x)/c.x,h=(i.top+d.y)/c.y,m=i.width/c.x,p=i.height/c.y;if(s){const w=Cn(s),v=o&&uo(o)?Cn(o):o;let x=w,y=tp(x);for(;y&&o&&v!==x;){const k=Rl(y),B=y.getBoundingClientRect(),_=co(y),C=B.left+(y.clientLeft+parseFloat(_.paddingLeft))*k.x,N=B.top+(y.clientTop+parseFloat(_.paddingTop))*k.y;f*=k.x,h*=k.y,m*=k.x,p*=k.y,f+=C,h+=N,x=Cn(y),y=tp(x)}}return Hd({width:m,height:p,x:f,y:h})}function vf(e,t){const r=bf(e).scrollLeft;return t?t.left+r:Su(ga(e)).left+r}function u6(e,t){const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-vf(e,r),i=r.top+t.scrollTop;return{x:o,y:i}}function fA(e){let{elements:t,rect:r,offsetParent:o,strategy:i}=e;const s=i==="fixed",c=ga(o),d=t?pf(t.floating):!1;if(o===c||d&&s)return r;let f={scrollLeft:0,scrollTop:0},h=zo(1);const m=zo(0),p=Ao(o);if((p||!p&&!s)&&((es(o)!=="body"||Ru(c))&&(f=bf(o)),Ao(o))){const v=Su(o);h=Rl(o),m.x=v.x+o.clientLeft,m.y=v.y+o.clientTop}const w=c&&!p&&!s?u6(c,f):zo(0);return{width:r.width*h.x,height:r.height*h.y,x:r.x*h.x-f.scrollLeft*h.x+m.x+w.x,y:r.y*h.y-f.scrollTop*h.y+m.y+w.y}}function hA(e){return Array.from(e.getClientRects())}function mA(e){const t=ga(e),r=bf(e),o=e.ownerDocument.body,i=Wn(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),s=Wn(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let c=-r.scrollLeft+vf(e);const d=-r.scrollTop;return co(o).direction==="rtl"&&(c+=Wn(t.clientWidth,o.clientWidth)-i),{width:i,height:s,x:c,y:d}}const Yx=25;function gA(e,t){const r=Cn(e),o=ga(e),i=r.visualViewport;let s=o.clientWidth,c=o.clientHeight,d=0,f=0;if(i){s=i.width,c=i.height;const m=Yp();(!m||m&&t==="fixed")&&(d=i.offsetLeft,f=i.offsetTop)}const h=vf(o);if(h<=0){const m=o.ownerDocument,p=m.body,w=getComputedStyle(p),v=m.compatMode==="CSS1Compat"&&parseFloat(w.marginLeft)+parseFloat(w.marginRight)||0,x=Math.abs(o.clientWidth-p.clientWidth-v);x<=Yx&&(s-=x)}else h<=Yx&&(s+=h);return{width:s,height:c,x:d,y:f}}const pA=new Set(["absolute","fixed"]);function bA(e,t){const r=Su(e,!0,t==="fixed"),o=r.top+e.clientTop,i=r.left+e.clientLeft,s=Ao(e)?Rl(e):zo(1),c=e.clientWidth*s.x,d=e.clientHeight*s.y,f=i*s.x,h=o*s.y;return{width:c,height:d,x:f,y:h}}function Zx(e,t,r){let o;if(t==="viewport")o=gA(e,r);else if(t==="document")o=mA(ga(e));else if(uo(t))o=bA(t,r);else{const i=s6(e);o={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Hd(o)}function c6(e,t){const r=ni(e);return r===t||!uo(r)||Ll(r)?!1:co(r).position==="fixed"||c6(r,t)}function vA(e,t){const r=t.get(e);if(r)return r;let o=a6(e,[]).filter(d=>uo(d)&&es(d)!=="body"),i=null;const s=co(e).position==="fixed";let c=s?ni(e):e;for(;uo(c)&&!Ll(c);){const d=co(c),f=Kp(c);!f&&d.position==="fixed"&&(i=null),(s?!f&&!i:!f&&d.position==="static"&&!!i&&pA.has(i.position)||Ru(c)&&!f&&c6(e,c))?o=o.filter(m=>m!==c):i=d,c=ni(c)}return t.set(e,o),o}function yA(e){let{element:t,boundary:r,rootBoundary:o,strategy:i}=e;const c=[...r==="clippingAncestors"?pf(t)?[]:vA(t,this._c):[].concat(r),o],d=c[0],f=c.reduce((h,m)=>{const p=Zx(t,m,i);return h.top=Wn(p.top,h.top),h.right=ji(p.right,h.right),h.bottom=ji(p.bottom,h.bottom),h.left=Wn(p.left,h.left),h},Zx(t,d,i));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function xA(e){const{width:t,height:r}=i6(e);return{width:t,height:r}}function wA(e,t,r){const o=Ao(t),i=ga(t),s=r==="fixed",c=Su(e,!0,s,t);let d={scrollLeft:0,scrollTop:0};const f=zo(0);function h(){f.x=vf(i)}if(o||!o&&!s)if((es(t)!=="body"||Ru(i))&&(d=bf(t)),o){const v=Su(t,!0,s,t);f.x=v.x+t.clientLeft,f.y=v.y+t.clientTop}else i&&h();s&&!o&&i&&h();const m=i&&!o&&!s?u6(i,d):zo(0),p=c.left+d.scrollLeft-f.x-m.x,w=c.top+d.scrollTop-f.y-m.y;return{x:p,y:w,width:c.width,height:c.height}}function bm(e){return co(e).position==="static"}function Qx(e,t){if(!Ao(e)||co(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return ga(e)===r&&(r=r.ownerDocument.body),r}function d6(e,t){const r=Cn(e);if(pf(e))return r;if(!Ao(e)){let i=ni(e);for(;i&&!Ll(i);){if(uo(i)&&!bm(i))return i;i=ni(i)}return r}let o=Qx(e,t);for(;o&&nA(o)&&bm(o);)o=Qx(o,t);return o&&Ll(o)&&bm(o)&&!Kp(o)?r:o||sA(e)||r}const SA=async function(e){const t=this.getOffsetParent||d6,r=this.getDimensions,o=await r(e.floating);return{reference:wA(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function kA(e){return co(e).direction==="rtl"}const BA={convertOffsetParentRelativeRectToViewportRelativeRect:fA,getDocumentElement:ga,getClippingRect:yA,getOffsetParent:d6,getElementRects:SA,getClientRects:hA,getDimensions:xA,getScale:Rl,isElement:uo,isRTL:kA},_A=Il,TA=ZR,CA=QR,EA=XR,NA=eA,Jx=KR,zA=$R,ew=JR,RA=(e,t,r)=>{const o=new Map,i={platform:BA,...r},s={...i.platform,_c:o};return GR(e,t,{...i,platform:s})};function f6(e){const t=e.split("-");return{side:t[0],alignment:t[1]}}const AA=e=>e.nodeName==="HTML"?e:e.parentNode||e.host,DA=e=>{var t;if(e.nodeType!==1)return{};const r=(t=e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return r?r.getComputedStyle(e,null):{}},yf=e=>{const t=e&&AA(e);if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}const{overflow:r,overflowX:o,overflowY:i}=DA(t);return/(auto|scroll|overlay)/.test(r+i+o)?t:yf(t)},jA=e=>{var t;const r=yf(e);return r?r!==((t=r.ownerDocument)===null||t===void 0?void 0:t.body):!1};function Zp(e,t){if(t==="window")return e==null?void 0:e.ownerDocument.documentElement;if(t==="clippingParents")return"clippingAncestors";if(t==="scrollParent"){let r=yf(e);return r.nodeName==="BODY"&&(r=e==null?void 0:e.ownerDocument.documentElement),r}return t}function h6(e,t){return typeof e=="number"||typeof e=="object"&&e!==null?vm(e,t):typeof e=="function"?r=>{const o=e(r);return vm(o,t)}:{mainAxis:t}}const vm=(e,t)=>{if(typeof e=="number")return{mainAxis:e+t};var r;return{...e,mainAxis:((r=e.mainAxis)!==null&&r!==void 0?r:0)+t}};function m6(e,t){if(typeof e=="number")return e;const{start:r,end:o,...i}=e,s=i,c=t?"end":"start",d=t?"start":"end";return e[c]&&(s.left=e[c]),e[d]&&(s.right=e[d]),s}const OA=e=>({above:"top",below:"bottom",before:e?"right":"left",after:e?"left":"right"}),MA=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),qA=(e,t)=>{const r=e==="above"||e==="below",o=t==="top"||t==="bottom";return r&&o||!r&&!o},g6=(e,t,r)=>{const o=qA(t,e)?"center":e,i=t&&OA(r)[t],s=o&&MA()[o];return i&&s?`${i}-${s}`:i},FA=()=>({top:"above",bottom:"below",right:"after",left:"before"}),PA=e=>e==="above"||e==="below"?{start:"start",end:"end"}:{start:"top",end:"bottom"},IA=e=>{const{side:t,alignment:r}=f6(e),o=FA()[t],i=r&&PA(o)[r];return{position:o,alignment:i}},LA={above:{position:"above",align:"center"},"above-start":{position:"above",align:"start"},"above-end":{position:"above",align:"end"},below:{position:"below",align:"center"},"below-start":{position:"below",align:"start"},"below-end":{position:"below",align:"end"},before:{position:"before",align:"center"},"before-top":{position:"before",align:"top"},"before-bottom":{position:"before",align:"bottom"},after:{position:"after",align:"center"},"after-top":{position:"after",align:"top"},"after-bottom":{position:"after",align:"bottom"}};function xf(e){return e==null?{}:typeof e=="string"?LA[e]:e}function ym(e,t,r){const o=S.useRef(!0),[i]=S.useState(()=>({value:e,callback:t,facade:{get current(){return i.value},set current(s){const c=i.value;c!==s&&(i.value=s,i.callback(s,c))}}}));return jr(()=>{o.current=!1},[]),i.callback=t,i.facade}function HA(e){let t;return()=>(t||(t=new Promise(r=>{Promise.resolve().then(()=>{t=void 0,r(e())})})),t)}function UA(e){const{arrow:t,middlewareData:r}=e;if(!r.arrow||!t)return;const{x:o,y:i}=r.arrow;Object.assign(t.style,{left:o!=null?`${o}px`:"",top:i!=null?`${i}px`:""})}function VA(e){var t,r,o;const{container:i,placement:s,middlewareData:c,strategy:d,lowPPI:f,coordinates:h,useTransform:m=!0}=e;if(!i)return;i.setAttribute(jR,s),i.removeAttribute(Lx),c.intersectionObserver.intersecting&&i.setAttribute(Lx,""),i.removeAttribute(Hx),!((t=c.hide)===null||t===void 0)&&t.escaped&&i.setAttribute(Hx,""),i.removeAttribute(Ux),!((r=c.hide)===null||r===void 0)&&r.referenceHidden&&i.setAttribute(Ux,"");const p=((o=i.ownerDocument.defaultView)===null||o===void 0?void 0:o.devicePixelRatio)||1,w=Math.round(h.x*p)/p,v=Math.round(h.y*p)/p;if(Object.assign(i.style,{position:d}),m){Object.assign(i.style,{transform:f?`translate(${w}px, ${v}px)`:`translate3d(${w}px, ${v}px, 0)`});return}Object.assign(i.style,{left:`${w}px`,top:`${v}px`})}const WA=e=>{switch(e){case"always":case!0:return{applyMaxWidth:!0,applyMaxHeight:!0};case"width-always":case"width":return{applyMaxWidth:!0,applyMaxHeight:!1};case"height-always":case"height":return{applyMaxWidth:!1,applyMaxHeight:!0};default:return!1}};function GA(){return{name:"coverTarget",fn:e=>{const{placement:t,rects:r,x:o,y:i}=e,s=f6(t).side,c={x:o,y:i};switch(s){case"bottom":c.y-=r.reference.height;break;case"top":c.y+=r.reference.height;break;case"left":c.x+=r.reference.width;break;case"right":c.x-=r.reference.width;break}return c}}}function $A(e){const{hasScrollableElement:t,flipBoundary:r,container:o,fallbackPositions:i=[],isRtl:s}=e,c=i.reduce((d,f)=>{const{position:h,align:m}=xf(f),p=g6(m,h,s);return p&&d.push(p),d},[]);return EA({...t&&{boundary:"clippingAncestors"},...r&&{altBoundary:!0,boundary:Zp(o,r)},fallbackStrategy:"bestFit",...c.length&&{fallbackPlacements:c}})}function XA(){return{name:"intersectionObserver",fn:async e=>{const t=e.rects.floating,r=await _A(e,{altBoundary:!0}),o=r.top0,i=r.bottom0;return{data:{intersecting:o||i}}}}}const KA=e=>({name:"resetMaxSize",fn({middlewareData:t,elements:r}){var o;if(!((o=t.resetMaxSize)===null||o===void 0)&&o.maxSizeAlreadyReset)return{};const{applyMaxWidth:i,applyMaxHeight:s}=e;return i&&(r.floating.style.removeProperty("box-sizing"),r.floating.style.removeProperty("max-width"),r.floating.style.removeProperty("width")),s&&(r.floating.style.removeProperty("box-sizing"),r.floating.style.removeProperty("max-height"),r.floating.style.removeProperty("height")),{data:{maxSizeAlreadyReset:!0},reset:{rects:!0}}}});function YA(e,t){const{container:r,overflowBoundary:o,overflowBoundaryPadding:i,isRtl:s}=t;return NA({...i&&{padding:m6(i,s)},...o&&{altBoundary:!0,boundary:Zp(r,o)},apply({availableHeight:c,availableWidth:d,elements:f,rects:h}){const m=(v,x,y)=>{if(v&&(f.floating.style.setProperty("box-sizing","border-box"),f.floating.style.setProperty(`max-${x}`,`${y}px`),h.floating[x]>y)){f.floating.style.setProperty(x,`${y}px`);const k=x==="width"?"x":"y";f.floating.style.getPropertyValue(`overflow-${k}`)||f.floating.style.setProperty(`overflow-${k}`,"auto")}},{applyMaxWidth:p,applyMaxHeight:w}=e;m(p,"width",d),m(w,"height",c)}})}function ZA(e){return!e||typeof e=="number"||typeof e=="object"?e:({rects:{floating:t,reference:r},placement:o})=>{const{position:i,alignment:s}=IA(o);return e({positionedRect:t,targetRect:r,position:i,alignment:s})}}function QA(e){const t=ZA(e);return TA(t)}function JA(e){const{hasScrollableElement:t,shiftToCoverTarget:r,disableTether:o,overflowBoundary:i,container:s,overflowBoundaryPadding:c,isRtl:d}=e;return CA({...t&&{boundary:"clippingAncestors"},...r&&{crossAxis:!0,limiter:ew({crossAxis:!0,mainAxis:!1})},...o&&{crossAxis:o==="all",limiter:ew({crossAxis:o!=="all",mainAxis:!1})},...c&&{padding:m6(c,d)},...i&&{altBoundary:!0,boundary:Zp(s,i)}})}const tw="--fui-match-target-size";function eD(){return{name:"matchTargetSize",fn:async e=>{const{rects:{reference:t,floating:r},elements:{floating:o},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:i=!1}={}}}=e;if(t.width===r.width||i)return{};const{width:s}=t;return o.style.setProperty(tw,`${s}px`),o.style.width||(o.style.width=`var(${tw})`),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}function rw(e){const t=[];let r=e;for(;r;){const o=yf(r);if(e.ownerDocument.body===o){t.push(o);break}if(o.nodeName==="BODY"&&o!==e.ownerDocument.body)break;t.push(o),r=o}return t}function tD(e,t){return new e.ResizeObserver(t)}function rD(e){let t=!1;const{container:r,target:o,arrow:i,strategy:s,middleware:c,placement:d,useTransform:f=!0,disableUpdateOnResize:h=!1}=e,m=r.ownerDocument.defaultView;if(!o||!r||!m)return{updatePosition:()=>{},dispose:()=>{}};const p=h?null:tD(m,B=>{B.every(C=>C.contentRect.width>0&&C.contentRect.height>0)&&y()});let w=!0;const v=new Set;Object.assign(r.style,{position:"fixed",left:0,top:0,margin:0});const x=()=>{t||(w&&(rw(r).forEach(B=>v.add(B)),Zt(o)&&rw(o).forEach(B=>v.add(B)),v.forEach(B=>{B.addEventListener("scroll",y,{passive:!0})}),p==null||p.observe(r),Zt(o)&&(p==null||p.observe(o)),w=!1),Object.assign(r.style,{position:s}),RA(o,r,{placement:d,middleware:c,strategy:s}).then(({x:B,y:_,middlewareData:C,placement:N})=>{t||(UA({arrow:i,middlewareData:C}),VA({container:r,middlewareData:C,placement:N,coordinates:{x:B,y:_},lowPPI:((m==null?void 0:m.devicePixelRatio)||1)<=1,strategy:s,useTransform:f}),r.dispatchEvent(new CustomEvent(Qg)))}).catch(B=>{}))},y=HA(()=>x()),k=()=>{t=!0,m&&(m.removeEventListener("scroll",y),m.removeEventListener("resize",y)),v.forEach(B=>{B.removeEventListener("scroll",y)}),v.clear(),p==null||p.disconnect()};return m&&(m.addEventListener("scroll",y,{passive:!0}),m.addEventListener("resize",y)),y(),{updatePosition:y,dispose:k}}function Qp(e){"use no memo";const t=S.useRef(null),r=S.useRef(null),o=S.useRef(null),i=S.useRef(null),s=S.useRef(null),{enabled:c=!0}=e,d=nD(e),f=S.useCallback(()=>{t.current&&t.current.dispose(),t.current=null;var x;const y=(x=o.current)!==null&&x!==void 0?x:r.current;c&&lf()&&y&&i.current&&(t.current=rD({container:i.current,target:y,arrow:s.current,...d(i.current,s.current)}))},[c,d]),h=ke(x=>{o.current=x,f()});S.useImperativeHandle(e.positioningRef,()=>({updatePosition:()=>{var x;return(x=t.current)===null||x===void 0?void 0:x.updatePosition()},setTarget:x=>{e.target,h(x)}}),[e.target,h]),jr(()=>{var x;h((x=e.target)!==null&&x!==void 0?x:null)},[e.target,h]),jr(()=>{f()},[f]);const m=ym(null,x=>{r.current!==x&&(r.current=x,f())}),p=ke(()=>{var x;return(x=e.onPositioningEnd)===null||x===void 0?void 0:x.call(e)}),w=ym(null,x=>{if(i.current!==x){var y;(y=i.current)===null||y===void 0||y.removeEventListener(Qg,p),x==null||x.addEventListener(Qg,p),i.current=x,f()}}),v=ym(null,x=>{s.current!==x&&(s.current=x,f())});return{targetRef:m,containerRef:w,arrowRef:v}}function nD(e){"use no memo";const{align:t,arrowPadding:r,autoSize:o,coverTarget:i,flipBoundary:s,offset:c,overflowBoundary:d,pinned:f,position:h,unstable_disableTether:m,positionFixed:p,strategy:w,overflowBoundaryPadding:v,fallbackPositions:x,useTransform:y,matchTargetSize:k,disableUpdateOnResize:B=!1,shiftToCoverTarget:_}=e,{dir:C,targetDocument:N}=St(),R=C==="rtl",j=w??p?"fixed":"absolute",D=WA(o);return S.useCallback((M,I)=>{const G=jA(M),X=[D&&KA(D),k&&eD(),c&&QA(c),i&&GA(),!f&&$A({container:M,flipBoundary:s,hasScrollableElement:G,isRtl:R,fallbackPositions:x}),JA({container:M,hasScrollableElement:G,overflowBoundary:d,disableTether:m,overflowBoundaryPadding:v,isRtl:R,shiftToCoverTarget:_}),D&&YA(D,{container:M,overflowBoundary:d,overflowBoundaryPadding:v,isRtl:R}),XA(),I&&zA({element:I,padding:r}),Jx({strategy:"referenceHidden"}),Jx({strategy:"escaped"}),!1].filter(Boolean);return{placement:g6(t,h,R),middleware:X,strategy:j,useTransform:y,disableUpdateOnResize:B}},[t,r,D,i,m,s,R,c,d,f,h,j,v,x,y,k,N,B])}const p6=e=>{const[t,r]=S.useState(e);return[t,i=>{if(i==null){r(void 0);return}let s;i instanceof MouseEvent?s=i:s=i.nativeEvent;const c=DR(s);r(c)}]},Jp=Zl(void 0),oD={open:!1,setOpen:()=>null,toggleOpen:()=>null,triggerRef:{current:null},contentRef:{current:null},arrowRef:{current:null},openOnContext:!1,openOnHover:!1,size:"medium",trapFocus:!1,inline:!1};Jp.Provider;const Hr=e=>Ql(Jp,(t=oD)=>e(t)),aD=(e,t)=>{const r=Hr(_=>_.contentRef),o=Hr(_=>_.openOnHover),i=Hr(_=>_.setOpen),s=Hr(_=>_.mountNode),c=Hr(_=>_.arrowRef),d=Hr(_=>_.size),f=Hr(_=>_.withArrow),h=Hr(_=>_.appearance),m=Hr(_=>_.trapFocus),p=Hr(_=>_.inertTrapFocus),w=Hr(_=>_.inline),{modalAttributes:v}=Fi({trapFocus:m,legacyTrapFocus:!p,alwaysFocusable:!m}),x={inline:w,appearance:h,withArrow:f,size:d,arrowRef:c,mountNode:s,components:{root:"div"},root:je(ct("div",{ref:Br(t,r),role:m?"dialog":"group","aria-modal":m?!0:void 0,...v,...e}),{elementType:"div"})},{onMouseEnter:y,onMouseLeave:k,onKeyDown:B}=x.root;return x.root.onMouseEnter=_=>{o&&i(_,!0),y==null||y(_)},x.root.onMouseLeave=_=>{o&&i(_,!1),k==null||k(_)},x.root.onKeyDown=_=>{var C;_.key==="Escape"&&(!((C=r.current)===null||C===void 0)&&C.contains(_.target))&&(_.preventDefault(),i(_,!1)),B==null||B(_)},x};function iD(e){return Zt(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}function lD(e,t){var r;const o=S.useMemo,i=S.useEffect,[s,c]=(r=o(()=>e(),t))!=null?r:[null,()=>null];return i(()=>c,t),s}const sD=xe({root:{qhf8xq:"f1euv43f",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"],j35jbq:["f1e31b4d","f1vgc2s3"],Bj3rh1h:"f494woh"}},{d:[".f1euv43f{position:absolute;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".f494woh{z-index:1000000;}"]}),nw=jd.useInsertionEffect,uD=e=>{"use no memo";const{targetDocument:t,dir:r}=St(),o=LC(),i=qp(),s=sD(),c=RC(),d=J(c,s.root,e.className),f=o??(t==null?void 0:t.body),h=lD(()=>{if(f===void 0||e.disabled)return[null,()=>null];const m=f.ownerDocument.createElement("div");return f.appendChild(m),[m,()=>m.remove()]},[f]);return nw?nw(()=>{if(!h)return;const m=d.split(" ").filter(Boolean);return h.classList.add(...m),h.setAttribute("dir",r),h.setAttribute("data-portal-node","true"),i.current=h,()=>{h.classList.remove(...m),h.removeAttribute("dir")}},[d,r,h,i]):S.useMemo(()=>{h&&(h.className=d,h.setAttribute("dir",r),h.setAttribute("data-portal-node","true"),i.current=h)},[d,r,h,i]),h},cD=e=>{const{element:t,className:r}=iD(e.mountNode),o=S.useRef(null),i=uD({disabled:!!t,className:r}),s=t??i,c={children:e.children,mountNode:s,virtualParentRootRef:o};return S.useEffect(()=>{if(!s)return;const d=o.current,f=s.contains(d);if(d&&!f)return K2(s,d),()=>{K2(s,void 0)}},[o,s]),c};var dD=lS();const fD=e=>S.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&dD.createPortal(e.children,e.mountNode)),ts=e=>{const t=cD(e);return fD(t)};ts.displayName="Portal";const hD=e=>{const t=xt(e.root,{children:[e.withArrow&&ge("div",{ref:e.arrowRef,className:e.arrowClassName}),e.root.children]});return e.inline?t:ge(ts,{mountNode:e.mountNode,children:t})},mD={root:"fui-PopoverSurface"},gD={small:6,medium:8,large:8},pD=xe({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",B93otf3:"f18k4bn6",vin17d:"fo1kyvf",Ezkn3b:"fetxo7e",nyiy2g:"f8x1vz1",swvrvq:"f8g0anz",Bkovbt3:"fezwn9i",hgjdhn:"fz5efge",fsy9dk:"f1ydixl4",B3ogreh:"f8dgqj5",jv49x5:"fnyfnr8",Bk7o48c:"fgw77r4",Bv12yb3:"f1noc5he",z0t1cu:"fi19xcv",Bks05zx:"f1mxk9aa",Bvtglag:"ffzg62k",Bhu2qc9:"fymb6k8"},inline:{Bj3rh1h:"f19g0ac"},inverted:{De3pzq:"fg3r6xk",sj55zd:"fonrgv7"},brand:{De3pzq:"ffp7eso",sj55zd:"f1phragk"},smallPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1sy4kr4"},mediumPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4zyqsv"},largePadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fop8ug2"},smallArrow:{rhnwrx:"f1s3jn22",Bdy53xb:"fv40uqz"},mediumLargeArrow:{rhnwrx:"f1f72gjr",Bdy53xb:"f69yoe5"},arrow:{B7ck84d:"f1ewtqcl",qhf8xq:"f1euv43f",Bj3rh1h:"f1bsuimh",De3pzq:"f1u2r49w",B2eet1l:"fqhgnl",Beyfa6y:"f17bz04i",Bz10aip:"f36o3x3",Bqenvij:"fzofk8q",a9b677:"f1wbx1ie",Ftih45:"f1wl9k8s",Br0sdwz:"f1aocrix",cmx5o7:"f1ljr5q2",susq4k:0,Biibvgv:0,Bicfajf:0,qehafq:0,Brs5u8j:"f155f1qt",Ccq8qp:"f9mhzq7",Baz25je:"fr6rhvx",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4",r59vdv:"fgq90dz",Bkw5xw4:"fq0y47f",hl6cv3:"f1pwrbz6",aea9ga:"f1hxxcvm",yayu3t:"fw8rgyo",Bhsv975:"f1wnzycx",rhl9o9:"f1730wal",B7gxrvb:"f1fy4ixr",B6q6orb:"fobkauc",B0lu1f8:"f16bqv1l"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f18k4bn6{animation-composition:accumulate;}",".fo1kyvf{animation-duration:var(--durationSlower);}",".fetxo7e{animation-timing-function:var(--curveDecelerateMid);}",".f8x1vz1{--fui-positioning-slide-distance-x:0px;}",".f8g0anz{--fui-positioning-slide-distance-y:10px;}",".fezwn9i[data-popper-placement^=right]{--fui-positioning-slide-distance-x:-10px;}",".fz5efge[data-popper-placement^=right]{--fui-positioning-slide-distance-y:0px;}",".f1ydixl4[data-popper-placement^=bottom]{--fui-positioning-slide-distance-x:0px;}",".f8dgqj5[data-popper-placement^=bottom]{--fui-positioning-slide-distance-y:-10px;}",".fnyfnr8[data-popper-placement^=left]{--fui-positioning-slide-distance-x:10px;}",".fgw77r4[data-popper-placement^=left]{--fui-positioning-slide-distance-y:0px;}",".f1noc5he{animation-name:f1m0q9mo,f79suad;}",".fymb6k8{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 8px 16px var(--colorNeutralShadowKey));}",".f19g0ac{z-index:1;}",".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",[".f1sy4kr4{padding:12px;}",{p:-1}],[".f4zyqsv{padding:16px;}",{p:-1}],[".fop8ug2{padding:20px;}",{p:-1}],".f1s3jn22{--fui-positioning-arrow-height:8.484px;}",".fv40uqz{--fui-positioning-arrow-offset:-4.242px;}",".f1f72gjr{--fui-positioning-arrow-height:11.312px;}",".f69yoe5{--fui-positioning-arrow-offset:-5.656px;}",".f1ewtqcl{box-sizing:border-box;}",".f1euv43f{position:absolute;}",".f1bsuimh{z-index:-1;}",".f1u2r49w{background-color:inherit;}",".fqhgnl{background-clip:content-box;}",".f17bz04i{border-bottom-left-radius:var(--borderRadiusSmall);}",".f36o3x3{transform:rotate(var(--fui-positioning-arrow-angle));}",".fzofk8q{height:var(--fui-positioning-arrow-height);}",".f1wbx1ie{width:var(--fui-positioning-arrow-height);}",'.f1wl9k8s::before{content:"";}',".f1aocrix::before{display:block;}",".f1ljr5q2::before{background-color:inherit;}",[".f155f1qt::before{margin:-1px;}",{p:-1}],".f9mhzq7::before{width:100%;}",".fr6rhvx::before{height:100%;}",[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fgq90dz::before{border-bottom-left-radius:var(--borderRadiusSmall);}",".fq0y47f::before{clip-path:polygon(0% 0%, 100% 100%, 0% 100%);}",'[data-popper-placement^="top"] .f1pwrbz6{bottom:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="top"] .f1hxxcvm{--fui-positioning-arrow-angle:-45deg;}','[data-popper-placement^="right"] .fw8rgyo{left:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="right"] .f1wnzycx{--fui-positioning-arrow-angle:45deg;}','[data-popper-placement^="bottom"] .f1730wal{top:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="bottom"] .f1fy4ixr{--fui-positioning-arrow-angle:135deg;}','[data-popper-placement^="left"] .fobkauc{right:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="left"] .f16bqv1l{--fui-positioning-arrow-angle:225deg;}'],k:["@keyframes f1m0q9mo{from{opacity:-1;}to{opacity:0;}}","@keyframes f79suad{from{transform:translate(var(--fui-positioning-slide-distance-x), var(--fui-positioning-slide-distance-y));}}"],m:[["@media (prefers-reduced-motion){.fi19xcv[data-popper-placement]{animation-duration:1ms;}}",{m:"(prefers-reduced-motion)"}],["@media (prefers-reduced-motion){.f1mxk9aa[data-popper-placement]{animation-name:f1m0q9mo;}}",{m:"(prefers-reduced-motion)"}]],t:["@supports not (animation-composition: accumulate){.ffzg62k[data-popper-placement]{animation-name:f1m0q9mo;}}"]}),bD=e=>{"use no memo";const t=pD();return e.root.className=J(mD.root,t.root,e.inline&&t.inline,e.size==="small"&&t.smallPadding,e.size==="medium"&&t.mediumPadding,e.size==="large"&&t.largePadding,e.appearance==="inverted"&&t.inverted,e.appearance==="brand"&&t.brand,e.root.className),e.arrowClassName=J(t.arrow,e.size==="small"?t.smallArrow:t.mediumLargeArrow),e},Ud=S.forwardRef((e,t)=>{const r=aD(e,t);return bD(r),Xe("usePopoverSurfaceStyles_unstable")(r),hD(r)});Ud.displayName="PopoverSurface";const vD=4,yD=e=>{const[t,r]=p6(),o={size:"medium",contextTarget:t,setContextTarget:r,...e},i=S.Children.toArray(e.children);let s,c;i.length===2?(s=i[0],c=i[1]):i.length===1&&(c=i[0]);const[d,f]=xD(o),[h,m]=Xl(),p=ke((R,j)=>{if(m(),!(R instanceof Event)&&R.persist&&R.persist(),R.type==="mouseleave"){var D;h(()=>{f(R,j)},(D=e.mouseLeaveDelay)!==null&&D!==void 0?D:500)}else f(R,j)}),w=S.useCallback(R=>{p(R,!d)},[p,d]),v=wD(o),{targetDocument:x}=St();var y;e5({contains:ql,element:x,callback:R=>p(R,!1),refs:[v.triggerRef,v.contentRef],disabled:!d,disabledFocusOnIframe:!(!((y=e.closeOnIframeFocus)!==null&&y!==void 0)||y)});const k=o.openOnContext||o.closeOnScroll;t5({contains:ql,element:x,callback:R=>p(R,!1),refs:[v.triggerRef,v.contentRef],disabled:!d||!k});const{findFirstFocusable:B}=ma(),_=mN();S.useEffect(()=>{if(e.unstable_disableAutoFocus)return;const R=v.contentRef.current;if(d&&R){var j;const D=!isNaN((j=R.getAttribute("tabIndex"))!==null&&j!==void 0?j:void 0),M=D?R:B(R);M==null||M.focus(),D&&_(R)}},[B,_,d,v.contentRef,e.unstable_disableAutoFocus]);var C,N;return{...o,...v,inertTrapFocus:(C=e.inertTrapFocus)!==null&&C!==void 0?C:e.legacyTrapFocus===void 0?!1:!e.legacyTrapFocus,popoverTrigger:s,popoverSurface:c,open:d,setOpen:p,toggleOpen:w,setContextTarget:r,contextTarget:t,inline:(N=e.inline)!==null&&N!==void 0?N:!1}};function xD(e){"use no memo";const t=ke((c,d)=>{var f;return(f=e.onOpenChange)===null||f===void 0?void 0:f.call(e,c,d)}),[r,o]=Rn({state:e.open,defaultState:e.defaultOpen,initialState:!1});e.open=r!==void 0?r:e.open;const i=e.setContextTarget,s=S.useCallback((c,d)=>{d&&c.type==="contextmenu"&&i(c),d||i(void 0),o(d),t==null||t(c,{open:d})},[o,t,i]);return[r,s]}function wD(e){"use no memo";const t={position:"above",align:"center",arrowPadding:2*vD,target:e.openOnContext?e.contextTarget:void 0,...xf(e.positioning)};t.coverTarget&&(e.withArrow=!1),e.withArrow&&(t.offset=h6(t.offset,gD[e.size]));const{targetRef:r,containerRef:o,arrowRef:i}=Qp(t);return{triggerRef:r,contentRef:o,arrowRef:i}}const SD=e=>{const{appearance:t,arrowRef:r,contentRef:o,inline:i,mountNode:s,open:c,openOnContext:d,openOnHover:f,setOpen:h,size:m,toggleOpen:p,trapFocus:w,triggerRef:v,withArrow:x,inertTrapFocus:y}=e;return S.createElement(Jp.Provider,{value:{appearance:t,arrowRef:r,contentRef:o,inline:i,mountNode:s,open:c,openOnContext:d,openOnHover:f,setOpen:h,toggleOpen:p,triggerRef:v,size:m,trapFocus:w,inertTrapFocus:y,withArrow:x}},e.popoverTrigger,e.open&&e.popoverSurface)},Vd=e=>{const t=yD(e);return SD(t)};Vd.displayName="Popover";const kD=e=>{const{children:t,disableButtonEnhancement:r=!1}=e,o=Eu(t),i=Hr(C=>C.open),s=Hr(C=>C.setOpen),c=Hr(C=>C.toggleOpen),d=Hr(C=>C.triggerRef),f=Hr(C=>C.openOnHover),h=Hr(C=>C.openOnContext),{triggerAttributes:m}=Fi(),p=C=>{h&&(C.preventDefault(),s(C,!0))},w=C=>{h||c(C)},v=C=>{C.key===Pi&&i&&!C.isDefaultPrevented()&&(s(C,!1),C.preventDefault())},x=C=>{f&&s(C,!0)},y=C=>{f&&s(C,!1)},k={...m,"aria-expanded":`${i}`,...o==null?void 0:o.props,onMouseEnter:ke(Mt(o==null?void 0:o.props.onMouseEnter,x)),onMouseLeave:ke(Mt(o==null?void 0:o.props.onMouseLeave,y)),onContextMenu:ke(Mt(o==null?void 0:o.props.onContextMenu,p)),ref:Br(d,o==null?void 0:o.ref)},B={...k,onClick:ke(Mt(o==null?void 0:o.props.onClick,w)),onKeyDown:ke(Mt(o==null?void 0:o.props.onKeyDown,v))},_=Di((o==null?void 0:o.type)==="button"||(o==null?void 0:o.type)==="a"?o.type:"div",B);return{children:sf(e.children,Di((o==null?void 0:o.type)==="button"||(o==null?void 0:o.type)==="a"?o.type:"div",h?k:r?B:_))}},BD=e=>e.children,wf=e=>{const t=kD(e);return BD(t)};wf.displayName="PopoverTrigger";wf.isFluentTriggerComponent=!0;const _D=6,TD=4,CD=e=>{"use no memo";var t,r,o,i,s,c;const d=jC(),f=KC(),{targetDocument:h}=St(),[m,p]=Xl(),{appearance:w="normal",children:v,content:x,withArrow:y=!1,positioning:k="above",onVisibleChange:B,relationship:_,showDelay:C=250,hideDelay:N=250,mountNode:R}=e,[j,D]=Rn({state:e.visible,initialState:!1}),M=S.useCallback((U,ae)=>{p(),D(me=>(ae.visible!==me&&(B==null||B(U,ae)),ae.visible))},[p,D,B]),I={withArrow:y,positioning:k,showDelay:C,hideDelay:N,relationship:_,visible:j,shouldRenderTooltip:j,appearance:w,mountNode:R,components:{content:"div"},content:je(x,{defaultProps:{role:"tooltip"},elementType:"div"})};I.content.id=hn("tooltip-",I.content.id);const G={enabled:I.visible,arrowPadding:2*TD,position:"above",align:"center",offset:4,...xf(I.positioning)};I.withArrow&&(G.offset=h6(G.offset,_D));const{targetRef:X,containerRef:re,arrowRef:ue}=Qp(G);I.content.ref=Br(I.content.ref,re),I.arrowRef=ue,jr(()=>{if(j){var U;const ae={hide:Te=>M(void 0,{visible:!1,documentKeyboardEvent:Te})};(U=d.visibleTooltip)===null||U===void 0||U.hide(),d.visibleTooltip=ae;const me=Te=>{Te.key===Pi&&!Te.defaultPrevented&&(ae.hide(Te),Te.preventDefault())};return h==null||h.addEventListener("keydown",me,{capture:!0}),()=>{d.visibleTooltip===ae&&(d.visibleTooltip=void 0),h==null||h.removeEventListener("keydown",me,{capture:!0})}}},[d,h,j,M]);const ne=S.useRef(!1),fe=S.useCallback(U=>{if(U.type==="focus"&&ne.current){ne.current=!1;return}const ae=d.visibleTooltip?0:I.showDelay;m(()=>{M(U,{visible:!0})},ae),U.persist()},[m,M,I.showDelay,d]),O=hN(),[W]=S.useState(()=>{const U=me=>{var Te;!((Te=me.detail)===null||Te===void 0)&&Te.isFocusedProgrammatically&&!O()&&(ne.current=!0)};let ae=null;return me=>{ae==null||ae.removeEventListener(Nn,U),me==null||me.addEventListener(Nn,U),ae=me}}),L=S.useCallback(U=>{let ae=I.hideDelay;U.type==="blur"&&(ae=0,ne.current=(h==null?void 0:h.activeElement)===U.target),m(()=>{M(U,{visible:!1})},ae),U.persist()},[m,M,I.hideDelay,h]);I.content.onPointerEnter=Mt(I.content.onPointerEnter,p),I.content.onPointerLeave=Mt(I.content.onPointerLeave,L),I.content.onFocus=Mt(I.content.onFocus,p),I.content.onBlur=Mt(I.content.onBlur,L);const Z=Eu(v),se={},A=(Z==null||(t=Z.props)===null||t===void 0?void 0:t["aria-expanded"])===!0||(Z==null||(r=Z.props)===null||r===void 0?void 0:r["aria-expanded"])==="true";return _==="label"?typeof I.content.children=="string"?se["aria-label"]=I.content.children:(se["aria-labelledby"]=I.content.id,I.shouldRenderTooltip=!0):_==="description"&&(se["aria-describedby"]=I.content.id,I.shouldRenderTooltip=!0),(f||A)&&(I.shouldRenderTooltip=!1),I.children=sf(v,{...se,...Z==null?void 0:Z.props,ref:Br(Z==null?void 0:Z.ref,W,G.target===void 0?X:void 0),onPointerEnter:ke(Mt(Z==null||(o=Z.props)===null||o===void 0?void 0:o.onPointerEnter,fe)),onPointerLeave:ke(Mt(Z==null||(i=Z.props)===null||i===void 0?void 0:i.onPointerLeave,L)),onFocus:ke(Mt(Z==null||(s=Z.props)===null||s===void 0?void 0:s.onFocus,fe)),onBlur:ke(Mt(Z==null||(c=Z.props)===null||c===void 0?void 0:c.onBlur,L))}),I},ED=e=>xt(S.Fragment,{children:[e.children,e.shouldRenderTooltip&&ge(ts,{mountNode:e.mountNode,children:xt(e.content,{children:[e.withArrow&&ge("div",{ref:e.arrowRef,className:e.arrowClassName}),e.content.children]})})]}),ND={content:"fui-Tooltip__content"},zD=xe({root:{mc9l5x:"fjseox",B7ck84d:"f1ewtqcl",B2u0y6b:"f132xexn",Bceei9c:"f158kwzp",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm",Btd35i7:"fokg9q4",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1bzqsji",De3pzq:"fxugw4r",sj55zd:"f19n0e5",Bhu2qc9:"fxeb0a7"},visible:{mc9l5x:"ftgm304"},inverted:{De3pzq:"fg3r6xk",sj55zd:"fonrgv7"},arrow:{B7ck84d:"f1ewtqcl",qhf8xq:"f1euv43f",Bj3rh1h:"f1bsuimh",rhnwrx:"f1s3jn22",Bdy53xb:"fv40uqz",De3pzq:"f1u2r49w",B2eet1l:"fqhgnl",Beyfa6y:"f17bz04i",Bz10aip:"f36o3x3",Bqenvij:"fzofk8q",a9b677:"f1wbx1ie",Ftih45:"f1wl9k8s",Br0sdwz:"f1aocrix",cmx5o7:"f1ljr5q2",susq4k:0,Biibvgv:0,Bicfajf:0,qehafq:0,Brs5u8j:"f155f1qt",Ccq8qp:"f9mhzq7",Baz25je:"fr6rhvx",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4",r59vdv:"fgq90dz",Bkw5xw4:"fq0y47f",hl6cv3:"f1pwrbz6",aea9ga:"f1hxxcvm",yayu3t:"fw8rgyo",Bhsv975:"f1wnzycx",rhl9o9:"f1730wal",B7gxrvb:"f1fy4ixr",B6q6orb:"fobkauc",B0lu1f8:"f16bqv1l"}},{d:[".fjseox{display:none;}",".f1ewtqcl{box-sizing:border-box;}",".f132xexn{max-width:240px;}",".f158kwzp{cursor:default;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fokg9q4{overflow-wrap:break-word;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],[".f1bzqsji{padding:4px 11px 6px 11px;}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".fxeb0a7{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 4px 8px var(--colorNeutralShadowKey));}",".ftgm304{display:block;}",".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1euv43f{position:absolute;}",".f1bsuimh{z-index:-1;}",".f1s3jn22{--fui-positioning-arrow-height:8.484px;}",".fv40uqz{--fui-positioning-arrow-offset:-4.242px;}",".f1u2r49w{background-color:inherit;}",".fqhgnl{background-clip:content-box;}",".f17bz04i{border-bottom-left-radius:var(--borderRadiusSmall);}",".f36o3x3{transform:rotate(var(--fui-positioning-arrow-angle));}",".fzofk8q{height:var(--fui-positioning-arrow-height);}",".f1wbx1ie{width:var(--fui-positioning-arrow-height);}",'.f1wl9k8s::before{content:"";}',".f1aocrix::before{display:block;}",".f1ljr5q2::before{background-color:inherit;}",[".f155f1qt::before{margin:-1px;}",{p:-1}],".f9mhzq7::before{width:100%;}",".fr6rhvx::before{height:100%;}",[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fgq90dz::before{border-bottom-left-radius:var(--borderRadiusSmall);}",".fq0y47f::before{clip-path:polygon(0% 0%, 100% 100%, 0% 100%);}",'[data-popper-placement^="top"] .f1pwrbz6{bottom:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="top"] .f1hxxcvm{--fui-positioning-arrow-angle:-45deg;}','[data-popper-placement^="right"] .fw8rgyo{left:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="right"] .f1wnzycx{--fui-positioning-arrow-angle:45deg;}','[data-popper-placement^="bottom"] .f1730wal{top:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="bottom"] .f1fy4ixr{--fui-positioning-arrow-angle:135deg;}','[data-popper-placement^="left"] .fobkauc{right:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="left"] .f16bqv1l{--fui-positioning-arrow-angle:225deg;}']}),RD=e=>{"use no memo";const t=zD();return e.content.className=J(ND.content,t.root,e.appearance==="inverted"&&t.inverted,e.visible&&t.visible,e.content.className),e.arrowClassName=t.arrow,e},er=e=>{const t=CD(e);return RD(t),Xe("useTooltipStyles_unstable")(t),ED(t)};er.displayName="Tooltip";er.isFluentTriggerComponent=!0;const e1=e=>{const{iconOnly:t,iconPosition:r}=e;return xt(e.root,{children:[r!=="after"&&e.icon&&ge(e.icon,{}),!t&&e.root.children,r==="after"&&e.icon&&ge(e.icon,{})]})},b6=S.createContext(void 0),AD={};b6.Provider;const DD=()=>{var e;return(e=S.useContext(b6))!==null&&e!==void 0?e:AD},Sf=(e,t)=>{const{size:r}=DD(),{appearance:o="secondary",as:i="button",disabled:s=!1,disabledFocusable:c=!1,icon:d,iconPosition:f="before",shape:h="rounded",size:m=r??"medium"}=e,p=gt(d,{elementType:"span"});return{appearance:o,disabled:s,disabledFocusable:c,iconPosition:f,shape:h,size:m,iconOnly:!!(p!=null&&p.children&&!e.children),components:{root:"button",icon:"span"},root:je(ct(i,Di(e.as,e)),{elementType:"button",defaultProps:{ref:t,type:i==="button"?"button":void 0}}),icon:p}},ow={root:"fui-Button",icon:"fui-Button__icon"},jD=We("r1alrhcs",null,{r:[".r1alrhcs{align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;text-decoration-line:none;vertical-align:middle;margin:0;overflow:hidden;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);font-family:var(--fontFamilyBase);outline-style:none;padding:5px var(--spacingHorizontalM);min-width:96px;border-radius:var(--borderRadiusMedium);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);transition-duration:var(--durationFaster);transition-property:background,border,color;transition-timing-function:var(--curveEasyEase);}",".r1alrhcs:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}",".r1alrhcs:hover:active{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}",".r1alrhcs[data-fui-focus-visible]{border-color:var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);border-width:1px;outline:var(--strokeWidthThick) solid var(--colorTransparentStroke);box-shadow:0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;z-index:1;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1alrhcs{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1alrhcs:focus{border-color:ButtonText;}.r1alrhcs:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1alrhcs:hover:active{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}","@supports (-moz-appearance:button){.r1alrhcs[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),OD=We("rywnvv2",null,[".rywnvv2{align-items:center;display:inline-flex;justify-content:center;font-size:20px;height:20px;width:20px;--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}"]),MD=xe({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",iro3zm:"fwiml72"},primary:{De3pzq:"ffp7eso",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1phragk",Jwef8y:"f15wkkf3",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f1rq72xc",iro3zm:"fnp9lpt",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1d6v5y2",Bsw6fvg:"f1rirnrt",Bjwas2f:"f1uu00uk",Bn1d65q:["fkvaka8","f9a0qzu"],Bxeuatn:"f1ux7til",n51gp8:["f9a0qzu","fkvaka8"],Bbusuzp:"f1lkg8j3",ycbfsm:"fkc42ay",Bqrx1nm:"fq7113v",pgvf35:"ff1wgvm",Bh7lczh:["fiob0tu","f1x4h75k"],dpv3f4:"f1j6scgf",Bpnjhaq:["f1x4h75k","fiob0tu"],ze5xyy:"f4xjyn1",g2kj27:"fbgcvur",Bf756sw:"f1ks1yx8",Bow2dr7:["f1o6qegi","fmxjhhp"],Bvhedfk:"fcnxywj",Gye4lf:["fmxjhhp","f1o6qegi"],pc6evw:"f9ddjv3"},secondary:{},subtle:{De3pzq:"fhovq9v",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"f1t94bn6",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"fnwyq0v",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bbdnnc7:"fy5bs14",iro3zm:"fsv2rcd",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1omzyqd",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",x3br3k:"fj8yq94",ze5xyy:"f4xjyn1",Bx3q9su:"f1et0tmh",pc6evw:"f9ddjv3",xd2cci:"f1wi8ngl"},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f139oj5f",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",iro3zm:"fwiml72",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1fg1p5m",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",Bqrx1nm:"f1tme0vf",ze5xyy:"f4xjyn1",g2kj27:"f18onu3q",pc6evw:"f9ddjv3"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},rounded:{},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},small:{Bf4jedk:"fh7ncta",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fneth5b",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},smallWithIcon:{Byoj8tv:"f1brlhvm",z8tnut:"f1sl3k7w"},medium:{},large:{Bf4jedk:"f14es27b",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4db1ww",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},largeWithIcon:{Byoj8tv:"fy7v416",z8tnut:"f1a1bwwz"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".fh7ncta{min-width:64px;}",[".fneth5b{padding:3px var(--spacingHorizontalS);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1brlhvm{padding-bottom:1px;}",".f1sl3k7w{padding-top:1px;}",".f14es27b{min-width:96px;}",[".f4db1ww{padding:8px var(--spacingHorizontalL);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fy7v416{padding-bottom:7px;}",".f1a1bwwz{padding-top:7px;}"],h:[".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fwiml72:hover:active{background-color:var(--colorTransparentBackgroundPressed);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".fnp9lpt:hover:active{background-color:var(--colorBrandBackgroundPressed);}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}",".f1d6v5y2:hover:active{color:var(--colorNeutralForegroundOnBrand);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".ft1hn21:hover .fui-Icon-filled{display:inline;}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".fy5bs14:hover .fui-Button__icon{color:var(--colorNeutralForeground2BrandHover);}",".fsv2rcd:hover:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1omzyqd:hover:active{color:var(--colorNeutralForeground2Pressed);}",".f1dfjoow:hover:active .fui-Icon-filled{display:inline;}",".f1j98vj9:hover:active .fui-Icon-regular{display:none;}",".fj8yq94:hover:active .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1fg1p5m:hover:active{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1rirnrt{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1uu00uk{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9a0qzu{border-left-color:HighlightText;}.fkvaka8{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ux7til{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lkg8j3{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fq7113v:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ff1wgvm:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1x4h75k:hover{border-left-color:Highlight;}.fiob0tu:hover{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1j6scgf:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4xjyn1:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbgcvur:hover:active{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ks1yx8:hover:active{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o6qegi:hover:active{border-right-color:Highlight;}.fmxjhhp:hover:active{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fcnxywj:hover:active{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9ddjv3:hover:active{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1et0tmh:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wi8ngl:hover:active .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1tme0vf:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18onu3q:hover:active{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),qD=xe({base:{De3pzq:"f1bg9a2p",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bfinmwp:"f15x8b5r",Jwef8y:"f1falr9n",Bgoe8wy:"f12mpcsy",Bwzppfd:["f1gwvigk","f18rmfxp"],oetu4i:"f1jnshp0",gg5e9n:["f18rmfxp","f1gwvigk"],Bi91k9c:"fvgxktp",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bbdnnc7:"f1al02dq",iro3zm:"f1t6o4dc",b661bw:"f10ztigi",Bk6r4ia:["f1ft5sdu","f1gzf82w"],B9zn80p:"f12zbtn2",Bpld233:["f1gzf82w","f1ft5sdu"],B2d53fq:"fcvwxyo",c3iz72:"f8w4c43",em6i61:"f1ol4fw6",vm6p8p:"f1q1lw4e",x3br3k:"f1dwjv2g"},highContrast:{Bsw6fvg:"f4lkoma",Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"],Bbusuzp:"f1dcs8yz",Bm2fdqk:"fuigjrg",G867l3:"fjwq6ea",gdbnj:["f1lr3nhc","f1mbxvi6"],mxns5l:"fn5gmvv",o3nasb:["f1mbxvi6","f1lr3nhc"],Bqrx1nm:"f1vmkb5g",pgvf35:"f53ppgq",Bh7lczh:["f1663y11","f80fkiy"],dpv3f4:"f18v5270",Bpnjhaq:["f80fkiy","f1663y11"],ze5xyy:"f1kc2mi9",Bx3q9su:"f4dhi0o",g2kj27:"f1y0svfh",Bf756sw:"fihuait",Bow2dr7:["fnxhupq","fyd6l6x"],Bvhedfk:"fx507ft",Gye4lf:["fyd6l6x","fnxhupq"],pc6evw:"fb3rf2x",xd2cci:"fequ9m0"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",iro3zm:"f3h1zc4"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},secondary:{},subtle:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]}},{d:[".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f15x8b5r .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}"],h:[".f1falr9n:hover{background-color:var(--colorNeutralBackgroundDisabled);}",".f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);}",".f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1al02dq:hover .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1t6o4dc:hover:active{background-color:var(--colorNeutralBackgroundDisabled);}",".f10ztigi:hover:active{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ft5sdu:hover:active{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1gzf82w:hover:active{border-left-color:var(--colorNeutralStrokeDisabled);}",".f12zbtn2:hover:active{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f8w4c43:hover:active{cursor:not-allowed;}",".f1ol4fw6:hover:active .fui-Icon-filled{display:none;}",".f1q1lw4e:hover:active .fui-Icon-regular{display:inline;}",".f1dwjv2g:hover:active .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f3h1zc4:hover:active{background-color:var(--colorTransparentBackground);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.f4lkoma{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fuigjrg .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fjwq6ea:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lr3nhc:focus{border-right-color:GrayText;}.f1mbxvi6:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fn5gmvv:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1vmkb5g:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f53ppgq:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1663y11:hover{border-right-color:GrayText;}.f80fkiy:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18v5270:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1kc2mi9:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4dhi0o:hover .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1y0svfh:hover:active{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fihuait:hover:active{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fnxhupq:hover:active{border-right-color:GrayText;}.fyd6l6x:hover:active{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fx507ft:hover:active{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fb3rf2x:hover:active{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fequ9m0:hover:active .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),FD=xe({circular:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1062rbf"},rounded:{},square:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fj0ryk1"},primary:{B8q5s1w:"f17t0x8g",Bci5o5g:["f194v5ow","fk7jm04"],n8qw10:"f1qgg65p",Bdrgwmp:["fk7jm04","f194v5ow"],j6ew2k:["fhgccpy","fjo7pq6"],he4mth:"f32wu9k",Byr4aka:"fu5nqqq",lks7q5:["f13prjl2","f1nl83rv"],Bnan3qt:"f1czftr5",k1dn9:["f1nl83rv","f13prjl2"],Boium3a:["f12k37oa","fdnykm2"],tm8e47:"fr96u23"},small:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fazmxh"},medium:{},large:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1b6alqh"}},{d:[[".f1062rbf[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".fj0ryk1[data-fui-focus-visible]{border-radius:var(--borderRadiusNone);}",{p:-1}],".f17t0x8g[data-fui-focus-visible]{border-top-color:var(--colorStrokeFocus2);}",".f194v5ow[data-fui-focus-visible]{border-right-color:var(--colorStrokeFocus2);}",".fk7jm04[data-fui-focus-visible]{border-left-color:var(--colorStrokeFocus2);}",".f1qgg65p[data-fui-focus-visible]{border-bottom-color:var(--colorStrokeFocus2);}",".fhgccpy[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".fjo7pq6[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".f32wu9k[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;}",".fu5nqqq[data-fui-focus-visible]:hover{border-top-color:var(--colorStrokeFocus2);}",".f13prjl2[data-fui-focus-visible]:hover{border-right-color:var(--colorStrokeFocus2);}",".f1nl83rv[data-fui-focus-visible]:hover{border-left-color:var(--colorStrokeFocus2);}",".f1czftr5[data-fui-focus-visible]:hover{border-bottom-color:var(--colorStrokeFocus2);}",[".fazmxh[data-fui-focus-visible]{border-radius:var(--borderRadiusSmall);}",{p:-1}],[".f1b6alqh[data-fui-focus-visible]{border-radius:var(--borderRadiusLarge);}",{p:-1}]],t:["@supports (-moz-appearance:button){.f12k37oa[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}.fdnykm2[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}}","@supports (-moz-appearance:button){.fr96u23[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),PD=xe({small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fu97m5z",Bf4jedk:"f17fgpbq",B2u0y6b:"f1jt17bm"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f18ktai2",Bf4jedk:"fwbmr0d",B2u0y6b:"f44c6la"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1hbd1aw",Bf4jedk:"f12clzc2",B2u0y6b:"fjy1crr"}},{d:[[".fu97m5z{padding:1px;}",{p:-1}],".f17fgpbq{min-width:24px;}",".f1jt17bm{max-width:24px;}",[".f18ktai2{padding:5px;}",{p:-1}],".fwbmr0d{min-width:32px;}",".f44c6la{max-width:32px;}",[".f1hbd1aw{padding:7px;}",{p:-1}],".f12clzc2{min-width:40px;}",".fjy1crr{max-width:40px;}"]}),ID=xe({small:{Be2twd7:"fe5j1ua",Bqenvij:"fjamq6b",a9b677:"f64fuq3",Bqrlyyl:"fbaiahx"},medium:{},large:{Be2twd7:"f1rt2boy",Bqenvij:"frvgh55",a9b677:"fq4mcun",Bqrlyyl:"f1exjqw5"},before:{t21cq0:["f1nizpg2","f1a695kz"]},after:{Frg6f3:["f1a695kz","f1nizpg2"]}},{d:[".fe5j1ua{font-size:20px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".fbaiahx{--fui-Button__icon--spacing:var(--spacingHorizontalXS);}",".f1rt2boy{font-size:24px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".f1exjqw5{--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}",".f1nizpg2{margin-right:var(--fui-Button__icon--spacing);}",".f1a695kz{margin-left:var(--fui-Button__icon--spacing);}"]}),kf=e=>{"use no memo";const t=jD(),r=OD(),o=MD(),i=qD(),s=FD(),c=PD(),d=ID(),{appearance:f,disabled:h,disabledFocusable:m,icon:p,iconOnly:w,iconPosition:v,shape:x,size:y}=e;return e.root.className=J(ow.root,t,f&&o[f],o[y],p&&y==="small"&&o.smallWithIcon,p&&y==="large"&&o.largeWithIcon,o[x],(h||m)&&i.base,(h||m)&&i.highContrast,f&&(h||m)&&i[f],f==="primary"&&s.primary,s[y],s[x],w&&c[y],e.root.className),e.icon&&(e.icon.className=J(ow.icon,r,!!e.root.children&&d[v],d[y],e.icon.className)),e},en=S.forwardRef((e,t)=>{const r=Sf(e,t);return kf(r),Xe("useButtonStyles_unstable")(r),e1(r)});en.displayName="Button";const LD=e=>{const{icon:t,iconOnly:r}=e;return xt(e.root,{children:[e.icon&&ge(e.icon,{}),!r&&e.root.children,(!r||!(t!=null&&t.children))&&e.menuIcon&&ge(e.menuIcon,{})]})},HD=({menuIcon:e,...t},r)=>{"use no memo";const o=Sf(t,r);return o.root["aria-expanded"]=t["aria-expanded"]?t["aria-expanded"]==="true"||t["aria-expanded"]===!0:!1,{...o,iconOnly:!t.children,components:{root:"button",icon:"span",menuIcon:"span"},menuIcon:gt(e,{defaultProps:{children:S.createElement(z7,null)},renderByDefault:!0,elementType:"span"})}},xm={root:"fui-MenuButton",icon:"fui-MenuButton__icon",menuIcon:"fui-MenuButton__menuIcon"},UD=xe({base:{D0sxk3:"fxoiby5",t6yez3:"f15q0o9g"},outline:{g2u3we:"f1ly1fcm",h3c5rm:["fi8bssc","fj6btzu"],B9xav0g:"f1s9tnsa",zhjwy3:["fj6btzu","fi8bssc"],B4j52fo:"fgx37oo",Bekrc4i:["f130t4y6","f1efpmoh"],Bn0qgzm:"fv51ejd",ibv6hh:["f1efpmoh","f130t4y6"],sj55zd:"f14nttnl"},primary:{De3pzq:"f8w4g0q"},secondary:{De3pzq:"f1nfm20t",g2u3we:"f1ly1fcm",h3c5rm:["fi8bssc","fj6btzu"],B9xav0g:"f1s9tnsa",zhjwy3:["fj6btzu","fi8bssc"],sj55zd:"f14nttnl"},subtle:{De3pzq:"fq5gl1p",sj55zd:"f1eryozh"},transparent:{De3pzq:"f1q9pm1r",sj55zd:"f1qj7y59"}},{d:[".fxoiby5 .fui-Icon-filled{display:inline;}",".f15q0o9g .fui-Icon-regular{display:none;}",".f1ly1fcm{border-top-color:var(--colorNeutralStroke1Selected);}",".fi8bssc{border-right-color:var(--colorNeutralStroke1Selected);}",".fj6btzu{border-left-color:var(--colorNeutralStroke1Selected);}",".f1s9tnsa{border-bottom-color:var(--colorNeutralStroke1Selected);}",".fgx37oo{border-top-width:var(--strokeWidthThicker);}",".f130t4y6{border-right-width:var(--strokeWidthThicker);}",".f1efpmoh{border-left-width:var(--strokeWidthThicker);}",".fv51ejd{border-bottom-width:var(--strokeWidthThicker);}",".f14nttnl{color:var(--colorNeutralForeground1Selected);}",".f8w4g0q{background-color:var(--colorBrandBackgroundSelected);}",".f1nfm20t{background-color:var(--colorNeutralBackground1Selected);}",".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1eryozh{color:var(--colorNeutralForeground2Selected);}",".f1q9pm1r{background-color:var(--colorTransparentBackgroundSelected);}",".f1qj7y59{color:var(--colorNeutralForeground2BrandSelected);}"]}),VD=xe({outline:{sj55zd:"f14nttnl"},primary:{},secondary:{sj55zd:"f14nttnl"},subtle:{sj55zd:"f1qj7y59"},transparent:{sj55zd:"f1qj7y59"},highContrast:{ze5xyy:"f4xjyn1"}},{d:[".f14nttnl{color:var(--colorNeutralForeground1Selected);}",".f1qj7y59{color:var(--colorNeutralForeground2BrandSelected);}"],m:[["@media (forced-colors: active){.f4xjyn1:hover{color:Highlight;}}",{m:"(forced-colors: active)"}]]}),WD=xe({base:{Bg96gwp:"fez10in"},small:{Be2twd7:"f1ugzwwg",Bqenvij:"fvblgha",Bg96gwp:"fwrc4pm",a9b677:"frx94fk"},medium:{Be2twd7:"f1ugzwwg",Bqenvij:"fvblgha",Bg96gwp:"fwrc4pm",a9b677:"frx94fk"},large:{Be2twd7:"f4ybsrx",Bqenvij:"fd461yt",Bg96gwp:"faaz57k",a9b677:"fjw5fx7"},notIconOnly:{Frg6f3:["fbyavb5","fm0x6gh"]}},{d:[".fez10in{line-height:0;}",".f1ugzwwg{font-size:12px;}",".fvblgha{height:12px;}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".frx94fk{width:12px;}",".f4ybsrx{font-size:16px;}",".fd461yt{height:16px;}",".faaz57k{line-height:var(--lineHeightBase400);}",".fjw5fx7{width:16px;}",".fbyavb5{margin-left:var(--spacingHorizontalXS);}",".fm0x6gh{margin-right:var(--spacingHorizontalXS);}"]}),GD=e=>{"use no memo";const t=UD(),r=VD(),o=WD();return e.root.className=J(xm.root,e.root["aria-expanded"]&&t.base,e.root["aria-expanded"]&&t[e.appearance],e.root.className),e.icon&&(e.icon.className=J(xm.icon,e.root["aria-expanded"]&&r[e.appearance]&&r.highContrast,e.icon.className)),e.menuIcon&&(e.menuIcon.className=J(xm.menuIcon,o.base,o[e.size],!e.iconOnly&&o.notIconOnly,e.menuIcon.className)),kf({...e,iconPosition:"before"}),e},v6=S.forwardRef((e,t)=>{const r=HD(e,t);return GD(r),Xe("useMenuButtonStyles_unstable")(r),LD(r)});v6.displayName="MenuButton";function $D(e,t){const{checked:r,defaultChecked:o,disabled:i,disabledFocusable:s}=e,{onClick:c,role:d}=t.root,[f,h]=Rn({state:r,defaultState:o,initialState:!1}),m=d==="menuitemcheckbox"||d==="checkbox",p=S.useCallback(w=>{if(!i&&!s){if(w.defaultPrevented)return;h(!f)}},[f,i,s,h]);return{...t,checked:f,root:{...t.root,[m?"aria-checked":"aria-pressed"]:f,onClick:ke(Mt(c,p))}}}const XD=(e,t)=>{const r=Sf(e,t);return $D(e,r)},aw={root:"fui-ToggleButton",icon:"fui-ToggleButton__icon"},KD=xe({base:{De3pzq:"f1nfm20t",g2u3we:"fj3muxo",h3c5rm:["f1akhkt","f1lxtadh"],B9xav0g:"f1aperda",zhjwy3:["f1lxtadh","f1akhkt"],sj55zd:"f14nttnl",B4j52fo:"f192inf7",Bekrc4i:["f5tn483","f1ojsxk5"],Bn0qgzm:"f1vxd6vx",ibv6hh:["f1ojsxk5","f5tn483"],D0sxk3:"fxoiby5",t6yez3:"f15q0o9g",Jwef8y:"f1knas48",Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1xlaoq0",gg5e9n:["f1m52nbi","f1ub3y4t"],Bi91k9c:"feu1g3u",iro3zm:"f141de4g",b661bw:"f11v6sdu",Bk6r4ia:["f9yn8i4","f1ajwf28"],B9zn80p:"f1uwu36w",Bpld233:["f1ajwf28","f9yn8i4"],B2d53fq:"f9olfzr"},highContrast:{Bsw6fvg:"f1rirnrt",Bjwas2f:"f132fbg1",Bn1d65q:["f1ene5x0","fzbc999"],Bxeuatn:"f6jgcol",n51gp8:["fzbc999","f1ene5x0"],Bbusuzp:"f1lkg8j3",ycbfsm:"fkc42ay",Bqrx1nm:"fq7113v",pgvf35:"ff1wgvm",Bh7lczh:["fiob0tu","f1x4h75k"],dpv3f4:"f1j6scgf",Bpnjhaq:["f1x4h75k","fiob0tu"],ze5xyy:"f4xjyn1",g2kj27:"fbgcvur",Bf756sw:"f1ks1yx8",Bow2dr7:["f1o6qegi","fmxjhhp"],Bvhedfk:"fcnxywj",Gye4lf:["fmxjhhp","f1o6qegi"],pc6evw:"f9ddjv3",F3bflw:0,mxns5l:0,B0tp99d:0,l9kbep:0,Bg4echp:0,o3nasb:0,B55dcl7:0,By5cl00:0,Bnk1xnq:0,gdbnj:0,Bw5jppy:0,B8jyv7h:0,ka51wi:0,G867l3:0,abbn9y:0,Btyszwp:0,Bi9mhhg:"f1mh9o5k",B7d2ofm:"fkom8lu"},outline:{De3pzq:"f1q9pm1r",g2u3we:"fj3muxo",h3c5rm:["f1akhkt","f1lxtadh"],B9xav0g:"f1aperda",zhjwy3:["f1lxtadh","f1akhkt"],B4j52fo:"fgx37oo",Bekrc4i:["f130t4y6","f1efpmoh"],Bn0qgzm:"fv51ejd",ibv6hh:["f1efpmoh","f130t4y6"],Jwef8y:"fjxutwb",iro3zm:"fwiml72",B8q5s1w:"fcaw57c",Bci5o5g:["fpwd27e","f1999bjr"],n8qw10:"f1hi52o4",Bdrgwmp:["f1999bjr","fpwd27e"]},primary:{De3pzq:"f8w4g0q",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1phragk",Jwef8y:"f15wkkf3",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f1rq72xc",iro3zm:"fnp9lpt",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1d6v5y2"},secondary:{},subtle:{De3pzq:"fq5gl1p",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1eryozh",Jwef8y:"f1t94bn6",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"fnwyq0v",iro3zm:"fsv2rcd",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1omzyqd"},transparent:{De3pzq:"f1q9pm1r",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1qj7y59",Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f139oj5f",iro3zm:"fwiml72",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1fg1p5m"}},{d:[".f1nfm20t{background-color:var(--colorNeutralBackground1Selected);}",".fj3muxo{border-top-color:var(--colorNeutralStroke1);}",".f1akhkt{border-right-color:var(--colorNeutralStroke1);}",".f1lxtadh{border-left-color:var(--colorNeutralStroke1);}",".f1aperda{border-bottom-color:var(--colorNeutralStroke1);}",".f14nttnl{color:var(--colorNeutralForeground1Selected);}",".f192inf7{border-top-width:var(--strokeWidthThin);}",".f5tn483{border-right-width:var(--strokeWidthThin);}",".f1ojsxk5{border-left-width:var(--strokeWidthThin);}",".f1vxd6vx{border-bottom-width:var(--strokeWidthThin);}",".fxoiby5 .fui-Icon-filled{display:inline;}",".f15q0o9g .fui-Icon-regular{display:none;}",".f1q9pm1r{background-color:var(--colorTransparentBackgroundSelected);}",".fgx37oo{border-top-width:var(--strokeWidthThicker);}",".f130t4y6{border-right-width:var(--strokeWidthThicker);}",".f1efpmoh{border-left-width:var(--strokeWidthThicker);}",".fv51ejd{border-bottom-width:var(--strokeWidthThicker);}",".fcaw57c[data-fui-focus-visible]{border-top-color:var(--colorNeutralStroke1);}",".fpwd27e[data-fui-focus-visible]{border-right-color:var(--colorNeutralStroke1);}",".f1999bjr[data-fui-focus-visible]{border-left-color:var(--colorNeutralStroke1);}",".f1hi52o4[data-fui-focus-visible]{border-bottom-color:var(--colorNeutralStroke1);}",".f8w4g0q{background-color:var(--colorBrandBackgroundSelected);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1eryozh{color:var(--colorNeutralForeground2Selected);}",".f1qj7y59{color:var(--colorNeutralForeground2BrandSelected);}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1xlaoq0:hover{border-bottom-color:var(--colorNeutralStroke1Hover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f141de4g:hover:active{background-color:var(--colorNeutralBackground1Pressed);}",".f11v6sdu:hover:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f9yn8i4:hover:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f1ajwf28:hover:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1uwu36w:hover:active{border-bottom-color:var(--colorNeutralStroke1Pressed);}",".f9olfzr:hover:active{color:var(--colorNeutralForeground1Pressed);}",".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fwiml72:hover:active{background-color:var(--colorTransparentBackgroundPressed);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".fnp9lpt:hover:active{background-color:var(--colorBrandBackgroundPressed);}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}",".f1d6v5y2:hover:active{color:var(--colorNeutralForegroundOnBrand);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".fsv2rcd:hover:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1omzyqd:hover:active{color:var(--colorNeutralForeground2Pressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1fg1p5m:hover:active{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1rirnrt{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f132fbg1{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ene5x0{border-right-color:Highlight;}.fzbc999{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f6jgcol{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lkg8j3{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fq7113v:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ff1wgvm:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1x4h75k:hover{border-left-color:Highlight;}.fiob0tu:hover{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1j6scgf:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4xjyn1:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbgcvur:hover:active{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ks1yx8:hover:active{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o6qegi:hover:active{border-right-color:Highlight;}.fmxjhhp:hover:active{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fcnxywj:hover:active{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9ddjv3:hover:active{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1mh9o5k:focus{border:1px solid HighlightText;}}",{p:-2,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkom8lu:focus{outline-color:Highlight;}}",{m:"(forced-colors: active)"}]]}),YD=xe({base:{De3pzq:"f1bg9a2p",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Jwef8y:"f1falr9n",Bgoe8wy:"f12mpcsy",Bwzppfd:["f1gwvigk","f18rmfxp"],oetu4i:"f1jnshp0",gg5e9n:["f18rmfxp","f1gwvigk"],Bi91k9c:"fvgxktp",iro3zm:"f1t6o4dc",b661bw:"f10ztigi",Bk6r4ia:["f1ft5sdu","f1gzf82w"],B9zn80p:"f12zbtn2",Bpld233:["f1gzf82w","f1ft5sdu"],B2d53fq:"fcvwxyo"},outline:{},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},secondary:{},subtle:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"fwiml72",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"fwiml72",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]}},{d:[".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}"],h:[".f1falr9n:hover{background-color:var(--colorNeutralBackgroundDisabled);}",".f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);}",".f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f1t6o4dc:hover:active{background-color:var(--colorNeutralBackgroundDisabled);}",".f10ztigi:hover:active{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ft5sdu:hover:active{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1gzf82w:hover:active{border-left-color:var(--colorNeutralStrokeDisabled);}",".f12zbtn2:hover:active{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}",".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fwiml72:hover:active{background-color:var(--colorTransparentBackgroundPressed);}"]}),ZD=xe({subtleOrTransparent:{sj55zd:"f1qj7y59"},highContrast:{ycbfsm:"fg4l7m0"}},{d:[".f1qj7y59{color:var(--colorNeutralForeground2BrandSelected);}"],m:[["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]]}),QD=xe({base:{Bsw6fvg:"f4lkoma",Bjwas2f:"f1bauw5b",Bn1d65q:["fbpknfk","fedl69w"],Bxeuatn:"f15s25nd",n51gp8:["fedl69w","fbpknfk"],Bbusuzp:"f1e4kh5",ycbfsm:"fg4l7m0"},disabled:{Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"],Bbusuzp:"f1dcs8yz",G867l3:"fjwq6ea",gdbnj:["f1lr3nhc","f1mbxvi6"],mxns5l:"fn5gmvv",o3nasb:["f1mbxvi6","f1lr3nhc"]}},{m:[["@media (forced-colors: active){.f4lkoma{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1bauw5b{border-top-color:ButtonBorder;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbpknfk{border-right-color:ButtonBorder;}.fedl69w{border-left-color:ButtonBorder;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f15s25nd{border-bottom-color:ButtonBorder;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1e4kh5{color:ButtonText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fjwq6ea:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lr3nhc:focus{border-right-color:GrayText;}.f1mbxvi6:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fn5gmvv:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]]}),JD=e=>{"use no memo";const t=KD(),r=YD(),o=ZD(),i=QD(),{appearance:s,checked:c,disabled:d,disabledFocusable:f}=e;return e.root.className=J(aw.root,s==="primary"&&i.base,s==="primary"&&(d||f)&&i.disabled,c&&t.base,c&&t.highContrast,s&&c&&t[s],(d||f)&&r.base,s&&(d||f)&&r[s],e.root.className),e.icon&&(e.icon.className=J(aw.icon,c&&(s==="subtle"||s==="transparent")&&o.subtleOrTransparent,o.highContrast,e.icon.className)),kf(e),e},y6=S.createContext(void 0);y6.Provider;const ej=()=>S.useContext(y6);function t1(e,t){return tj(ej(),e,t)}function tj(e,t,r){if(!e)return t;t={...t};const{generatedControlId:o,hintId:i,labelFor:s,labelId:c,required:d,validationMessageId:f,validationState:h}=e;if(o){var m,p;(p=(m=t).id)!==null&&p!==void 0||(m.id=o)}if(c&&(!(r!=null&&r.supportsLabelFor)||s!==t.id)){var w,v,x;(x=(w=t)[v="aria-labelledby"])!==null&&x!==void 0||(w[v]=c)}if((f||i)&&(t["aria-describedby"]=[f,i,t==null?void 0:t["aria-describedby"]].filter(Boolean).join(" ")),h==="error"){var y,k,B;(B=(y=t)[k="aria-invalid"])!==null&&B!==void 0||(y[k]=!0)}if(d)if(r!=null&&r.supportsRequired){var _,C;(C=(_=t).required)!==null&&C!==void 0||(_.required=!0)}else{var N,R,j;(j=(N=t)[R="aria-required"])!==null&&j!==void 0||(N[R]=!0)}if(r!=null&&r.supportsSize){var D,M;(M=(D=t).size)!==null&&M!==void 0||(D.size=e.size)}return t}const rj=(e,t)=>{const{disabled:r=!1,required:o=!1,weight:i="regular",size:s="medium"}=e;return{disabled:r,required:gt(o===!0?"*":o||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),weight:i,size:s,components:{root:"label",required:"span"},root:je(ct("label",{ref:t,...e}),{elementType:"label"})}},nj=e=>xt(e.root,{children:[e.root.children,e.required&&ge(e.required,{})]}),iw={root:"fui-Label",required:"fui-Label__required"},oj=xe({root:{Bahqtrf:"fk6fouc",sj55zd:"f19n0e5"},disabled:{sj55zd:"f1s2aq7o",Bbusuzp:"f1dcs8yz"},required:{sj55zd:"f1whyuy6",uwmqm3:["fruq291","f7x41pl"]},small:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},medium:{Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi"},large:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k",Bhrd7zp:"fl43uef"},semibold:{Bhrd7zp:"fl43uef"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),aj=e=>{"use no memo";const t=oj();return e.root.className=J(iw.root,t.root,e.disabled&&t.disabled,t[e.size],e.weight==="semibold"&&t.semibold,e.root.className),e.required&&(e.required.className=J(iw.required,t.required,e.disabled&&t.disabled,e.required.className)),e},da=S.forwardRef((e,t)=>{const r=rj(e,t);return aj(r),Xe("useLabelStyles_unstable")(r),nj(r)});da.displayName="Label";const ij=(e,t)=>{"use no memo";e=t1(e,{supportsLabelFor:!0,supportsRequired:!0});const{disabled:r=!1,required:o,shape:i="square",size:s="medium",labelPosition:c="after",onChange:d}=e,[f,h]=Rn({defaultState:e.defaultChecked,state:e.checked,initialState:!1}),m=af({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","size","onChange"]}),p=f==="mixed",w=hn("checkbox-",m.primary.id);let v;p?i==="circular"?v=S.createElement(G5,null):v=s==="large"?S.createElement(gz,null):S.createElement(mz,null):f&&(v=s==="large"?S.createElement(I7,null):S.createElement(P7,null));const x={shape:i,checked:f,disabled:r,size:s,labelPosition:c,components:{root:"span",input:"input",indicator:"div",label:da},root:je(e.root,{defaultProps:{ref:Kl(),...m.root},elementType:"span"}),input:je(e.input,{defaultProps:{type:"checkbox",id:w,ref:t,checked:f===!0,...m.primary},elementType:"input"}),label:gt(e.label,{defaultProps:{htmlFor:w,disabled:r,required:o,size:"medium"},elementType:da}),indicator:gt(e.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0,children:v},elementType:"div"})};x.input.onChange=ke(k=>{const B=k.currentTarget.indeterminate?"mixed":k.currentTarget.checked;d==null||d(k,{checked:B}),h(B)});const y=Br(x.input.ref);return x.input.ref=y,jr(()=>{y.current&&(y.current.indeterminate=p)},[y,p]),x},lj=e=>xt(e.root,{children:[ge(e.input,{}),e.labelPosition==="before"&&e.label&&ge(e.label,{}),e.indicator&&ge(e.indicator,{}),e.labelPosition==="after"&&e.label&&ge(e.label,{})]}),ad={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"},sj=We("r1q22k1j","r18ze4k2",{r:[".r1q22k1j{position:relative;display:inline-flex;cursor:pointer;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r1q22k1j:focus{outline-style:none;}",".r1q22k1j:focus-visible{outline-style:none;}",".r1q22k1j[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1q22k1j[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r18ze4k2{position:relative;display:inline-flex;cursor:pointer;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r18ze4k2:focus{outline-style:none;}",".r18ze4k2:focus-visible{outline-style:none;}",".r18ze4k2[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r18ze4k2[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1q22k1j[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.r18ze4k2[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),uj=xe({unchecked:{Bi91k9c:"f3p8bqa",pv5h1i:"fium13f",lj723h:"f1r2dosr",Hnthvo:"f1729es6"},checked:{sj55zd:"f19n0e5",wkncrt:"f35ds98",zxk7z7:"f12mnkne",Hmsnfy:"fei9a8h",e6czan:"fix56y3",pv5h1i:"f1bcv2js",qbydtz:"f7dr4go",Hnthvo:"f1r5cpua"},mixed:{sj55zd:"f19n0e5",Hmsnfy:"f1l27tf0",zxk7z7:"fcilktj",pv5h1i:"f1lphd54",Bunfa6h:"f1obkvq7",Hnthvo:"f2gmbuh",B15ykmv:"f1oy4fa1"},disabled:{Bceei9c:"f158kwzp",sj55zd:"f1s2aq7o",Hmsnfy:"f1w7mfl5",zxk7z7:"fcoafq6",Bbusuzp:"f1dcs8yz",mrqfp9:"fxb3eh3"}},{h:[".f3p8bqa:hover{color:var(--colorNeutralForeground2);}",".fium13f:hover{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessibleHover);}",".fix56y3:hover{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundHover);}",".f1bcv2js:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundHover);}",".f1lphd54:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokeHover);}",".f1obkvq7:hover{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Hover);}"],a:[".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".f1729es6:active{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessiblePressed);}",".f7dr4go:active{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundPressed);}",".f1r5cpua:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundPressed);}",".f2gmbuh:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokePressed);}",".f1oy4fa1:active{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Pressed);}"],d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f35ds98{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackground);}",".f12mnkne{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundInverted);}",".fei9a8h{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackground);}",".f1l27tf0{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStroke);}",".fcilktj{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1);}",".f158kwzp{cursor:default;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1w7mfl5{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeDisabled);}",".fcoafq6{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fxb3eh3{--fui-Checkbox__indicator--color:GrayText;}}",{m:"(forced-colors: active)"}]]}),cj=We("ruo9svu",null,[".ruo9svu{box-sizing:border-box;cursor:inherit;height:100%;margin:0;opacity:0;position:absolute;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));}"]),dj=xe({before:{j35jbq:["f1e31b4d","f1vgc2s3"]},after:{oyh7mz:["f1vgc2s3","f1e31b4d"]},large:{a9b677:"f1mq5jt6"}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f1mq5jt6{width:calc(20px + 2 * var(--spacingHorizontalS));}"]}),fj=We("rl7ci6d",null,[".rl7ci6d{align-self:flex-start;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--fui-Checkbox__indicator--color);background-color:var(--fui-Checkbox__indicator--backgroundColor);border-color:var(--fui-Checkbox__indicator--borderColor, var(--colorNeutralStrokeAccessible));border-style:solid;border-width:var(--strokeWidthThin);border-radius:var(--borderRadiusSmall);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;font-size:12px;height:16px;width:16px;}"]),hj=xe({large:{Be2twd7:"f4ybsrx",Bqenvij:"fjamq6b",a9b677:"f64fuq3"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"}},{d:[".f4ybsrx{font-size:16px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}]]}),mj=xe({base:{qb2dma:"f7nlbp4",sj55zd:"f1ym3bx4",Bceei9c:"fpo1scq",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},before:{z189sj:["f7x41pl","fruq291"]},after:{uwmqm3:["fruq291","f7x41pl"]},medium:{B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},large:{B6of3ja:"f1xlvstr",jrapky:"f49ad5g"}},{d:[".f7nlbp4{align-self:center;}",".f1ym3bx4{color:inherit;}",".fpo1scq{cursor:inherit;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}"]}),gj=e=>{"use no memo";const{checked:t,disabled:r,labelPosition:o,shape:i,size:s}=e,c=sj(),d=uj();e.root.className=J(ad.root,c,r?d.disabled:t==="mixed"?d.mixed:t?d.checked:d.unchecked,e.root.className);const f=cj(),h=dj();e.input.className=J(ad.input,f,s==="large"&&h.large,h[o],e.input.className);const m=fj(),p=hj();e.indicator&&(e.indicator.className=J(ad.indicator,m,s==="large"&&p.large,i==="circular"&&p.circular,e.indicator.className));const w=mj();return e.label&&(e.label.className=J(ad.label,w.base,w[s],w[o],e.label.className)),e},rp=S.forwardRef((e,t)=>{const r=ij(e,t);return gj(r),Xe("useCheckboxStyles_unstable")(r),lj(r)});rp.displayName="Checkbox";const pj=e=>ge(e.root,{children:e.root.children!==void 0&&ge(e.wrapper,{children:e.root.children})}),bj=(e,t)=>{const{alignContent:r="center",appearance:o="default",inset:i=!1,vertical:s=!1,wrapper:c}=e,d=hn("divider-");return{alignContent:r,appearance:o,inset:i,vertical:s,components:{root:"div",wrapper:"div"},root:je(ct("div",{role:"separator","aria-orientation":s?"vertical":"horizontal","aria-labelledby":e.children?d:void 0,...e,ref:t}),{elementType:"div"}),wrapper:je(c,{defaultProps:{id:d,children:e.children},elementType:"div"})}},lw={root:"fui-Divider",wrapper:"fui-Divider__wrapper"},vj=xe({base:{Bt984gj:"f122n59",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1063pyq",Bh6795r:"fqerorx",qhf8xq:"f10pi13n",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",fsow6f:"f17mccla",Bcvre1j:"fyl8oag",Br0sdwz:"f16vkdww",Bn78ew0:"fhsnbul",li1rpt:"f1gw3sf2",ap17g6:"f1ly5f7u",B771hl4:"f1s3tz6t"},childless:{susq4k:"f1kyqvp9",Bicfajf:["fzynn9s","f1z0ukd1"],jwcpgy:["fekrn8e","ftdg338"],B4rk6o:"fesgyo"},start:{Bsft5z2:"f13zj6fq"},center:{Ftih45:"f1wl9k8s",Bsft5z2:"f13zj6fq"},end:{Ftih45:"f1wl9k8s"},brand:{sj55zd:"f16muhyy",Bq4z7u6:"fcbuu2a",Bk5zm6e:["f1wdw2dr","f1ttio3w"],Bqjgrrk:"f1582fpk",Bm6vgfq:["f1ttio3w","f1wdw2dr"],B0n5ga8:"f1ahrvm8",s924m2:["f1cd3wbc","f17hbk9y"],B1q35kw:"fvrapl0",Gp14am:["f17hbk9y","f1cd3wbc"]},default:{sj55zd:"fkfq4zb",Bq4z7u6:"f1vccso1",Bk5zm6e:["f1geml7w","fjml6kk"],Bqjgrrk:"f1r7kh1m",Bm6vgfq:["fjml6kk","f1geml7w"],B0n5ga8:"f16j7guv",s924m2:["fx01ahm","fj1a37q"],B1q35kw:"fl8d8yv",Gp14am:["fj1a37q","fx01ahm"]},subtle:{sj55zd:"f11d4kpn",Bq4z7u6:"f5g06un",Bk5zm6e:["f13sxdku","f1n015lb"],Bqjgrrk:"f1x6bl8t",Bm6vgfq:["f1n015lb","f13sxdku"],B0n5ga8:"fvod1wy",s924m2:["fwslg65","flk0e17"],B1q35kw:"f103fvts",Gp14am:["flk0e17","fwslg65"]},strong:{sj55zd:"f19n0e5",Bq4z7u6:"f10tv6oz",Bk5zm6e:["f16xp3sf","f1seuxxq"],Bqjgrrk:"fwrmqbx",Bm6vgfq:["f1seuxxq","f16xp3sf"],B0n5ga8:"ft83z1f",s924m2:["f1g4150c","f192dr6e"],B1q35kw:"f1qnawh6",Gp14am:["f192dr6e","f1g4150c"]}},{d:[".f122n59{align-items:center;}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1063pyq{flex-direction:row;}",".fqerorx{flex-grow:1;}",".f10pi13n{position:relative;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f17mccla{text-align:center;}",".fyl8oag::before{box-sizing:border-box;}",".f16vkdww::before{display:flex;}",".fhsnbul::before{flex-grow:1;}",".f1gw3sf2::after{box-sizing:border-box;}",".f1ly5f7u::after{display:flex;}",".f1s3tz6t::after{flex-grow:1;}",".f1kyqvp9::before{margin-bottom:0;}",".fzynn9s::before{margin-right:0;}",".f1z0ukd1::before{margin-left:0;}",".fekrn8e::after{margin-left:0;}",".ftdg338::after{margin-right:0;}",".fesgyo::after{margin-top:0;}",'.f13zj6fq::after{content:"";}','.f1wl9k8s::before{content:"";}',".f16muhyy{color:var(--colorBrandForeground1);}",".fcbuu2a::before{border-top-color:var(--colorBrandStroke1);}",".f1wdw2dr::before{border-right-color:var(--colorBrandStroke1);}",".f1ttio3w::before{border-left-color:var(--colorBrandStroke1);}",".f1582fpk::before{border-bottom-color:var(--colorBrandStroke1);}",".f1ahrvm8::after{border-top-color:var(--colorBrandStroke1);}",".f1cd3wbc::after{border-right-color:var(--colorBrandStroke1);}",".f17hbk9y::after{border-left-color:var(--colorBrandStroke1);}",".fvrapl0::after{border-bottom-color:var(--colorBrandStroke1);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".f1vccso1::before{border-top-color:var(--colorNeutralStroke2);}",".f1geml7w::before{border-right-color:var(--colorNeutralStroke2);}",".fjml6kk::before{border-left-color:var(--colorNeutralStroke2);}",".f1r7kh1m::before{border-bottom-color:var(--colorNeutralStroke2);}",".f16j7guv::after{border-top-color:var(--colorNeutralStroke2);}",".fx01ahm::after{border-right-color:var(--colorNeutralStroke2);}",".fj1a37q::after{border-left-color:var(--colorNeutralStroke2);}",".fl8d8yv::after{border-bottom-color:var(--colorNeutralStroke2);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f5g06un::before{border-top-color:var(--colorNeutralStroke3);}",".f13sxdku::before{border-right-color:var(--colorNeutralStroke3);}",".f1n015lb::before{border-left-color:var(--colorNeutralStroke3);}",".f1x6bl8t::before{border-bottom-color:var(--colorNeutralStroke3);}",".fvod1wy::after{border-top-color:var(--colorNeutralStroke3);}",".fwslg65::after{border-right-color:var(--colorNeutralStroke3);}",".flk0e17::after{border-left-color:var(--colorNeutralStroke3);}",".f103fvts::after{border-bottom-color:var(--colorNeutralStroke3);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f10tv6oz::before{border-top-color:var(--colorNeutralStroke1);}",".f16xp3sf::before{border-right-color:var(--colorNeutralStroke1);}",".f1seuxxq::before{border-left-color:var(--colorNeutralStroke1);}",".fwrmqbx::before{border-bottom-color:var(--colorNeutralStroke1);}",".ft83z1f::after{border-top-color:var(--colorNeutralStroke1);}",".f1g4150c::after{border-right-color:var(--colorNeutralStroke1);}",".f192dr6e::after{border-left-color:var(--colorNeutralStroke1);}",".f1qnawh6::after{border-bottom-color:var(--colorNeutralStroke1);}"]}),yj=xe({base:{a9b677:"fly5x3f",Bdkvgpv:"f163fonl",B0qfbqy:"f51yk4v",pbipgd:"f13rof3u",Bm2nyyq:"f8rth92",xrcqlc:"f6czdpx",i5u598:"f1iyka9k"},inset:{uwmqm3:["fjlbh76","f11qrl6u"],z189sj:["f11qrl6u","fjlbh76"]},start:{Ftih45:"f1wl9k8s",Bicfajf:["f1ojjlep","fk1kexq"],Bxwl2t9:"f1he2m4d",jwcpgy:["f12w1bnb","f1558wlj"]},center:{Bicfajf:["f1ojjlep","fk1kexq"],jwcpgy:["f12w1bnb","f1558wlj"]},end:{Bicfajf:["f1ojjlep","fk1kexq"],Bsft5z2:"f13zj6fq",jwcpgy:["f12w1bnb","f1558wlj"],Iy66sp:"f1ayce8x"}},{d:[".fly5x3f{width:100%;}",".f163fonl::before{border-top-style:solid;}",".f51yk4v::before{border-top-width:var(--strokeWidthThin);}",".f13rof3u::before{min-width:8px;}",".f8rth92::after{border-top-style:solid;}",".f6czdpx::after{border-top-width:var(--strokeWidthThin);}",".f1iyka9k::after{min-width:8px;}",".fjlbh76{padding-left:12px;}",".f11qrl6u{padding-right:12px;}",'.f1wl9k8s::before{content:"";}',".f1ojjlep::before{margin-right:12px;}",".fk1kexq::before{margin-left:12px;}",".f1he2m4d::before{max-width:8px;}",".f12w1bnb::after{margin-left:12px;}",".f1558wlj::after{margin-right:12px;}",'.f13zj6fq::after{content:"";}',".f1ayce8x::after{max-width:8px;}"]}),xj=xe({base:{Beiy3e4:"f1vx9l62",sshi5w:"f16gbxbe",m598lv:["f1yq6w5o","f1jpmc5p"],B4f6apu:["f9sc749","f1x8pvcy"],zkzzav:"fhkwbjy",Barhvk9:["flthirb","ftkbnf5"],Ihftqj:["f13hvwk3","f1en4csx"],Bde111x:"f19onpk6"},inset:{B6of3ja:"f1xdg43u",jrapky:"f1jlhsmd"},withChildren:{sshi5w:"f1tjaq3g"},start:{Ftih45:"f1wl9k8s",susq4k:"fg2pwug",Bbdr6tz:"fkjtzyi",B4rk6o:"f8vk40g"},center:{susq4k:"fg2pwug",B4rk6o:"f8vk40g"},end:{susq4k:"fg2pwug",Bsft5z2:"f13zj6fq",B4rk6o:"f8vk40g",gn64ia:"fqg5mu5"}},{d:[".f1vx9l62{flex-direction:column;}",".f16gbxbe{min-height:20px;}",".f1yq6w5o::before{border-right-style:solid;}",".f1jpmc5p::before{border-left-style:solid;}",".f9sc749::before{border-right-width:var(--strokeWidthThin);}",".f1x8pvcy::before{border-left-width:var(--strokeWidthThin);}",".fhkwbjy::before{min-height:8px;}",".flthirb::after{border-right-style:solid;}",".ftkbnf5::after{border-left-style:solid;}",".f13hvwk3::after{border-right-width:var(--strokeWidthThin);}",".f1en4csx::after{border-left-width:var(--strokeWidthThin);}",".f19onpk6::after{min-height:8px;}",".f1xdg43u{margin-top:12px;}",".f1jlhsmd{margin-bottom:12px;}",".f1tjaq3g{min-height:84px;}",'.f1wl9k8s::before{content:"";}',".fg2pwug::before{margin-bottom:12px;}",".fkjtzyi::before{max-height:8px;}",".f8vk40g::after{margin-top:12px;}",'.f13zj6fq::after{content:"";}',".fqg5mu5::after{max-height:8px;}"]}),wj=e=>{"use no memo";const t=vj(),r=yj(),o=xj(),{alignContent:i,appearance:s,inset:c,vertical:d}=e;return e.root.className=J(lw.root,t.base,t[i],s&&t[s],!d&&r.base,!d&&c&&r.inset,!d&&r[i],d&&o.base,d&&c&&o.inset,d&&o[i],d&&e.root.children!==void 0&&o.withChildren,e.root.children===void 0&&t.childless,e.root.className),e.wrapper&&(e.wrapper.className=J(lw.wrapper,e.wrapper.className)),e},Sj=e=>ge(e.root,{}),kj=(e,t)=>{const{bordered:r=!1,fit:o="default",block:i=!1,shape:s="square",shadow:c=!1}=e;return{bordered:r,fit:o,block:i,shape:s,shadow:c,components:{root:"img"},root:je(ct("img",{ref:t,...e}),{elementType:"img"})}},Bj={root:"fui-Image"},_j=xe({base:{g2u3we:"fj3muxo",h3c5rm:["f1akhkt","f1lxtadh"],B9xav0g:"f1aperda",zhjwy3:["f1lxtadh","f1akhkt"],Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw",B7ck84d:"f1ewtqcl",mc9l5x:"f14t3ns0"},bordered:{icvyot:"fzkkow9",vrafjx:["fcdblym","fjik90z"],oivjwe:"fg706s2",wvpqe5:["fjik90z","fcdblym"],B4j52fo:"f192inf7",Bekrc4i:["f5tn483","f1ojsxk5"],Bn0qgzm:"f1vxd6vx",ibv6hh:["f1ojsxk5","f5tn483"]},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},square:{},shadow:{E5pizo:"f1whvlc6"},center:{st4lth:"f1plgu50",Ermj5k:"f14xojzb",Bqenvij:"f1l02sjl",a9b677:"fly5x3f"},contain:{st4lth:"f1kle4es",Ermj5k:"f14xojzb",Bqenvij:"f1l02sjl",a9b677:"fly5x3f"},default:{},cover:{st4lth:"f1ps3kmd",Ermj5k:"f14xojzb",Bqenvij:"f1l02sjl",a9b677:"fly5x3f"},none:{st4lth:"f1plgu50",Ermj5k:["f13uwng7","fjmyj0p"],Bqenvij:"f1l02sjl",a9b677:"fly5x3f"},block:{a9b677:"fly5x3f"}},{d:[".fj3muxo{border-top-color:var(--colorNeutralStroke1);}",".f1akhkt{border-right-color:var(--colorNeutralStroke1);}",".f1lxtadh{border-left-color:var(--colorNeutralStroke1);}",".f1aperda{border-bottom-color:var(--colorNeutralStroke1);}",[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f14t3ns0{display:inline-block;}",".fzkkow9{border-top-style:solid;}",".fcdblym{border-right-style:solid;}",".fjik90z{border-left-style:solid;}",".fg706s2{border-bottom-style:solid;}",".f192inf7{border-top-width:var(--strokeWidthThin);}",".f5tn483{border-right-width:var(--strokeWidthThin);}",".f1ojsxk5{border-left-width:var(--strokeWidthThin);}",".f1vxd6vx{border-bottom-width:var(--strokeWidthThin);}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1whvlc6{box-shadow:var(--shadow4);}",".f1plgu50{object-fit:none;}",".f14xojzb{object-position:center;}",".f1l02sjl{height:100%;}",".fly5x3f{width:100%;}",".f1kle4es{object-fit:contain;}",".f1ps3kmd{object-fit:cover;}",".f13uwng7{object-position:left top;}",".fjmyj0p{object-position:right top;}"]}),Tj=e=>{"use no memo";const t=_j();return e.root.className=J(Bj.root,t.base,e.block&&t.block,e.bordered&&t.bordered,e.shadow&&t.shadow,t[e.fit],t[e.shape],e.root.className),e},r1=S.forwardRef((e,t)=>{const r=kj(e,t);return Tj(r),Xe("useImageStyles_unstable")(r),Sj(r)});r1.displayName="Image";const Cj=e=>{const{disabled:t,disabledFocusable:r}=e,{onClick:o,onKeyDown:i,role:s,tabIndex:c}=e.root;return e.root.as==="a"&&(e.root.href=t?void 0:e.root.href,(t||r)&&(e.root.role=s||"link")),(e.root.as==="a"||e.root.as==="span")&&(e.root.tabIndex=c??(t&&!r?void 0:0)),e.root.onClick=d=>{t||r?d.preventDefault():o==null||o(d)},e.root.onKeyDown=d=>{const f=d.key===zl||d.key===Ya;(t||r)&&f?(d.preventDefault(),d.stopPropagation()):(i==null||i(d),e.root.as==="span"&&e.root.onClick&&!i&&f&&(d.preventDefault(),d.currentTarget.click()))},e.disabled=t||r,e.root["aria-disabled"]=t||r||void 0,e.root.as==="button"&&(e.root.disabled=t&&!r),e},x6=S.createContext(void 0),Ej={inline:!1};x6.Provider;const Nj=()=>{var e;return(e=S.useContext(x6))!==null&&e!==void 0?e:Ej},zj=(e,t)=>{const r=Ap(),{inline:o}=Nj(),{appearance:i="default",disabled:s=!1,disabledFocusable:c=!1,inline:d=!1}=e,f=e.as||(e.href?"a":"button"),h={role:f==="span"?"button":void 0,type:f==="button"?"button":void 0,...e,as:f},m={appearance:i,disabled:s,disabledFocusable:c,inline:d??!!o,components:{root:f},root:je(ct(f,{ref:t,...h}),{elementType:f}),backgroundAppearance:r};return Cj(m),m},Rj={root:"fui-Link"},Aj=xe({focusIndicator:{Bttzg6e:"fhgqx19",B3uz8dt:"f1olyrje",B6ihwck:"f1p93eir",g9k6zt:"f1nev41a"},root:{B486eqv:"f2hkw1w",De3pzq:"f3rmtva",B7ck84d:"f1ewtqcl",sj55zd:"fyind8e",Bceei9c:"f1k6fduh",mc9l5x:"f1w7gpdv",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",B68tc82:0,Bmxbyg5:0,Bpg54ce:"fnbmjn9",fsow6f:["f1o700av","fes3tcz"],w71qe1:"f1iuv45f",Bkioxbp:"f1cmlufx",ygn44y:"f9n3di6",famaaq:"f1ids18y",Bde5pd6:"f1tx3yz7",Bi91k9c:"f1deo86v",i089h6:"f1eh06m1",lj723h:"f1iescvh"},button:{icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],oivjwe:"f1h8hb77",wvpqe5:["f1deefiw","f1n71otn"]},href:{Be2twd7:"fjoy568"},subtle:{sj55zd:"fkfq4zb",Bde5pd6:"f1tx3yz7",Bi91k9c:"fnwyq0v",i089h6:"f1eh06m1",lj723h:"flvvhsy"},inline:{w71qe1:"f13mvf36"},disabled:{w71qe1:"f1iuv45f",sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bde5pd6:"fbnuktb",Bi91k9c:"fvgxktp",i089h6:"fljg2da",lj723h:"f19wldhg"},inverted:{sj55zd:"f1qz2gb0",Bi91k9c:"f1mlt8il",lj723h:"f1hsd4st"}},{d:[".fhgqx19[data-fui-focus-visible]{text-decoration-color:var(--colorStrokeFocus2);}",".f1olyrje[data-fui-focus-visible]{text-decoration-line:underline;}",".f1p93eir[data-fui-focus-visible]{text-decoration-style:double;}",".f1nev41a[data-fui-focus-visible]{outline-style:none;}",".f3rmtva{background-color:transparent;}",".f1ewtqcl{box-sizing:border-box;}",".fyind8e{color:var(--colorBrandForegroundLink);}",".f1k6fduh{cursor:pointer;}",".f1w7gpdv{display:inline;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",[".f1s184ao{margin:0;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],[".fnbmjn9{overflow:inherit;}",{p:-1}],".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".f1iuv45f{text-decoration-line:none;}",".f1cmlufx{text-decoration-thickness:var(--strokeWidthThin);}",".f9n3di6{text-overflow:inherit;}",".f1ids18y{-webkit-user-select:text;-moz-user-select:text;user-select:text;}",".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",".fjoy568{font-size:inherit;}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".f13mvf36{text-decoration-line:underline;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f1qz2gb0{color:var(--colorBrandForegroundInverted);}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"],h:[".f1tx3yz7:hover{text-decoration-line:underline;}",".f1deo86v:hover{color:var(--colorBrandForegroundLinkHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".fbnuktb:hover{text-decoration-line:none;}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f1mlt8il:hover{color:var(--colorBrandForegroundInvertedHover);}"],a:[".f1eh06m1:active{text-decoration-line:underline;}",".f1iescvh:active{color:var(--colorBrandForegroundLinkPressed);}",".flvvhsy:active{color:var(--colorNeutralForeground2Pressed);}",".fljg2da:active{text-decoration-line:none;}",".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}",".f1hsd4st:active{color:var(--colorBrandForegroundInvertedPressed);}"]}),Dj=e=>{"use no memo";const t=Aj(),{appearance:r,disabled:o,inline:i,root:s,backgroundAppearance:c}=e;return e.root.className=J(Rj.root,t.root,t.focusIndicator,s.as==="a"&&s.href&&t.href,s.as==="button"&&t.button,r==="subtle"&&t.subtle,c==="inverted"&&t.inverted,i&&t.inline,o&&t.disabled,e.root.className),e},jj=e=>ge(e.root,{}),n1=S.forwardRef((e,t)=>{const r=zj(e,t);return Dj(r),Xe("useLinkStyles_unstable")(r),jj(r)});n1.displayName="Link";const o1=Zl(void 0),Oj={open:!1,setOpen:()=>!1,checkedValues:{},onCheckedValueChange:()=>null,isSubmenu:!1,triggerRef:{current:null},menuPopoverRef:{current:null},mountNode:null,triggerId:"",openOnContext:!1,openOnHover:!1,hasIcons:!1,hasCheckmarks:!1,inline:!1,persistOnItemClick:!1},Mj=o1.Provider,Qt=e=>Ql(o1,(t=Oj)=>e(t)),w6=S.createContext(void 0),qj=!1,Fj=w6.Provider,Pj=()=>{var e;return(e=S.useContext(w6))!==null&&e!==void 0?e:qj},a1=Zl(void 0),Ij={checkedValues:{},setFocusByFirstCharacter:()=>null,toggleCheckbox:()=>null,selectRadio:()=>null,hasIcons:!1,hasCheckmarks:!1},Lj=a1.Provider,np=e=>Ql(a1,(t=Ij)=>e(t)),ku="fuimenuenter",Hj=e=>{const{refs:t,callback:r,element:o,disabled:i}=e,s=ke(c=>{const d=t[0],f=c.target;var h;!ql((h=d.current)!==null&&h!==void 0?h:null,f)&&!i&&r(c)});S.useEffect(()=>{if(o!=null)return i||o.addEventListener(ku,s),()=>{o.removeEventListener(ku,s)}},[s,o,i])},Uj=(e,t)=>{e.dispatchEvent(new CustomEvent(ku,{bubbles:!0,detail:{nativeEvent:t}}))};function i1(){const e=Qt(r=>r.isSubmenu),t=Ip(a1);return e||t}const Vj=["after","after-bottom","before-top","before","before-bottom","above"],Wj=e=>{const t=i1(),{hoverDelay:r=500,inline:o=!1,hasCheckmarks:i=!1,hasIcons:s=!1,closeOnScroll:c=!1,openOnContext:d=!1,persistOnItemClick:f=!1,openOnHover:h=t,defaultCheckedValues:m,mountNode:p=null}=e,w=hn("menu"),[v,x]=p6(),y={position:t?"after":"below",align:t?"top":"start",target:e.openOnContext?v:void 0,fallbackPositions:t?Vj:void 0,...xf(e.positioning)},k=S.Children.toArray(e.children);let B,_;k.length===2?(B=k[0],_=k[1]):k.length===1&&(_=k[0]);const{targetRef:C,containerRef:N}=Qp(y),[R,j]=$j({hoverDelay:r,isSubmenu:t,setContextTarget:x,closeOnScroll:c,menuPopoverRef:N,triggerRef:C,open:e.open,defaultOpen:e.defaultOpen,onOpenChange:e.onOpenChange,openOnContext:d}),[D,M]=Gj({checkedValues:e.checkedValues,defaultCheckedValues:m,onCheckedValueChange:e.onCheckedValueChange});return{inline:o,hoverDelay:r,triggerId:w,isSubmenu:t,openOnHover:h,contextTarget:v,setContextTarget:x,hasCheckmarks:i,hasIcons:s,closeOnScroll:c,menuTrigger:B,menuPopover:_,mountNode:p,triggerRef:C,menuPopoverRef:N,components:{},openOnContext:d,open:R,setOpen:j,checkedValues:D,onCheckedValueChange:M,persistOnItemClick:f}},Gj=e=>{const[t,r]=Rn({state:e.checkedValues,defaultState:e.defaultCheckedValues,initialState:{}}),o=ke((i,{name:s,checkedItems:c})=>{var d;(d=e.onCheckedValueChange)===null||d===void 0||d.call(e,i,{name:s,checkedItems:c}),r(f=>({...f,[s]:c}))});return[t,o]},$j=e=>{"use no memo";const{targetDocument:t}=St(),r=Qt(y=>y.setOpen),o=ke((y,k)=>{var B;return(B=e.onOpenChange)===null||B===void 0?void 0:B.call(e,y,k)}),i=S.useRef(!1),[s,c]=Rn({state:e.open,defaultState:e.defaultOpen,initialState:!1}),d=ke((y,k)=>{const B=y instanceof CustomEvent&&y.type===ku?y.detail.nativeEvent:y;o==null||o(B,{...k}),k.open&&y.type==="contextmenu"&&e.setContextTarget(y),k.open||e.setContextTarget(void 0),k.bubble&&r(y,{...k}),c(k.open)}),[f,h]=Xl(),m=ke((y,k)=>{if(h(),!(y instanceof Event)&&y.persist&&y.persist(),y.type==="mouseleave"||y.type==="mouseenter"||y.type==="mousemove"||y.type===ku){var B;!((B=e.triggerRef.current)===null||B===void 0)&&B.contains(y.target)&&(i.current=y.type==="mouseenter"||y.type==="mousemove"),f(()=>d(y,k),e.hoverDelay)}else d(y,k)});e5({contains:ql,disabled:!s,element:t,refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),callback:y=>m(y,{open:!1,type:"clickOutside",event:y})});const p=e.openOnContext||e.closeOnScroll;t5({contains:ql,element:t,callback:y=>m(y,{open:!1,type:"scrollOutside",event:y}),refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),disabled:!s||!p}),Hj({element:t,callback:y=>{i.current||m(y,{open:!1,type:"menuMouseEnter",event:y})},disabled:!s,refs:[e.menuPopoverRef]});const{findFirstFocusable:w}=ma(),v=S.useCallback(()=>{const y=w(e.menuPopoverRef.current);y==null||y.focus()},[w,e.menuPopoverRef]),x=YS();return S.useEffect(()=>{if(s)v();else if(!x&&(t==null?void 0:t.activeElement)===(t==null?void 0:t.body)){var y;(y=e.triggerRef.current)===null||y===void 0||y.focus()}},[e.triggerRef,e.isSubmenu,s,v,t,e.menuPopoverRef]),[s,m]};function Xj(e){const{checkedValues:t,hasCheckmarks:r,hasIcons:o,inline:i,isSubmenu:s,menuPopoverRef:c,mountNode:d,onCheckedValueChange:f,open:h,openOnContext:m,openOnHover:p,persistOnItemClick:w,setOpen:v,triggerId:x,triggerRef:y}=e;return{menu:{checkedValues:t,hasCheckmarks:r,hasIcons:o,inline:i,isSubmenu:s,menuPopoverRef:c,mountNode:d,onCheckedValueChange:f,open:h,openOnContext:m,openOnHover:p,persistOnItemClick:w,setOpen:v,triggerId:x,triggerRef:y}}}const Kj=(e,t)=>S.createElement(Mj,{value:t.menu},e.menuTrigger,e.open&&e.menuPopover),Bf=e=>{const t=Wj(e),r=Xj(t);return Kj(t,r)};Bf.displayName="Menu";const Yj=(e,t)=>{"use no memo";const r=np(i=>i.setFocusByFirstCharacter),{onKeyDown:o}=e.root;return e.root.onKeyDown=i=>{var s;o==null||o(i),!(((s=i.key)===null||s===void 0?void 0:s.length)>1)&&t.current&&(r==null||r(i,t.current))},e},S6=S.createContext(void 0),k6={setMultiline:()=>null};S6.Provider;const B6=()=>{var e;return(e=S.useContext(S6))!==null&&e!==void 0?e:k6},_6=()=>B6()!==k6,Zj=Vr(D7,j7),Qj=Vr(R7,A7),Jj=(e,t)=>{const r=Pj(),o=Qt(y=>y.persistOnItemClick),{as:i="div",disabled:s=!1,hasSubmenu:c=r,persistOnClick:d=o}=e,{hasIcons:f,hasCheckmarks:h}=tO({hasSubmenu:c}),m=Qt(y=>y.setOpen);eO({multiline:!!e.subText,hasSubmenu:c});const{dir:p}=St(),w=S.useRef(null),v=S.useRef(!1),x={hasSubmenu:c,disabled:s,persistOnClick:d,components:{root:"div",icon:"span",checkmark:"span",submenuIndicator:"span",content:"span",secondaryContent:"span",subText:"span"},root:je(ct(i,Di(i,{role:"menuitem",...e,disabled:!1,disabledFocusable:s,ref:Br(t,w),onKeyDown:ke(y=>{var k;(k=e.onKeyDown)===null||k===void 0||k.call(e,y),!y.isDefaultPrevented()&&(y.key===Ya||y.key===zl)&&(v.current=!0)}),onMouseMove:ke(y=>{var k;if(y.currentTarget.ownerDocument.activeElement!==y.currentTarget){var B;(B=w.current)===null||B===void 0||B.focus()}(k=e.onMouseMove)===null||k===void 0||k.call(e,y)}),onClick:ke(y=>{var k;!c&&!d&&(m(y,{open:!1,keyboard:v.current,bubble:!0,type:"menuItemClick",event:y}),v.current=!1),(k=e.onClick)===null||k===void 0||k.call(e,y)})})),{elementType:"div"}),icon:gt(e.icon,{renderByDefault:f,elementType:"span"}),checkmark:gt(e.checkmark,{renderByDefault:h,elementType:"span"}),submenuIndicator:gt(e.submenuIndicator,{renderByDefault:c,defaultProps:{children:p==="ltr"?S.createElement(Zj,null):S.createElement(Qj,null)},elementType:"span"}),content:gt(e.content,{renderByDefault:!!e.children,defaultProps:{children:e.children},elementType:"span"}),secondaryContent:gt(e.secondaryContent,{elementType:"span"}),subText:gt(e.subText,{elementType:"span"})};return Yj(x,w),x},eO=e=>{const{hasSubmenu:t,multiline:r}=e,o=_6()&&t,{setMultiline:i}=B6();jr(()=>{o||i(r)},[i,r,o])},tO=e=>{const{hasSubmenu:t}=e,r=np(s=>s.hasIcons),o=np(s=>s.hasCheckmarks),i=_6()&&t;return{hasIcons:r&&!i,hasCheckmarks:o&&!i}},rO=e=>xt(e.root,{children:[e.checkmark&&ge(e.checkmark,{}),e.icon&&ge(e.icon,{}),e.content&&xt(e.content,{children:[e.content.children,e.subText&&ge(e.subText,{})]}),e.secondaryContent&&ge(e.secondaryContent,{}),e.submenuIndicator&&ge(e.submenuIndicator,{})]}),nO=xe({root:{a9b677:"fjw5fx7",Bqenvij:"fd461yt",Bcdw1i0:"fd7fpy0",Bnnss6s:"fi64zpg"},rootChecked:{Bcdw1i0:"f1022m68",Bnnss6s:"fi64zpg"}},{d:[".fjw5fx7{width:16px;}",".fd461yt{height:16px;}",".fd7fpy0{visibility:hidden;}",".fi64zpg{flex-shrink:0;}",".f1022m68{visibility:visible;}"]}),oO=e=>{"use no memo";const t=nO();e.checkmark&&(e.checkmark.className=J(t.root,e.checked&&t.rootChecked,e.checkmark.className))},Ti={root:"fui-MenuItem",icon:"fui-MenuItem__icon",checkmark:"fui-MenuItem__checkmark",submenuIndicator:"fui-MenuItem__submenuIndicator",content:"fui-MenuItem__content",secondaryContent:"fui-MenuItem__secondaryContent",subText:"fui-MenuItem__subText"},aO=We("rfoezjv","r8lt3v0",{r:[".rfoezjv{border-radius:var(--borderRadiusMedium);position:relative;color:var(--colorNeutralForeground2);background-color:var(--colorNeutralBackground1);padding-right:var(--spacingVerticalSNudge);padding-left:var(--spacingVerticalSNudge);padding-top:var(--spacingVerticalSNudge);padding-bottom:var(--spacingVerticalSNudge);box-sizing:border-box;max-width:290px;min-height:32px;flex-shrink:0;display:flex;align-items:start;font-size:var(--fontSizeBase300);cursor:pointer;gap:4px;-webkit-user-select:none;-moz-user-select:none;user-select:none;}",".rfoezjv:hover{background-color:var(--colorNeutralBackground1Hover);color:var(--colorNeutralForeground2Hover);}",".rfoezjv:hover .fui-Icon-filled{display:inline;}",".rfoezjv:hover .fui-Icon-regular{display:none;}",".rfoezjv:hover .fui-MenuItem__icon{color:var(--colorNeutralForeground2BrandSelected);}",".rfoezjv:hover .fui-MenuItem__subText{color:var(--colorNeutralForeground3Hover);}",".rfoezjv:hover:active{background-color:var(--colorNeutralBackground1Pressed);color:var(--colorNeutralForeground2Pressed);}",".rfoezjv:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForeground3Pressed);}",".rfoezjv:focus{outline-style:none;}",".rfoezjv:focus-visible{outline-style:none;}",".rfoezjv[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.rfoezjv[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r8lt3v0{border-radius:var(--borderRadiusMedium);position:relative;color:var(--colorNeutralForeground2);background-color:var(--colorNeutralBackground1);padding-left:var(--spacingVerticalSNudge);padding-right:var(--spacingVerticalSNudge);padding-top:var(--spacingVerticalSNudge);padding-bottom:var(--spacingVerticalSNudge);box-sizing:border-box;max-width:290px;min-height:32px;flex-shrink:0;display:flex;align-items:start;font-size:var(--fontSizeBase300);cursor:pointer;gap:4px;-webkit-user-select:none;-moz-user-select:none;user-select:none;}",".r8lt3v0:hover{background-color:var(--colorNeutralBackground1Hover);color:var(--colorNeutralForeground2Hover);}",".r8lt3v0:hover .fui-Icon-filled{display:inline;}",".r8lt3v0:hover .fui-Icon-regular{display:none;}",".r8lt3v0:hover .fui-MenuItem__icon{color:var(--colorNeutralForeground2BrandSelected);}",".r8lt3v0:hover .fui-MenuItem__subText{color:var(--colorNeutralForeground3Hover);}",".r8lt3v0:hover:active{background-color:var(--colorNeutralBackground1Pressed);color:var(--colorNeutralForeground2Pressed);}",".r8lt3v0:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForeground3Pressed);}",".r8lt3v0:focus{outline-style:none;}",".r8lt3v0:focus-visible{outline-style:none;}",".r8lt3v0[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r8lt3v0[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:['@media (forced-colors: active){.rfoezjv:hover{background-color:Canvas;border-color:Highlight;color:Highlight;}.rfoezjv:focus{outline-style:none;}.rfoezjv:focus-visible{outline-style:none;}.rfoezjv[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}@media (forced-colors: active){.rfoezjv[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}.rfoezjv[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid Highlight;border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}}',"@media (forced-colors: active){.rfoezjv[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}",'@media (forced-colors: active){.r8lt3v0:hover{background-color:Canvas;border-color:Highlight;color:Highlight;}.r8lt3v0:focus{outline-style:none;}.r8lt3v0:focus-visible{outline-style:none;}.r8lt3v0[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}@media (forced-colors: active){.r8lt3v0[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}.r8lt3v0[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid Highlight;border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}}',"@media (forced-colors: active){.r8lt3v0[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),iO=We("r1ls86vo","rpbc5dr",[".r1ls86vo{padding-left:2px;padding-right:2px;background-color:transparent;flex-grow:1;}",".rpbc5dr{padding-right:2px;padding-left:2px;background-color:transparent;flex-grow:1;}"]),lO=We("r12mwwux","r1ewgu5j",[".r12mwwux{padding-left:2px;padding-right:2px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);color:var(--colorNeutralForeground3);}",".r12mwwux:hover{color:var(--colorNeutralForeground3Hover);}",".r12mwwux:focus{color:var(--colorNeutralForeground3Hover);}",".r1ewgu5j{padding-right:2px;padding-left:2px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);color:var(--colorNeutralForeground3);}",".r1ewgu5j:hover{color:var(--colorNeutralForeground3Hover);}",".r1ewgu5j:focus{color:var(--colorNeutralForeground3Hover);}"]),sO=We("ro9koqv",null,[".ro9koqv{width:20px;height:20px;font-size:20px;line-height:0;align-items:center;display:inline-flex;justify-content:center;flex-shrink:0;}"]),uO=We("r9c34qo",null,[".r9c34qo{width:20px;height:20px;font-size:20px;line-height:0;align-items:center;display:inline-flex;justify-content:center;}"]),cO=We("rk2ppru",null,[".rk2ppru{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase100);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase100);color:var(--colorNeutralForeground3);}"]),dO=xe({checkmark:{B6of3ja:"fmnzpld"},splitItemMain:{Bh6795r:"fqerorx"},splitItemTrigger:{Btl43ni:["f1ozlkrg","f10ostut"],Beyfa6y:["f1deotkl","f1krrbdw"],uwmqm3:["f1cnd47f","fhxju0i"],Ftih45:"f1wl9k8s",Ccq8qp:"f1yn80uh",Baz25je:"f68mna0",cmx5o7:"f1p5zmk"},disabled:{sj55zd:"f1s2aq7o",Bi91k9c:"fvgxktp",Jwef8y:"f1ijtazh",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bg7n49j:"f1q1x1ba",B2d53fq:"fcvwxyo",iro3zm:"f1to34ca",t0hwav:"ft33916",Bbusuzp:"f1dcs8yz",ze5xyy:"f1kc2mi9",Bqrx1nm:"fkavljg",Bctn1xl:"fk56vqo",h5esng:"ff3wi9b",Bh6z0a4:"f1ikwg0d",Bh953qp:"f10l1t5h"}},{d:[".fmnzpld{margin-top:2px;}",".fqerorx{flex-grow:1;}",".f1ozlkrg{border-top-left-radius:0;}",".f10ostut{border-top-right-radius:0;}",".f1deotkl{border-bottom-left-radius:0;}",".f1krrbdw{border-bottom-right-radius:0;}",".f1cnd47f{padding-left:0;}",".fhxju0i{padding-right:0;}",'.f1wl9k8s::before{content:"";}',".f1yn80uh::before{width:var(--strokeWidthThin);}",".f68mna0::before{height:24px;}",".f1p5zmk::before{background-color:var(--colorNeutralStroke1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],h:[".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f1ijtazh:hover{background-color:var(--colorNeutralBackground1);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1q1x1ba:hover .fui-MenuItem__icon{color:var(--colorNeutralForegroundDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f1to34ca:hover:active{background-color:var(--colorNeutralBackground1);}"],f:[".ft33916:focus{color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1kc2mi9:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkavljg:hover{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fk56vqo:hover .fui-MenuItem__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ff3wi9b:hover .fui-MenuItem__icon{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ikwg0d:focus{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f10l1t5h:focus{background-color:Canvas;}}",{m:"(forced-colors: active)"}]]}),fO=xe({content:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62"},secondaryContent:{qb2dma:"f7nlbp4"},submenuIndicator:{qb2dma:"f7nlbp4"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f7nlbp4{align-self:center;}"]}),hO=e=>{"use no memo";const t=dO(),r=aO(),o=iO(),i=lO(),s=sO(),c=uO(),d=fO(),f=cO(),h=!!e.subText;return e.root.className=J(Ti.root,r,e.disabled&&t.disabled,e.root.className),e.content&&(e.content.className=J(Ti.content,o,e.content.className,h&&d.content)),e.checkmark&&(e.checkmark.className=J(Ti.checkmark,t.checkmark,e.checkmark.className)),e.secondaryContent&&(e.secondaryContent.className=J(Ti.secondaryContent,!e.disabled&&i,e.secondaryContent.className,h&&d.secondaryContent)),e.icon&&(e.icon.className=J(Ti.icon,s,e.icon.className)),e.submenuIndicator&&(e.submenuIndicator.className=J(Ti.submenuIndicator,c,e.submenuIndicator.className,h&&d.submenuIndicator)),e.subText&&(e.subText.className=J(Ti.subText,e.subText.className,f)),oO(e),e},Hl=S.forwardRef((e,t)=>{const r=Jj(e,t);return hO(r),Xe("useMenuItemStyles_unstable")(r),rO(r)});Hl.displayName="MenuItem";const mO=(e,t)=>{const{findAllFocusable:r}=ma(),{targetDocument:o}=St(),i=gO(),s=Ip(o1),c=ri({circular:!0});pO(e,i,s)&&console.warn("You are using both MenuList and Menu props, we recommend you to use Menu props when available");const d=S.useRef(null);S.useEffect(()=>{const k=d.current;if(s&&o&&k){const B=_=>{const C=_.detail.next;C&&k.contains(o.activeElement)&&!k.contains(C)&&_.preventDefault()};return o.addEventListener(Vg,B),()=>{o.removeEventListener(Vg,B)}}},[d,o,s]);const f=S.useCallback((k,B)=>{const _=["menuitem","menuitemcheckbox","menuitemradio"];if(!d.current)return;const C=r(d.current,I=>I.hasAttribute("role")&&_.indexOf(I.getAttribute("role"))!==-1);let N=C.indexOf(B)+1;N===C.length&&(N=0);const R=C.map(I=>{var G;return(G=I.textContent)===null||G===void 0?void 0:G.charAt(0).toLowerCase()}),j=k.key.toLowerCase(),D=(I,G)=>{for(let X=I;X-1&&C[M].focus()},[r]);var h;const[m,p]=Rn({state:(h=e.checkedValues)!==null&&h!==void 0?h:s?i.checkedValues:void 0,defaultState:e.defaultCheckedValues,initialState:{}});var w;const v=(w=e.onCheckedValueChange)!==null&&w!==void 0?w:s?i.onCheckedValueChange:void 0,x=ke((k,B,_,C)=>{const R=[...(m==null?void 0:m[B])||[]];C?R.splice(R.indexOf(_),1):R.push(_),v==null||v(k,{name:B,checkedItems:R}),p(j=>({...j,[B]:R}))}),y=ke((k,B,_)=>{const C=[_];p(N=>({...N,[B]:C})),v==null||v(k,{name:B,checkedItems:C})});return{components:{root:"div"},root:je(ct("div",{ref:Br(t,d),role:"menu","aria-labelledby":i.triggerId,...c,...e}),{elementType:"div"}),hasIcons:i.hasIcons||!1,hasCheckmarks:i.hasCheckmarks||!1,checkedValues:m,hasMenuContext:s,setFocusByFirstCharacter:f,selectRadio:y,toggleCheckbox:x}},gO=()=>{const e=Qt(s=>s.checkedValues),t=Qt(s=>s.onCheckedValueChange),r=Qt(s=>s.triggerId),o=Qt(s=>s.hasIcons),i=Qt(s=>s.hasCheckmarks);return{checkedValues:e,onCheckedValueChange:t,triggerId:r,hasIcons:o,hasCheckmarks:i}},pO=(e,t,r)=>{let o=!1;for(const i in t)e[i]&&(o=!0);return r&&o},bO=(e,t)=>ge(Lj,{value:t.menuList,children:ge(e.root,{})});function vO(e){const{checkedValues:t,hasCheckmarks:r,hasIcons:o,selectRadio:i,setFocusByFirstCharacter:s,toggleCheckbox:c}=e;return{menuList:{checkedValues:t,hasCheckmarks:r,hasIcons:o,selectRadio:i,setFocusByFirstCharacter:s,toggleCheckbox:c}}}const yO={root:"fui-MenuList"},xO=xe({root:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",i8kkvl:0,Belr9w4:0,rmohyg:"f1t6b6ee"},hasMenuContext:{Bqenvij:"f1l02sjl"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",[".f1t6b6ee{gap:2px;}",{p:-1}],".f1l02sjl{height:100%;}"]}),wO=e=>{"use no memo";const t=xO();return e.root.className=J(yO.root,t.root,e.hasMenuContext&&t.hasMenuContext,e.root.className),e},_f=S.forwardRef((e,t)=>{const r=mO(e,t),o=vO(r);return wO(r),Xe("useMenuListStyles_unstable")(r),bO(r,o)});_f.displayName="MenuList";const SO=(e,t)=>{"use no memo";const r=Qt(R=>R.menuPopoverRef),o=Qt(R=>R.setOpen),i=Qt(R=>R.open),s=Qt(R=>R.openOnHover),c=Qt(R=>R.triggerRef),d=i1(),f=S.useRef(!0),h=fN(),[m,p]=Xl(),{dir:w}=St(),v=w==="ltr"?Hp:mf,x=S.useCallback(R=>{R&&R.addEventListener("mouseover",j=>{f.current&&(f.current=!1,Uj(r.current,j),m(()=>f.current=!0,250))})},[r,m]);S.useEffect(()=>{},[p]);var y;const k=(y=Qt(R=>R.inline))!==null&&y!==void 0?y:!1,B=Qt(R=>R.mountNode),_=je(ct("div",{role:"presentation",...h,...e,ref:Br(t,r,x)}),{elementType:"div"}),{onMouseEnter:C,onKeyDown:N}=_;return _.onMouseEnter=ke(R=>{(s||d)&&o(R,{open:!0,keyboard:!1,type:"menuPopoverMouseEnter",event:R}),C==null||C(R)}),_.onKeyDown=ke(R=>{const j=R.key;if(j===Pi||d&&j===v){var D;i&&(!((D=r.current)===null||D===void 0)&&D.contains(R.target))&&!R.isDefaultPrevented()&&(o(R,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:R}),R.preventDefault())}if(j===U5&&(o(R,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:R}),!d)){var M;(M=c.current)===null||M===void 0||M.focus()}N==null||N(R)}),{inline:k,mountNode:B,components:{root:"div"},root:_}},kO={root:"fui-MenuPopover"},BO=xe({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",De3pzq:"fxugw4r",sj55zd:"f19n0e5",B7ck84d:"f1ewtqcl",Bf4jedk:"fl8fusi",B2u0y6b:"f1kaai3v",B68tc82:"f1p9o1ba",a9b677:"f1ahpp82",E5pizo:"f1hg901r",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fd3pd8h",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",B93otf3:"f18k4bn6",vin17d:"fo1kyvf",Ezkn3b:"fetxo7e",nyiy2g:"f8x1vz1",swvrvq:"f8g0anz",Bkovbt3:"fezwn9i",hgjdhn:"fz5efge",fsy9dk:"f1ydixl4",B3ogreh:"f8dgqj5",jv49x5:"fnyfnr8",Bk7o48c:"fgw77r4",Bv12yb3:"f1noc5he",z0t1cu:"fi19xcv",Bks05zx:"f1mxk9aa",Bvtglag:"ffzg62k"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ewtqcl{box-sizing:border-box;}",".fl8fusi{min-width:138px;}",".f1kaai3v{max-width:300px;}",".f1p9o1ba{overflow-x:hidden;}",".f1ahpp82{width:max-content;}",".f1hg901r{box-shadow:var(--shadow16);}",[".fd3pd8h{padding:4px;}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f18k4bn6{animation-composition:accumulate;}",".fo1kyvf{animation-duration:var(--durationSlower);}",".fetxo7e{animation-timing-function:var(--curveDecelerateMid);}",".f8x1vz1{--fui-positioning-slide-distance-x:0px;}",".f8g0anz{--fui-positioning-slide-distance-y:10px;}",".fezwn9i[data-popper-placement^=right]{--fui-positioning-slide-distance-x:-10px;}",".fz5efge[data-popper-placement^=right]{--fui-positioning-slide-distance-y:0px;}",".f1ydixl4[data-popper-placement^=bottom]{--fui-positioning-slide-distance-x:0px;}",".f8dgqj5[data-popper-placement^=bottom]{--fui-positioning-slide-distance-y:-10px;}",".fnyfnr8[data-popper-placement^=left]{--fui-positioning-slide-distance-x:10px;}",".fgw77r4[data-popper-placement^=left]{--fui-positioning-slide-distance-y:0px;}",".f1noc5he{animation-name:f1m0q9mo,f79suad;}"],k:["@keyframes f1m0q9mo{from{opacity:-1;}to{opacity:0;}}","@keyframes f79suad{from{transform:translate(var(--fui-positioning-slide-distance-x), var(--fui-positioning-slide-distance-y));}}"],m:[["@media (prefers-reduced-motion){.fi19xcv[data-popper-placement]{animation-duration:1ms;}}",{m:"(prefers-reduced-motion)"}],["@media (prefers-reduced-motion){.f1mxk9aa[data-popper-placement]{animation-name:f1m0q9mo;}}",{m:"(prefers-reduced-motion)"}]],t:["@supports not (animation-composition: accumulate){.ffzg62k[data-popper-placement]{animation-name:f1m0q9mo;}}"]}),_O=e=>{"use no memo";const t=BO();return e.root.className=J(kO.root,t.root,e.root.className),e},TO=e=>e.inline?ge(e.root,{}):ge(ts,{mountNode:e.mountNode,children:ge(e.root,{})}),Tf=S.forwardRef((e,t)=>{const r=SO(e,t);return _O(r),Xe("useMenuPopoverStyles_unstable")(r),TO(r)});Tf.displayName="MenuPopover";const CO=e=>{const{children:t,disableButtonEnhancement:r=!1}=e,o=Qt(X=>X.triggerRef),i=Qt(X=>X.menuPopoverRef),s=Qt(X=>X.setOpen),c=Qt(X=>X.open),d=Qt(X=>X.triggerId),f=Qt(X=>X.openOnHover),h=Qt(X=>X.openOnContext),m=i1(),{findFirstFocusable:p}=ma(),w=S.useCallback(()=>{const X=p(i.current);X==null||X.focus()},[p,i]),v=S.useRef(!1),x=S.useRef(!1),{dir:y}=St(),k=y==="ltr"?mf:Hp,B=Eu(t),_=X=>{kl(X)||X.isDefaultPrevented()||h&&(X.preventDefault(),s(X,{open:!0,keyboard:!1,type:"menuTriggerContextMenu",event:X}))},C=X=>{kl(X)||h||(s(X,{open:!c,keyboard:v.current,type:"menuTriggerClick",event:X}),v.current=!1)},N=X=>{if(kl(X))return;const re=X.key;!h&&(m&&re===k||!m&&re===Lp)&&s(X,{open:!0,keyboard:!0,type:"menuTriggerKeyDown",event:X}),re===Pi&&!m&&s(X,{open:!1,keyboard:!0,type:"menuTriggerKeyDown",event:X}),c&&re===k&&m&&w()},R=X=>{kl(X)||f&&x.current&&s(X,{open:!0,keyboard:!1,type:"menuTriggerMouseEnter",event:X})},j=X=>{kl(X)||f&&!x.current&&(s(X,{open:!0,keyboard:!1,type:"menuTriggerMouseMove",event:X}),x.current=!0)},D=X=>{kl(X)||f&&s(X,{open:!1,keyboard:!1,type:"menuTriggerMouseLeave",event:X})},M={id:d,...B==null?void 0:B.props,ref:Br(o,B==null?void 0:B.ref),onMouseEnter:ke(Mt(B==null?void 0:B.props.onMouseEnter,R)),onMouseLeave:ke(Mt(B==null?void 0:B.props.onMouseLeave,D)),onContextMenu:ke(Mt(B==null?void 0:B.props.onContextMenu,_)),onMouseMove:ke(Mt(B==null?void 0:B.props.onMouseMove,j))},I={"aria-haspopup":"menu","aria-expanded":!c&&!m?void 0:c,...M,onClick:ke(Mt(B==null?void 0:B.props.onClick,C)),onKeyDown:ke(Mt(B==null?void 0:B.props.onKeyDown,N))},G=Di((B==null?void 0:B.type)==="button"||(B==null?void 0:B.type)==="a"?B.type:"div",I);return{isSubmenu:m,children:sf(t,h?M:r?I:G)}},kl=e=>{const t=r=>r.hasAttribute("disabled")||r.hasAttribute("aria-disabled")&&r.getAttribute("aria-disabled")==="true";return Zt(e.target)&&t(e.target)?!0:Zt(e.currentTarget)&&t(e.currentTarget)},EO=e=>S.createElement(Fj,{value:e.isSubmenu},e.children),Au=e=>{const t=CO(e);return EO(t)};Au.displayName="MenuTrigger";Au.isFluentTriggerComponent=!0;const T6=S.createContext(void 0),NO={};T6.Provider;const zO=()=>S.useContext(T6)||NO,RO=e=>xt(e.root,{children:[ge(e.input,{}),ge(e.indicator,{}),e.label&&ge(e.label,{})]}),AO=(e,t)=>{const r=zO(),{name:o=r.name,checked:i=r.value!==void 0?r.value===e.value:void 0,defaultChecked:s=r.defaultValue!==void 0?r.defaultValue===e.value:void 0,labelPosition:c=r.layout==="horizontal-stacked"?"below":"after",disabled:d=r.disabled,required:f=r.required,"aria-describedby":h=r["aria-describedby"],onChange:m}=e,p=af({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),w=je(e.root,{defaultProps:{ref:Kl(),...p.root},elementType:"span"}),v=je(e.input,{defaultProps:{ref:t,type:"radio",id:hn("radio-",p.primary.id),name:o,checked:i,defaultChecked:s,disabled:d,required:f,"aria-describedby":h,...p.primary},elementType:"input"});v.onChange=Mt(v.onChange,k=>m==null?void 0:m(k,{value:k.currentTarget.value}));const x=gt(e.label,{defaultProps:{htmlFor:v.id,disabled:v.disabled},elementType:da}),y=je(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"});return{labelPosition:c,components:{root:"span",input:"input",label:da,indicator:"div"},root:w,input:v,label:x,indicator:y}},id={root:"fui-Radio",indicator:"fui-Radio__indicator",input:"fui-Radio__input",label:"fui-Radio__label"},DO=We("r1siqwd8","rmnplyc",{r:[".r1siqwd8{display:inline-flex;position:relative;}",".r1siqwd8:focus{outline-style:none;}",".r1siqwd8:focus-visible{outline-style:none;}",".r1siqwd8[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1siqwd8[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rmnplyc{display:inline-flex;position:relative;}",".rmnplyc:focus{outline-style:none;}",".rmnplyc:focus-visible{outline-style:none;}",".rmnplyc[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rmnplyc[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1siqwd8[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rmnplyc[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),jO=xe({vertical:{Beiy3e4:"f1vx9l62",Bt984gj:"f122n59"}},{d:[".f1vx9l62{flex-direction:column;}",".f122n59{align-items:center;}"]}),OO=We("rg1upok","rzwdzb4",{r:[".rg1upok{position:absolute;left:0;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));height:100%;box-sizing:border-box;margin:0;opacity:0;}",".rg1upok:enabled{cursor:pointer;}",".rg1upok:enabled~.fui-Radio__label{cursor:pointer;}",".rg1upok:enabled:not(:checked)~.fui-Radio__label{color:var(--colorNeutralForeground3);}",".rg1upok:enabled:not(:checked)~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessible);}",".rg1upok:enabled:not(:checked):hover~.fui-Radio__label{color:var(--colorNeutralForeground2);}",".rg1upok:enabled:not(:checked):hover~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessibleHover);}",".rg1upok:enabled:not(:checked):hover:active~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rg1upok:enabled:not(:checked):hover:active~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rg1upok:enabled:checked~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rg1upok:enabled:checked~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStroke);color:var(--colorCompoundBrandForeground1);}",".rg1upok:enabled:checked:hover~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokeHover);color:var(--colorCompoundBrandForeground1Hover);}",".rg1upok:enabled:checked:hover:active~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokePressed);color:var(--colorCompoundBrandForeground1Pressed);}",".rg1upok:disabled~.fui-Radio__label{color:var(--colorNeutralForegroundDisabled);cursor:default;}",".rg1upok:disabled~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeDisabled);color:var(--colorNeutralForegroundDisabled);}",".rzwdzb4{position:absolute;right:0;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));height:100%;box-sizing:border-box;margin:0;opacity:0;}",".rzwdzb4:enabled{cursor:pointer;}",".rzwdzb4:enabled~.fui-Radio__label{cursor:pointer;}",".rzwdzb4:enabled:not(:checked)~.fui-Radio__label{color:var(--colorNeutralForeground3);}",".rzwdzb4:enabled:not(:checked)~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessible);}",".rzwdzb4:enabled:not(:checked):hover~.fui-Radio__label{color:var(--colorNeutralForeground2);}",".rzwdzb4:enabled:not(:checked):hover~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessibleHover);}",".rzwdzb4:enabled:not(:checked):hover:active~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rzwdzb4:enabled:not(:checked):hover:active~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rzwdzb4:enabled:checked~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rzwdzb4:enabled:checked~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStroke);color:var(--colorCompoundBrandForeground1);}",".rzwdzb4:enabled:checked:hover~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokeHover);color:var(--colorCompoundBrandForeground1Hover);}",".rzwdzb4:enabled:checked:hover:active~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokePressed);color:var(--colorCompoundBrandForeground1Pressed);}",".rzwdzb4:disabled~.fui-Radio__label{color:var(--colorNeutralForegroundDisabled);cursor:default;}",".rzwdzb4:disabled~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeDisabled);color:var(--colorNeutralForegroundDisabled);}"],s:["@media (forced-colors: active){.rg1upok:enabled:not(:checked)~.fui-Radio__indicator{border-color:ButtonBorder;}}","@media (forced-colors: active){.rg1upok:enabled:checked~.fui-Radio__indicator{border-color:Highlight;color:Highlight;}.rg1upok:enabled:checked~.fui-Radio__indicator::after{background-color:Highlight;}}","@media (forced-colors: active){.rg1upok:disabled~.fui-Radio__label{color:GrayText;}}","@media (forced-colors: active){.rg1upok:disabled~.fui-Radio__indicator{border-color:GrayText;color:GrayText;}.rg1upok:disabled~.fui-Radio__indicator::after{background-color:GrayText;}}","@media (forced-colors: active){.rzwdzb4:enabled:not(:checked)~.fui-Radio__indicator{border-color:ButtonBorder;}}","@media (forced-colors: active){.rzwdzb4:enabled:checked~.fui-Radio__indicator{border-color:Highlight;color:Highlight;}.rzwdzb4:enabled:checked~.fui-Radio__indicator::after{background-color:Highlight;}}","@media (forced-colors: active){.rzwdzb4:disabled~.fui-Radio__label{color:GrayText;}}","@media (forced-colors: active){.rzwdzb4:disabled~.fui-Radio__indicator{border-color:GrayText;color:GrayText;}.rzwdzb4:disabled~.fui-Radio__indicator::after{background-color:GrayText;}}"]}),MO=xe({below:{a9b677:"fly5x3f",Bqenvij:"f1je6zif"},defaultIndicator:{Blbys7f:"f9ma1gx"},customIndicator:{Bj53wkj:"f12zxao0"}},{d:[".fly5x3f{width:100%;}",".f1je6zif{height:calc(16px + 2 * var(--spacingVerticalS));}",'.f9ma1gx:checked~.fui-Radio__indicator::after{content:"";}',".f12zxao0:not(:checked)~.fui-Radio__indicator>*{opacity:0;}"]}),qO=We("rwtekvw",null,[".rwtekvw{position:relative;width:16px;height:16px;font-size:12px;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;border:var(--strokeWidthThin) solid;border-radius:var(--borderRadiusCircular);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;}",".rwtekvw::after{position:absolute;width:16px;height:16px;border-radius:var(--borderRadiusCircular);transform:scale(0.625);background-color:currentColor;}"]),FO=xe({base:{qb2dma:"f7nlbp4",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},after:{uwmqm3:["fruq291","f7x41pl"],B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},below:{z8tnut:"f1ywm7hm",fsow6f:"f17mccla"}},{d:[".f7nlbp4{align-self:center;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f17mccla{text-align:center;}"]}),PO=e=>{"use no memo";const{labelPosition:t}=e,r=DO(),o=jO();e.root.className=J(id.root,r,t==="below"&&o.vertical,e.root.className);const i=OO(),s=MO();e.input.className=J(id.input,i,t==="below"&&s.below,e.indicator.children?s.customIndicator:s.defaultIndicator,e.input.className);const c=qO();e.indicator.className=J(id.indicator,c,e.indicator.className);const d=FO();return e.label&&(e.label.className=J(id.label,d.base,d[t],e.label.className)),e},op=S.forwardRef((e,t)=>{const r=AO(e,t);return PO(r),Xe("useRadioStyles_unstable")(r),RO(r)});op.displayName="Radio";const IO=(e,t)=>{e=t1(e,{supportsLabelFor:!0,supportsRequired:!0});const{checked:r,defaultChecked:o,disabled:i,labelPosition:s="after",onChange:c,required:d}=e,f=af({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),h=hn("switch-",f.primary.id),m=je(e.root,{defaultProps:{ref:Kl(),...f.root},elementType:"div"}),p=je(e.indicator,{defaultProps:{"aria-hidden":!0,children:S.createElement(G5,null)},elementType:"div"}),w=je(e.input,{defaultProps:{checked:r,defaultChecked:o,id:h,ref:t,role:"switch",type:"checkbox",...f.primary},elementType:"input"});w.onChange=Mt(w.onChange,x=>c==null?void 0:c(x,{checked:x.currentTarget.checked}));const v=gt(e.label,{defaultProps:{disabled:i,htmlFor:h,required:d,size:"medium"},elementType:da});return{labelPosition:s,components:{root:"div",indicator:"div",input:"input",label:da},root:m,indicator:p,input:w,label:v}},LO=e=>{const{labelPosition:t}=e;return xt(e.root,{children:[ge(e.input,{}),t!=="after"&&e.label&&ge(e.label,{}),ge(e.indicator,{}),t==="after"&&e.label&&ge(e.label,{})]})},ld={root:"fui-Switch",indicator:"fui-Switch__indicator",input:"fui-Switch__input",label:"fui-Switch__label"},HO=We("r2i81i2","rofhmb8",{r:[".r2i81i2{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}",".r2i81i2:focus{outline-style:none;}",".r2i81i2:focus-visible{outline-style:none;}",".r2i81i2[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2i81i2[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rofhmb8{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}",".rofhmb8:focus{outline-style:none;}",".rofhmb8:focus-visible{outline-style:none;}",".rofhmb8[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rofhmb8[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r2i81i2[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rofhmb8[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),UO=xe({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),VO=We("r1c3hft5",null,{r:[".r1c3hft5{border-radius:var(--borderRadiusCircular);border:1px solid;line-height:0;box-sizing:border-box;fill:currentColor;flex-shrink:0;font-size:18px;height:20px;margin:var(--spacingVerticalS) var(--spacingHorizontalS);pointer-events:none;transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:background,border,color;width:40px;}",".r1c3hft5>*{transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:transform;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1c3hft5{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1c3hft5{color:CanvasText;}.r1c3hft5>i{forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1c3hft5>*{transition-duration:0.01ms;}}"]}),WO=xe({labelAbove:{B6of3ja:"f1hu3pq6"}},{d:[".f1hu3pq6{margin-top:0;}"]}),GO=We("rsji9ng","r15xih98",{r:[".rsji9ng{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".rsji9ng:checked~.fui-Switch__indicator>*{transform:translateX(20px);}",".rsji9ng:disabled{cursor:default;}",".rsji9ng:disabled~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}",".rsji9ng:disabled~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}",".rsji9ng:enabled:not(:checked)~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}",".rsji9ng:enabled:not(:checked)~.fui-Switch__label{color:var(--colorNeutralForeground1);}",".rsji9ng:enabled:not(:checked):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}",".rsji9ng:enabled:not(:checked):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rsji9ng:enabled:checked~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}",".rsji9ng:enabled:checked:hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}",".rsji9ng:enabled:checked:hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}",".rsji9ng:disabled:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}",".rsji9ng:disabled:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}",".r15xih98{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".r15xih98:checked~.fui-Switch__indicator>*{transform:translateX(-20px);}",".r15xih98:disabled{cursor:default;}",".r15xih98:disabled~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}",".r15xih98:disabled~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}",".r15xih98:enabled:not(:checked)~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}",".r15xih98:enabled:not(:checked)~.fui-Switch__label{color:var(--colorNeutralForeground1);}",".r15xih98:enabled:not(:checked):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}",".r15xih98:enabled:not(:checked):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}",".r15xih98:enabled:checked~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}",".r15xih98:enabled:checked:hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}",".r15xih98:enabled:checked:hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}",".r15xih98:disabled:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}",".r15xih98:disabled:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}"],s:["@media (forced-colors: active){.rsji9ng:disabled~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.rsji9ng:disabled~.fui-Switch__label{color:GrayText;}.rsji9ng:hover{color:CanvasText;}.rsji9ng:hover:active{color:CanvasText;}.rsji9ng:enabled:checked:hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rsji9ng:enabled:checked:hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rsji9ng:enabled:checked~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}","@media (forced-colors: active){.r15xih98:disabled~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.r15xih98:disabled~.fui-Switch__label{color:GrayText;}.r15xih98:hover{color:CanvasText;}.r15xih98:hover:active{color:CanvasText;}.r15xih98:enabled:checked:hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r15xih98:enabled:checked:hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r15xih98:enabled:checked~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}"]}),$O=xe({before:{j35jbq:["f1e31b4d","f1vgc2s3"],Bhzewxz:"f15twtuk"},after:{oyh7mz:["f1vgc2s3","f1e31b4d"],Bhzewxz:"f15twtuk"},above:{B5kzvoi:"f1yab3r1",Bqenvij:"f1aar7gd",a9b677:"fly5x3f"}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f15twtuk{top:0;}",".f1yab3r1{bottom:0;}",".f1aar7gd{height:calc(20px + var(--spacingVerticalS));}",".fly5x3f{width:100%;}"]}),XO=xe({base:{Bceei9c:"f1k6fduh",jrapky:"f49ad5g",B6of3ja:"f1xlvstr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},above:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun",a9b677:"fly5x3f"},after:{uwmqm3:["fruq291","f7x41pl"]},before:{z189sj:["f7x41pl","fruq291"]}},{d:[".f1k6fduh{cursor:pointer;}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".fly5x3f{width:100%;}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}"]}),KO=e=>{"use no memo";const t=HO(),r=UO(),o=VO(),i=WO(),s=GO(),c=$O(),d=XO(),{label:f,labelPosition:h}=e;return e.root.className=J(ld.root,t,h==="above"&&r.vertical,e.root.className),e.indicator.className=J(ld.indicator,o,f&&h==="above"&&i.labelAbove,e.indicator.className),e.input.className=J(ld.input,s,f&&c[h],e.input.className),e.label&&(e.label.className=J(ld.label,d.base,d[h],e.label.className)),e},C6=S.forwardRef((e,t)=>{const r=IO(e,t);return KO(r),Xe("useSwitchStyles_unstable")(r),LO(r)});C6.displayName="Switch";const E6=(e,t)=>{const{wrap:r,truncate:o,block:i,italic:s,underline:c,strikethrough:d,size:f,font:h,weight:m,align:p}=e;return{align:p??"start",block:i??!1,font:h??"base",italic:s??!1,size:f??300,strikethrough:d??!1,truncate:o??!1,underline:c??!1,weight:m??"regular",wrap:r??!0,components:{root:"span"},root:je(ct("span",{ref:t,...e}),{elementType:"span"})}},N6=e=>ge(e.root,{}),YO={root:"fui-Text"},ZO=xe({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Bhrd7zp:"figsok6",fsow6f:"fpgzoln",mc9l5x:"f1w7gpdv",Huce71:"f6juhto",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",ygn44y:"f2jf649"},nowrap:{Huce71:"fz5stix",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp"},truncate:{ygn44y:"f1cmbuwj"},block:{mc9l5x:"ftgm304"},italic:{B80ckks:"f1j4dglz"},underline:{w71qe1:"f13mvf36"},strikethrough:{w71qe1:"fv5q2k7"},strikethroughUnderline:{w71qe1:"f1drk4o6"},base100:{Be2twd7:"f13mqy1h",Bg96gwp:"fcpl73t"},base200:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},base400:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k"},base500:{Be2twd7:"f1pp30po",Bg96gwp:"f106mvju"},base600:{Be2twd7:"f1x0m3f5",Bg96gwp:"fb86gi6"},hero700:{Be2twd7:"fojgt09",Bg96gwp:"fcen8rp"},hero800:{Be2twd7:"fccw675",Bg96gwp:"f1ebx5kk"},hero900:{Be2twd7:"f15afnhw",Bg96gwp:"fr3w3wp"},hero1000:{Be2twd7:"fpyltcb",Bg96gwp:"f1ivgwrt"},monospace:{Bahqtrf:"f1fedwem"},numeric:{Bahqtrf:"f1uq0ln5"},weightMedium:{Bhrd7zp:"fdj6btp"},weightSemibold:{Bhrd7zp:"fl43uef"},weightBold:{Bhrd7zp:"flh3ekv"},alignCenter:{fsow6f:"f17mccla"},alignEnd:{fsow6f:"f12ymhq5"},alignJustify:{fsow6f:"f1j59e10"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fpgzoln{text-align:start;}",".f1w7gpdv{display:inline;}",".f6juhto{white-space:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],".f2jf649{text-overflow:clip;}",".fz5stix{white-space:nowrap;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".f1cmbuwj{text-overflow:ellipsis;}",".ftgm304{display:block;}",".f1j4dglz{font-style:italic;}",".f13mvf36{text-decoration-line:underline;}",".fv5q2k7{text-decoration-line:line-through;}",".f1drk4o6{text-decoration-line:line-through underline;}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",".fb86gi6{line-height:var(--lineHeightBase600);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fcen8rp{line-height:var(--lineHeightHero700);}",".fccw675{font-size:var(--fontSizeHero800);}",".f1ebx5kk{line-height:var(--lineHeightHero800);}",".f15afnhw{font-size:var(--fontSizeHero900);}",".fr3w3wp{line-height:var(--lineHeightHero900);}",".fpyltcb{font-size:var(--fontSizeHero1000);}",".f1ivgwrt{line-height:var(--lineHeightHero1000);}",".f1fedwem{font-family:var(--fontFamilyMonospace);}",".f1uq0ln5{font-family:var(--fontFamilyNumeric);}",".fdj6btp{font-weight:var(--fontWeightMedium);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".flh3ekv{font-weight:var(--fontWeightBold);}",".f17mccla{text-align:center;}",".f12ymhq5{text-align:end;}",".f1j59e10{text-align:justify;}"]}),z6=e=>{"use no memo";const t=ZO();return e.root.className=J(YO.root,t.root,e.wrap===!1&&t.nowrap,e.truncate&&t.truncate,e.block&&t.block,e.italic&&t.italic,e.underline&&t.underline,e.strikethrough&&t.strikethrough,e.underline&&e.strikethrough&&t.strikethroughUnderline,e.size===100&&t.base100,e.size===200&&t.base200,e.size===400&&t.base400,e.size===500&&t.base500,e.size===600&&t.base600,e.size===700&&t.hero700,e.size===800&&t.hero800,e.size===900&&t.hero900,e.size===1e3&&t.hero1000,e.font==="monospace"&&t.monospace,e.font==="numeric"&&t.numeric,e.weight==="medium"&&t.weightMedium,e.weight==="semibold"&&t.weightSemibold,e.weight==="bold"&&t.weightBold,e.align==="center"&&t.alignCenter,e.align==="end"&&t.alignEnd,e.align==="justify"&&t.alignJustify,e.root.className),e},ti=S.forwardRef((e,t)=>{const r=E6(e,t);return z6(r),Xe("useTextStyles_unstable")(r),N6(r)});ti.displayName="Text";function l1(e){const{useStyles:t,className:r,displayName:o}=e,i=S.forwardRef((s,c)=>{"use no memo";const d=t(),f=E6(s,c);return z6(f),f.root.className=J(r,f.root.className,d.root,s.className),N6(f)});return i.displayName=o,i}const QO={root:"fui-Body1"},JO=xe({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),eM=l1({useStyles:JO,className:QO.root,displayName:"Body1"}),tM={root:"fui-Subtitle1"},rM=xe({root:{Bahqtrf:"fk6fouc",Be2twd7:"f1pp30po",Bhrd7zp:"fl43uef",Bg96gwp:"f106mvju"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f106mvju{line-height:var(--lineHeightBase500);}"]}),nM=l1({useStyles:rM,className:tM.root,displayName:"Subtitle1"}),oM={root:"fui-Title1"},aM=xe({root:{Bahqtrf:"fk6fouc",Be2twd7:"fccw675",Bhrd7zp:"fl43uef",Bg96gwp:"f1ebx5kk"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fccw675{font-size:var(--fontSizeHero800);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f1ebx5kk{line-height:var(--lineHeightHero800);}"]}),R6=l1({useStyles:aM,className:oM.root,displayName:"Title1"}),iM=e=>ge(e.root,{children:ge(e.textarea,{})}),lM=(e,t)=>{e=t1(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const r=WS();var o;const{size:i="medium",appearance:s=(o=r.inputDefaultAppearance)!==null&&o!==void 0?o:"outline",resize:c="none",onChange:d}=e,[f,h]=Rn({state:e.value,defaultState:e.defaultValue,initialState:void 0}),m=af({props:e,primarySlotTagName:"textarea",excludedPropNames:["onChange","value","defaultValue"]}),p={size:i,appearance:s,resize:c,components:{root:"span",textarea:"textarea"},textarea:je(e.textarea,{defaultProps:{ref:t,...m.primary},elementType:"textarea"}),root:je(e.root,{defaultProps:m.root,elementType:"span"})};return p.textarea.value=f,p.textarea.onChange=ke(w=>{const v=w.target.value;d==null||d(w,{value:v}),h(v)}),p},sw={root:"fui-Textarea",textarea:"fui-Textarea__textarea"},sM=xe({base:{mc9l5x:"ftuwxu6",B7ck84d:"f1ewtqcl",qhf8xq:"f10pi13n",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1yiegib",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",ha4doy:"f12kltsn"},disabled:{De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"ff3nzm7",Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"]},interactive:{li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"ffyw7fx",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"fj2g8qd",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",df92cz:"fv8e3ye",I188md:"ftb5wc6",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",H713fs:"f1cmft4k",B9ooomg:"f1x58t8o",Bercvud:"f1ibeo51",Bbr2w1p:"f1vnc8sk",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7"},filled:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w",q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1gmd7mu",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1gmd7mu",E5pizo:"fyed02w"},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{kzujx5:0,oetu4i:"f1l4zc64",gvrnp0:0,xv9156:0,jek2p4:0,gg5e9n:0,Beu9t3s:0,dt87k2:0,Bt1vbvt:0,Bwzppfd:0,Bop6t4b:0,B2zwrfe:0,Bwp2tzp:0,Bgoe8wy:0,Bf40cpq:0,ckks6v:0,Baalond:"f9mts5e",v2iqwr:0,wmxk5l:"f1z0osm6",Bj33j0h:0,Bs0cc2w:0,qwjtx1:0,B50zh58:0,f7epvg:0,e1hlit:0,B7mkhst:0,ak43y8:0,Bbcopvn:0,Bvecx4l:0,lwioe0:0,B6oc9vd:0,e2sjt0:0,uqwnxt:0,asj8p9:"f1acnei2",Br8fjdy:0,zoxjo1:"f1so894s",Bt3ojkv:0,B7pmvfx:0,Bfht2n1:0,an54nd:0,t1ykpo:0,Belqbek:0,bbt1vd:0,Brahy3i:0,r7b1zc:0,rexu52:0,ovtnii:0,Bvq3b66:0,Bawrxx6:0,Bbs6y8j:0,B2qpgjt:"f19ezbcq"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]}},{d:[".ftuwxu6{display:inline-flex;}",".f1ewtqcl{box-sizing:border-box;}",".f10pi13n{position:relative;}",[".f1yiegib{padding:0 0 var(--strokeWidthThick) 0;}",{p:-1}],[".f1s184ao{margin:0;}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f12kltsn{vertical-align:top;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".ff3nzm7{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeDisabled);}",{p:-2}],".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".ffyw7fx::after{height:max(var(--strokeWidthThick), var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".fj2g8qd::after{clip-path:inset(calc(100% - var(--strokeWidthThick)) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".f1gmd7mu{border:var(--strokeWidthThin) solid var(--colorTransparentStrokeInteractive);}",{p:-2}],".fyed02w{box-shadow:var(--shadow2);}",[".f1gmd7mu{border:var(--strokeWidthThin) solid var(--colorTransparentStrokeInteractive);}",{p:-2}],[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}"],m:[["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media screen and (prefers-reduced-motion: reduce){.fv8e3ye::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.ftb5wc6::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1cmft4k:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1x58t8o:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]],w:[".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1vnc8sk:focus-within{outline-width:var(--strokeWidthThick);}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",[".f19ezbcq:focus-within{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Pressed);}",{p:-2}],".f1so894s:focus-within{border-bottom-color:var(--colorCompoundBrandStroke);}"],h:[".ftmjh5b:hover,.ftmjh5b:focus-within{border-top-color:var(--colorTransparentStrokeInteractive);}",".f17blpuu:hover,.f17blpuu:focus-within{border-right-color:var(--colorTransparentStrokeInteractive);}",".fsrcdbj:hover,.fsrcdbj:focus-within{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1tpwn32:hover,.f1tpwn32:focus-within{border-bottom-color:var(--colorTransparentStrokeInteractive);}",[".f9mts5e:hover{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Hover);}",{p:-2}],".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[[".f1acnei2:active{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Pressed);}",{p:-2}],".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),uM=xe({base:{icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],oivjwe:"f1h8hb77",wvpqe5:["f1deefiw","f1n71otn"],jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",De3pzq:"f3rmtva",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",Bh6795r:"fqerorx",Bahqtrf:"fk6fouc",Bqenvij:"f1l02sjl",yvdlaj:"fwyc1cq",B3o7kgh:"f13ta7ih",B4brmom:"f1vw9udw",Brrnbx2:"fbb3kq8",oeaueh:"f1s6fcnf"},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"},small:{sshi5w:"f1w5jphr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1pnffij",Bxyxcbc:"f192z54u",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{sshi5w:"fvmd9f",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1ww82xo",Bxyxcbc:"f1if7ixc",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},large:{sshi5w:"f1kfson",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f15hvtkj",Bxyxcbc:"f3kip1f",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k"}},{d:[".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",[".f1s184ao{margin:0;}",{p:-1}],".f3rmtva{background-color:transparent;}",".f1ewtqcl{box-sizing:border-box;}",".f19n0e5{color:var(--colorNeutralForeground1);}",".fqerorx{flex-grow:1;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f1l02sjl{height:100%;}",".fwyc1cq::-webkit-input-placeholder{color:var(--colorNeutralForeground4);}",".fwyc1cq::-moz-placeholder{color:var(--colorNeutralForeground4);}",".f13ta7ih::-webkit-input-placeholder{opacity:1;}",".f13ta7ih::-moz-placeholder{opacity:1;}",".f1vw9udw::selection{color:var(--colorNeutralForegroundInverted);}",".fbb3kq8::selection{background-color:var(--colorNeutralBackgroundInverted);}",".f1s6fcnf{outline-style:none;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}",".f1w5jphr{min-height:40px;}",[".f1pnffij{padding:var(--spacingVerticalXS) calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],".f192z54u{max-height:200px;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fvmd9f{min-height:52px;}",[".f1ww82xo{padding:var(--spacingVerticalSNudge) calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],".f1if7ixc{max-height:260px;}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f1kfson{min-height:64px;}",[".f15hvtkj{padding:var(--spacingVerticalS) calc(var(--spacingHorizontalM) + var(--spacingHorizontalXXS));}",{p:-1}],".f3kip1f{max-height:320px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),cM=xe({none:{B3rzk8w:"f1o1s39h"},both:{B3rzk8w:"f1pxm0xe"},horizontal:{B3rzk8w:"fq6nmtn"},vertical:{B3rzk8w:"f1f5ktr4"}},{d:[".f1o1s39h{resize:none;}",".f1pxm0xe{resize:both;}",".fq6nmtn{resize:horizontal;}",".f1f5ktr4{resize:vertical;}"]}),dM=e=>{"use no memo";const{size:t,appearance:r,resize:o}=e,i=e.textarea.disabled,s=`${e.textarea["aria-invalid"]}`=="true",c=r.startsWith("filled"),d=sM();e.root.className=J(sw.root,d.base,i&&d.disabled,!i&&c&&d.filled,!i&&d[r],!i&&d.interactive,!i&&r==="outline"&&d.outlineInteractive,!i&&s&&d.invalid,e.root.className);const f=uM(),h=cM();return e.textarea.className=J(sw.textarea,f.base,f[t],h[o],i&&f.disabled,e.textarea.className),e},s1=S.forwardRef((e,t)=>{const r=lM(e,t);return dM(r),Xe("useTextareaStyles_unstable")(r),iM(r)});s1.displayName="Textarea";const fM=We("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),hM=We("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function mM(){const e=fM(),t=hM(),{targetDocument:r}=St(),o=S.useCallback(()=>{var s;if(!r)return;var c;Math.floor(r.body.getBoundingClientRect().height)>((c=(s=r.defaultView)===null||s===void 0?void 0:s.innerHeight)!==null&&c!==void 0?c:0)&&(r.documentElement.classList.add(e),r.body.classList.add(t))},[r,e,t]),i=S.useCallback(()=>{r&&(r.documentElement.classList.remove(e),r.body.classList.remove(t))},[r,e,t]);return{disableBodyScroll:o,enableBodyScroll:i}}function gM(e,t){const{findFirstFocusable:r}=ma(),{targetDocument:o}=St(),i=S.useRef(null);return S.useEffect(()=>{if(!e)return;const s=i.current&&r(i.current);if(s)s.focus();else{var c;(c=i.current)===null||c===void 0||c.focus()}},[r,e,t,o]),i}const pM={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,dialogRef:{current:null},requestOpenChange(){}},u1=Zl(void 0),bM=u1.Provider,_o=e=>Ql(u1,(t=pM)=>e(t)),vM=!1,A6=S.createContext(void 0),D6=A6.Provider,yM=()=>{var e;return(e=S.useContext(A6))!==null&&e!==void 0?e:vM},uw=[{opacity:0,boxShadow:"0px 0px 0px 0px rgba(0, 0, 0, 0.1)",transform:"scale(0.85) translateZ(0)"},{boxShadow:F.shadow64,transform:"scale(1) translateZ(0)",opacity:1}],cw=ai({enter:{keyframes:uw,easing:kr.curveDecelerateMid,duration:kr.durationGentle},exit:{keyframes:[...uw].reverse(),easing:kr.curveAccelerateMin,duration:kr.durationGentle}}),xM=e=>{const{children:t,modalType:r="modal",onOpenChange:o,inertTrapFocus:i=!1}=e,[s,c]=wM(t),[d,f]=Rn({state:e.open,defaultState:e.defaultOpen,initialState:!1}),h=ke(x=>{o==null||o(x.event,x),x.event.isDefaultPrevented()||f(x.open)}),m=gM(d,r),{modalAttributes:p,triggerAttributes:w}=Fi({trapFocus:r!=="non-modal",legacyTrapFocus:!i}),v=Ip(u1);return{components:{surfaceMotion:cw},inertTrapFocus:i,open:d,modalType:r,content:c,trigger:s,requestOpenChange:h,dialogTitleId:hn("dialog-title-"),isNestedDialog:v,dialogRef:m,modalAttributes:p,triggerAttributes:w,surfaceMotion:X5(e.surfaceMotion,{elementType:cw,defaultProps:{appear:!0,visible:d,unmountOnExit:!0}})}};function wM(e){const t=S.Children.toArray(e);switch(t.length){case 2:return t;case 1:return[void 0,t[0]];default:return[void 0,void 0]}}const j6=S.createContext(void 0);function SM(){return S.useContext(j6)}const kM=S.forwardRef((e,t)=>S.createElement(j6.Provider,{value:t},e.children)),BM=(e,t)=>ge(bM,{value:t.dialog,children:xt(D6,{value:t.dialogSurface,children:[e.trigger,e.content&&ge(e.surfaceMotion,{children:ge(kM,{children:e.content})})]})});function _M(e){const{modalType:t,open:r,dialogRef:o,dialogTitleId:i,isNestedDialog:s,inertTrapFocus:c,requestOpenChange:d,modalAttributes:f,triggerAttributes:h}=e;return{dialog:{open:r,modalType:t,dialogRef:o,dialogTitleId:i,isNestedDialog:s,inertTrapFocus:c,modalAttributes:f,triggerAttributes:h,requestOpenChange:d},dialogSurface:!1}}const Cf=S.memo(e=>{const t=xM(e),r=_M(t);return BM(t,r)});Cf.displayName="Dialog";const TM=e=>{const t=yM(),{children:r,disableButtonEnhancement:o=!1,action:i=t?"close":"open"}=e,s=Eu(r),c=_o(p=>p.requestOpenChange),{triggerAttributes:d}=Fi(),f=ke(p=>{var w,v;s==null||(w=(v=s.props).onClick)===null||w===void 0||w.call(v,p),p.isDefaultPrevented()||c({event:p,type:"triggerClick",open:i==="open"})}),h={...s==null?void 0:s.props,ref:s==null?void 0:s.ref,onClick:f,...d},m=Di((s==null?void 0:s.type)==="button"||(s==null?void 0:s.type)==="a"?s.type:"div",{...h,type:"button"});return{children:sf(r,o?h:m)}},CM=e=>e.children,c1=e=>{const t=TM(e);return CM(t)};c1.displayName="DialogTrigger";c1.isFluentTriggerComponent=!0;const EM=(e,t)=>{const{position:r="end",fluid:o=!1}=e;return{components:{root:"div"},root:je(ct("div",{ref:t,...e}),{elementType:"div"}),position:r,fluid:o}},NM=e=>ge(e.root,{}),zM={root:"fui-DialogActions"},RM=We("rhfpeu0",null,{r:[".rhfpeu0{gap:8px;height:fit-content;box-sizing:border-box;display:flex;grid-row-start:3;grid-row-end:3;}"],s:["@media screen and (max-width: 480px){.rhfpeu0{flex-direction:column;justify-self:stretch;}}"]}),AM=xe({gridPositionEnd:{Bdqf98w:"f1a7i8kp",Br312pm:"fd46tj4",Bw0ie65:"fsyjsko",B6n781s:"f1f41i0t",Bv5d0be:"f1jaqex3",v4ugfu:"f2ao6jk"},gridPositionStart:{Bdqf98w:"fsxvdwy",Br312pm:"fwpfdsa",Bw0ie65:"f1e2fz10",Bojbm9c:"f11ihkml",Bv5d0be:"fce5bvx",v4ugfu:"f2ao6jk"},fluidStart:{Bw0ie65:"fsyjsko"},fluidEnd:{Br312pm:"fwpfdsa"}},{d:[".f1a7i8kp{justify-self:end;}",".fd46tj4{grid-column-start:2;}",".fsyjsko{grid-column-end:4;}",".fsxvdwy{justify-self:start;}",".fwpfdsa{grid-column-start:1;}",".f1e2fz10{grid-column-end:2;}"],m:[["@media screen and (max-width: 480px){.f1f41i0t{grid-column-start:1;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1jaqex3{grid-row-start:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f2ao6jk{grid-row-end:auto;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f11ihkml{grid-column-end:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.fce5bvx{grid-row-start:3;}}",{m:"screen and (max-width: 480px)"}]]}),DM=e=>{"use no memo";const t=RM(),r=AM();return e.root.className=J(zM.root,t,e.position==="start"&&r.gridPositionStart,e.position==="end"&&r.gridPositionEnd,e.fluid&&e.position==="start"&&r.fluidStart,e.fluid&&e.position==="end"&&r.fluidEnd,e.root.className),e},Du=S.forwardRef((e,t)=>{const r=EM(e,t);return DM(r),Xe("useDialogActionsStyles_unstable")(r),NM(r)});Du.displayName="DialogActions";const jM=(e,t)=>{var r;return{components:{root:"div"},root:je(ct((r=e.as)!==null&&r!==void 0?r:"div",{ref:t,...e}),{elementType:"div"})}},OM=e=>ge(e.root,{}),MM={root:"fui-DialogBody"},qM=We("r1h3qql9",null,{r:[".r1h3qql9{overflow:unset;gap:8px;display:grid;max-height:calc(100vh - 2 * 24px);box-sizing:border-box;grid-template-rows:auto 1fr;grid-template-columns:1fr 1fr auto;}"],s:["@media screen and (max-width: 480px){.r1h3qql9{max-width:100vw;grid-template-rows:auto 1fr auto;}}","@media screen and (max-height: 359px){.r1h3qql9{max-height:unset;}}"]}),FM=e=>{"use no memo";const t=qM();return e.root.className=J(MM.root,t,e.root.className),e},ju=S.forwardRef((e,t)=>{const r=jM(e,t);return FM(r),Xe("useDialogBodyStyles_unstable")(r),OM(r)});ju.displayName="DialogBody";const dw={root:"fui-DialogTitle",action:"fui-DialogTitle__action"},PM=We("rxjm636",null,[".rxjm636{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase500);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase500);margin:0;grid-row-start:1;grid-row-end:1;grid-column-start:1;grid-column-end:3;}"]),IM=xe({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),LM=We("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),HM=We("r2avt6e","roj2bbc",{r:[".r2avt6e{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".r2avt6e:focus{outline-style:none;}",".r2avt6e:focus-visible{outline-style:none;}",".r2avt6e[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2avt6e[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".roj2bbc{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".roj2bbc:focus{outline-style:none;}",".roj2bbc:focus-visible{outline-style:none;}",".roj2bbc[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.roj2bbc[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r2avt6e[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.roj2bbc[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),UM=e=>{"use no memo";const t=PM(),r=LM(),o=IM();return e.root.className=J(dw.root,t,!e.action&&o.rootWithoutAction,e.root.className),e.action&&(e.action.className=J(dw.action,r,e.action.className)),e},VM=(e,t)=>{const{action:r}=e,o=_o(s=>s.modalType),i=HM();return{components:{root:"h2",action:"div"},root:je(ct("h2",{ref:t,id:_o(s=>s.dialogTitleId),...e}),{elementType:"h2"}),action:gt(r,{renderByDefault:o==="non-modal",defaultProps:{children:S.createElement(c1,{disableButtonEnhancement:!0,action:"close"},S.createElement("button",{type:"button",className:i,"aria-label":"close"},S.createElement(L7,null)))},elementType:"div"})}},WM=e=>xt(S.Fragment,{children:[ge(e.root,{children:e.root.children}),e.action&&ge(e.action,{})]}),Ou=S.forwardRef((e,t)=>{const r=VM(e,t);return UM(r),Xe("useDialogTitleStyles_unstable")(r),WM(r)});Ou.displayName="DialogTitle";const fw=Uz,GM=(e,t)=>{const r=SM(),o=_o(y=>y.modalType),i=_o(y=>y.isNestedDialog),s=_o(y=>y.modalAttributes),c=_o(y=>y.dialogRef),d=_o(y=>y.requestOpenChange),f=_o(y=>y.dialogTitleId),h=_o(y=>y.open),m=ke(y=>{if(tC(e.backdrop)){var k,B;(k=(B=e.backdrop).onClick)===null||k===void 0||k.call(B,y)}o==="modal"&&!y.isDefaultPrevented()&&d({event:y,open:!1,type:"backdropClick"})}),p=ke(y=>{var k;(k=e.onKeyDown)===null||k===void 0||k.call(e,y),y.key===Pi&&!y.isDefaultPrevented()&&(d({event:y,open:!1,type:"escapeKeyDown"}),y.preventDefault())}),w=gt(e.backdrop,{renderByDefault:o!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"});w&&(w.onClick=m);const{disableBodyScroll:v,enableBodyScroll:x}=mM();return jr(()=>{if(!(i||o==="non-modal"))return v(),()=>{x()}},[x,i,v,o]),{components:{backdrop:"div",root:"div",backdropMotion:fw},open:h,backdrop:w,isNestedDialog:i,mountNode:e.mountNode,root:je(ct("div",{tabIndex:-1,"aria-modal":o!=="non-modal",role:o==="alert"?"alertdialog":"dialog","aria-labelledby":e["aria-label"]?void 0:f,...e,...s,onKeyDown:p,ref:Br(t,r,c)}),{elementType:"div"}),backdropMotion:X5(e.backdropMotion,{elementType:fw,defaultProps:{appear:!0,visible:h}}),transitionStatus:void 0}},$M=(e,t)=>xt(ts,{mountNode:e.mountNode,children:[e.backdrop&&e.backdropMotion&&ge(e.backdropMotion,{children:ge(e.backdrop,{})}),ge(D6,{value:t.dialogSurface,children:ge(e.root,{})})]}),hw={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},XM=We("rsmdyd3","rup8wml",{r:[".rsmdyd3{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".rsmdyd3:focus{outline-style:none;}",".rsmdyd3:focus-visible{outline-style:none;}",".rsmdyd3[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.rsmdyd3[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rup8wml{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".rup8wml:focus{outline-style:none;}",".rup8wml:focus-visible{outline-style:none;}",".rup8wml[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rup8wml[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.rsmdyd3[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media screen and (max-width: 480px){.rsmdyd3{max-width:100vw;}}","@media screen and (max-height: 359px){.rsmdyd3{overflow-y:auto;padding-right:calc(24px - 4px);border-right-width:4px;border-top-width:4px;border-bottom-width:4px;}}","@media (forced-colors: active){.rup8wml[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}","@media screen and (max-width: 480px){.rup8wml{max-width:100vw;}}","@media screen and (max-height: 359px){.rup8wml{overflow-y:auto;padding-left:calc(24px - 4px);border-left-width:4px;border-top-width:4px;border-bottom-width:4px;}}"]}),KM=We("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),YM=xe({nestedDialogBackdrop:{De3pzq:"f1c21dwh"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}"]}),ZM=e=>{"use no memo";const{isNestedDialog:t,root:r,backdrop:o}=e,i=XM(),s=KM(),c=YM();return r.className=J(hw.root,i,r.className),o&&(o.className=J(hw.backdrop,s,t&&c.nestedDialogBackdrop,o.className)),e};function QM(e){return{dialogSurface:!0}}const Ef=S.forwardRef((e,t)=>{const r=GM(e,t),o=QM();return ZM(r),Xe("useDialogSurfaceStyles_unstable")(r),$M(r,o)});Ef.displayName="DialogSurface";const JM=(e,t)=>{var r;return{components:{root:"div"},root:je(ct((r=e.as)!==null&&r!==void 0?r:"div",{ref:t,...e}),{elementType:"div"})}},eq=e=>ge(e.root,{}),tq={root:"fui-DialogContent"},rq=We("r1v5zwsm",null,{r:[".r1v5zwsm{padding:var(--strokeWidthThick);margin:calc(var(--strokeWidthThick) * -1);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);overflow-y:auto;min-height:32px;box-sizing:border-box;grid-row-start:2;grid-row-end:2;grid-column-start:1;grid-column-end:4;}"],s:["@media screen and (max-height: 359px){.r1v5zwsm{overflow-y:unset;}}"]}),nq=e=>{"use no memo";const t=rq();return e.root.className=J(tq.root,t,e.root.className),e},Mu=S.forwardRef((e,t)=>{const r=JM(e,t);return nq(r),Xe("useDialogContentStyles_unstable")(r),eq(r)});Mu.displayName="DialogContent";const oq=(e,t)=>{const{size:r="medium",vertical:o=!1}=e,i=ri({circular:!0,axis:"both"}),s={size:r,vertical:o,components:{root:"div"},root:je(ct("div",{role:"toolbar",ref:t,...o&&{"aria-orientation":"vertical"},...i,...e}),{elementType:"div"})},[c,d]=aq({checkedValues:e.checkedValues,defaultCheckedValues:e.defaultCheckedValues,onCheckedValueChange:e.onCheckedValueChange}),f=ke((m,p,w,v)=>{if(p&&w){const y=[...(c==null?void 0:c[p])||[]];v?y.splice(y.indexOf(w),1):y.push(w),d==null||d(m,{name:p,checkedItems:y})}}),h=ke((m,p,w,v)=>{p&&w&&(d==null||d(m,{name:p,checkedItems:[w]}))});return{...s,handleToggleButton:f,handleRadio:h,checkedValues:c??{}}},aq=e=>{const[t,r]=Rn({state:e.checkedValues,defaultState:e.defaultCheckedValues,initialState:{}}),{onCheckedValueChange:o}=e,i=ke((s,{name:c,checkedItems:d})=>{o&&o(s,{name:c,checkedItems:d}),r(f=>f?{...f,[c]:d}:{[c]:d})});return[t,i]},O6=Zl(void 0),iq={size:"medium",handleToggleButton:()=>null,handleRadio:()=>null,vertical:!1,checkedValues:{}},ap=e=>Ql(O6,(t=iq)=>e(t)),lq=(e,t)=>ge(O6.Provider,{value:t.toolbar,children:ge(e.root,{children:e.root.children})}),sq={root:"fui-Toolbar"},uq=xe({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1yqiaad"},vertical:{Beiy3e4:"f1vx9l62",a9b677:"f1acs6jw"},small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fvz760z"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1yqiaad"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1ms6bdn"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}",[".f1yqiaad{padding:4px 8px;}",{p:-1}],".f1vx9l62{flex-direction:column;}",".f1acs6jw{width:fit-content;}",[".fvz760z{padding:0px 4px;}",{p:-1}],[".f1yqiaad{padding:4px 8px;}",{p:-1}],[".f1ms6bdn{padding:4px 20px;}",{p:-1}]]}),cq=e=>{"use no memo";const t=uq(),{vertical:r,size:o}=e;return e.root.className=J(sq.root,t.root,r&&t.vertical,o==="small"&&!r&&t.small,o==="medium"&&!r&&t.medium,o==="large"&&!r&&t.large,e.root.className),e};function dq(e){const{size:t,handleToggleButton:r,vertical:o,checkedValues:i,handleRadio:s}=e;return{toolbar:{size:t,vertical:o,handleToggleButton:r,handleRadio:s,checkedValues:i}}}const d1=S.forwardRef((e,t)=>{const r=oq(e,t),o=dq(r);return cq(r),Xe("useToolbarStyles_unstable")(r),lq(r,o)});d1.displayName="Toolbar";const fq=xe({vertical:{Beiy3e4:"f1vx9l62"},verticalIcon:{Be2twd7:"f1rt2boy",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao"}},{d:[".f1vx9l62{flex-direction:column;}",".f1rt2boy{font-size:24px;}",[".f1s184ao{margin:0;}",{p:-1}]]}),hq=e=>{"use no memo";kf(e);const t=fq();e.root.className=J(e.root.className,e.vertical&&t.vertical),e.icon&&(e.icon.className=J(e.icon.className,e.vertical&&t.verticalIcon))},mq=(e,t)=>{const{vertical:r=!1,...o}=e,i=Sf({appearance:"subtle",...o,size:"medium"},t);return{vertical:r,...i}},Za=S.forwardRef((e,t)=>{const r=mq(e,t);return hq(r),Xe("useToolbarButtonStyles_unstable")(r),e1(r)});Za.displayName="ToolbarButton";const gq=xe({root:{mc9l5x:"ftuwxu6",B2u0y6b:"f1lwjmbk",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1oic3e7"},vertical:{B2u0y6b:"fe668z"}},{d:[".ftuwxu6{display:inline-flex;}",".f1lwjmbk{max-width:1px;}",[".f1oic3e7{padding:0 12px;}",{p:-1}],".fe668z{max-width:initial;}"]}),pq=e=>{"use no memo";wj(e);const{vertical:t}=e,r=gq();return e.root.className=J(r.root,!t&&r.vertical,e.root.className),e},bq=(e,t)=>{const r=ap(o=>o.vertical);return bj({vertical:!r,...e},t)},f1=S.forwardRef((e,t)=>{const r=bq(e,t);return pq(r),Xe("useToolbarDividerStyles_unstable")(r),pj(r)});f1.displayName="ToolbarDivider";const vq=(e,t)=>{const r=ap(f=>f.handleToggleButton),o=ap(f=>{var h;return!!(!((h=f.checkedValues[e.name])===null||h===void 0)&&h.includes(e.value))}),{onClick:i}=e,c={...XD({checked:o,...e},t),name:e.name,value:e.value},d=f=>{if(c.disabled){f.preventDefault(),f.stopPropagation();return}r==null||r(f,c.name,c.value,c.checked),i==null||i(f)};return c.root.onClick=d,c},yq=xe({selected:{De3pzq:"fq5gl1p",sj55zd:"f1eryozh"},iconSelected:{sj55zd:"f1qj7y59"}},{d:[".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1eryozh{color:var(--colorNeutralForeground2Selected);}",".f1qj7y59{color:var(--colorNeutralForeground2BrandSelected);}"]}),xq=e=>{"use no memo";JD(e);const t=yq();return e.root.className=J(e.root.className,e.checked&&t.selected),e.icon&&(e.icon.className=J(e.icon.className,e.checked&&t.iconSelected)),e},M6=S.forwardRef((e,t)=>{const r=vq(e,t);return xq(r),Xe("useToolbarToggleButtonStyles_unstable")(r),e1(r)});M6.displayName="ToolbarToggleButton";const wq=(e,t)=>({components:{root:"div"},root:je(ct("div",{ref:t,role:"presentation",...e}),{elementType:"div"})}),Sq={root:"fui-ToolbarGroup"},kq=e=>{"use no memo";return e.root.className=J(Sq.root,e.root.className),e},Bq=e=>ge(e.root,{children:e.root.children}),q6=S.forwardRef((e,t)=>{const r=wq(e,t);return kq(r),Xe("useToolbarGroupStyles_unstable")(r),Bq(r)});q6.displayName="ToolbarGroup";const ou=()=>{},F6={allRowsSelected:!1,clearRows:ou,deselectRow:ou,isRowSelected:()=>!1,selectRow:ou,selectedRows:new Set,someRowsSelected:!1,toggleAllRows:ou,toggleRow:ou,selectionMode:"multiselect"};function _q(e){"use no memo";return t=>Tq(t,e)}function Tq(e,t){const{items:r,getRowId:o}=e,{selectionMode:i,defaultSelectedItems:s,selectedItems:c,onSelectionChange:d}=t,[f,h]=iE({selectionMode:i,defaultSelectedItems:s,selectedItems:c,onSelectionChange:d}),m=S.useMemo(()=>{const C=new Set;for(let R=0;R{if(i==="single"){const N=Array.from(f)[0];return m.has(N)}if(f.size{f.has(N)||(C=!1)}),C},[m,f,i]),w=S.useMemo(()=>{if(f.size<=0)return!1;let C=!1;return m.forEach(N=>{f.has(N)&&(C=!0)}),C},[m,f]),v=ke(C=>{h.toggleAllItems(C,r.map((N,R)=>{var j;return(j=o==null?void 0:o(N))!==null&&j!==void 0?j:R}))}),x=ke((C,N)=>h.toggleItem(C,N)),y=ke((C,N)=>h.deselectItem(C,N)),k=ke((C,N)=>h.selectItem(C,N)),B=C=>h.isSelected(C),_=ke(C=>h.clearItems(C));return{...e,selection:{selectionMode:i,someRowsSelected:w,allRowsSelected:p,selectedRows:f,toggleRow:x,toggleAllRows:v,clearRows:_,deselectRow:y,selectRow:k,isRowSelected:B}}}const ip=()=>{},P6={getSortDirection:()=>"ascending",setColumnSort:ip,sort:e=>[...e],sortColumn:void 0,sortDirection:"ascending",toggleColumnSort:ip};function Cq(e){"use no memo";return t=>Eq(t,e)}function Eq(e,t){const{columns:r}=e,{sortState:o,defaultSortState:i,onSortChange:s=ip}=t,[c,d]=Rn({initialState:{sortDirection:"ascending",sortColumn:void 0},defaultState:i,state:o}),{sortColumn:f,sortDirection:h}=c,m=ke(s),p=S.useCallback((y,k)=>{d(B=>{const _={...B,sortColumn:k};return B.sortColumn===k?_.sortDirection=B.sortDirection==="ascending"?"descending":"ascending":_.sortDirection="ascending",m==null||m(y,_),_})},[m,d]),w=(y,k,B)=>{const _={sortColumn:k,sortDirection:B};m==null||m(y,_),d(_)},v=S.useCallback(y=>y.slice().sort((k,B)=>{const _=r.find(N=>N.columnId===f);if(!(_!=null&&_.compare))return 0;const C=h==="ascending"?1:-1;return _.compare(k.item,B.item)*C}),[r,f,h]);return{...e,sort:{sort:v,sortColumn:f,sortDirection:h,setColumnSort:w,toggleColumnSort:p,getSortDirection:y=>f===y?h:void 0}}}const Nq=(e,t)=>{const r=ke(o=>{var i;(i=e.onClick)===null||i===void 0||i.call(e,o),o.stopPropagation()});return{components:{root:"div"},root:je(ct("div",{ref:t,...e,onClick:r}),{elementType:"div"})}},zq=e=>ge(e.root,{}),Rq={root:"fui-TableResizeHandle"},Aq=xe({root:{qhf8xq:"f1euv43f",j35jbq:["f1e31b4d","f1vgc2s3"],Bhzewxz:"f15twtuk",B5kzvoi:"f1yab3r1",a9b677:"fjw5fx7",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"fg06o1j",Bceei9c:"fc3en1c",abs64n:"fk73vx1",Bmy1vo4:"f13u1uyl",B3o57yi:"fezquic",Bj3rh1h:"f19g0ac",B3cna0y:"f1tkae59",Brovlpu:"ftqa4ok",B7zu5sd:"f15pjodv",Bsft5z2:"f1rcdj94",ap17g6:"f2gz7yw",a2br6o:"ff2ryt5",E3zdtr:"f1mdlcz9",Eqx8gd:["f10awi5f","f1nzedbg"],bn5sak:"frwkxtg",By385i5:"fo72kxq",Bjyk6c5:"fdlpgxj"}},{d:[".f1euv43f{position:absolute;}",".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f15twtuk{top:0;}",".f1yab3r1{bottom:0;}",".fjw5fx7{width:16px;}",[".fg06o1j{margin:0 -8px;}",{p:-1}],".fc3en1c{cursor:col-resize;}",".fk73vx1{opacity:0;}",".f13u1uyl{transition-property:opacity;}",".fezquic{transition-duration:.2s;}",".f19g0ac{z-index:1;}",'.f1rcdj94::after{content:" ";}',".f2gz7yw::after{display:block;}",".ff2ryt5::after{width:1px;}",".f1mdlcz9::after{position:absolute;}",".f10awi5f::after{left:50%;}",".f1nzedbg::after{right:50%;}",".frwkxtg::after{top:0;}",".fo72kxq::after{bottom:0;}",".fdlpgxj::after{background-color:var(--colorNeutralStroke1);}"],f:[".f1tkae59:focus{opacity:1;}",".ftqa4ok:focus{outline-style:none;}"],h:[".f15pjodv:hover{opacity:1;}"]}),Dq=e=>{"use no memo";const t=Aq();return e.root.className=J(Rq.root,t.root,e.root.className),e},I6=S.forwardRef((e,t)=>{const r=Nq(e,t);return Dq(r),Xe("useTableResizeHandleStyles_unstable")(r),zq(r)});I6.displayName="TableResizeHandle";function jq(){const[e,t]=S.useState(0),r=S.useRef(void 0),o=S.useRef(null),{targetDocument:i}=St(),s=S.useCallback(()=>{var d;const f=(d=r.current)===null||d===void 0?void 0:d.getBoundingClientRect().width;t(f||0)},[]),c=S.useCallback(d=>{if(i&&(!d&&o.current&&r.current&&o.current.unobserve(r.current),r.current=void 0,d!=null&&d.parentElement)){var f;r.current=d.parentElement,s(),(f=o.current)===null||f===void 0||f.observe(r.current)}},[i,s]);return S.useEffect(()=>{if(o.current=Oq(i,s),!(!r.current||!o.current))return o.current.observe(r.current),()=>{var d;(d=o.current)===null||d===void 0||d.disconnect()}},[s,i]),{width:e,measureElementRef:c}}function Oq(e,t){var r;return!(e==null||(r=e.defaultView)===null||r===void 0)&&r.ResizeObserver?new e.defaultView.ResizeObserver(t):null}function Mq(e){const t=S.useRef(0),r=S.useRef(0),o=S.useRef(void 0),[i,s]=S.useState(!1),{targetDocument:c}=St(),{getColumnWidth:d,setColumnWidth:f}=e,h=S.useCallback(x=>{const{clientX:y}=$2(x),k=y-t.current;r.current+=k,o.current&&f(x,{columnId:o.current,width:r.current}),t.current=y},[f]),[m]=VC(),p=S.useCallback(x=>{m(()=>h(x))},[m,h]),w=S.useCallback(x=>{Lg(x)&&(c==null||c.removeEventListener("mouseup",w),c==null||c.removeEventListener("mousemove",p)),Ig(x)&&(c==null||c.removeEventListener("touchend",w),c==null||c.removeEventListener("touchmove",p)),s(!1)},[p,c]);return{getOnMouseDown:S.useCallback(x=>y=>{if(r.current=d(x),t.current=$2(y).clientX,o.current=x,Lg(y)){if(y.target!==y.currentTarget||y.button!==0)return;c==null||c.addEventListener("mouseup",w),c==null||c.addEventListener("mousemove",p),s(!0)}Ig(y)&&(c==null||c.addEventListener("touchend",w),c==null||c.addEventListener("touchmove",p),s(!0))},[d,p,w,c]),dragging:i}}const qq=150,Fq=100;function lp(e,t=[],r={}){let o=!1;const i=new Map(t.map(c=>[c.columnId,c])),s=e.map(c=>{const d=i.get(c.columnId);if(d){var f;const{idealWidth:x=d.idealWidth,minWidth:y=d.minWidth,padding:k=d.padding}=(f=r[c.columnId])!==null&&f!==void 0?f:{};return x!==d.idealWidth||y!==d.minWidth||k!==d.padding?(o=!0,{...d,idealWidth:x,width:x,minWidth:y,padding:k}):d}var h;const{defaultWidth:m,idealWidth:p=qq,minWidth:w=Fq,padding:v}=(h=r[c.columnId])!==null&&h!==void 0?h:{};return o=!0,{columnId:c.columnId,width:Math.max(m??p,w),minWidth:w,idealWidth:Math.max(m??p,w),padding:v??16}});if(s.length!==t.length||o){const c=s.find(d=>d.width>d.idealWidth);c&&(c.width=c.idealWidth),o=!0}return o?s:t}function Bu(e,t){return e.find(r=>r.columnId===t)}function wm(e,t){return e[t]}function Pq(e){return e.reduce((t,r)=>t+r.width+r.padding,0)}function Iq(e,t){const r=Bu(e,t);var o;return(o=r==null?void 0:r.width)!==null&&o!==void 0?o:0}function vu(e,t,r,o){const i=Bu(e,t);if(!i||(i==null?void 0:i[r])===o)return e;const s={...i,[r]:o};return e.reduce((d,f)=>f.columnId===s.columnId?[...d,s]:[...d,f],[])}function sd(e,t){let r=e;const o=Pq(r);if(o0;){const c=wm(r,s),d=Math.min(c.idealWidth-c.width,i);if(r=vu(r,c.columnId,"width",c.width+d),i-=d,s===r.length-1&&i!==0){const f=wm(r,s);r=vu(r,f.columnId,"width",f.width+i)}s++}}else if(o>=t){let i=o-t,s=r.length-1;for(;s>=0&&i>0;){const c=wm(r,s);if(c.width>c.minWidth){const d=Math.min(c.width-c.minWidth,i);i-=d,r=vu(r,c.columnId,"width",c.width-d)}s--}}return r}const Lq=e=>(t,r)=>{switch(r.type){case"CONTAINER_WIDTH_UPDATED":return{...t,containerWidth:r.containerWidth,columnWidthState:e?sd(t.columnWidthState,r.containerWidth):t.columnWidthState};case"COLUMNS_UPDATED":const o=lp(r.columns,t.columnWidthState,t.columnSizingOptions);return{...t,columns:r.columns,columnWidthState:e?sd(o,t.containerWidth):o};case"COLUMN_SIZING_OPTIONS_UPDATED":const i=lp(t.columns,t.columnWidthState,r.columnSizingOptions);return{...t,columnSizingOptions:r.columnSizingOptions,columnWidthState:e?sd(i,t.containerWidth):i};case"SET_COLUMN_WIDTH":const{columnId:s,width:c}=r,{containerWidth:d}=t,f=Bu(t.columnWidthState,s);let h=[...t.columnWidthState];return f?(h=vu(h,s,"width",c),h=vu(h,s,"idealWidth",c),e&&(h=sd(h,d)),{...t,columnWidthState:h}):t}};function Hq(e,t,r={}){const{onColumnResize:o,columnSizingOptions:i,autoFitColumns:s=!0}=r,c=S.useMemo(()=>Lq(s),[s]),[d,f]=S.useReducer(c,{columns:e,containerWidth:0,columnWidthState:lp(e,void 0,i),columnSizingOptions:i});jr(()=>{f({type:"CONTAINER_WIDTH_UPDATED",containerWidth:t})},[t]),jr(()=>{f({type:"COLUMNS_UPDATED",columns:e})},[e]),jr(()=>{f({type:"COLUMN_SIZING_OPTIONS_UPDATED",columnSizingOptions:i})},[i]);const h=ke((m,p)=>{let{width:w}=p;const{columnId:v}=p,x=Bu(d.columnWidthState,v);x&&(w=Math.max(x.minWidth||0,w),o&&o(m,{columnId:v,width:w}),f({type:"SET_COLUMN_WIDTH",columnId:v,width:w}))});return{getColumnById:S.useCallback(m=>Bu(d.columnWidthState,m),[d.columnWidthState]),getColumns:S.useCallback(()=>d.columnWidthState,[d.columnWidthState]),getColumnWidth:S.useCallback(m=>Iq(d.columnWidthState,m),[d.columnWidthState]),setColumnWidth:h}}const ud=20,Uq=w7,mw=1/4;function Vq(e){const[t,r]=S.useState(),o=S.useRef(),{findPrevFocusable:i}=ma(),s=S.useRef(e);S.useEffect(()=>{s.current=e},[e]);const[c]=S.useState(()=>new Map),d=ke(v=>{if(!t)return;const x=s.current.getColumnWidth(t),y=v.getModifierState(Uq),k=()=>{v.preventDefault(),v.stopPropagation()};switch(v.key){case Hp:k(),s.current.setColumnWidth(v.nativeEvent,{columnId:t,width:x-(y?ud*mw:ud)});return;case mf:k(),s.current.setColumnWidth(v.nativeEvent,{columnId:t,width:x+(y?ud*mw:ud)});return;case Ya:case zl:case Pi:var B,_;k(),(_=c.get(t))===null||_===void 0||(B=_.current)===null||B===void 0||B.blur();break}}),f=S.useCallback(v=>{var x,y;r(v),(x=o.current)===null||x===void 0||x.call(o,v,!0);const k=(y=c.get(v))===null||y===void 0?void 0:y.current;k&&(k.setAttribute("tabindex","-1"),k.tabIndex=-1,k.focus())},[c]),h=S.useCallback(()=>{var v,x;if(!t)return;(v=o.current)===null||v===void 0||v.call(o,t,!1);const y=(x=c.get(t))===null||x===void 0?void 0:x.current;if(y){var k;(k=i(y))===null||k===void 0||k.focus(),y.removeAttribute("tabindex")}r(void 0)},[t,i,c]),m=(v,x)=>{o.current=x,t?v&&t!==v?(f(v),r(v)):h():f(v)},p=S.useCallback(v=>{const x=c.get(v)||S.createRef();return c.set(v,x),x},[c]),w=wu({focusable:{ignoreKeydown:{ArrowLeft:!0,ArrowRight:!0}}});return{toggleInteractiveMode:m,columnId:t,getKeyboardResizingProps:S.useCallback((v,x)=>({onKeyDown:d,onBlur:h,ref:p(v),role:"separator","aria-label":"Resize column","aria-valuetext":`${x} pixels`,"aria-hidden":v!==t,tabIndex:v===t?0:void 0,...w}),[t,h,p,d,w])}}const L6={getColumnWidths:()=>[],getOnMouseDown:()=>()=>null,setColumnWidth:()=>null,getTableProps:()=>({}),getTableHeaderCellProps:()=>({style:{},columnId:""}),getTableCellProps:()=>({style:{},columnId:""}),enableKeyboardMode:()=>()=>null};function Wq(e){"use no memo";return t=>Gq(t,{autoFitColumns:!0,...e})}function gw(e,t){const r=e.width;return{width:r,minWidth:r,maxWidth:r,...t?{pointerEvents:"none"}:{}}}function Gq(e,t={}){const{columns:r}=e,{width:o,measureElementRef:i}=jq(),s=Hq(r,o+((t==null?void 0:t.containerWidthOffset)||0),t),c=Mq(s),{toggleInteractiveMode:d,getKeyboardResizingProps:f}=Vq(s),{autoFitColumns:h}=t,m=S.useCallback((k,B)=>_=>{_.preventDefault(),_.nativeEvent.stopPropagation(),d(k,B)},[d]),{getColumnById:p,setColumnWidth:w,getColumns:v}=s,{getOnMouseDown:x,dragging:y}=c;return{...e,tableRef:i,columnSizing_unstable:{getOnMouseDown:x,setColumnWidth:(k,B)=>w(void 0,{columnId:k,width:B}),getColumnWidths:v,getTableProps:(k={})=>({...k,style:{minWidth:"fit-content",...k.style||{}}}),getTableHeaderCellProps:S.useCallback(k=>{var B;const _=p(k),N=((B=r[r.length-1])===null||B===void 0?void 0:B.columnId)===k&&h?null:S.createElement(I6,{onMouseDown:x(k),onTouchStart:x(k),...f(k,(_==null?void 0:_.width)||0)});return _?{style:gw(_,y),aside:N}:{}},[p,r,y,f,x,h]),getTableCellProps:S.useCallback(k=>{const B=p(k);return B?{style:gw(B)}:{}},[p]),enableKeyboardMode:m}}}const $q=e=>e,Xq={selection:F6,sort:P6,getRows:()=>[],getRowId:()=>"",items:[],columns:[],columnSizing_unstable:L6,tableRef:S.createRef()};function Kq(e,t=[]){const{items:r,getRowId:o,columns:i}=e,s=S.useCallback((d=$q)=>r.map((f,h)=>{var m;return d({item:f,rowId:(m=o==null?void 0:o(f))!==null&&m!==void 0?m:h})}),[r,o]),c={getRowId:o,items:r,columns:i,getRows:s,selection:F6,sort:P6,columnSizing_unstable:L6,tableRef:S.createRef()};return t.reduce((d,f)=>f(d),c)}const Yq=()=>0,Zq=()=>null,Qq=()=>null;function Jq(e){const{columnId:t,renderCell:r=Zq,renderHeaderCell:o=Qq,compare:i=Yq}=e;return{columnId:t,renderCell:r,renderHeaderCell:o,compare:i}}function eF(){const e=ri({axis:"horizontal"}),t=ri({axis:"grid"}),r=hf({tabBehavior:"limited-trap-focus"}),{findFirstFocusable:o}=ma(),{targetDocument:i}=St(),s=cN(e,r);return{onTableKeyDown:S.useCallback(d=>{if(!i)return;let f=i.activeElement;if(!f||!d.currentTarget.contains(f))return;const h=f.getAttribute("role");if(d.key===mf&&h==="row"&&Zt(f)){var m;(m=o(f))===null||m===void 0||m.focus()}if(h==="row")return;const p=(()=>{let w=Zt(f)?f:null;for(;w;){const v=w.getAttribute("role");if(v==="cell"||v==="gridcell")return!0;w=w.parentElement}return!1})();(d.key===Lp||d.key===V5)&&p&&(f.dispatchEvent(new OE({action:Ug.Escape})),f=i.activeElement,f&&f.dispatchEvent(new jE({key:ar[d.key]})))},[i,o]),tableTabsterAttribute:t,tableRowTabsterAttribute:s}}const H6=S.createContext(void 0),tF={size:"medium",noNativeElements:!1,sortable:!1},rF=H6.Provider,ii=()=>{var e;return(e=S.useContext(H6))!==null&&e!==void 0?e:tF},U6=(e,t)=>{const{noNativeElements:r,size:o}=ii();var i;const s=((i=e.as)!==null&&i!==void 0?i:r)?"div":"td";return{components:{root:s},root:je(ct(s,{ref:t,role:s==="div"?"cell":void 0,...e}),{elementType:s}),noNativeElements:r,size:o}},nF=e=>ge(e.root,{}),oF="fui-TableCell",aF={root:oF},iF=xe({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"},medium:{Bqenvij:"f1ft4266"},small:{Bqenvij:"fbsu25e"},"extra-small":{Bqenvij:"frvgh55"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}",".f1ft4266{height:44px;}",".fbsu25e{height:34px;}",".frvgh55{height:24px;}"]}),lF=xe({root:{mc9l5x:"f22iagw",Bf4jedk:"f10tiqix",Bt984gj:"f122n59",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr"},medium:{sshi5w:"f5pgtk9"},small:{sshi5w:"fcep9tg"},"extra-small":{sshi5w:"f1pha7fy"}},{d:[".f22iagw{display:flex;}",".f10tiqix{min-width:0px;}",".f122n59{align-items:center;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f5pgtk9{min-height:44px;}",".fcep9tg{min-height:34px;}",".f1pha7fy{min-height:24px;}"]}),sF=xe({root:{qhf8xq:"f10pi13n",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f3gpkru",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"}},{d:[".f10pi13n{position:relative;}",[".f3gpkru{padding:0px var(--spacingHorizontalS);}",{p:-1}],[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}]]}),uF=e=>{"use no memo";const t=sF(),r={table:iF(),flex:lF()};return e.root.className=J(aF.root,t.root,e.noNativeElements?r.flex.root:r.table.root,e.noNativeElements?r.flex[e.size]:r.table[e.size],e.root.className),e},V6=S.createContext(void 0),cF="",dF=V6.Provider,h1=()=>S.useContext(V6)===cF,fF=(e,t)=>{const{noNativeElements:r,size:o}=ii();var i;const s=((i=e.as)!==null&&i!==void 0?i:r)?"div":"tr",c=qp(),d=Kl(),f=h1();var h;return{components:{root:s},root:je(ct(s,{ref:Br(t,c,d),role:s==="div"?"row":void 0,...e}),{elementType:s}),size:o,noNativeElements:r,appearance:(h=e.appearance)!==null&&h!==void 0?h:"none",isHeaderRow:f}},Sm={root:"fui-TableSelectionCell",checkboxIndicator:"fui-TableSelectionCell__checkboxIndicator",radioIndicator:"fui-TableSelectionCell__radioIndicator"},hF=xe({root:{mc9l5x:"f15pt5es",a9b677:"fksc0bp"}},{d:[".f15pt5es{display:table-cell;}",".fksc0bp{width:44px;}"]}),mF=xe({root:{mc9l5x:"f22iagw",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr",Bf4jedk:"fvrlu0f",B2u0y6b:"f1c71y05",Brf1p80:"f4d9j23"}},{d:[".f22iagw{display:flex;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".fvrlu0f{min-width:44px;}",".f1c71y05{max-width:44px;}",".f4d9j23{justify-content:center;}"]}),gF=xe({root:{fsow6f:"f17mccla",Huce71:"fz5stix",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"},radioIndicator:{mc9l5x:"f22iagw",Bh6795r:"fqerorx",Bt984gj:"f122n59",Brf1p80:"f4d9j23"},subtle:{abs64n:"fk73vx1",B8a84jv:"f1y7ij6c"},hidden:{abs64n:"fk73vx1"}},{d:[".f17mccla{text-align:center;}",".fz5stix{white-space:nowrap;}",[".f1mk8lai{padding:0;}",{p:-1}],[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f22iagw{display:flex;}",".fqerorx{flex-grow:1;}",".f122n59{align-items:center;}",".f4d9j23{justify-content:center;}",".fk73vx1{opacity:0;}",".f1y7ij6c[data-fui-focus-within]:focus-within{opacity:1;}"]}),pF=e=>{"use no memo";const t=gF(),r={table:hF(),flex:mF()};return e.root.className=J(Sm.root,t.root,e.noNativeElements?r.flex.root:r.table.root,e.subtle&&e.checked===!1&&t.subtle,e.hidden&&t.hidden,e.root.className),e.checkboxIndicator&&(e.checkboxIndicator.className=J(Sm.checkboxIndicator,e.checkboxIndicator.className)),e.radioIndicator&&(e.radioIndicator.className=J(Sm.radioIndicator,t.radioIndicator,e.radioIndicator.className)),e},bF="fui-TableRow",vF={root:bF},yF=xe({root:{mc9l5x:"f1u0rzck"}},{d:[".f1u0rzck{display:table-row;}"]}),xF=xe({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}"]}),wF=xe({root:{sj55zd:"f19n0e5",B7ck84d:"f1ewtqcl",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"},rootSubtleSelection:{Bconypa:"f1jazu75",ff6mpl:"fw60kww"},rootInteractive:{B6guboy:"f1xeqee6",ecr2s2:"f1wfn5kd",lj723h:"f1g4hkjv",B43xm9u:"f15ngxrw",Jwef8y:"f1t94bn6",Bi91k9c:"feu1g3u",Bpt6rm4:"f1uorfem",ze5xyy:"f4xjyn1",pgvf35:"ff1wgvm",Bh7lczh:["fiob0tu","f1x4h75k"],dpv3f4:"f1j6scgf",Bpnjhaq:["f1x4h75k","fiob0tu"]},medium:{B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f1facbz3"},small:{B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f1facbz3"},"extra-small":{Be2twd7:"fy9rknc"},brand:{De3pzq:"f16xkysk",g2u3we:"f1bh3yvw",h3c5rm:["fmi79ni","f11fozsx"],B9xav0g:"fnzw4c6",zhjwy3:["f11fozsx","fmi79ni"],ecr2s2:"f7tkmfy",lj723h:"f1r2dosr",uu68id:0,Bxeuatn:0,felo30:0,Bc736ss:0,Bhz882k:0,n51gp8:0,Eshu5l:0,Bk6ri7n:0,v49c4f:0,Bn1d65q:0,c4eypz:0,v3aym:0,hft9gk:0,Bjwas2f:0,Bk5ld8o:0,gwxt9v:0,B6k8go:"f95l9gw",h6lo6r:0,Beo2b4z:0,w1pwid:0,Btyw6ap:0,Hkxhyr:"fw8kmcu",Brwvgy3:"fd94n53",yadkgm:"f1e0wld5"},neutral:{uu68id:0,Bxeuatn:0,felo30:0,Bc736ss:0,Bhz882k:0,n51gp8:0,Eshu5l:0,Bk6ri7n:0,v49c4f:0,Bn1d65q:0,c4eypz:0,v3aym:0,hft9gk:0,Bjwas2f:0,Bk5ld8o:0,gwxt9v:0,B6k8go:"f95l9gw",h6lo6r:0,Beo2b4z:0,w1pwid:0,Btyw6ap:0,Hkxhyr:"fw8kmcu",Brwvgy3:"fd94n53",yadkgm:"f1e0wld5",De3pzq:"fq5gl1p",sj55zd:"f1cgsbmv",Jwef8y:"f1uqaxdt",ecr2s2:"fa9o754",g2u3we:"frmsihh",h3c5rm:["frttxa5","f11o2r7f"],B9xav0g:"fem5et0",zhjwy3:["f11o2r7f","frttxa5"]},none:{}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ewtqcl{box-sizing:border-box;}",[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}",".f1xeqee6[data-fui-focus-within]:focus-within .fui-TableCellActions{opacity:1;}",[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".f1bh3yvw{border-top-color:var(--colorTransparentStrokeInteractive);}",".fmi79ni{border-right-color:var(--colorTransparentStrokeInteractive);}",".f11fozsx{border-left-color:var(--colorTransparentStrokeInteractive);}",".fnzw4c6{border-bottom-color:var(--colorTransparentStrokeInteractive);}",".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1cgsbmv{color:var(--colorNeutralForeground1Hover);}",".frmsihh{border-top-color:var(--colorNeutralStrokeOnBrand);}",".frttxa5{border-right-color:var(--colorNeutralStrokeOnBrand);}",".f11o2r7f{border-left-color:var(--colorNeutralStrokeOnBrand);}",".fem5et0{border-bottom-color:var(--colorNeutralStrokeOnBrand);}"],h:[".fw60kww:hover .fui-TableSelectionCell{opacity:1;}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1uorfem:hover .fui-TableCellActions{opacity:1;}",".f1uqaxdt:hover{background-color:var(--colorSubtleBackgroundSelected);}"],a:[".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f15ngxrw:active .fui-TableCellActions{opacity:1;}",".f7tkmfy:active{background-color:var(--colorBrandBackground2);}",".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".fa9o754:active{background-color:var(--colorSubtleBackgroundSelected);}"],m:[["@media (forced-colors: active){.f4xjyn1:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ff1wgvm:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1x4h75k:hover{border-left-color:Highlight;}.fiob0tu:hover{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1j6scgf:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f95l9gw{border:2px solid transparent;}}",{p:-2,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fw8kmcu{border-radius:var(--borderRadiusMedium);}}",{p:-1,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fd94n53{box-sizing:border-box;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1e0wld5:focus-visible{outline-offset:-4px;}}",{m:"(forced-colors: active)"}]]}),SF=e=>{"use no memo";const t=wF(),r={table:yF(),flex:xF()};return e.root.className=J(vF.root,t.root,t.rootSubtleSelection,!e.isHeaderRow&&t.rootInteractive,t[e.size],e.noNativeElements?r.flex.root:r.table.root,t[e.appearance],e.root.className),e},kF=(e,t)=>{const{noNativeElements:r}=ii();var o;const i=((o=e.as)!==null&&o!==void 0?o:r)?"div":"tbody";return{components:{root:i},root:je(ct(i,{ref:t,role:i==="div"?"rowgroup":void 0,...e}),{elementType:i}),noNativeElements:r}},BF=xe({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),_F=xe({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),TF="fui-TableBody",CF=e=>{"use no memo";const t={table:BF(),flex:_F()};return e.root.className=J(TF,e.noNativeElements?t.flex.root:t.table.root,e.root.className),e},EF=(e,t)=>{var r;const o=((r=e.as)!==null&&r!==void 0?r:e.noNativeElements)?"div":"table";var i,s,c;return{components:{root:o},root:je(ct(o,{ref:t,role:o==="div"?"table":void 0,...e}),{elementType:o}),size:(i=e.size)!==null&&i!==void 0?i:"medium",noNativeElements:(s=e.noNativeElements)!==null&&s!==void 0?s:!1,sortable:(c=e.sortable)!==null&&c!==void 0?c:!1}},NF=(e,t)=>ge(rF,{value:t.table,children:ge(e.root,{})}),zF="fui-Table",RF=xe({root:{mc9l5x:"f1w4nmp0",ha4doy:"fmrv4ls",a9b677:"fly5x3f",B73mfa3:"f14m3nip"}},{d:[".f1w4nmp0{display:table;}",".fmrv4ls{vertical-align:middle;}",".fly5x3f{width:100%;}",".f14m3nip{table-layout:fixed;}"]}),AF=xe({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),DF=xe({root:{po53p8:"fgkb47j",De3pzq:"fhovq9v"}},{d:[".fgkb47j{border-collapse:collapse;}",".fhovq9v{background-color:var(--colorSubtleBackground);}"]}),jF=e=>{"use no memo";const t=DF(),r={table:RF(),flex:AF()};return e.root.className=J(zF,t.root,e.noNativeElements?r.flex.root:r.table.root,e.root.className),e};function OF(e){const{size:t,noNativeElements:r,sortable:o}=e;return{table:S.useMemo(()=>({noNativeElements:r,size:t,sortable:o}),[r,t,o])}}const MF=(e,t)=>{const{noNativeElements:r}=ii();var o;const i=((o=e.as)!==null&&o!==void 0?o:r)?"div":"thead";return{components:{root:i},root:je(ct(i,{ref:t,role:i==="div"?"rowgroup":void 0,...e}),{elementType:i}),noNativeElements:r}},qF=e=>ge(dF,{value:"",children:ge(e.root,{})}),FF="fui-TableHeader",PF=xe({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),IF=xe({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),LF=e=>{"use no memo";const t={table:IF(),flex:PF()};return e.root.className=J(FF,e.noNativeElements?t.flex.root:t.table.root,e.root.className),e},HF={ascending:S.createElement(C7,{fontSize:12}),descending:S.createElement(T7,{fontSize:12})},UF=(e,t)=>{const{noNativeElements:r,sortable:o}=ii(),{sortable:i=o}=e;var s;const c=((s=e.as)!==null&&s!==void 0?s:r)?"div":"th",d=je(e.button,{elementType:"div",defaultProps:{as:"div",...!i&&{role:"presentation",tabIndex:void 0}}});var f;return{components:{root:c,button:"div",sortIcon:"span",aside:"span"},root:je(ct(c,{ref:Br(t,Kl()),role:c==="div"?"columnheader":void 0,"aria-sort":i?(f=e.sortDirection)!==null&&f!==void 0?f:"none":void 0,...e}),{elementType:c}),aside:gt(e.aside,{elementType:"span"}),sortIcon:gt(e.sortIcon,{renderByDefault:!!e.sortDirection,defaultProps:{children:e.sortDirection?HF[e.sortDirection]:void 0},elementType:"span"}),button:Di(d.as,d),sortable:i,noNativeElements:r}},VF=e=>xt(e.root,{children:[xt(e.button,{children:[e.root.children,e.sortIcon&&ge(e.sortIcon,{})]}),e.aside&&ge(e.aside,{})]}),cd={root:"fui-TableHeaderCell",button:"fui-TableHeaderCell__button",sortIcon:"fui-TableHeaderCell__sortIcon",aside:"fui-TableHeaderCell__aside"},WF=xe({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}"]}),GF=xe({root:{mc9l5x:"f22iagw",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr",Bf4jedk:"f10tiqix"}},{d:[".f22iagw{display:flex;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f10tiqix{min-width:0px;}"]}),$F=xe({root:{Bhrd7zp:"figsok6",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f3gpkru",robkg1:0,Bmvh20x:0,B3nxjsc:0,Bmkhcsx:"f14ym4q2",B8osjzx:0,pehzd3:0,Blsv9te:0,u7xebq:0,Bsvwmf7:"f1euou18",qhf8xq:"f10pi13n"},rootInteractive:{Bi91k9c:"feu1g3u",Jwef8y:"f1t94bn6",lj723h:"f1g4hkjv",ecr2s2:"f1wfn5kd"},resetButton:{B3rzk8w:"fq6nmtn",B7ck84d:"f1e4lqlz",De3pzq:"f1u2r49w",sj55zd:"f1ym3bx4",Bahqtrf:"f1mo0ibp",Be2twd7:"fjoy568",Bg96gwp:"fytdu2e",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",fsow6f:"fgusgyc"},button:{qhf8xq:"f10pi13n",a9b677:"fly5x3f",mc9l5x:"f22iagw",Bh6795r:0,Bqenvij:"f1l02sjl",Bt984gj:"f122n59",i8kkvl:0,Belr9w4:0,rmohyg:"fkln5zr",sshi5w:"f1nxs5xn",xawz:0,Bnnss6s:0,fkmc3a:"f1izfyrr",oeaueh:"f1s6fcnf"},sortable:{Bceei9c:"f1k6fduh"},sortIcon:{mc9l5x:"f22iagw",Bt984gj:"f122n59",z8tnut:"fclwglc"},resizeHandle:{}},{d:[".figsok6{font-weight:var(--fontWeightRegular);}",[".f3gpkru{padding:0px var(--spacingHorizontalS);}",{p:-1}],[".f14ym4q2[data-fui-focus-within]:focus-within{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f1euou18[data-fui-focus-within]:focus-within{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f10pi13n{position:relative;}",".fq6nmtn{resize:horizontal;}",".f1e4lqlz{box-sizing:content-box;}",".f1u2r49w{background-color:inherit;}",".f1ym3bx4{color:inherit;}",".f1mo0ibp{font-family:inherit;}",".fjoy568{font-size:inherit;}",".fytdu2e{line-height:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],[".f3bhgqh{border:none;}",{p:-2}],".fgusgyc{text-align:unset;}",".fly5x3f{width:100%;}",".f22iagw{display:flex;}",".fqerorx{flex-grow:1;}",".f1l02sjl{height:100%;}",".f122n59{align-items:center;}",[".fkln5zr{gap:var(--spacingHorizontalXS);}",{p:-1}],".f1nxs5xn{min-height:32px;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f1s6fcnf{outline-style:none;}",".f1k6fduh{cursor:pointer;}",".fclwglc{padding-top:var(--spacingVerticalXXS);}"],h:[".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}"],a:[".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}"]}),XF=e=>{"use no memo";const t=$F(),r={table:WF(),flex:GF()};return e.root.className=J(cd.root,t.root,e.sortable&&t.rootInteractive,e.noNativeElements?r.flex.root:r.table.root,e.root.className),e.button.className=J(cd.button,t.resetButton,t.button,e.sortable&&t.sortable,e.button.className),e.sortIcon&&(e.sortIcon.className=J(cd.sortIcon,t.sortIcon,e.sortIcon.className)),e.aside&&(e.aside.className=J(cd.aside,t.resizeHandle,e.aside.className)),e},W6=S.createContext(void 0),KF="",G6=()=>{var e;return(e=S.useContext(W6))!==null&&e!==void 0?e:KF},YF=W6.Provider,$6=S.createContext(void 0),ZF="",X6=()=>{var e;return(e=S.useContext($6))!==null&&e!==void 0?e:ZF},QF=$6.Provider,JF=(e,t)=>{const r=U6(e,Br(t,Kl())),{noNativeElements:o}=ii(),{type:i="checkbox",checked:s=!1,subtle:c=!1,hidden:d=!1,invisible:f=!1}=e;return{...r,components:{...r.components,checkboxIndicator:rp,radioIndicator:op},checkboxIndicator:gt(e.checkboxIndicator,{renderByDefault:i==="checkbox",defaultProps:{checked:e.checked},elementType:rp}),radioIndicator:gt(e.radioIndicator,{renderByDefault:i==="radio",defaultProps:{checked:!!s,input:{name:hn("table-selection-radio")}},elementType:op}),type:i,checked:s,noNativeElements:o,subtle:c,hidden:f||d}},eP=e=>xt(e.root,{children:[e.type==="checkbox"&&e.checkboxIndicator&&ge(e.checkboxIndicator,{}),e.type==="radio"&&e.radioIndicator&&ge(e.radioIndicator,{})]}),K6=Zl(void 0),Y6={...Xq,subtleSelection:!1,selectableRows:!1,selectionAppearance:"brand",focusMode:"none",compositeRowTabsterAttribute:{}},tP=K6.Provider,ur=e=>Ql(K6,(t=Y6)=>e(t)),rP=(e,t)=>{const{focusMode:r="cell"}=e,o=G6(),i=ur(f=>(f.focusMode==="cell"||f.focusMode==="composite")&&r!=="none"),s=ur(f=>f.resizableColumns),c=ur(f=>f.columnSizing_unstable.getTableCellProps),d=hf({tabBehavior:"limited-trap-focus"});return U6({as:"div",role:"gridcell",...r==="group"&&d,tabIndex:i?0:void 0,...s?c(o):{},...e},t)},nP=e=>nF(e),oP={root:"fui-DataGridCell"},aP=e=>{"use no memo";return uF(e),e.root.className=J(oP.root,e.root.className),e},Z6=S.forwardRef((e,t)=>{const r=rP(e,t);return aP(r),Xe("useDataGridCellStyles_unstable")(r),nP(r)});Z6.displayName="DataGridCell";const iP=(e,t)=>{const r=h1(),o=X6(),i=ur(h=>h.subtleSelection),s=ur(h=>r&&h.selection.selectionMode==="multiselect"?h.selection.allRowsSelected?!0:h.selection.someRowsSelected?"mixed":!1:h.selection.isRowSelected(o)),c=ur(h=>h.selection.toggleAllRows),d=ur(h=>h.selection.selectionMode==="multiselect"?"checkbox":"radio"),f=ke(h=>{var m;r&&c(h),(m=e.onClick)===null||m===void 0||m.call(e,h)});return JF({as:"div",role:"gridcell",checked:s,type:d,invisible:r&&d==="radio","aria-checked":r&&d!=="radio"?s:void 0,"aria-selected":r||s==="mixed"?void 0:s,subtle:i,...e,onClick:f},t)},lP=e=>eP(e),km={root:"fui-DataGridSelectionCell",checkboxIndicator:"fui-DataGridSelectionCell__checkboxIndicator",radioIndicator:"fui-DataGridSelectionCell__radioIndicator"},sP=e=>{"use no memo";return pF(e),e.root.className=J(km.root,e.root.className),e.checkboxIndicator&&(e.checkboxIndicator.className=J(km.checkboxIndicator,e.checkboxIndicator.className)),e.radioIndicator&&(e.radioIndicator.className=J(km.radioIndicator,e.radioIndicator.className)),e},sp=S.forwardRef((e,t)=>{const r=iP(e,t);return sP(r),Xe("useDataGridSelectionCellStyles_unstable")(r),lP(r)});sp.displayName="DataGridSelectionCell";const uP=(e,t)=>{const r=X6(),o=h1(),i=ur(y=>y.columns),s=ur(y=>y.selectableRows),c=ur(y=>y.selection.isRowSelected(r)),d=ur(y=>y.focusMode),f=ur(y=>y.compositeRowTabsterAttribute),h=d==="row_unstable"||d==="composite",m=ur(y=>!o&&s&&y.selection.isRowSelected(r)?y.selectionAppearance:"none"),p=ur(y=>y.selection.toggleRow),w=ke(y=>{var k;s&&!o&&p(y,r),(k=e.onClick)===null||k===void 0||k.call(e,y)}),v=ke(y=>{var k;s&&!o&&y.key===Ya&&!tE(y.target)&&(y.preventDefault(),p(y,r)),(k=e.onKeyDown)===null||k===void 0||k.call(e,y)}),x=fF({appearance:m,"aria-selected":s?c:void 0,tabIndex:h&&!o?0:void 0,...d==="composite"&&!o&&f,...e,onClick:w,onKeyDown:v,children:null,as:"div"},t);return{...x,components:{...x.components,selectionCell:sp},selectionCell:gt(e.selectionCell,{renderByDefault:s,elementType:sp}),renderCell:e.children,columnDefs:i,dataGridContextValue:cP()}};function cP(){const e=S.useRef(Y6);return ur(t=>(e.current=t,null)),e.current}const dP=e=>xt(e.root,{children:[e.selectionCell&&ge(e.selectionCell,{}),e.columnDefs.map(t=>ge(YF,{value:t.columnId,children:e.renderCell(t,e.dataGridContextValue)},t.columnId))]}),pw={root:"fui-DataGridRow",selectionCell:"fui-DataGridRow__selectionCell"},fP=e=>{"use no memo";return SF(e),e.root.className=J(pw.root,e.root.className),e.selectionCell&&(e.selectionCell.className=J(pw.selectionCell,e.selectionCell.className)),e},up=S.forwardRef((e,t)=>{const r=uP(e,t);return fP(r),Xe("useDataGridRowStyles_unstable")(r),dP(r)});up.displayName="DataGridRow";const hP=(e,t)=>{const{sortable:r}=ii(),o=ur(d=>d.getRows),i=ur(d=>d.sort.sort),s=r?i(o()):o();return{...kF({...e,children:null,as:"div"},t),rows:s,renderRow:e.children}},mP=e=>ge(e.root,{children:e.rows.map(t=>ge(QF,{value:t.rowId,children:e.renderRow(t)},t.rowId))}),gP={root:"fui-DataGridBody"},pP=e=>{"use no memo";return CF(e),e.root.className=J(gP.root,e.root.className),e},Q6=S.forwardRef((e,t)=>{const r=hP(e,t);return pP(r),Xe("useDataGridBodyStyles_unstable")(r),mP(r)});Q6.displayName="DataGridBody";const bP=(e,t)=>{const{items:r,columns:o,focusMode:i="cell",selectionMode:s,onSortChange:c,onSelectionChange:d,defaultSortState:f,sortState:h,selectedItems:m,defaultSelectedItems:p,subtleSelection:w=!1,selectionAppearance:v="brand",getRowId:x,resizableColumns:y,columnSizingOptions:k,onColumnResize:B,containerWidthOffset:_,resizableColumnsOptions:C={}}=e,N=_??(s?-44:0),R=ri({axis:"grid"}),{onTableKeyDown:j,tableTabsterAttribute:D,tableRowTabsterAttribute:M}=eF();var I;const G=Kq({items:r,columns:o,getRowId:x},[Cq({defaultSortState:f,sortState:h,onSortChange:c}),_q({defaultSelectedItems:p,selectedItems:m,onSelectionChange:d,selectionMode:s??"multiselect"}),Wq({onColumnResize:B,columnSizingOptions:k,containerWidthOffset:N,autoFitColumns:(I=C.autoFitColumns)!==null&&I!==void 0?I:!0})]),X=S.useRef(null),{findFirstFocusable:re,findLastFocusable:ue}=ma(),ne=ke(O=>{var W;if((W=e.onKeyDown)===null||W===void 0||W.call(e,O),i==="composite"&&j(O),!(!X.current||!O.ctrlKey||O.defaultPrevented)){if(O.key===k7){const se=X.current.querySelector('[role="row"]');if(se){var L;(L=re(se))===null||L===void 0||L.focus()}}if(O.key===S7){const se=X.current.querySelectorAll('[role="row"]');if(se.length){var Z;const A=se.item(se.length-1);(Z=ue(A))===null||Z===void 0||Z.focus()}}}});return{...EF({role:"grid",as:"div",noNativeElements:!0,...i==="cell"&&R,...i==="composite"&&D,...e,onKeyDown:ne,...y?G.columnSizing_unstable.getTableProps(e):{}},Br(t,G.tableRef,X)),focusMode:i,tableState:G,selectableRows:!!s,subtleSelection:w,selectionAppearance:v,resizableColumns:y,compositeRowTabsterAttribute:M}},vP=(e,t)=>S.createElement(tP,{value:t.dataGrid},NF(e,t)),yP={root:"fui-DataGrid"},xP=e=>{"use no memo";return jF(e),e.root.className=J(yP.root,e.root.className),e};function wP(e){const t=OF(e),{tableState:r,focusMode:o,selectableRows:i,subtleSelection:s,selectionAppearance:c,resizableColumns:d,compositeRowTabsterAttribute:f}=e;return{...t,dataGrid:{...r,focusMode:o,selectableRows:i,subtleSelection:s,selectionAppearance:c,resizableColumns:d,compositeRowTabsterAttribute:f}}}const J6=S.forwardRef((e,t)=>{const r=bP(e,t);return xP(r),Xe("useDataGridStyles_unstable")(r),vP(r,wP(r))});J6.displayName="DataGrid";const SP=(e,t)=>MF({...e,as:"div"},t),kP=e=>qF(e),BP={root:"fui-DataGridHeader"},_P=e=>{"use no memo";return LF(e),e.root.className=J(BP.root,e.root.className),e},ek=S.forwardRef((e,t)=>{const r=SP(e,t);return _P(r),Xe("useDataGridHeaderStyles_unstable")(r),kP(r)});ek.displayName="DataGridHeader";function TP(e){return e.compare.length>0}const CP=(e,t)=>{const r=G6(),{sortable:o}=ii(),i=ur(m=>m.sort.toggleColumnSort),s=ur(m=>{const p=!!m.columns.find(w=>w.columnId===r&&TP(w));return o?p:!1}),c=ur(m=>s?m.sort.getSortDirection(r):void 0),d=ur(m=>m.resizableColumns),f=ur(m=>m.columnSizing_unstable.getTableHeaderCellProps),h=ke(m=>{var p;s&&i(m,r),(p=e.onClick)===null||p===void 0||p.call(e,m)});return UF({sortable:s,sortDirection:c,as:"div",tabIndex:s?void 0:0,...d?f(r):{},...e,onClick:h},t)},EP=e=>VF(e),dd={root:"fui-DataGridHeaderCell",button:"fui-DataGridHeaderCell__button",sortIcon:"fui-DataGridHeaderCell__sortIcon",aside:"fui-DataGridHeaderCell__aside"},NP=e=>{"use no memo";return XF(e),e.root.className=J(dd.root,e.root.className),e.button&&(e.button.className=J(dd.button,e.button.className)),e.sortIcon&&(e.sortIcon.className=J(dd.sortIcon,e.sortIcon.className)),e.aside&&(e.aside.className=J(dd.aside,e.aside.className)),e},cp=S.forwardRef((e,t)=>{const r=CP(e,t);return NP(r),Xe("useDataGridHeaderCellStyles_unstable")(r),EP(r)});cp.displayName="DataGridHeaderCell";const Gn={show:"fui-toast-show",dismiss:"fui-toast-dismiss",dismissAll:"fui-toast-dismiss-all",update:"fui-toast-update",pause:"fui-toast-pause",play:"fui-toast-play"},$n={bottom:"bottom",bottomEnd:"bottom-end",bottomStart:"bottom-start",top:"top",topEnd:"top-end",topStart:"top-start"};let zP=0;function RP(e,t={},r){var o;const i={...t,content:e,toastId:(o=t.toastId)!==null&&o!==void 0?o:(zP++).toString()},s=new CustomEvent(Gn.show,{bubbles:!1,cancelable:!1,detail:i});r.dispatchEvent(s)}function AP(e,t=void 0,r){const o=new CustomEvent(Gn.dismiss,{bubbles:!1,cancelable:!1,detail:{toastId:e,toasterId:t}});r.dispatchEvent(o)}function DP(e=void 0,t){const r=new CustomEvent(Gn.dismissAll,{bubbles:!1,cancelable:!1,detail:{toasterId:e}});t.dispatchEvent(r)}function jP(e,t){const r=new CustomEvent(Gn.update,{bubbles:!1,cancelable:!1,detail:e});t.dispatchEvent(r)}function OP(e,t=void 0,r){const o=new CustomEvent(Gn.pause,{bubbles:!1,cancelable:!1,detail:{toastId:e,toasterId:t}});r.dispatchEvent(o)}function MP(e,t=void 0,r){const o=new CustomEvent(Gn.play,{bubbles:!1,cancelable:!1,detail:{toastId:e,toasterId:t}});r.dispatchEvent(o)}function bw(e,t){for(const[r,o]of Object.entries(t))o!=null&&(e[r]=o)}const qP={onStatusChange:void 0,priority:0,pauseOnHover:!1,pauseOnWindowBlur:!1,position:"bottom-end",timeout:3e3};let FP=0;function PP(e){const{limit:t=Number.POSITIVE_INFINITY}=e,r=new Set,o=new Map,i=r5((m,p)=>{const w=o.get(m),v=o.get(p);return!w||!v?0:w.priority===v.priority?w.order-v.order:w.priority-v.priority});return{buildToast:(m,p)=>{var w;const{toastId:v,content:x,toasterId:y}=m;if(o.has(v))return;const _={...qP,close:()=>{var C;const N=o.get(v);N&&(r.delete(v),p(),(C=N.onStatusChange)===null||C===void 0||C.call(N,null,{status:"dismissed",...N}))},remove:()=>{if(o.get(v)){if(o.delete(v),r.size=t?i.enqueue(v):r.add(v)},dismissAllToasts:()=>{r.clear(),i.clear()},dismissToast:m=>{r.delete(m)},isToastVisible:m=>r.has(m),updateToast:m=>{const{toastId:p}=m,w=o.get(p);w&&(Object.assign(w,m),w.updateId++)},visibleToasts:r,toasts:o}}const Bl=(e,t,r)=>{const o={};var i;const s=r?IP(r)?r:(i=r[e])!==null&&i!==void 0?i:{}:{},c=e==="top"||e==="bottom",{horizontal:d=c?0:20,vertical:f=16}=s,h=t==="ltr"?"left":"right",m=t==="ltr"?"right":"left";switch(e){case"top":Object.assign(o,{top:f,left:`calc(50% + ${d}px)`,transform:"translateX(-50%)"});break;case"bottom":Object.assign(o,{bottom:f,left:`calc(50% + ${d}px)`,transform:"translateX(-50%)"});break;case"top-start":Object.assign(o,{top:f,[h]:d});break;case"top-end":Object.assign(o,{top:f,[m]:d});break;case"bottom-start":Object.assign(o,{bottom:f,[h]:d});break;case"bottom-end":Object.assign(o,{bottom:f,[m]:d});break}return o};function IP(e){return"horizontal"in e||"vertical"in e}function LP(e={}){const t=ZS(),{toasterId:r,shortcuts:o}=e,[i]=S.useState(()=>PP(e)),{targetDocument:s}=St(),c=S.useRef(null),d=ke(y=>y===r),f=ke(y=>{if(o!=null&&o.focus)return o.focus(y)}),h=S.useCallback(()=>{i.visibleToasts.forEach(y=>{var k;const B=i.toasts.get(y);B==null||(k=B.imperativeRef.current)===null||k===void 0||k.pause()})},[i]),m=S.useCallback(()=>{i.visibleToasts.forEach(y=>{var k;const B=i.toasts.get(y);B==null||(k=B.imperativeRef.current)===null||k===void 0||k.play()})},[i]),p=S.useCallback(()=>Array.from(i.visibleToasts).reduce((y,k)=>{const B=i.toasts.get(k);return B&&(!y||y.order<(B==null?void 0:B.order))?B:y},void 0),[i]),w=S.useCallback(()=>{const y=p();if(y!=null&&y.imperativeRef.current)y.imperativeRef.current.focus();else{var k;(k=c.current)===null||k===void 0||k.focus(),c.current=null}},[p]),v=S.useCallback(()=>{i.visibleToasts.forEach(y=>{const k=i.toasts.get(y);k==null||k.close()}),w()},[i,w]);S.useEffect(()=>{if(!s)return;const y=(ue,ne)=>{const fe=O=>{d(O.detail.toasterId)&&(ne(O),t())};return s.addEventListener(ue,fe),()=>s.removeEventListener(ue,fe)},k=ue=>{i.buildToast(ue.detail,t)},B=ue=>{i.dismissToast(ue.detail.toastId)},_=ue=>{i.updateToast(ue.detail)},C=ue=>{i.dismissAllToasts()},N=ue=>{const ne=i.toasts.get(ue.detail.toastId);if(ne){var fe;(fe=ne.imperativeRef.current)===null||fe===void 0||fe.pause()}},R=ue=>{const ne=i.toasts.get(ue.detail.toastId);if(ne){var fe;(fe=ne.imperativeRef.current)===null||fe===void 0||fe.play()}},j=y(Gn.show,k),D=y(Gn.update,_),M=y(Gn.dismiss,B),I=y(Gn.dismissAll,C),G=y(Gn.pause,N),X=y(Gn.play,R),re=ue=>{if(f(ue)){h();const fe=p();if(fe){var ne;c.current=Zt(s.activeElement)?s.activeElement:null,(ne=fe.imperativeRef.current)===null||ne===void 0||ne.focus()}}};return s.addEventListener("keydown",re),()=>{j(),I(),D(),M(),G(),X(),s.removeEventListener("keydown",re)}},[i,t,s,d,h,p,f]);const x=(()=>{if(!i)return new Map;const y=new Map;return Array.from(i.toasts.values()).forEach(B=>{const{position:_}=B;y.has(_)||y.set(_,[]),_.startsWith("bottom")?y.get(_).push(B):y.get(_).unshift(B)}),y})();return{isToastVisible:i.isToastVisible,toastsToRender:x,pauseAllToasts:h,playAllToasts:m,tryRestoreFocus:w,closeAllToasts:v}}const _l=()=>{};function Nf(e){const{targetDocument:t}=St();return S.useMemo(()=>t?{dispatchToast:(r,o)=>{RP(r,{...o,toasterId:e,data:{root:o==null?void 0:o.root}},t)},dismissToast:r=>{AP(r,e,t)},dismissAllToasts:()=>{DP(e,t)},updateToast:r=>{jP({...r,data:{root:r.root},toasterId:e},t)},pauseToast:r=>{OP(r,e,t)},playToast:r=>{MP(r,e,t)}}:{dispatchToast:_l,dismissToast:_l,dismissAllToasts:_l,updateToast:_l,pauseToast:_l,playToast:_l},[t,e])}const HP={close:()=>null,intent:void 0,bodyId:"",titleId:""},tk=S.createContext(void 0),UP=tk.Provider,m1=()=>{var e;return(e=S.useContext(tk))!==null&&e!==void 0?e:HP},VP=We("r16zaflb","r75casi",[".r16zaflb{animation-name:rsacmq1;}","@keyframes rsacmq1{from{opacity:0;}to{opacity:0;}}",".r75casi{animation-name:rsacmq1;}"]),dp=S.forwardRef((e,t)=>{const r=VP(),{running:o,timeout:i,onTimeout:s}=e,c={animationDuration:`${i}ms`,animationPlayState:o?"running":"paused"};return i<0?null:S.createElement("span",{onAnimationEnd:s,"data-timer-status":c.animationPlayState,ref:t,style:c,className:r})});dp.displayName="Timer";const WP={success:"assertive",warning:"assertive",error:"assertive",info:"polite"},GP=(e,t)=>{const{visible:r,children:o,close:i,remove:s,updateId:c,announce:d,data:f,timeout:h,politeness:m,intent:p="info",pauseOnHover:w,pauseOnWindowBlur:v,imperativeRef:x,tryRestoreFocus:y,...k}=e,B=hn("toast-title"),_=hn("toast-body"),C=S.useRef(null),{targetDocument:N}=St(),[R,j]=S.useState(!1),D=S.useRef(!1),M=S.useRef(!1),I=hf({tabBehavior:"limited-trap-focus",ignoreDefaultKeydown:{Tab:!0,Escape:!0,Enter:!0}}),G=ke(()=>{var A;const U=N==null?void 0:N.activeElement;U&&(!((A=C.current)===null||A===void 0)&&A.contains(U))&&(M.current=!0),i()}),X=ke(A=>{var U;return(U=e.onStatusChange)===null||U===void 0?void 0:U.call(e,null,{status:A,...e})}),re=ke(()=>j(!1)),ue=ke(()=>{var A;if(D.current)return;var U;const ae=!!(!((A=C.current)===null||A===void 0)&&A.contains((U=N==null?void 0:N.activeElement)!==null&&U!==void 0?U:null));if(h<0){j(!0);return}ae||j(!0)});S.useImperativeHandle(x,()=>({focus:()=>{C.current&&C.current.focus()},play:()=>{D.current=!1,ue()},pause:()=>{D.current=!0,re()}})),S.useEffect(()=>()=>X("unmounted"),[X]),S.useEffect(()=>{if(N&&v){var A,U;return(A=N.defaultView)===null||A===void 0||A.addEventListener("focus",ue),(U=N.defaultView)===null||U===void 0||U.addEventListener("blur",re),()=>{var ae,me;(ae=N.defaultView)===null||ae===void 0||ae.removeEventListener("focus",ue),(me=N.defaultView)===null||me===void 0||me.removeEventListener("blur",re)}}},[N,re,ue,v]);const ne=f.root,fe=S.useCallback((A,{direction:U})=>{U==="exit"&&s(),U==="enter"&&(ue(),X("visible"))},[X,ue,s]),O=ke(A=>{var U;re(),ne==null||(U=ne.onMouseEnter)===null||U===void 0||U.call(ne,A)}),W=ke(A=>{var U;ue(),ne==null||(U=ne.onMouseEnter)===null||U===void 0||U.call(ne,A)}),{findFirstFocusable:L,findLastFocusable:Z}=ma(),se=ke(A=>{var U;if(A.key===B7&&(A.preventDefault(),G()),A.key===U5&&A.currentTarget===A.target)if(A.preventDefault(),A.shiftKey){var ae;(ae=Z(A.currentTarget))===null||ae===void 0||ae.focus()}else{var me;(me=L(A.currentTarget))===null||me===void 0||me.focus()}ne==null||(U=ne.onKeyDown)===null||U===void 0||U.call(ne,A)});return S.useEffect(()=>{var A;if(!r)return;const U=m??WP[p];var ae;d((ae=(A=C.current)===null||A===void 0?void 0:A.textContent)!==null&&ae!==void 0?ae:"",{politeness:U})},[d,m,C,r,c,p]),S.useEffect(()=>()=>{M.current&&(M.current=!1,y())},[y]),{components:{timer:dp,root:"div"},timer:je({onTimeout:G,running:R,timeout:h??-1},{elementType:dp}),root:je(ct("div",{ref:Br(t,C),children:o,tabIndex:0,role:"listitem","aria-labelledby":B,"aria-describedby":_,...k,...ne,...I,onMouseEnter:O,onMouseLeave:W,onKeyDown:se}),{elementType:"div"}),timerTimeout:h,transitionTimeout:0,running:R,visible:r,remove:s,close:G,onTransitionEntering:()=>{},updateId:c,nodeRef:C,intent:p,titleId:B,bodyId:_,onMotionFinish:fe}},$P=(e,t)=>{const{onMotionFinish:r,visible:o,updateId:i}=e;return ge(UP,{value:t.toast,children:ge(Hz,{appear:!0,onMotionFinish:r,visible:o,unmountOnExit:!0,children:xt(e.root,{children:[e.root.children,ge(e.timer,{},i)]})})})},rk={root:"fui-ToastContainer"},XP=We("r98b696",null,[".r98b696{box-sizing:border-box;margin-top:16px;pointer-events:all;border-radius:var(--borderRadiusMedium);}",".r98b696[data-fui-focus-visible]{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}"]),KP=e=>{"use no memo";const t=XP();return e.root.className=J(rk.root,t,e.root.className),e};function YP(e){const{close:t,intent:r,titleId:o,bodyId:i}=e;return{toast:S.useMemo(()=>({close:t,intent:r,titleId:o,bodyId:i}),[t,r,o,i])}}const nk=S.forwardRef((e,t)=>{const r=GP(e,t);return KP(r),Xe("useToastContainerStyles_unstable")(r),$P(r,YP(r))});nk.displayName="ToastContainer";const vw=()=>{};function ZP(e,t){const{targetDocument:r}=St(),o=S.useRef(vw);return S.useCallback(i=>{if(!i||!r){o.current(),o.current=vw;return}const s=r.createTreeWalker(i,NodeFilter.SHOW_ELEMENT,{acceptNode(h){return Zt(h)&&h.classList.contains(rk.root)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}}),c=h=>{const{target:m,key:p}=h;if(Zt(m)){if(p===Lp){s.currentNode=m;let w=s.nextNode();w||(s.currentNode=i,w=s.nextNode()),Zt(w)&&w.focus()}if(p===V5){s.currentNode=m;let w=s.previousNode();w&&w.contains(m)&&(w=s.previousNode()),w||(s.currentNode=i,w=s.lastChild()),Zt(w)&&w.focus()}}},d=h=>{Zt(h.currentTarget)&&!h.currentTarget.contains(Zt(h.relatedTarget)?h.relatedTarget:null)&&e()},f=h=>{Zt(h.currentTarget)&&!h.currentTarget.contains(Zt(h.relatedTarget)?h.relatedTarget:null)&&t()};i.addEventListener("keydown",c),i.addEventListener("focusin",d),i.addEventListener("focusout",f),o.current=()=>{i.removeEventListener("keydown",c),i.removeEventListener("focusin",d),i.removeEventListener("focusout",f)}},[r,e,t])}function QP(e){const t=S.useRef(!0),r=S.useRef(()=>{}),o=S.useCallback((s,c)=>{t.current&&e(s,c)},[e]),i=S.useCallback(s=>{if(!s){r.current();return}const c=f=>{Zt(f.currentTarget)&&f.currentTarget.contains(Zt(f.relatedTarget)?f.relatedTarget:null)||(t.current=!1)},d=f=>{Zt(f.currentTarget)&&f.currentTarget.contains(Zt(f.relatedTarget)?f.relatedTarget:null)||(t.current=!0)};s.addEventListener("focusin",c),s.addEventListener("focusout",d),r.current=()=>{s.removeEventListener("focusin",c),s.removeEventListener("focusout",d)}},[]);return{announceToast:o,toasterRef:i}}const JP=e=>{"use no memo";const{offset:t,announce:r,mountNode:o,inline:i=!1,...s}=e,c=S.useRef(()=>null),{toastsToRender:d,isToastVisible:f,pauseAllToasts:h,playAllToasts:m,tryRestoreFocus:p,closeAllToasts:w}=LP(s),v=S.useCallback((C,N)=>c.current(C,N),[]),{dir:x}=St(),y=je(ct("div",s),{elementType:"div"}),k=hf({tabBehavior:"limited-trap-focus",ignoreDefaultKeydown:{Escape:!0}}),B=ke(C=>{var N;C.key===Pi&&(C.preventDefault(),w()),(N=e.onKeyDown)===null||N===void 0||N.call(e,C)}),_=C=>{var N;const R=ZP(h,m),{announceToast:j,toasterRef:D}=QP(r??v);return gt(d.has(C)?y:null,{defaultProps:{ref:Br(R,D),children:(N=d.get(C))===null||N===void 0?void 0:N.map(M=>S.createElement(nk,{...M,tryRestoreFocus:p,intent:M.intent,announce:j,key:M.toastId,visible:f(M.toastId)},M.content)),onKeyDown:B,...k,"data-toaster-position":C,role:"list"},elementType:"div"})};return{dir:x,mountNode:o,components:{root:"div",bottomStart:"div",bottomEnd:"div",topStart:"div",topEnd:"div",top:"div",bottom:"div"},root:je(y,{elementType:"div"}),bottomStart:_($n.bottomStart),bottomEnd:_($n.bottomEnd),topStart:_($n.topStart),topEnd:_($n.topEnd),top:_($n.top),bottom:_($n.bottom),announceRef:c,offset:t,announce:r??v,renderAriaLive:!r,inline:i}},eI=500,tI=e=>{const[t,r]=S.useState(void 0),o=S.useRef(0),[i]=S.useState(()=>r5((m,p)=>m.politeness===p.politeness?m.createdAt-p.createdAt:m.politeness==="assertive"?-1:1)),s=ke((m,p)=>{const{politeness:w}=p;if(m===(t==null?void 0:t.message))return;const v={message:m,politeness:w,createdAt:o.current++};t?i.enqueue(v):r(v)}),[c,d]=Xl();S.useEffect(()=>(c(()=>{i.peek()?r(i.dequeue()):r(void 0)},eI),()=>d()),[t,i,c,d]),S.useImperativeHandle(e.announceRef,()=>s);const f=(t==null?void 0:t.politeness)==="polite"?t.message:void 0,h=(t==null?void 0:t.politeness)==="assertive"?t.message:void 0;return{components:{assertive:"div",polite:"div"},assertive:je(e.assertive,{defaultProps:{"aria-live":"assertive",children:h},elementType:"div"}),polite:je(e.polite,{defaultProps:{"aria-live":"polite",children:f},elementType:"div"})}},rI=e=>xt(S.Fragment,{children:[ge(e.assertive,{}),ge(e.polite,{})]}),yw={assertive:"fui-AriaLive__assertive",polite:"fui-AriaLive__polite"},nI=We("rrd10u0",null,[".rrd10u0{clip:rect(0px, 0px, 0px, 0px);height:1px;margin:-1px;overflow:hidden;padding:0px;width:1px;position:absolute;}"]),oI=e=>{"use no memo";const t=nI();return e.assertive.className=J(t,yw.assertive,e.assertive.className),e.polite.className=J(t,yw.polite,e.polite.className),e},ok=e=>{const t=tI(e);return oI(t),rI(t)};ok.displayName="AriaLive";const aI=e=>{const{announceRef:t,renderAriaLive:r,inline:o,mountNode:i}=e,s=!!e.bottomStart||!!e.bottomEnd||!!e.topStart||!!e.topEnd||!!e.top||!!e.bottom,c=r?ge(ok,{announceRef:t}):null,d=xt(S.Fragment,{children:[e.bottom?ge(e.bottom,{}):null,e.bottomStart?ge(e.bottomStart,{}):null,e.bottomEnd?ge(e.bottomEnd,{}):null,e.topStart?ge(e.topStart,{}):null,e.topEnd?ge(e.topEnd,{}):null,e.top?ge(e.top,{}):null]});return o?xt(S.Fragment,{children:[c,s?d:null]}):xt(S.Fragment,{children:[c,s?ge(ts,{mountNode:i,children:d}):null]})},iI={root:"fui-Toaster"},lI=We("r3hfdjz",null,[".r3hfdjz{position:fixed;width:292px;pointer-events:none;}"]),sI=xe({inline:{qhf8xq:"f1euv43f"}},{d:[".f1euv43f{position:absolute;}"]}),uI=e=>{"use no memo";const t=lI(),r=sI(),o=J(iI.root,t,e.inline&&r.inline,e.root.className);if(e.bottomStart){var i;e.bottomStart.className=o;var s;(s=(i=e.bottomStart).style)!==null&&s!==void 0||(i.style={}),Object.assign(e.bottomStart.style,Bl($n.bottomStart,e.dir,e.offset))}if(e.bottomEnd){var c;e.bottomEnd.className=o;var d;(d=(c=e.bottomEnd).style)!==null&&d!==void 0||(c.style={}),Object.assign(e.bottomEnd.style,Bl($n.bottomEnd,e.dir,e.offset))}if(e.topStart){var f;e.topStart.className=o;var h;(h=(f=e.topStart).style)!==null&&h!==void 0||(f.style={}),Object.assign(e.topStart.style,Bl($n.topStart,e.dir,e.offset))}if(e.topEnd){var m;e.topEnd.className=o;var p;(p=(m=e.topEnd).style)!==null&&p!==void 0||(m.style={}),Object.assign(e.topEnd.style,Bl($n.topEnd,e.dir,e.offset))}if(e.top){var w;e.top.className=o;var v;(v=(w=e.top).style)!==null&&v!==void 0||(w.style={}),Object.assign(e.top.style,Bl($n.top,e.dir,e.offset))}if(e.bottom){var x;e.bottom.className=o;var y;(y=(x=e.bottom).style)!==null&&y!==void 0||(x.style={}),Object.assign(e.bottom.style,Bl($n.bottom,e.dir,e.offset))}return e},ak=e=>{const t=JP(e);return uI(t),Xe("useToasterStyles_unstable")(t),aI(t)};ak.displayName="Toaster";const cI=(e,t)=>{const{intent:r}=m1();return{components:{root:"div"},root:je(ct("div",{ref:t,...e}),{elementType:"div"}),backgroundAppearance:e.appearance,intent:r}},dI=(e,t)=>ge(IC,{value:t.backgroundAppearance,children:ge(e.root,{})}),fI={root:"fui-Toast"},hI=We("rhf7k35",null,[".rhf7k35{display:grid;grid-template-columns:auto 1fr auto;padding:12px;border-radius:var(--borderRadiusMedium);border:1px solid var(--colorTransparentStroke);box-shadow:var(--shadow8);font-size:var(--fontSizeBase300);line-height:20px;font-weight:var(--fontWeightSemibold);color:var(--colorNeutralForeground1);background-color:var(--colorNeutralBackground1);}"]),mI=xe({inverted:{sj55zd:"f1w7i9ko",De3pzq:"f5pduvr"}},{d:[".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}",".f5pduvr{background-color:var(--colorNeutralBackgroundInverted);}"]}),gI=e=>{"use no memo";const t=hI(),r=mI();return e.root.className=J(fI.root,t,e.backgroundAppearance==="inverted"&&r.inverted,e.root.className),e};function pI(e){const{backgroundAppearance:t}=e;return{backgroundAppearance:t}}const Ul=S.forwardRef((e,t)=>{const r=cI(e,t);return gI(r),Xe("useToastStyles_unstable")(r),dI(r,pI(r))});Ul.displayName="Toast";const bI=(e,t)=>{const{intent:r,titleId:o}=m1(),i=Ap();let s;switch(r){case"success":s=S.createElement(N7,null);break;case"error":s=S.createElement(O7,null);break;case"warning":s=S.createElement(F7,null);break;case"info":s=S.createElement(M7,null);break}return{action:gt(e.action,{elementType:"div"}),components:{root:"div",media:"div",action:"div"},media:gt(e.media,{renderByDefault:!!r,defaultProps:{children:s},elementType:"div"}),root:je(ct("div",{ref:t,children:e.children,id:o,...e}),{elementType:"div"}),intent:r,backgroundAppearance:i}},vI=e=>xt(S.Fragment,{children:[e.media?ge(e.media,{}):null,ge(e.root,{}),e.action?ge(e.action,{}):null]}),Bm={root:"fui-ToastTitle",media:"fui-ToastTitle__media",action:"fui-ToastTitle__action"},yI=We("rdjap1e",null,[".rdjap1e{display:flex;grid-column-end:3;color:var(--colorNeutralForeground1);word-break:break-word;}"]),xI=We("r8x5mrd","r1soj19y",[".r8x5mrd{display:flex;padding-top:2px;grid-column-end:2;padding-right:8px;font-size:16px;color:var(--colorNeutralForeground1);}",".r1soj19y{display:flex;padding-top:2px;grid-column-end:2;padding-left:8px;font-size:16px;color:var(--colorNeutralForeground1);}"]),wI=We("r2j19ip","rjfozdo",[".r2j19ip{display:flex;align-items:start;padding-left:12px;grid-column-end:-1;color:var(--colorBrandForeground1);}",".rjfozdo{display:flex;align-items:start;padding-right:12px;grid-column-end:-1;color:var(--colorBrandForeground1);}"]),SI=xe({root:{sj55zd:"f1w7i9ko"},action:{sj55zd:"f1qz2gb0"},media:{sj55zd:"fqpbvvt"}},{d:[".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}",".f1qz2gb0{color:var(--colorBrandForegroundInverted);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}"]}),kI=xe({success:{sj55zd:"f36rra6"},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f13isgzr"},info:{sj55zd:"fkfq4zb"}},{d:[".f36rra6{color:var(--colorStatusSuccessForeground1);}",".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f13isgzr{color:var(--colorStatusWarningForeground1);}",".fkfq4zb{color:var(--colorNeutralForeground2);}"]}),BI=xe({success:{sj55zd:"ff3wk4x"},error:{sj55zd:"fbq2gqr"},warning:{sj55zd:"fx6hq1t"},info:{sj55zd:"f1w7i9ko"}},{d:[".ff3wk4x{color:var(--colorStatusSuccessForegroundInverted);}",".fbq2gqr{color:var(--colorStatusDangerForegroundInverted);}",".fx6hq1t{color:var(--colorStatusWarningForegroundInverted);}",".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}"]}),_I=e=>{"use no memo";const t=yI(),r=wI(),o=xI(),i=kI(),s=BI(),{intent:c}=e,d=SI();return e.root.className=J(Bm.root,t,e.backgroundAppearance==="inverted"&&d.root,e.root.className),e.media&&(e.media.className=J(Bm.media,o,e.backgroundAppearance==="inverted"&&d.media,c&&i[c],c&&e.backgroundAppearance==="inverted"&&s[c],e.media.className)),e.action&&(e.action.className=J(Bm.action,r,e.backgroundAppearance==="inverted"&&d.action,e.action.className)),e},Vl=S.forwardRef((e,t)=>{const r=bI(e,t);return _I(r),Xe("useToastTitleStyles_unstable")(r),vI(r)});Vl.displayName="ToastTitle";const TI=(e,t)=>{const r=Ap(),{bodyId:o}=m1();return{components:{root:"div",subtitle:"div"},subtitle:gt(e.subtitle,{elementType:"div"}),root:je(ct("div",{ref:t,id:o,...e}),{elementType:"div"}),backgroundAppearance:r}},CI=e=>xt(S.Fragment,{children:[ge(e.root,{}),e.subtitle?ge(e.subtitle,{}):null]}),xw={root:"fui-ToastBody",subtitle:"fui-ToastBody__subtitle"},EI=We("rciajo9",null,[".rciajo9{grid-column-start:2;grid-column-end:3;padding-top:6px;font-size:var(--fontSizeBase300);line-height:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);color:var(--colorNeutralForeground1);word-break:break-word;}"]),NI=We("rzjw1xk",null,[".rzjw1xk{padding-top:4px;grid-column-start:2;grid-column-end:3;font-size:var(--fontSizeBase200);line-height:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);color:var(--colorNeutralForeground2);}"]),zI=xe({root:{sj55zd:"f1w7i9ko"},subtitle:{sj55zd:"f1w7i9ko"}},{d:[".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}"]}),RI=e=>{"use no memo";const t=EI(),r=NI(),o=zI();return e.root.className=J(xw.root,t,e.backgroundAppearance==="inverted"&&o.root,e.root.className),e.subtitle&&(e.subtitle.className=J(xw.subtitle,r,e.backgroundAppearance==="inverted"&&o.subtitle,e.subtitle.className)),e},g1=S.forwardRef((e,t)=>{const r=TI(e,t);return RI(r),Xe("useToastBodyStyles_unstable")(r),CI(r)});g1.displayName="ToastBody";const AI=e=>xt(e.root,{children:[ge(e.label,{}),e.infoButton&&ge(e.infoButton,{})]}),DI=e=>xt(e.popover,{children:[ge(wf,{children:ge(e.root,{})}),ge(e.info,{})]}),jI=Vr(H7,U7),OI=Vr(V7,W7),MI=Vr(G7,$7),qI={small:S.createElement(jI,null),medium:S.createElement(OI,null),large:S.createElement(MI,null)},FI={small:"small",medium:"small",large:"medium"},PI=(e,t)=>{const{size:r="medium",inline:o=!0}=e,i=Br(t),s={inline:o,size:r,components:{root:"button",popover:Vd,info:Ud},root:je(ct("button",{children:qI[r],type:"button","aria-label":"information",...e,ref:i}),{elementType:"button"}),popover:je(e.popover,{defaultProps:{inline:o,positioning:"above-start",size:FI[r],withArrow:!0},elementType:Vd}),info:je(e.info,{defaultProps:{role:"note",tabIndex:-1},elementType:Ud})},[c,d]=Rn({state:s.popover.open,defaultState:s.popover.defaultOpen,initialState:!1});s.popover.open=c,s.popover.onOpenChange=Mt(s.popover.onOpenChange,(m,p)=>d(p.open));const f=Br(s.info.ref);s.info.ref=f;const h=m=>{const p=m.relatedTarget;p&&i.current!==p&&!ql(f.current,p)&&d(!1)};return s.root.onBlur=ke(Mt(s.root.onBlur,h)),s.info.onBlurCapture=ke(Mt(s.info.onBlurCapture,h)),s},ww={root:"fui-InfoButton",info:"fui-InfoButton__info"},II=xe({base:{Bt984gj:"f122n59",B7ck84d:"f1ewtqcl",mc9l5x:"ftuwxu6",Brf1p80:"f4d9j23",w71qe1:"f1iuv45f",ha4doy:"fmrv4ls",qhf8xq:"f10pi13n",De3pzq:"f1c21dwh",sj55zd:"fkfq4zb",icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],oivjwe:"f1h8hb77",wvpqe5:["f1deefiw","f1n71otn"],Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f16d74zd",D0sxk3:"f16u1re",t6yez3:"f1rw4040",Jwef8y:"fjxutwb",Bi91k9c:"f139oj5f",eoavqd:"f8491dx",Bk3fhr4:"f1jpd6y0",Bmfj8id:"fuxngvv",iro3zm:"fwiml72",B2d53fq:"f1fg1p5m"},selected:{De3pzq:"f1q9pm1r",sj55zd:"f1qj7y59",D0sxk3:"fgzdkf0",t6yez3:"f15q0o9g",Bsw6fvg:"f1rirnrt",Bbusuzp:"f1cg6951"},highContrast:{Bbusuzp:"fn0tkbb",Bs6v0vm:"f1rp3av6",B46dtvo:"f1u7gwqv",gh1jta:"fl6kagl"},focusIndicator:{Brovlpu:"ftqa4ok",B486eqv:"f2hkw1w",B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"],Bb7d1vk:"f226i61",zhwhgb:["f13kzufm","fsx75g8"],dhy2o1:"flujwa2",Gfyso:["fsx75g8","f13kzufm"],Bm4h7ae:"f15bsgw9",B7ys5i9:"f14e48fq",Busjfv9:"f18yb2kv",Bhk32uz:"fd6o370",f6g5ot:0,Boxcth7:0,Bhdgwq3:0,hgwjuy:0,Bshpdp8:0,Bsom6fd:0,Blkhhs4:0,Bonggc9:0,Ddfuxk:0,i03rao:0,kclons:0,clg4pj:0,Bpqj9nj:0,B6dhp37:0,Bf4ptjt:0,Bqtpl0w:0,i4rwgc:"ffwy5si",Dah5zi:0,B1tsrr9:0,qqdqy8:0,Bkh64rk:0,e3fwne:"f3znvyf",J0r882:"f57olzd",Bule8hv:["f4stah7","fs1por5"],Bjwuhne:"f480a47",Ghsupd:["fs1por5","f4stah7"]},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1kx978o"}},{d:[".f122n59{align-items:center;}",".f1ewtqcl{box-sizing:border-box;}",".ftuwxu6{display:inline-flex;}",".f4d9j23{justify-content:center;}",".f1iuv45f{text-decoration-line:none;}",".fmrv4ls{vertical-align:middle;}",".f10pi13n{position:relative;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1s184ao{margin:0;}",{p:-1}],[".f16d74zd{padding:var(--spacingVerticalXS) var(--spacingHorizontalXS);}",{p:-1}],".f16u1re .fui-Icon-filled{display:none;}",".f1rw4040 .fui-Icon-regular{display:inline-flex;}",".f1q9pm1r{background-color:var(--colorTransparentBackgroundSelected);}",".f1qj7y59{color:var(--colorNeutralForeground2BrandSelected);}",".fgzdkf0 .fui-Icon-filled{display:inline-flex;}",".f15q0o9g .fui-Icon-regular{display:none;}",".f8hki3x[data-fui-focus-visible]{border-top-color:transparent;}",".f1d2448m[data-fui-focus-visible]{border-right-color:transparent;}",".ffh67wi[data-fui-focus-visible]{border-left-color:transparent;}",".f1bjia2o[data-fui-focus-visible]{border-bottom-color:transparent;}",'.f15bsgw9[data-fui-focus-visible]::after{content:"";}',".f14e48fq[data-fui-focus-visible]::after{position:absolute;}",".f18yb2kv[data-fui-focus-visible]::after{pointer-events:none;}",".fd6o370[data-fui-focus-visible]::after{z-index:1;}",[".ffwy5si[data-fui-focus-visible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f3znvyf[data-fui-focus-visible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f57olzd[data-fui-focus-visible]::after{top:calc(2px * -1);}",".f4stah7[data-fui-focus-visible]::after{right:calc(2px * -1);}",".fs1por5[data-fui-focus-visible]::after{left:calc(2px * -1);}",".f480a47[data-fui-focus-visible]::after{bottom:calc(2px * -1);}",[".f1kx978o{padding:var(--spacingVerticalXXS) var(--spacingVerticalXXS);}",{p:-1}]],h:[".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f8491dx:hover{cursor:pointer;}",".f1jpd6y0:hover .fui-Icon-filled{display:inline-flex;}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".fwiml72:hover:active{background-color:var(--colorTransparentBackgroundPressed);}",".f1fg1p5m:hover:active{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1rirnrt{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cg6951{color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fn0tkbb{color:CanvasText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1rp3av6:hover,.f1rp3av6:hover:active{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1u7gwqv:hover,.f1u7gwqv:hover:active{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fl6kagl:hover,.fl6kagl:hover:active{color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f226i61[data-fui-focus-visible]::after{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f13kzufm[data-fui-focus-visible]::after{border-right-color:Highlight;}.fsx75g8[data-fui-focus-visible]::after{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.flujwa2[data-fui-focus-visible]::after{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}]],f:[".ftqa4ok:focus{outline-style:none;}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"]}),LI=xe({base:{B2u0y6b:"f1qmtlvf"},smallMedium:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},large:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".f1qmtlvf{max-width:264px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),HI=e=>{"use no memo";const{size:t}=e,{open:r}=e.popover,o=II(),i=LI();return e.info.className=J(ww.info,i.base,t==="large"?i.large:i.smallMedium,e.info.className),e.root.className=J(ww.root,o.base,o.highContrast,o.focusIndicator,r&&o.selected,t==="large"&&o.large,e.root.className),e},fp=S.forwardRef((e,t)=>{const r=PI(e,t);return HI(r),Xe("useInfoButtonStyles_unstable")(r),DI(r)});fp.displayName="InfoButton";const UI=(e,t)=>{const{root:r,label:o,infoButton:i,info:s,size:c,className:d,style:f,...h}=e,m=hn("infolabel-"),[p,w]=S.useState(!1),v=je(r,{defaultProps:{className:d,style:f},elementType:"span"}),x=je(o,{defaultProps:{id:m+"__label",ref:t,size:c,...h},elementType:da}),y=gt(i,{renderByDefault:!!s,defaultProps:{id:m+"__infoButton",size:c,info:s},elementType:fp}),k=je(y==null?void 0:y.popover,{elementType:"div"});if(k.onOpenChange=ke(Mt(k.onOpenChange,(M,I)=>{w(I.open)})),y){var B,_;y.popover=k;const M=m+"__info";y.info=gt(y==null?void 0:y.info,{defaultProps:{id:M,"aria-labelledby":M},elementType:"div"});var C;if((C=(B=y)[_="aria-labelledby"])!==null&&C!==void 0||(B[_]=`${x.id} ${y.id}`),p){var N,R,j,D;(D=(R=v)[j="aria-owns"])!==null&&D!==void 0||(R[j]=(N=y.info)===null||N===void 0?void 0:N.id)}}return{size:c,components:{root:"span",label:da,infoButton:fp},root:v,label:x,infoButton:y}},_m={root:"fui-InfoLabel",label:"fui-InfoLabel__label",infoButton:"fui-InfoLabel__infoButton"},VI=xe({base:{ha4doy:"f12kltsn",Bceei9c:"fpo1scq",sj55zd:"f1ym3bx4"}},{d:[".f12kltsn{vertical-align:top;}",".fpo1scq{cursor:inherit;}",".f1ym3bx4{color:inherit;}"]}),WI=xe({base:{ha4doy:"f12kltsn",B6of3ja:"f1bmzb36",jrapky:"f1nyzk09"},large:{B6of3ja:"fkrn0sh",jrapky:"fmxx68s"}},{d:[".f12kltsn{vertical-align:top;}",".f1bmzb36{margin-top:calc(0px - var(--spacingVerticalXXS));}",".f1nyzk09{margin-bottom:calc(0px - var(--spacingVerticalXXS));}",".fkrn0sh{margin-top:-1px;}",".fmxx68s{margin-bottom:-1px;}"]}),GI=e=>{"use no memo";e.root.className=J(_m.root,e.root.className);const t=VI();e.label.className=J(_m.label,t.base,e.label.className);const r=WI();return e.infoButton&&(e.infoButton.className=J(_m.infoButton,r.base,e.size==="large"&&r.large,e.infoButton.className)),e},ik=S.forwardRef((e,t)=>{const r=UI(e,t);return GI(r),Xe("useInfoLabelStyles_unstable")(r),AI(r)});ik.displayName="InfoLabel";var au={},Sw;function $I(){if(Sw)return au;Sw=1,Object.defineProperty(au,"__esModule",{value:!0}),au.parse=c,au.serialize=h;const e=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,t=/^[\u0021-\u003A\u003C-\u007E]*$/,r=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,o=/^[\u0020-\u003A\u003D-\u007E]*$/,i=Object.prototype.toString,s=(()=>{const w=function(){};return w.prototype=Object.create(null),w})();function c(w,v){const x=new s,y=w.length;if(y<2)return x;const k=(v==null?void 0:v.decode)||m;let B=0;do{const _=w.indexOf("=",B);if(_===-1)break;const C=w.indexOf(";",B),N=C===-1?y:C;if(_>N){B=w.lastIndexOf(";",_-1)+1;continue}const R=d(w,B,_),j=f(w,_,R),D=w.slice(R,j);if(x[D]===void 0){let M=d(w,_+1,N),I=f(w,N,M);const G=k(w.slice(M,I));x[D]=G}B=N+1}while(Bx;){const y=w.charCodeAt(--v);if(y!==32&&y!==9)return v+1}return x}function h(w,v,x){const y=(x==null?void 0:x.encode)||encodeURIComponent;if(!e.test(w))throw new TypeError(`argument name is invalid: ${w}`);const k=y(v);if(!t.test(k))throw new TypeError(`argument val is invalid: ${v}`);let B=w+"="+k;if(!x)return B;if(x.maxAge!==void 0){if(!Number.isInteger(x.maxAge))throw new TypeError(`option maxAge is invalid: ${x.maxAge}`);B+="; Max-Age="+x.maxAge}if(x.domain){if(!r.test(x.domain))throw new TypeError(`option domain is invalid: ${x.domain}`);B+="; Domain="+x.domain}if(x.path){if(!o.test(x.path))throw new TypeError(`option path is invalid: ${x.path}`);B+="; Path="+x.path}if(x.expires){if(!p(x.expires)||!Number.isFinite(x.expires.valueOf()))throw new TypeError(`option expires is invalid: ${x.expires}`);B+="; Expires="+x.expires.toUTCString()}if(x.httpOnly&&(B+="; HttpOnly"),x.secure&&(B+="; Secure"),x.partitioned&&(B+="; Partitioned"),x.priority)switch(typeof x.priority=="string"?x.priority.toLowerCase():void 0){case"low":B+="; Priority=Low";break;case"medium":B+="; Priority=Medium";break;case"high":B+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${x.priority}`)}if(x.sameSite)switch(typeof x.sameSite=="string"?x.sameSite.toLowerCase():x.sameSite){case!0:case"strict":B+="; SameSite=Strict";break;case"lax":B+="; SameSite=Lax";break;case"none":B+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${x.sameSite}`)}return B}function m(w){if(w.indexOf("%")===-1)return w;try{return decodeURIComponent(w)}catch{return w}}function p(w){return i.call(w)==="[object Date]"}return au}$I();var kw="popstate";function XI(e={}){function t(o,i){let{pathname:s,search:c,hash:d}=o.location;return hp("",{pathname:s,search:c,hash:d},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function r(o,i){return typeof i=="string"?i:_u(i)}return YI(t,r,null,e)}function Kt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Yn(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function KI(){return Math.random().toString(36).substring(2,10)}function Bw(e,t){return{usr:e.state,key:e.key,idx:t}}function hp(e,t,r=null,o){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?rs(t):t,state:r,key:t&&t.key||o||KI()}}function _u({pathname:e="/",search:t="",hash:r=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function rs(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let o=e.indexOf("?");o>=0&&(t.search=e.substring(o),e=e.substring(0,o)),e&&(t.pathname=e)}return t}function YI(e,t,r,o={}){let{window:i=document.defaultView,v5Compat:s=!1}=o,c=i.history,d="POP",f=null,h=m();h==null&&(h=0,c.replaceState({...c.state,idx:h},""));function m(){return(c.state||{idx:null}).idx}function p(){d="POP";let k=m(),B=k==null?null:k-h;h=k,f&&f({action:d,location:y.location,delta:B})}function w(k,B){d="PUSH";let _=hp(y.location,k,B);h=m()+1;let C=Bw(_,h),N=y.createHref(_);try{c.pushState(C,"",N)}catch(R){if(R instanceof DOMException&&R.name==="DataCloneError")throw R;i.location.assign(N)}s&&f&&f({action:d,location:y.location,delta:1})}function v(k,B){d="REPLACE";let _=hp(y.location,k,B);h=m();let C=Bw(_,h),N=y.createHref(_);c.replaceState(C,"",N),s&&f&&f({action:d,location:y.location,delta:0})}function x(k){let B=i.location.origin!=="null"?i.location.origin:i.location.href,_=typeof k=="string"?k:_u(k);return _=_.replace(/ $/,"%20"),Kt(B,`No window.location.(origin|href) available to create URL for href: ${_}`),new URL(_,B)}let y={get action(){return d},get location(){return e(i,c)},listen(k){if(f)throw new Error("A history only accepts one active listener");return i.addEventListener(kw,p),f=k,()=>{i.removeEventListener(kw,p),f=null}},createHref(k){return t(i,k)},createURL:x,encodeLocation(k){let B=x(k);return{pathname:B.pathname,search:B.search,hash:B.hash}},push:w,replace:v,go(k){return c.go(k)}};return y}function lk(e,t,r="/"){return ZI(e,t,r,!1)}function ZI(e,t,r,o){let i=typeof t=="string"?rs(t):t,s=fa(i.pathname||"/",r);if(s==null)return null;let c=sk(e);QI(c);let d=null;for(let f=0;d==null&&f{let f={relativePath:d===void 0?s.path||"":d,caseSensitive:s.caseSensitive===!0,childrenIndex:c,route:s};f.relativePath.startsWith("/")&&(Kt(f.relativePath.startsWith(o),`Absolute route path "${f.relativePath}" nested under path "${o}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),f.relativePath=f.relativePath.slice(o.length));let h=sa([o,f.relativePath]),m=r.concat(f);s.children&&s.children.length>0&&(Kt(s.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${h}".`),sk(s.children,t,m,h)),!(s.path==null&&!s.index)&&t.push({path:h,score:aL(h,s.index),routesMeta:m})};return e.forEach((s,c)=>{var d;if(s.path===""||!((d=s.path)!=null&&d.includes("?")))i(s,c);else for(let f of uk(s.path))i(s,c,f)}),t}function uk(e){let t=e.split("/");if(t.length===0)return[];let[r,...o]=t,i=r.endsWith("?"),s=r.replace(/\?$/,"");if(o.length===0)return i?[s,""]:[s];let c=uk(o.join("/")),d=[];return d.push(...c.map(f=>f===""?s:[s,f].join("/"))),i&&d.push(...c),d.map(f=>e.startsWith("/")&&f===""?"/":f)}function QI(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:iL(t.routesMeta.map(o=>o.childrenIndex),r.routesMeta.map(o=>o.childrenIndex)))}var JI=/^:[\w-]+$/,eL=3,tL=2,rL=1,nL=10,oL=-2,_w=e=>e==="*";function aL(e,t){let r=e.split("/"),o=r.length;return r.some(_w)&&(o+=oL),t&&(o+=tL),r.filter(i=>!_w(i)).reduce((i,s)=>i+(JI.test(s)?eL:s===""?rL:nL),o)}function iL(e,t){return e.length===t.length&&e.slice(0,-1).every((o,i)=>o===t[i])?e[e.length-1]-t[t.length-1]:0}function lL(e,t,r=!1){let{routesMeta:o}=e,i={},s="/",c=[];for(let d=0;d{if(m==="*"){let x=d[w]||"";c=s.slice(0,s.length-x.length).replace(/(.)\/+$/,"$1")}const v=d[w];return p&&!v?h[m]=void 0:h[m]=(v||"").replace(/%2F/g,"/"),h},{}),pathname:s,pathnameBase:c,pattern:e}}function sL(e,t=!1,r=!0){Yn(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let o=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,d,f)=>(o.push({paramName:d,isOptional:f!=null}),f?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(o.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),o]}function uL(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Yn(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function fa(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,o=e.charAt(r);return o&&o!=="/"?null:e.slice(r)||"/"}function cL(e,t="/"){let{pathname:r,search:o="",hash:i=""}=typeof e=="string"?rs(e):e;return{pathname:r?r.startsWith("/")?r:dL(r,t):t,search:mL(o),hash:gL(i)}}function dL(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?r.length>1&&r.pop():i!=="."&&r.push(i)}),r.length>1?r.join("/"):"/"}function Tm(e,t,r,o){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(o)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function fL(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function p1(e){let t=fL(e);return t.map((r,o)=>o===t.length-1?r.pathname:r.pathnameBase)}function b1(e,t,r,o=!1){let i;typeof e=="string"?i=rs(e):(i={...e},Kt(!i.pathname||!i.pathname.includes("?"),Tm("?","pathname","search",i)),Kt(!i.pathname||!i.pathname.includes("#"),Tm("#","pathname","hash",i)),Kt(!i.search||!i.search.includes("#"),Tm("#","search","hash",i)));let s=e===""||i.pathname==="",c=s?"/":i.pathname,d;if(c==null)d=r;else{let p=t.length-1;if(!o&&c.startsWith("..")){let w=c.split("/");for(;w[0]==="..";)w.shift(),p-=1;i.pathname=w.join("/")}d=p>=0?t[p]:"/"}let f=cL(i,d),h=c&&c!=="/"&&c.endsWith("/"),m=(s||c===".")&&r.endsWith("/");return!f.pathname.endsWith("/")&&(h||m)&&(f.pathname+="/"),f}var sa=e=>e.join("/").replace(/\/\/+/g,"/"),hL=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),mL=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,gL=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function pL(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var ck=["POST","PUT","PATCH","DELETE"];new Set(ck);var bL=["GET",...ck];new Set(bL);var ns=S.createContext(null);ns.displayName="DataRouter";var zf=S.createContext(null);zf.displayName="DataRouterState";var dk=S.createContext({isTransitioning:!1});dk.displayName="ViewTransition";var vL=S.createContext(new Map);vL.displayName="Fetchers";var yL=S.createContext(null);yL.displayName="Await";var ho=S.createContext(null);ho.displayName="Navigation";var qu=S.createContext(null);qu.displayName="Location";var Oo=S.createContext({outlet:null,matches:[],isDataRoute:!1});Oo.displayName="Route";var v1=S.createContext(null);v1.displayName="RouteError";function xL(e,{relative:t}={}){Kt(os(),"useHref() may be used only in the context of a component.");let{basename:r,navigator:o}=S.useContext(ho),{hash:i,pathname:s,search:c}=Fu(e,{relative:t}),d=s;return r!=="/"&&(d=s==="/"?r:sa([r,s])),o.createHref({pathname:d,search:c,hash:i})}function os(){return S.useContext(qu)!=null}function Zn(){return Kt(os(),"useLocation() may be used only in the context of a component."),S.useContext(qu).location}var fk="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function hk(e){S.useContext(ho).static||S.useLayoutEffect(e)}function Ii(){let{isDataRoute:e}=S.useContext(Oo);return e?DL():wL()}function wL(){Kt(os(),"useNavigate() may be used only in the context of a component.");let e=S.useContext(ns),{basename:t,navigator:r}=S.useContext(ho),{matches:o}=S.useContext(Oo),{pathname:i}=Zn(),s=JSON.stringify(p1(o)),c=S.useRef(!1);return hk(()=>{c.current=!0}),S.useCallback((f,h={})=>{if(Yn(c.current,fk),!c.current)return;if(typeof f=="number"){r.go(f);return}let m=b1(f,JSON.parse(s),i,h.relative==="path");e==null&&t!=="/"&&(m.pathname=m.pathname==="/"?t:sa([t,m.pathname])),(h.replace?r.replace:r.push)(m,h.state,h)},[t,r,s,i,e])}S.createContext(null);function Fu(e,{relative:t}={}){let{matches:r}=S.useContext(Oo),{pathname:o}=Zn(),i=JSON.stringify(p1(r));return S.useMemo(()=>b1(e,JSON.parse(i),o,t==="path"),[e,i,o,t])}function SL(e,t){return mk(e,t)}function mk(e,t,r,o){var _;Kt(os(),"useRoutes() may be used only in the context of a component.");let{navigator:i,static:s}=S.useContext(ho),{matches:c}=S.useContext(Oo),d=c[c.length-1],f=d?d.params:{},h=d?d.pathname:"/",m=d?d.pathnameBase:"/",p=d&&d.route;{let C=p&&p.path||"";gk(h,!p||C.endsWith("*")||C.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${h}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. + +Please change the parent to .`)}let w=Zn(),v;if(t){let C=typeof t=="string"?rs(t):t;Kt(m==="/"||((_=C.pathname)==null?void 0:_.startsWith(m)),`When overriding the location using \`\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${m}" but pathname "${C.pathname}" was given in the \`location\` prop.`),v=C}else v=w;let x=v.pathname||"/",y=x;if(m!=="/"){let C=m.replace(/^\//,"").split("/");y="/"+x.replace(/^\//,"").split("/").slice(C.length).join("/")}let k=!s&&r&&r.matches&&r.matches.length>0?r.matches:lk(e,{pathname:y});Yn(p||k!=null,`No routes matched location "${v.pathname}${v.search}${v.hash}" `),Yn(k==null||k[k.length-1].route.element!==void 0||k[k.length-1].route.Component!==void 0||k[k.length-1].route.lazy!==void 0,`Matched leaf route at location "${v.pathname}${v.search}${v.hash}" does not have an element or Component. This means it will render an with a null value by default resulting in an "empty" page.`);let B=CL(k&&k.map(C=>Object.assign({},C,{params:Object.assign({},f,C.params),pathname:sa([m,i.encodeLocation?i.encodeLocation(C.pathname).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?m:sa([m,i.encodeLocation?i.encodeLocation(C.pathnameBase).pathname:C.pathnameBase])})),c,r,o);return t&&B?S.createElement(qu.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...v},navigationType:"POP"}},B):B}function kL(){let e=AL(),t=pL(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,o="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:o},s={padding:"2px 4px",backgroundColor:o},c=null;return console.error("Error handled by React Router default ErrorBoundary:",e),c=S.createElement(S.Fragment,null,S.createElement("p",null,"💿 Hey developer 👋"),S.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",S.createElement("code",{style:s},"ErrorBoundary")," or"," ",S.createElement("code",{style:s},"errorElement")," prop on your route.")),S.createElement(S.Fragment,null,S.createElement("h2",null,"Unexpected Application Error!"),S.createElement("h3",{style:{fontStyle:"italic"}},t),r?S.createElement("pre",{style:i},r):null,c)}var BL=S.createElement(kL,null),_L=class extends S.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==void 0?S.createElement(Oo.Provider,{value:this.props.routeContext},S.createElement(v1.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function TL({routeContext:e,match:t,children:r}){let o=S.useContext(ns);return o&&o.static&&o.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=t.route.id),S.createElement(Oo.Provider,{value:e},r)}function CL(e,t=[],r=null,o=null){if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let i=e,s=r==null?void 0:r.errors;if(s!=null){let f=i.findIndex(h=>h.route.id&&(s==null?void 0:s[h.route.id])!==void 0);Kt(f>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(s).join(",")}`),i=i.slice(0,Math.min(i.length,f+1))}let c=!1,d=-1;if(r)for(let f=0;f=0?i=i.slice(0,d+1):i=[i[0]];break}}}return i.reduceRight((f,h,m)=>{let p,w=!1,v=null,x=null;r&&(p=s&&h.route.id?s[h.route.id]:void 0,v=h.route.errorElement||BL,c&&(d<0&&m===0?(gk("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),w=!0,x=null):d===m&&(w=!0,x=h.route.hydrateFallbackElement||null)));let y=t.concat(i.slice(0,m+1)),k=()=>{let B;return p?B=v:w?B=x:h.route.Component?B=S.createElement(h.route.Component,null):h.route.element?B=h.route.element:B=f,S.createElement(TL,{match:h,routeContext:{outlet:f,matches:y,isDataRoute:r!=null},children:B})};return r&&(h.route.ErrorBoundary||h.route.errorElement||m===0)?S.createElement(_L,{location:r.location,revalidation:r.revalidation,component:v,error:p,children:k(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):k()},null)}function y1(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function EL(e){let t=S.useContext(ns);return Kt(t,y1(e)),t}function NL(e){let t=S.useContext(zf);return Kt(t,y1(e)),t}function zL(e){let t=S.useContext(Oo);return Kt(t,y1(e)),t}function x1(e){let t=zL(e),r=t.matches[t.matches.length-1];return Kt(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}function RL(){return x1("useRouteId")}function AL(){var o;let e=S.useContext(v1),t=NL("useRouteError"),r=x1("useRouteError");return e!==void 0?e:(o=t.errors)==null?void 0:o[r]}function DL(){let{router:e}=EL("useNavigate"),t=x1("useNavigate"),r=S.useRef(!1);return hk(()=>{r.current=!0}),S.useCallback(async(i,s={})=>{Yn(r.current,fk),r.current&&(typeof i=="number"?e.navigate(i):await e.navigate(i,{fromRouteId:t,...s}))},[e,t])}var Tw={};function gk(e,t,r){!t&&!Tw[e]&&(Tw[e]=!0,Yn(!1,r))}S.memo(jL);function jL({routes:e,future:t,state:r}){return mk(e,void 0,r,t)}function OL({to:e,replace:t,state:r,relative:o}){Kt(os()," may be used only in the context of a component.");let{static:i}=S.useContext(ho);Yn(!i," must not be used on the initial render in a . This is a no-op, but you should modify your code so the is only ever rendered in response to some user interaction or state change.");let{matches:s}=S.useContext(Oo),{pathname:c}=Zn(),d=Ii(),f=b1(e,p1(s),c,o==="path"),h=JSON.stringify(f);return S.useEffect(()=>{d(JSON.parse(h),{replace:t,state:r,relative:o})},[d,h,o,t,r]),null}function El(e){Kt(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function ML({basename:e="/",children:t=null,location:r,navigationType:o="POP",navigator:i,static:s=!1}){Kt(!os(),"You cannot render a inside another . You should never have more than one in your app.");let c=e.replace(/^\/*/,"/"),d=S.useMemo(()=>({basename:c,navigator:i,static:s,future:{}}),[c,i,s]);typeof r=="string"&&(r=rs(r));let{pathname:f="/",search:h="",hash:m="",state:p=null,key:w="default"}=r,v=S.useMemo(()=>{let x=fa(f,c);return x==null?null:{location:{pathname:x,search:h,hash:m,state:p,key:w},navigationType:o}},[c,f,h,m,p,w,o]);return Yn(v!=null,` is not able to match the URL "${f}${h}${m}" because it does not start with the basename, so the won't render anything.`),v==null?null:S.createElement(ho.Provider,{value:d},S.createElement(qu.Provider,{children:t,value:v}))}function qL({children:e,location:t}){return SL(mp(e),t)}function mp(e,t=[]){let r=[];return S.Children.forEach(e,(o,i)=>{if(!S.isValidElement(o))return;let s=[...t,i];if(o.type===S.Fragment){r.push.apply(r,mp(o.props.children,s));return}Kt(o.type===El,`[${typeof o.type=="string"?o.type:o.type.name}] is not a component. All component children of must be a or `),Kt(!o.props.index||!o.props.children,"An index route cannot have child routes.");let c={id:o.props.id||s.join("-"),caseSensitive:o.props.caseSensitive,element:o.props.element,Component:o.props.Component,index:o.props.index,path:o.props.path,loader:o.props.loader,action:o.props.action,hydrateFallbackElement:o.props.hydrateFallbackElement,HydrateFallback:o.props.HydrateFallback,errorElement:o.props.errorElement,ErrorBoundary:o.props.ErrorBoundary,hasErrorBoundary:o.props.hasErrorBoundary===!0||o.props.ErrorBoundary!=null||o.props.errorElement!=null,shouldRevalidate:o.props.shouldRevalidate,handle:o.props.handle,lazy:o.props.lazy};o.props.children&&(c.children=mp(o.props.children,s)),r.push(c)}),r}var Cd="get",Ed="application/x-www-form-urlencoded";function Rf(e){return e!=null&&typeof e.tagName=="string"}function FL(e){return Rf(e)&&e.tagName.toLowerCase()==="button"}function PL(e){return Rf(e)&&e.tagName.toLowerCase()==="form"}function IL(e){return Rf(e)&&e.tagName.toLowerCase()==="input"}function LL(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function HL(e,t){return e.button===0&&(!t||t==="_self")&&!LL(e)}function gp(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,r)=>{let o=e[r];return t.concat(Array.isArray(o)?o.map(i=>[r,i]):[[r,o]])},[]))}function UL(e,t){let r=gp(e);return t&&t.forEach((o,i)=>{r.has(i)||t.getAll(i).forEach(s=>{r.append(i,s)})}),r}var fd=null;function VL(){if(fd===null)try{new FormData(document.createElement("form"),0),fd=!1}catch{fd=!0}return fd}var WL=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Cm(e){return e!=null&&!WL.has(e)?(Yn(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Ed}"`),null):e}function GL(e,t){let r,o,i,s,c;if(PL(e)){let d=e.getAttribute("action");o=d?fa(d,t):null,r=e.getAttribute("method")||Cd,i=Cm(e.getAttribute("enctype"))||Ed,s=new FormData(e)}else if(FL(e)||IL(e)&&(e.type==="submit"||e.type==="image")){let d=e.form;if(d==null)throw new Error('Cannot submit a