diff --git a/.power/schemas/appschemas/dataSourcesInfo.ts b/.power/schemas/appschemas/dataSourcesInfo.ts new file mode 100644 index 00000000..ca8ec570 --- /dev/null +++ b/.power/schemas/appschemas/dataSourcesInfo.ts @@ -0,0 +1,3537 @@ +/*! + * Copyright (C) Microsoft Corporation. All rights reserved. + * This file is auto-generated. Do not modify it manually. + * Changes to this file may be overwritten. + */ + +export const dataSourcesInfo = { + "outlook": { + "tableId": "", + "version": "", + "primaryKey": "", + "dataSourceType": "Connector", + "apis": { + "CalendarGetTable": { + "path": "/{connectionId}/$metadata.json/datasets/calendars/tables/{table}", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "table", + "in": "path", + "required": true, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "default": { + "type": "void" + } + } + }, + "ContactGetTable": { + "path": "/{connectionId}/$metadata.json/datasets/contacts/tables/{table}", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "table", + "in": "path", + "required": true, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "default": { + "type": "void" + } + } + }, + "OnUpcomingEvents": { + "path": "/{connectionId}/Events/OnUpcomingEvents", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "table", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "lookAheadTimeInMinutes", + "in": "query", + "required": false, + "type": "integer" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "202": { + "type": "void" + }, + "400": { + "type": "void" + }, + "401": { + "type": "void" + }, + "403": { + "type": "void" + }, + "500": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "OnUpcomingEventsV2": { + "path": "/{connectionId}/v2/Events/OnUpcomingEvents", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "table", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "lookAheadTimeInMinutes", + "in": "query", + "required": false, + "type": "integer" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "202": { + "type": "void" + }, + "400": { + "type": "void" + }, + "401": { + "type": "void" + }, + "403": { + "type": "void" + }, + "500": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "GetEventsCalendarView": { + "path": "/{connectionId}/Events/CalendarView", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "calendarId", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "startDateTimeOffset", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "endDateTimeOffset", + "in": "query", + "required": true, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "default": { + "type": "void" + } + } + }, + "CreateOnChangedEventPokeSubscription": { + "path": "/{connectionId}/{table}/EventSubscriptionPoke/$subscriptions", + "method": "POST", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "subscription", + "in": "body", + "required": true, + "type": "object" + }, + { + "name": "table", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "incomingDays", + "in": "query", + "required": false, + "type": "integer" + }, + { + "name": "pastDays", + "in": "query", + "required": false, + "type": "integer" + } + ], + "responseInfo": { + "201": { + "type": "object" + }, + "400": { + "type": "void" + }, + "401": { + "type": "void" + }, + "403": { + "type": "void" + }, + "500": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "DeleteEventSubscription": { + "path": "/{connectionId}/EventSubscription/$subscriptions/{id}", + "method": "DELETE", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "options", + "in": "query", + "required": true, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "void" + }, + "400": { + "type": "void" + }, + "401": { + "type": "void" + }, + "403": { + "type": "void" + }, + "500": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "RenewEventSubscription": { + "path": "/{connectionId}/EventSubscription/$subscriptions/{id}", + "method": "PATCH", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "options", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "subscription", + "in": "body", + "required": true, + "type": "object" + } + ], + "responseInfo": { + "200": { + "type": "void" + }, + "201": { + "type": "void" + }, + "400": { + "type": "void" + }, + "401": { + "type": "void" + }, + "403": { + "type": "void" + }, + "500": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "OnFilePickerOpen": { + "path": "/{connectionId}/OnFilePickerOpen", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "operation", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "top", + "in": "query", + "required": false, + "type": "integer" + }, + { + "name": "skip", + "in": "query", + "required": false, + "type": "integer" + }, + { + "name": "mailboxAddress", + "in": "query", + "required": false, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "default": { + "type": "void" + } + } + }, + "OnFilePickerBrowse": { + "path": "/{connectionId}/OnFilePickerBrowse", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "operation", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "top", + "in": "query", + "required": false, + "type": "integer" + }, + { + "name": "skip", + "in": "query", + "required": false, + "type": "integer" + }, + { + "name": "mailboxAddress", + "in": "query", + "required": false, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "default": { + "type": "void" + } + } + }, + "GetEmails": { + "path": "/{connectionId}/Mail", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "folderPath", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "fetchOnlyUnread", + "in": "query", + "required": false, + "type": "boolean" + }, + { + "name": "includeAttachments", + "in": "query", + "required": false, + "type": "boolean" + }, + { + "name": "searchQuery", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "top", + "in": "query", + "required": false, + "type": "integer" + }, + { + "name": "skip", + "in": "query", + "required": false, + "type": "integer" + } + ], + "responseInfo": { + "200": { + "type": "array" + }, + "400": { + "type": "void" + }, + "401": { + "type": "void" + }, + "403": { + "type": "void" + }, + "500": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "SendEmail": { + "path": "/{connectionId}/Mail", + "method": "POST", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "emailMessage", + "in": "body", + "required": true, + "type": "object" + } + ], + "responseInfo": { + "200": { + "type": "void" + }, + "400": { + "type": "void" + }, + "401": { + "type": "void" + }, + "403": { + "type": "void" + }, + "500": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "GetEmailsV2": { + "path": "/{connectionId}/v2/Mail", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "folderPath", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "to", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "cc", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "toOrCc", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "from", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "importance", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "fetchOnlyWithAttachment", + "in": "query", + "required": false, + "type": "boolean" + }, + { + "name": "subjectFilter", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "fetchOnlyUnread", + "in": "query", + "required": false, + "type": "boolean" + }, + { + "name": "fetchOnlyFlagged", + "in": "query", + "required": false, + "type": "boolean" + }, + { + "name": "mailboxAddress", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "includeAttachments", + "in": "query", + "required": false, + "type": "boolean" + }, + { + "name": "searchQuery", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "top", + "in": "query", + "required": false, + "type": "integer" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "400": { + "type": "void" + }, + "401": { + "type": "void" + }, + "403": { + "type": "void" + }, + "500": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "SendEmailV2": { + "path": "/{connectionId}/v2/Mail", + "method": "POST", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "emailMessage", + "in": "body", + "required": true, + "type": "object" + } + ], + "responseInfo": { + "200": { + "type": "void" + }, + "400": { + "type": "void" + }, + "401": { + "type": "void" + }, + "403": { + "type": "void" + }, + "500": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "GetEmail": { + "path": "/{connectionId}/Mail/{messageId}", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "messageId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "includeAttachments", + "in": "query", + "required": false, + "type": "boolean" + }, + { + "name": "internetMessageId", + "in": "query", + "required": false, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "400": { + "type": "void" + }, + "401": { + "type": "void" + }, + "403": { + "type": "void" + }, + "500": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "DeleteEmail": { + "path": "/{connectionId}/Mail/{messageId}", + "method": "DELETE", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "messageId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "void" + }, + "400": { + "type": "void" + }, + "401": { + "type": "void" + }, + "403": { + "type": "void" + }, + "500": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "Move": { + "path": "/{connectionId}/Mail/Move/{messageId}", + "method": "POST", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "messageId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "folderPath", + "in": "query", + "required": true, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "400": { + "type": "void" + }, + "401": { + "type": "void" + }, + "403": { + "type": "void" + }, + "500": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "Flag": { + "path": "/{connectionId}/Mail/Flag/{messageId}", + "method": "POST", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "messageId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "void" + }, + "400": { + "type": "void" + }, + "401": { + "type": "void" + }, + "403": { + "type": "void" + }, + "500": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "MarkAsRead": { + "path": "/{connectionId}/Mail/MarkAsRead/{messageId}", + "method": "POST", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "messageId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "void" + }, + "400": { + "type": "void" + }, + "401": { + "type": "void" + }, + "403": { + "type": "void" + }, + "500": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "ReplyTo": { + "path": "/{connectionId}/Mail/ReplyTo/{messageId}", + "method": "POST", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "messageId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "comment", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "replyAll", + "in": "query", + "required": false, + "type": "boolean" + } + ], + "responseInfo": { + "200": { + "type": "void" + }, + "400": { + "type": "void" + }, + "401": { + "type": "void" + }, + "403": { + "type": "void" + }, + "500": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "ReplyToV2": { + "path": "/{connectionId}/v2/Mail/ReplyTo/{messageId}", + "method": "POST", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "messageId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "replyParameters", + "in": "body", + "required": true, + "type": "object" + } + ], + "responseInfo": { + "200": { + "type": "void" + }, + "400": { + "type": "void" + }, + "401": { + "type": "void" + }, + "403": { + "type": "void" + }, + "500": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "ReplyToV3": { + "path": "/{connectionId}/v3/Mail/ReplyTo/{messageId}", + "method": "POST", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "messageId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "replyParameters", + "in": "body", + "required": true, + "type": "object" + } + ], + "responseInfo": { + "200": { + "type": "void" + }, + "400": { + "type": "void" + }, + "401": { + "type": "void" + }, + "403": { + "type": "void" + }, + "500": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "GetAttachment": { + "path": "/{connectionId}/Mail/{messageId}/Attachments/{attachmentId}", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "messageId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "attachmentId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "string", + "format": "binary" + }, + "400": { + "type": "void" + }, + "401": { + "type": "void" + }, + "403": { + "type": "void" + }, + "500": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "OnNewEmail": { + "path": "/{connectionId}/Mail/OnNewEmail", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "folderPath", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "to", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "cc", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "toOrCc", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "from", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "importance", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "fetchOnlyWithAttachment", + "in": "query", + "required": false, + "type": "boolean" + }, + { + "name": "includeAttachments", + "in": "query", + "required": false, + "type": "boolean" + }, + { + "name": "subjectFilter", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "x-ms-operation-context", + "in": "header", + "required": false, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "202": { + "type": "void" + }, + "400": { + "type": "void" + }, + "401": { + "type": "void" + }, + "403": { + "type": "void" + }, + "500": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "OnNewEmailV2": { + "path": "/{connectionId}/v2/Mail/OnNewEmail", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "folderPath", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "to", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "cc", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "toOrCc", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "from", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "importance", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "fetchOnlyWithAttachment", + "in": "query", + "required": false, + "type": "boolean" + }, + { + "name": "includeAttachments", + "in": "query", + "required": false, + "type": "boolean" + }, + { + "name": "subjectFilter", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "x-ms-operation-context", + "in": "header", + "required": false, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "202": { + "type": "void" + }, + "400": { + "type": "void" + }, + "401": { + "type": "void" + }, + "403": { + "type": "void" + }, + "500": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "OnFlaggedEmail": { + "path": "/{connectionId}/Mail/OnFlaggedEmail", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "folderPath", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "to", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "cc", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "toOrCc", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "from", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "importance", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "fetchOnlyWithAttachment", + "in": "query", + "required": false, + "type": "boolean" + }, + { + "name": "includeAttachments", + "in": "query", + "required": false, + "type": "boolean" + }, + { + "name": "subjectFilter", + "in": "query", + "required": false, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "202": { + "type": "void" + }, + "400": { + "type": "void" + }, + "401": { + "type": "void" + }, + "403": { + "type": "void" + }, + "500": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "OnFlaggedEmailV2": { + "path": "/{connectionId}/v2/Mail/OnFlaggedEmail", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "folderPath", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "to", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "cc", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "toOrCc", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "from", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "importance", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "fetchOnlyWithAttachment", + "in": "query", + "required": false, + "type": "boolean" + }, + { + "name": "includeAttachments", + "in": "query", + "required": false, + "type": "boolean" + }, + { + "name": "subjectFilter", + "in": "query", + "required": false, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "202": { + "type": "void" + }, + "400": { + "type": "void" + }, + "401": { + "type": "void" + }, + "403": { + "type": "void" + }, + "500": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "OnNewMentionMeEmail": { + "path": "/{connectionId}/Mail/OnNewMentionMeEmail", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "messageIdToFireOnFirstTriggerRun", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "folderPath", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "to", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "cc", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "toOrCc", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "from", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "importance", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "fetchOnlyWithAttachment", + "in": "query", + "required": false, + "type": "boolean" + }, + { + "name": "includeAttachments", + "in": "query", + "required": false, + "type": "boolean" + }, + { + "name": "subjectFilter", + "in": "query", + "required": false, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "202": { + "type": "void" + }, + "400": { + "type": "void" + }, + "401": { + "type": "void" + }, + "403": { + "type": "void" + }, + "500": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "OnNewMentionMeEmailV2": { + "path": "/{connectionId}/v2/Mail/OnNewMentionMeEmail", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "messageIdToFireOnFirstTriggerRun", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "folderPath", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "to", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "cc", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "toOrCc", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "from", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "importance", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "fetchOnlyWithAttachment", + "in": "query", + "required": false, + "type": "boolean" + }, + { + "name": "includeAttachments", + "in": "query", + "required": false, + "type": "boolean" + }, + { + "name": "subjectFilter", + "in": "query", + "required": false, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "202": { + "type": "void" + }, + "400": { + "type": "void" + }, + "401": { + "type": "void" + }, + "403": { + "type": "void" + }, + "500": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "CreateOnNewEmailPokeSubscription": { + "path": "/{connectionId}/MailSubscriptionPoke/$subscriptions", + "method": "POST", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "subscription", + "in": "body", + "required": true, + "type": "object" + }, + { + "name": "folderPath", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "importance", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "fetchOnlyWithAttachment", + "in": "query", + "required": false, + "type": "boolean" + } + ], + "responseInfo": { + "201": { + "type": "object" + }, + "400": { + "type": "void" + }, + "401": { + "type": "void" + }, + "403": { + "type": "void" + }, + "500": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "CreateOnNewMentionMeEmailPokeSubscription": { + "path": "/{connectionId}/MentionMeMailSubscriptionPoke/$subscriptions", + "method": "POST", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "subscription", + "in": "body", + "required": true, + "type": "object" + }, + { + "name": "folderPath", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "importance", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "fetchOnlyWithAttachment", + "in": "query", + "required": false, + "type": "boolean" + } + ], + "responseInfo": { + "201": { + "type": "object" + }, + "400": { + "type": "void" + }, + "401": { + "type": "void" + }, + "403": { + "type": "void" + }, + "500": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "CreateOnFlaggedEmailPokeSubscription": { + "path": "/{connectionId}/FlaggedMailSubscriptionPoke/$subscriptions", + "method": "POST", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "subscription", + "in": "body", + "required": true, + "type": "object" + }, + { + "name": "folderPath", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "importance", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "fetchOnlyWithAttachment", + "in": "query", + "required": false, + "type": "boolean" + } + ], + "responseInfo": { + "201": { + "type": "object" + }, + "400": { + "type": "void" + }, + "401": { + "type": "void" + }, + "403": { + "type": "void" + }, + "500": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "DeleteOnNewEmailSubscription": { + "path": "/{connectionId}/MailSubscription/$subscriptions/{id}", + "method": "DELETE", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "options", + "in": "query", + "required": true, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "void" + }, + "400": { + "type": "void" + }, + "401": { + "type": "void" + }, + "403": { + "type": "void" + }, + "500": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "RenewOnNewEmailSubscription": { + "path": "/{connectionId}/MailSubscription/$subscriptions/{id}", + "method": "PATCH", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "options", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "subscription", + "in": "body", + "required": true, + "type": "object" + } + ], + "responseInfo": { + "200": { + "type": "void" + }, + "201": { + "type": "void" + }, + "400": { + "type": "void" + }, + "401": { + "type": "void" + }, + "403": { + "type": "void" + }, + "500": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "GetDataSetsMetadata": { + "path": "/{connectionId}/$metadata.json/datasets", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "default": { + "type": "void" + } + } + }, + "SendMailWithOptions": { + "path": "/{connectionId}/mailwithoptions/$subscriptions", + "method": "POST", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "optionsEmailSubscription", + "in": "body", + "required": true, + "type": "object" + } + ], + "responseInfo": { + "201": { + "type": "object" + }, + "400": { + "type": "void" + }, + "401": { + "type": "void" + }, + "403": { + "type": "void" + }, + "500": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "SendApprovalMail": { + "path": "/{connectionId}/approvalmail/$subscriptions", + "method": "POST", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "approvalEmailSubscription", + "in": "body", + "required": true, + "type": "object" + } + ], + "responseInfo": { + "201": { + "type": "object" + }, + "400": { + "type": "void" + }, + "401": { + "type": "void" + }, + "403": { + "type": "void" + }, + "500": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "DeleteApprovalMailSubscription": { + "path": "/{connectionId}/approvalmail/$subscriptions/{id}", + "method": "DELETE", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "required": true, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "void" + }, + "400": { + "type": "void" + }, + "401": { + "type": "void" + }, + "403": { + "type": "void" + }, + "500": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "DeleteOptionsMailSubscription": { + "path": "/{connectionId}/mailwithoptions/$subscriptions/{id}", + "method": "DELETE", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "required": true, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "void" + }, + "400": { + "type": "void" + }, + "401": { + "type": "void" + }, + "403": { + "type": "void" + }, + "500": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "TestConnection": { + "path": "/{connectionId}/testconnection", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "CalendarGetTables": { + "path": "/{connectionId}/datasets/calendars/tables", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "default": { + "type": "void" + } + } + }, + "CalendarGetItems": { + "path": "/{connectionId}/datasets/calendars/tables/{table}/items", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "table", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "$orderby", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer" + }, + { + "name": "$skip", + "in": "query", + "required": false, + "type": "integer" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "default": { + "type": "void" + } + } + }, + "CalendarPostItem": { + "path": "/{connectionId}/datasets/calendars/tables/{table}/items", + "method": "POST", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "table", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "item", + "in": "body", + "required": true, + "type": "object" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "default": { + "type": "void" + } + } + }, + "CalendarGetItem": { + "path": "/{connectionId}/datasets/calendars/tables/{table}/items/{id}", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "table", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "required": true, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "default": { + "type": "void" + } + } + }, + "CalendarDeleteItem": { + "path": "/{connectionId}/datasets/calendars/tables/{table}/items/{id}", + "method": "DELETE", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "table", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "required": true, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "CalendarPatchItem": { + "path": "/{connectionId}/datasets/calendars/tables/{table}/items/{id}", + "method": "PATCH", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "table", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "item", + "in": "body", + "required": true, + "type": "object" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "default": { + "type": "void" + } + } + }, + "V3CalendarGetItems": { + "path": "/{connectionId}/datasets/calendars/v3/tables/{table}/items", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "table", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$orderby", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer" + }, + { + "name": "$skip", + "in": "query", + "required": false, + "type": "integer" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "default": { + "type": "void" + } + } + }, + "V3CalendarPostItem": { + "path": "/{connectionId}/datasets/calendars/v3/tables/{table}/items", + "method": "POST", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "table", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "item", + "in": "body", + "required": true, + "type": "object" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "default": { + "type": "void" + } + } + }, + "V2CalendarGetItems": { + "path": "/{connectionId}/datasets/calendars/v2/tables/{table}/items", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "table", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$orderby", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer" + }, + { + "name": "$skip", + "in": "query", + "required": false, + "type": "integer" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "default": { + "type": "void" + } + } + }, + "V2CalendarPostItem": { + "path": "/{connectionId}/datasets/calendars/v2/tables/{table}/items", + "method": "POST", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "table", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "item", + "in": "body", + "required": true, + "type": "object" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "default": { + "type": "void" + } + } + }, + "GetEventsCalendarViewV2": { + "path": "/{connectionId}/datasets/calendars/v2/tables/items/calendarview", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "calendarId", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "startDateTimeOffset", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "endDateTimeOffset", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$orderby", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer" + }, + { + "name": "$skip", + "in": "query", + "required": false, + "type": "integer" + }, + { + "name": "search", + "in": "query", + "required": false, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "default": { + "type": "void" + } + } + }, + "V2CalendarGetItem": { + "path": "/{connectionId}/datasets/calendars/v2/tables/{table}/items/{id}", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "table", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "required": true, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "default": { + "type": "void" + } + } + }, + "V2CalendarPatchItem": { + "path": "/{connectionId}/datasets/calendars/v2/tables/{table}/items/{id}", + "method": "PATCH", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "table", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "item", + "in": "body", + "required": true, + "type": "object" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "default": { + "type": "void" + } + } + }, + "V3CalendarPatchItem": { + "path": "/{connectionId}/datasets/calendars/v3/tables/{table}/items/{id}", + "method": "PATCH", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "table", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "item", + "in": "body", + "required": true, + "type": "object" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "default": { + "type": "void" + } + } + }, + "CalendarGetOnNewItems": { + "path": "/{connectionId}/datasets/calendars/tables/{table}/onnewitems", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "table", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$orderby", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer" + }, + { + "name": "$skip", + "in": "query", + "required": false, + "type": "integer" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "default": { + "type": "void" + } + } + }, + "CalendarGetOnUpdatedItems": { + "path": "/{connectionId}/datasets/calendars/tables/{table}/onupdateditems", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "table", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$orderby", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer" + }, + { + "name": "$skip", + "in": "query", + "required": false, + "type": "integer" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "default": { + "type": "void" + } + } + }, + "ODataStyleGetOnNewItems": { + "path": "/{connectionId}/datasets({dataset})/tables({table})/onnewitems", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "dataset", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "table", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$orderby", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer" + }, + { + "name": "$skip", + "in": "query", + "required": false, + "type": "integer" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "default": { + "type": "void" + } + } + }, + "ODataStyleCalendarGetOnUpdatedItems": { + "path": "/{connectionId}/datasets({dataset})/tables({table})/onupdateditems", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "dataset", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "table", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$orderby", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer" + }, + { + "name": "$skip", + "in": "query", + "required": false, + "type": "integer" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "default": { + "type": "void" + } + } + }, + "CalendarGetOnNewItemsV2": { + "path": "/{connectionId}/datasets/calendars/v2/tables/{table}/onnewitems", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "table", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$orderby", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer" + }, + { + "name": "$skip", + "in": "query", + "required": false, + "type": "integer" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "default": { + "type": "void" + } + } + }, + "CalendarGetOnUpdatedItemsV2": { + "path": "/{connectionId}/datasets/calendars/v2/tables/{table}/onupdateditems", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "table", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$orderby", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer" + }, + { + "name": "$skip", + "in": "query", + "required": false, + "type": "integer" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "default": { + "type": "void" + } + } + }, + "CalendarGetOnChangedItems": { + "path": "/{connectionId}/datasets/calendars/tables/{table}/onchangeditems", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "table", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "incomingDays", + "in": "query", + "required": false, + "type": "integer" + }, + { + "name": "pastDays", + "in": "query", + "required": false, + "type": "integer" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "default": { + "type": "void" + } + } + }, + "CalendarGetOnChangedItemsV2": { + "path": "/{connectionId}/datasets/calendars/v2/tables/{table}/onchangeditems", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "table", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "incomingDays", + "in": "query", + "required": false, + "type": "integer" + }, + { + "name": "pastDays", + "in": "query", + "required": false, + "type": "integer" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "default": { + "type": "void" + } + } + }, + "ContactGetTables": { + "path": "/{connectionId}/datasets/contacts/tables", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "default": { + "type": "void" + } + } + }, + "ContactGetItems": { + "path": "/{connectionId}/datasets/contacts/tables/{table}/items", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "table", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$orderby", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer" + }, + { + "name": "$skip", + "in": "query", + "required": false, + "type": "integer" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "default": { + "type": "void" + } + } + }, + "ContactPostItem": { + "path": "/{connectionId}/datasets/contacts/tables/{table}/items", + "method": "POST", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "table", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "item", + "in": "body", + "required": true, + "type": "object" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "default": { + "type": "void" + } + } + }, + "ContactGetItem": { + "path": "/{connectionId}/datasets/contacts/tables/{table}/items/{id}", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "table", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "required": true, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "default": { + "type": "void" + } + } + }, + "ContactDeleteItem": { + "path": "/{connectionId}/datasets/contacts/tables/{table}/items/{id}", + "method": "DELETE", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "table", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "required": true, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "ContactPatchItem": { + "path": "/{connectionId}/datasets/contacts/tables/{table}/items/{id}", + "method": "PATCH", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "table", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "item", + "in": "body", + "required": true, + "type": "object" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "default": { + "type": "void" + } + } + }, + "GetDataSets": { + "path": "/{connectionId}/datasets", + "method": "GET", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "object" + }, + "default": { + "type": "void" + } + } + }, + "RespondToEvent": { + "path": "/{connectionId}/codeless/api/v2.0/me/events/{event_id}/{response}", + "method": "POST", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "event_id", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "response", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": false, + "type": "object" + } + ], + "responseInfo": { + "202": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "ForwardEmail": { + "path": "/{connectionId}/codeless/api/v2.0/me/messages/{message_id}/forward", + "method": "POST", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "message_id", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "type": "object" + } + ], + "responseInfo": { + "202": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "ReceiveResponseGet": { + "path": "/RecordResponse", + "method": "GET", + "parameters": [ + { + "name": "state", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "sig", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "showConfirm", + "in": "query", + "required": false, + "type": "boolean" + } + ], + "responseInfo": { + "200": { + "type": "string" + }, + "default": { + "type": "void" + } + } + }, + "ReceiveResponsePost": { + "path": "/RecordResponse", + "method": "POST", + "parameters": [ + { + "name": "state", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "sig", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "fromConfirm", + "in": "query", + "required": false, + "type": "boolean" + } + ], + "responseInfo": { + "200": { + "type": "string" + }, + "default": { + "type": "void" + } + } + }, + "ReceiveMailFromSubscription": { + "path": "/MailSubscriptionReceive", + "method": "POST", + "parameters": [ + { + "name": "state", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "subscriptionPayload", + "in": "body", + "required": true, + "type": "object" + }, + { + "name": "validationtoken", + "in": "query", + "required": false, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "ReceiveMailFromSubscriptionV2": { + "path": "/{subscribedConnectionId}/MailSubscriptionReceive", + "method": "POST", + "parameters": [ + { + "name": "state", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "subscriptionPayload", + "in": "body", + "required": true, + "type": "object" + }, + { + "name": "subscribedConnectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "validationtoken", + "in": "query", + "required": false, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "ReceiveEventFromSubscription": { + "path": "/EventSubscriptionReceive", + "method": "POST", + "parameters": [ + { + "name": "state", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "subscriptionPayload", + "in": "body", + "required": true, + "type": "object" + }, + { + "name": "validationtoken", + "in": "query", + "required": false, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "void" + }, + "default": { + "type": "void" + } + } + }, + "ReceiveEventFromSubscriptionV2": { + "path": "/{subscribedConnectionId}/EventSubscriptionReceive", + "method": "POST", + "parameters": [ + { + "name": "state", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "subscriptionPayload", + "in": "body", + "required": true, + "type": "object" + }, + { + "name": "subscribedConnectionId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "validationtoken", + "in": "query", + "required": false, + "type": "string" + } + ], + "responseInfo": { + "200": { + "type": "void" + }, + "default": { + "type": "void" + } + } + } + } + } +}; diff --git a/.power/schemas/outlook/outlook.Schema.json b/.power/schemas/outlook/outlook.Schema.json new file mode 100644 index 00000000..7fb78627 --- /dev/null +++ b/.power/schemas/outlook/outlook.Schema.json @@ -0,0 +1,11174 @@ +{ + "name": "shared_outlook", + "id": "/providers/Microsoft.PowerApps/apis/shared_outlook", + "type": "Microsoft.PowerApps/apis", + "properties": { + "displayName": "Outlook.com", + "iconUri": "https://conn-afd-prod-endpoint-bmc9bqahasf3grgk.b01.azurefd.net/releases/v1.0.1797/1.0.1797.4624/outlook/icon.png", + "iconBrandColor": "", + "apiEnvironment": "Shared", + "isCustomApi": false, + "blobUrisAreProxied": false, + "connectionParameters": { + "Token": { + "type": "oauthSetting", + "oAuthSettings": { + "identityProvider": "oauth2generic", + "clientId": "0004c632-673b-4105-9bb6-f3bbd2a927fe", + "scopes": [ + "https://outlook.office.com/mail.readwrite https://outlook.office.com/mail.send https://outlook.office.com/contacts.readwrite https://outlook.office.com/calendars.readwrite offline_access" + ], + "redirectMode": "Global", + "redirectUrl": "https://global.consent.azure-apim.net/redirect", + "properties": { + "IsFirstParty": "False", + "IsOnbehalfofLoginSupported": false + }, + "customParameters": { + "authorizationUrlTemplate": { + "value": "https://login.microsoftonline.com/consumers/oauth2/v2.0/authorize" + }, + "authorizationUrlQueryStringTemplate": { + "value": "?client_id={ClientId}&response_type=code&redirect_uri={RedirectUrl}&response_mode=query&scope={Scopes}&state={State}&prompt=select_account" + }, + "tokenUrlTemplate": { + "value": "https://login.microsoftonline.com/common/oauth2/v2.0/token" + }, + "tokenBodyTemplate": { + "value": "client_id={ClientId}&scope={Scopes}&code={Code}&redirect_uri={RedirectUrl}&grant_type=authorization_code&client_secret={ClientSecret}" + }, + "refreshUrlTemplate": { + "value": "https://login.microsoftonline.com/common/oauth2/v2.0/token" + }, + "refreshBodyTemplate": { + "value": "client_id={ClientId}&scope={Scopes}&refresh_token={RefreshToken}&redirect_uri={RedirectUrl}&grant_type=refresh_token&client_secret={ClientSecret}" + }, + "scopeListDelimiter": { + "value": " " + } + } + }, + "uiDefinition": { + "displayName": "Log in with Outlook.com Credentials", + "description": "Log in with Outlook.com Credentials", + "tooltip": "Provide Outlook.com Credentials", + "constraints": { + "required": "true" + } + } + } + }, + "swagger": { + "swagger": "2.0", + "info": { + "version": "1.0", + "title": "Outlook.com", + "description": "Outlook.com connector allows you to manage your mail, calendars, and contacts. You can perform various actions such as send mail, schedule meetings, add contacts, etc.", + "x-ms-api-annotation": { + "status": "Production" + }, + "x-ms-keywords": [ + "outlook" + ] + }, + "host": "51994809-1f1d-e67c-bf36-7188f4623750.08.common.europe002.azure-apihub.net", + "basePath": "/apim/outlook", + "schemes": [ + "https" + ], + "paths": { + "/{connectionId}/$metadata.json/datasets/calendars/tables/{table}": { + "get": { + "tags": [ + "CalendarsTableMetadata" + ], + "summary": "Get calendar metadata", + "description": "This operation gets metadata for a calendar.", + "operationId": "CalendarGetTable", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "table", + "in": "path", + "description": "Select a calendar.", + "required": true, + "x-ms-summary": "Folder id", + "x-ms-dynamic-values": { + "operationId": "CalendarGetTables", + "parameters": {}, + "value-collection": "value", + "value-path": "Name", + "value-title": "DisplayName" + }, + "x-ms-url-encoding": "double", + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/TableMetadata" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "internal", + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#get-calendar-metadata" + } + } + }, + "/{connectionId}/$metadata.json/datasets/contacts/tables/{table}": { + "get": { + "tags": [ + "ContactsTableMetadata" + ], + "summary": "Get folder metadata", + "description": "This operation gets metadata for a contacts folder.", + "operationId": "ContactGetTable", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "table", + "in": "path", + "description": "Select a contacts folder.", + "required": true, + "x-ms-summary": "Folder id", + "x-ms-dynamic-values": { + "operationId": "ContactGetTables", + "parameters": {}, + "value-collection": "value", + "value-path": "Name", + "value-title": "DisplayName" + }, + "x-ms-url-encoding": "double", + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/TableMetadata" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "internal", + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#get-folder-metadata" + } + } + }, + "/{connectionId}/Events/OnUpcomingEvents": { + "get": { + "tags": [ + "Events" + ], + "summary": "When an upcoming event is starting soon", + "description": "This operation triggers a flow when an upcoming calendar event is starting.", + "operationId": "OnUpcomingEvents", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "table", + "in": "query", + "description": "Unique identifier of the calendar.", + "required": true, + "x-ms-summary": "Calendar Id", + "x-ms-dynamic-values": { + "operationId": "CalendarGetTables", + "parameters": {}, + "value-collection": "value", + "value-path": "Name", + "value-title": "DisplayName" + }, + "type": "string" + }, + { + "name": "lookAheadTimeInMinutes", + "in": "query", + "description": "Time (in minutes) to look ahead for upcoming events.", + "required": false, + "x-ms-summary": "Look-Ahead Time", + "x-ms-visibility": "advanced", + "type": "integer", + "format": "int32", + "default": 15 + } + ], + "responses": { + "200": { + "description": "Operation was successful", + "schema": { + "$ref": "#/definitions/CalendarEventList" + } + }, + "202": { + "description": "Operation was successful" + }, + "400": { + "description": "BadRequest" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "500": { + "description": "Internal Server Error" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": true, + "x-ms-trigger": "batch", + "x-ms-trigger-hint": "To see it work now, create a calendar item that is starting soon.", + "x-ms-api-annotation": { + "status": "Production", + "family": "CalendarGetOnSoonEvents", + "revision": 1 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#when-an-upcoming-event-is-starting-soon-%5bdeprecated%5d" + } + } + }, + "/{connectionId}/v2/Events/OnUpcomingEvents": { + "get": { + "tags": [ + "Events" + ], + "summary": "When an upcoming event is starting soon (V2)", + "description": "This operation triggers a flow when an upcoming calendar event is starting.", + "operationId": "OnUpcomingEventsV2", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "table", + "in": "query", + "description": "Unique identifier of the calendar.", + "required": true, + "x-ms-summary": "Calendar Id", + "x-ms-dynamic-values": { + "operationId": "CalendarGetTables", + "parameters": {}, + "value-collection": "value", + "value-path": "Name", + "value-title": "DisplayName" + }, + "type": "string" + }, + { + "name": "lookAheadTimeInMinutes", + "in": "query", + "description": "Time (in minutes) to look ahead for upcoming events.", + "required": false, + "x-ms-summary": "Look-Ahead Time", + "x-ms-visibility": "advanced", + "type": "integer", + "format": "int32", + "default": 15 + } + ], + "responses": { + "200": { + "description": "Operation was successful", + "schema": { + "$ref": "#/definitions/CalendarEventListClientReceive" + } + }, + "202": { + "description": "Operation was successful" + }, + "400": { + "description": "BadRequest" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "500": { + "description": "Internal Server Error" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-trigger": "batch", + "x-ms-trigger-hint": "To see it work now, create a calendar item that is starting soon.", + "x-ms-api-annotation": { + "status": "Production", + "family": "CalendarGetOnSoonEvents", + "revision": 2 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#when-an-upcoming-event-is-starting-soon-(v2)" + } + } + }, + "/{connectionId}/Events/CalendarView": { + "get": { + "tags": [ + "Events" + ], + "summary": "Get calendar view of events", + "description": "Get calendar view of events.", + "operationId": "GetEventsCalendarView", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "calendarId", + "in": "query", + "description": "Select a calendar.", + "required": true, + "x-ms-summary": "Calendar Id", + "x-ms-dynamic-values": { + "operationId": "CalendarGetTables", + "parameters": {}, + "value-collection": "value", + "value-path": "Name", + "value-title": "DisplayName" + }, + "type": "string" + }, + { + "name": "startDateTimeOffset", + "in": "query", + "description": "Start time (example: '2017-01-01T08:00:00-07:00').", + "required": true, + "x-ms-summary": "Start Time", + "type": "string" + }, + { + "name": "endDateTimeOffset", + "in": "query", + "description": "End time (example: '2017-02-01T08:00:00-07:00').", + "required": true, + "x-ms-summary": "End Time", + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PaginatedListResponse[CalendarEventClientReceiveStringEnums]" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": true, + "x-ms-api-annotation": { + "status": "Production", + "family": "GetEventsCalendarView", + "revision": 1 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#get-calendar-view-of-events-%5bdeprecated%5d" + } + } + }, + "/{connectionId}/{table}/EventSubscriptionPoke/$subscriptions": { + "post": { + "tags": [ + "EventSubscription" + ], + "summary": "When an event is added, updated or deleted in a calendar - Outlook subscription", + "description": "Create an Outlook webhook subscription for the trigger when an event is added, updated or deleted in a calendar.", + "operationId": "CreateOnChangedEventPokeSubscription", + "consumes": [ + "application/json", + "text/json", + "application/xml", + "text/xml", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "subscription", + "in": "body", + "description": "The subscription.", + "required": true, + "schema": { + "$ref": "#/definitions/ClientSubscription" + }, + "x-ms-summary": "The subscription" + }, + { + "name": "table", + "in": "path", + "description": "Select a calendar.", + "required": true, + "x-ms-summary": "Calendar id", + "x-ms-dynamic-values": { + "operationId": "CalendarGetTables", + "parameters": {}, + "value-collection": "value", + "value-path": "Name", + "value-title": "DisplayName" + }, + "x-ms-url-encoding": "double", + "type": "string" + }, + { + "name": "incomingDays", + "in": "query", + "description": "Number of incoming days in calendar to be tracked.", + "required": false, + "x-ms-summary": "Incoming Days Tracked", + "x-ms-visibility": "advanced", + "type": "integer", + "format": "int32", + "default": 300 + }, + { + "name": "pastDays", + "in": "query", + "description": "Number of past days in calendar to be tracked.", + "required": false, + "x-ms-summary": "Past Days Tracked", + "x-ms-visibility": "advanced", + "type": "integer", + "format": "int32", + "default": 50 + } + ], + "responses": { + "201": { + "description": "Subscription Created", + "schema": { + "$ref": "#/definitions/SubscriptionResponse" + } + }, + "400": { + "description": "BadRequest" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "500": { + "description": "Internal Server Error" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "internal", + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#when-an-event-is-added%2c-updated-or-deleted-in-a-calendar---outlook-subscription" + } + }, + "x-ms-notification-content": { + "description": "Poke notification", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + } + ] + } + }, + "/{connectionId}/EventSubscription/$subscriptions/{id}": { + "delete": { + "tags": [ + "EventSubscription" + ], + "summary": "Delete event subscription", + "description": "This operation deletes an event subscription.", + "operationId": "DeleteEventSubscription", + "consumes": [], + "produces": [], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "Id of subscription to be deleted.", + "required": true, + "x-ms-summary": "Id of subscription to be deleted", + "type": "string" + }, + { + "name": "options", + "in": "query", + "description": "Subscription options.", + "required": true, + "x-ms-summary": "Subscription options", + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "400": { + "description": "BadRequest" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "500": { + "description": "Internal Server Error" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "internal", + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#delete-event-subscription" + } + }, + "patch": { + "tags": [ + "EventSubscription" + ], + "summary": "Update web hook", + "description": "Update web hook with renew interval.", + "operationId": "RenewEventSubscription", + "consumes": [ + "application/json", + "text/json", + "application/xml", + "text/xml", + "application/x-www-form-urlencoded" + ], + "produces": [], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "Id of subscription to be renewed.", + "required": true, + "x-ms-summary": "Id of subscription to be renewed", + "type": "string" + }, + { + "name": "options", + "in": "query", + "description": "Subscription options.", + "required": true, + "x-ms-summary": "Subscription options", + "type": "string" + }, + { + "name": "subscription", + "in": "body", + "description": "The subscription.", + "required": true, + "schema": { + "$ref": "#/definitions/ClientSubscription" + }, + "x-ms-summary": "The subscription" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "201": { + "description": "Subscription Created" + }, + "400": { + "description": "BadRequest" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "500": { + "description": "Internal Server Error" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "internal", + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#update-web-hook" + } + } + }, + "/{connectionId}/OnFilePickerOpen": { + "get": { + "tags": [ + "FilePicker" + ], + "summary": "When the file picker is opened for the first time", + "description": "When the file picker is opened for the first time.", + "operationId": "OnFilePickerOpen", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "operation", + "in": "query", + "description": "Name of the operation.", + "required": true, + "x-ms-summary": "Name of the operation", + "type": "string" + }, + { + "name": "top", + "in": "query", + "description": "Limit on the number of results to return.", + "required": false, + "x-ms-summary": "Limit on the number of results to return", + "type": "integer", + "format": "int32", + "default": 100 + }, + { + "name": "skip", + "in": "query", + "description": "Number of results to skip.", + "required": false, + "x-ms-summary": "Number of results to skip", + "type": "integer", + "format": "int32", + "default": 0 + }, + { + "name": "mailboxAddress", + "in": "query", + "description": "Mailbox to perform operations for.", + "required": false, + "x-ms-summary": "Mailbox to perform operations for", + "type": "string", + "default": "" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/EntityListResponse[FilePickerFile]" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "internal", + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#when-the-file-picker-is-opened-for-the-first-time" + } + } + }, + "/{connectionId}/OnFilePickerBrowse": { + "get": { + "tags": [ + "FilePicker" + ], + "summary": "When the file picker is open and being browsed", + "description": "When the file picker is open and being browsed.", + "operationId": "OnFilePickerBrowse", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "operation", + "in": "query", + "description": "Name of the operation.", + "required": true, + "x-ms-summary": "Name of the operation", + "type": "string" + }, + { + "name": "id", + "in": "query", + "description": "Id of the previously selected item.", + "required": true, + "x-ms-summary": "Id of the previously selected item", + "type": "string" + }, + { + "name": "top", + "in": "query", + "description": "Limit on the number of results to return.", + "required": false, + "x-ms-summary": "Limit on the number of results to return", + "type": "integer", + "format": "int32", + "default": 100 + }, + { + "name": "skip", + "in": "query", + "description": "Number of results to skip.", + "required": false, + "x-ms-summary": "Number of results to skip", + "type": "integer", + "format": "int32", + "default": 0 + }, + { + "name": "mailboxAddress", + "in": "query", + "description": "Mailbox to perform operations for.", + "required": false, + "x-ms-summary": "Mailbox to perform operations for", + "type": "string", + "default": "" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/EntityListResponse[FilePickerFile]" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "internal", + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#when-the-file-picker-is-open-and-being-browsed" + } + } + }, + "/{connectionId}/Mail": { + "get": { + "tags": [ + "Mail" + ], + "summary": "Get emails", + "description": "This operation gets emails from a folder.", + "operationId": "GetEmails", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "folderPath", + "in": "query", + "description": "Mail folder to retrieve emails from (default: 'Inbox').", + "required": false, + "x-ms-summary": "Folder", + "x-ms-dynamic-values": { + "capability": "file-picker", + "parameters": { + "isFolder": true, + "operation": "MailFolders", + "fileFilter": [], + "dataset": null + }, + "value-path": "Id" + }, + "x-ms-dynamic-tree": { + "settings": { + "canSelectParentNodes": true, + "canSelectLeafNodes": false + }, + "open": { + "operationId": "OnFilePickerOpen", + "itemValuePath": "Id", + "itemTitlePath": "DisplayName", + "itemIsParent": "(IsFolder eq true)", + "itemFullTitlePath": "Path", + "itemsPath": "value", + "parameters": { + "operation": { + "value": "MailFolders" + } + } + }, + "browse": { + "operationId": "OnFilePickerBrowse", + "itemValuePath": "Id", + "itemTitlePath": "DisplayName", + "itemIsParent": "(IsFolder eq true)", + "itemFullTitlePath": "Path", + "itemsPath": "value", + "parameters": { + "id": { + "selectedItemValuePath": "Id" + }, + "operation": { + "value": "MailFolders" + } + } + } + }, + "type": "string", + "default": "Inbox" + }, + { + "name": "fetchOnlyUnread", + "in": "query", + "description": "Retrieve only unread emails?.", + "required": false, + "x-ms-summary": "Fetch Only Unread Messages", + "type": "boolean", + "default": true + }, + { + "name": "includeAttachments", + "in": "query", + "description": "If set to true, attachments content will also be retrieved along with the email.", + "required": false, + "x-ms-summary": "Include Attachments", + "type": "boolean", + "default": false + }, + { + "name": "searchQuery", + "in": "query", + "description": "Search query (like in the Outlook client) to filter emails.", + "required": false, + "x-ms-summary": "Search Query", + "type": "string" + }, + { + "name": "top", + "in": "query", + "description": "Number of emails to retrieve (default: 10).", + "required": false, + "x-ms-summary": "Top", + "type": "integer", + "format": "int32", + "default": 10 + }, + { + "name": "skip", + "in": "query", + "description": "Number of emails to skip (default: 0).", + "required": false, + "x-ms-summary": "Skip", + "x-ms-visibility": "internal", + "type": "integer", + "format": "int32", + "default": 0 + } + ], + "responses": { + "200": { + "description": "Operation was successful", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/ClientReceiveMessageStringEnums" + } + } + }, + "400": { + "description": "BadRequest" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "500": { + "description": "Internal Server Error" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": true, + "x-ms-visibility": "advanced", + "x-ms-api-annotation": { + "status": "Production", + "family": "GetEmails", + "revision": 1 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#get-emails-%5bdeprecated%5d" + } + }, + "post": { + "tags": [ + "Mail" + ], + "summary": "Send an email", + "description": "This operation sends an email message.", + "operationId": "SendEmail", + "consumes": [ + "application/json", + "text/json", + "application/xml", + "text/xml", + "application/x-www-form-urlencoded" + ], + "produces": [], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "emailMessage", + "in": "body", + "description": "Email.", + "required": true, + "schema": { + "$ref": "#/definitions/ClientSendMessage" + }, + "x-ms-summary": "Email" + } + ], + "responses": { + "200": { + "description": "Operation was successful" + }, + "400": { + "description": "BadRequest" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "500": { + "description": "Internal Server Error" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": true, + "x-ms-visibility": "important", + "x-ms-api-annotation": { + "status": "Production", + "family": "SendEmail", + "revision": 1 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#send-an-email-%5bdeprecated%5d" + } + } + }, + "/{connectionId}/v2/Mail": { + "get": { + "tags": [ + "Mail" + ], + "summary": "Get emails (V2)", + "description": "This operation gets emails from a folder.", + "operationId": "GetEmailsV2", + "consumes": [], + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "folderPath", + "in": "query", + "description": "Mail folder to retrieve emails from (default: 'Inbox').", + "required": false, + "x-ms-summary": "Folder", + "x-ms-dynamic-values": { + "capability": "file-picker", + "parameters": { + "isFolder": true, + "operation": "MailFolders", + "fileFilter": [], + "dataset": null + }, + "value-path": "Id" + }, + "x-ms-dynamic-tree": { + "settings": { + "canSelectParentNodes": true, + "canSelectLeafNodes": false + }, + "open": { + "operationId": "OnFilePickerOpen", + "itemValuePath": "Id", + "itemTitlePath": "DisplayName", + "itemIsParent": "(IsFolder eq true)", + "itemFullTitlePath": "Path", + "itemsPath": "value", + "parameters": { + "operation": { + "value": "MailFolders" + } + } + }, + "browse": { + "operationId": "OnFilePickerBrowse", + "itemValuePath": "Id", + "itemTitlePath": "DisplayName", + "itemIsParent": "(IsFolder eq true)", + "itemFullTitlePath": "Path", + "itemsPath": "value", + "parameters": { + "id": { + "selectedItemValuePath": "Id" + }, + "operation": { + "value": "MailFolders" + } + } + } + }, + "type": "string", + "default": "Inbox" + }, + { + "name": "to", + "in": "query", + "description": "Recipient email addresses separated by semicolons (If any match, the trigger will run).", + "required": false, + "x-ms-summary": "To", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + }, + "type": "string", + "format": "email" + }, + { + "name": "cc", + "in": "query", + "description": "CC recipient email addresses separated by semicolons (If any match, the trigger will run).", + "required": false, + "x-ms-summary": "CC", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + }, + "type": "string", + "format": "email" + }, + { + "name": "toOrCc", + "in": "query", + "description": "To or CC recipient email addresses separated by semicolons (If any match, the trigger will run).", + "required": false, + "x-ms-summary": "To or CC", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + }, + "type": "string", + "format": "email" + }, + { + "name": "from", + "in": "query", + "description": "Sender email addresses separated by semicolons (If any match, the trigger will run).", + "required": false, + "x-ms-summary": "From", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + }, + "type": "string", + "format": "email" + }, + { + "name": "importance", + "in": "query", + "description": "Importance of the email (Any, High, Normal, Low).", + "required": false, + "x-ms-summary": "Importance", + "x-ms-visibility": "advanced", + "type": "string", + "default": "Any", + "enum": [ + "Any", + "Low", + "Normal", + "High" + ] + }, + { + "name": "fetchOnlyWithAttachment", + "in": "query", + "description": "If set to true, only emails with an attachment will be retrieved. Emails without any attachments will be skipped. If set to false, all emails will be retrieved.", + "required": false, + "x-ms-summary": "Only with Attachments", + "x-ms-visibility": "advanced", + "type": "boolean", + "default": false + }, + { + "name": "subjectFilter", + "in": "query", + "description": "String to look for in the subject line.", + "required": false, + "x-ms-summary": "Subject Filter", + "x-ms-visibility": "advanced", + "type": "string" + }, + { + "name": "fetchOnlyUnread", + "in": "query", + "description": "Retrieve only unread emails?.", + "required": false, + "x-ms-summary": "Fetch Only Unread Messages", + "type": "boolean", + "default": true + }, + { + "name": "fetchOnlyFlagged", + "in": "query", + "description": "Retrieve only flagged emails?.", + "required": false, + "x-ms-summary": "Fetch Only Flagged Messages", + "x-ms-visibility": "internal", + "type": "boolean", + "default": false + }, + { + "name": "mailboxAddress", + "in": "query", + "description": "Address of the shared mailbox.", + "required": false, + "x-ms-summary": "Original Mailbox Address", + "x-ms-visibility": "internal", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + }, + "type": "string" + }, + { + "name": "includeAttachments", + "in": "query", + "description": "If set to true, attachments content will also be retrieved along with the email.", + "required": false, + "x-ms-summary": "Include Attachments", + "type": "boolean", + "default": false + }, + { + "name": "searchQuery", + "in": "query", + "description": "Search query to filter emails. How to use '$search' parameter please refer to: https://docs.microsoft.com/previous-versions/office/office-365-api/api/version-2.0/complex-types-for-mail-contacts-calendar#search-requests.", + "required": false, + "x-ms-summary": "Search Query", + "type": "string" + }, + { + "name": "top", + "in": "query", + "description": "Number of emails to retrieve (default: 10).", + "required": false, + "x-ms-summary": "Top", + "type": "integer", + "format": "int32", + "default": 10 + } + ], + "responses": { + "200": { + "description": "Operation was successful", + "schema": { + "$ref": "#/definitions/BatchResponse[ClientReceiveMessage]" + } + }, + "400": { + "description": "BadRequest" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "500": { + "description": "Internal Server Error" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "advanced", + "x-ms-api-annotation": { + "status": "Production", + "family": "GetEmails", + "revision": 2 + }, + "x-ms-openai-data": { + "openai-enabled": true + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#get-emails-(v2)" + } + }, + "post": { + "tags": [ + "Mail" + ], + "summary": "Send an email (V2)", + "description": "This operation sends an email message.", + "operationId": "SendEmailV2", + "consumes": [ + "application/json", + "text/json", + "application/xml", + "text/xml", + "application/x-www-form-urlencoded" + ], + "produces": [], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "emailMessage", + "in": "body", + "description": "Email.", + "required": true, + "schema": { + "$ref": "#/definitions/ClientSendHtmlMessage" + }, + "x-ms-summary": "Email" + } + ], + "responses": { + "200": { + "description": "Operation was successful" + }, + "400": { + "description": "BadRequest" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "500": { + "description": "Internal Server Error" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "important", + "x-ms-api-annotation": { + "status": "Production", + "family": "SendEmail", + "revision": 2 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#send-an-email-(v2)" + } + } + }, + "/{connectionId}/Mail/{messageId}": { + "get": { + "tags": [ + "Mail" + ], + "summary": "Get email", + "description": "This operation gets an email by id.", + "operationId": "GetEmail", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "messageId", + "in": "path", + "description": "Id of the email.", + "required": true, + "x-ms-summary": "Message Id", + "type": "string" + }, + { + "name": "includeAttachments", + "in": "query", + "description": "If set to true, attachments content will also be retrieved along with the email.", + "required": false, + "x-ms-summary": "Include Attachments", + "type": "boolean", + "default": false + }, + { + "name": "internetMessageId", + "in": "query", + "description": "Internet Message Id.", + "required": false, + "x-ms-summary": "Internet Message Id", + "x-ms-visibility": "advanced", + "type": "string" + } + ], + "responses": { + "200": { + "description": "Operation was successful", + "schema": { + "$ref": "#/definitions/ClientReceiveMessage" + } + }, + "400": { + "description": "BadRequest" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "500": { + "description": "Internal Server Error" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "advanced", + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#get-email" + } + }, + "delete": { + "tags": [ + "Mail" + ], + "summary": "Delete email", + "description": "This operation deletes an email by id.", + "operationId": "DeleteEmail", + "consumes": [], + "produces": [], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "messageId", + "in": "path", + "description": "Id of the email to delete.", + "required": true, + "x-ms-summary": "Message Id", + "type": "string" + } + ], + "responses": { + "200": { + "description": "Operation was successful" + }, + "400": { + "description": "BadRequest" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "500": { + "description": "Internal Server Error" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "advanced", + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#delete-email" + } + } + }, + "/{connectionId}/Mail/Move/{messageId}": { + "post": { + "tags": [ + "Mail" + ], + "summary": "Move email", + "description": "This operation moves an email to the specified folder.", + "operationId": "Move", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "messageId", + "in": "path", + "description": "Id of the email to be moved.", + "required": true, + "x-ms-summary": "Message Id", + "type": "string" + }, + { + "name": "folderPath", + "in": "query", + "description": "Mail folder to move the email to.", + "required": true, + "x-ms-summary": "Folder", + "x-ms-dynamic-values": { + "capability": "file-picker", + "parameters": { + "isFolder": true, + "operation": "MailFolders", + "fileFilter": [], + "dataset": null + }, + "value-path": "Id" + }, + "x-ms-dynamic-tree": { + "settings": { + "canSelectParentNodes": true, + "canSelectLeafNodes": false + }, + "open": { + "operationId": "OnFilePickerOpen", + "itemValuePath": "Id", + "itemTitlePath": "DisplayName", + "itemIsParent": "(IsFolder eq true)", + "itemFullTitlePath": "Path", + "itemsPath": "value", + "parameters": { + "operation": { + "value": "MailFolders" + } + } + }, + "browse": { + "operationId": "OnFilePickerBrowse", + "itemValuePath": "Id", + "itemTitlePath": "DisplayName", + "itemIsParent": "(IsFolder eq true)", + "itemFullTitlePath": "Path", + "itemsPath": "value", + "parameters": { + "id": { + "selectedItemValuePath": "Id" + }, + "operation": { + "value": "MailFolders" + } + } + } + }, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Operation was successful", + "schema": { + "$ref": "#/definitions/ClientReceiveMessageStringEnums" + } + }, + "400": { + "description": "BadRequest" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "500": { + "description": "Internal Server Error" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "advanced", + "x-ms-api-annotation": { + "status": "Production" + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#move-email" + } + } + }, + "/{connectionId}/Mail/Flag/{messageId}": { + "post": { + "tags": [ + "Mail" + ], + "summary": "Flag email", + "description": "This operation flags an email.", + "operationId": "Flag", + "consumes": [], + "produces": [], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "messageId", + "in": "path", + "description": "Id of the email to be flagged.", + "required": true, + "x-ms-summary": "Message Id", + "type": "string" + } + ], + "responses": { + "200": { + "description": "Operation was successful" + }, + "400": { + "description": "BadRequest" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "500": { + "description": "Internal Server Error" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "advanced", + "x-ms-api-annotation": { + "status": "Production" + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#flag-email" + } + } + }, + "/{connectionId}/Mail/MarkAsRead/{messageId}": { + "post": { + "tags": [ + "Mail" + ], + "summary": "Mark as read", + "description": "This operation marks an email as having been read.", + "operationId": "MarkAsRead", + "consumes": [], + "produces": [], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "messageId", + "in": "path", + "description": "Id of the email to be marked as read.", + "required": true, + "x-ms-summary": "Message Id", + "type": "string" + } + ], + "responses": { + "200": { + "description": "Operation was successful" + }, + "400": { + "description": "BadRequest" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "500": { + "description": "Internal Server Error" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "advanced", + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#mark-as-read" + } + } + }, + "/{connectionId}/Mail/ReplyTo/{messageId}": { + "post": { + "tags": [ + "Mail" + ], + "summary": "Reply to email", + "description": "This operation replies to an email.", + "operationId": "ReplyTo", + "consumes": [], + "produces": [], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "messageId", + "in": "path", + "description": "Id of the email to reply to.", + "required": true, + "x-ms-summary": "Message Id", + "type": "string" + }, + { + "name": "comment", + "in": "query", + "description": "Reply comment.", + "required": true, + "x-ms-summary": "Comment", + "type": "string" + }, + { + "name": "replyAll", + "in": "query", + "description": "Reply to all recipients.", + "required": false, + "x-ms-summary": "Reply All", + "type": "boolean", + "default": false + } + ], + "responses": { + "200": { + "description": "Operation was successful" + }, + "400": { + "description": "BadRequest" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "500": { + "description": "Internal Server Error" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": true, + "x-ms-api-annotation": { + "status": "Production", + "family": "ReplyTo", + "revision": 1 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#reply-to-email-%5bdeprecated%5d" + } + } + }, + "/{connectionId}/v2/Mail/ReplyTo/{messageId}": { + "post": { + "tags": [ + "Mail" + ], + "summary": "Reply to email (V2)", + "description": "This operation replies to an email.", + "operationId": "ReplyToV2", + "consumes": [ + "application/json", + "text/json", + "application/xml", + "text/xml", + "application/x-www-form-urlencoded" + ], + "produces": [], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "messageId", + "in": "path", + "description": "Id of the email to reply to.", + "required": true, + "x-ms-summary": "Message Id", + "type": "string" + }, + { + "name": "replyParameters", + "in": "body", + "description": "Details of the email reply.", + "required": true, + "schema": { + "$ref": "#/definitions/ReplyMessage" + }, + "x-ms-summary": "Details of the email reply." + } + ], + "responses": { + "200": { + "description": "Operation was successful" + }, + "400": { + "description": "BadRequest" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "500": { + "description": "Internal Server Error" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": true, + "x-ms-api-annotation": { + "status": "Production", + "family": "ReplyTo", + "revision": 2 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#reply-to-email-(v2)-%5bdeprecated%5d" + } + } + }, + "/{connectionId}/v3/Mail/ReplyTo/{messageId}": { + "post": { + "tags": [ + "Mail" + ], + "summary": "Reply to email (V3)", + "description": "This operation replies to an email.", + "operationId": "ReplyToV3", + "consumes": [ + "application/json", + "text/json", + "application/xml", + "text/xml", + "application/x-www-form-urlencoded" + ], + "produces": [], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "messageId", + "in": "path", + "description": "Id of the email to reply to.", + "required": true, + "x-ms-summary": "Message Id", + "type": "string" + }, + { + "name": "replyParameters", + "in": "body", + "description": "Details of the email reply.", + "required": true, + "schema": { + "$ref": "#/definitions/ReplyHtmlMessage" + }, + "x-ms-summary": "Details of the email reply." + } + ], + "responses": { + "200": { + "description": "Operation was successful" + }, + "400": { + "description": "BadRequest" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "500": { + "description": "Internal Server Error" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-api-annotation": { + "status": "Production", + "family": "ReplyTo", + "revision": 3 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#reply-to-email-(v3)" + } + } + }, + "/{connectionId}/Mail/{messageId}/Attachments/{attachmentId}": { + "get": { + "tags": [ + "Mail" + ], + "summary": "Get attachment", + "description": "This operation gets an email attachment by id.", + "operationId": "GetAttachment", + "consumes": [], + "produces": [], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "messageId", + "in": "path", + "description": "Id of the email.", + "required": true, + "x-ms-summary": "Message Id", + "type": "string" + }, + { + "name": "attachmentId", + "in": "path", + "description": "Id of the attachment to download.", + "required": true, + "x-ms-summary": "Attachment Id", + "type": "string" + } + ], + "responses": { + "200": { + "description": "Operation was successful", + "schema": { + "format": "binary", + "type": "string" + } + }, + "400": { + "description": "BadRequest" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "500": { + "description": "Internal Server Error" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "advanced", + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#get-attachment" + } + } + }, + "/{connectionId}/Mail/OnNewEmail": { + "get": { + "tags": [ + "Mail" + ], + "summary": "When a new email arrives", + "description": "This operation triggers a flow when a new email arrives. It will skip any email that has a total message size greater than the limit put by your Exchange Admin or 50 MB, whichever is less. It may also skip protected emails and emails with invalid body or attachments.", + "operationId": "OnNewEmail", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "folderPath", + "in": "query", + "description": "Mail folder to check for new emails.", + "required": false, + "x-ms-summary": "Folder", + "x-ms-dynamic-values": { + "capability": "file-picker", + "parameters": { + "isFolder": true, + "operation": "MailFolders", + "fileFilter": [], + "dataset": null + }, + "value-path": "Id" + }, + "x-ms-dynamic-tree": { + "settings": { + "canSelectParentNodes": true, + "canSelectLeafNodes": false + }, + "open": { + "operationId": "OnFilePickerOpen", + "itemValuePath": "Id", + "itemTitlePath": "DisplayName", + "itemIsParent": "(IsFolder eq true)", + "itemFullTitlePath": "Path", + "itemsPath": "value", + "parameters": { + "operation": { + "value": "MailFolders" + } + } + }, + "browse": { + "operationId": "OnFilePickerBrowse", + "itemValuePath": "Id", + "itemTitlePath": "DisplayName", + "itemIsParent": "(IsFolder eq true)", + "itemFullTitlePath": "Path", + "itemsPath": "value", + "parameters": { + "id": { + "selectedItemValuePath": "Id" + }, + "operation": { + "value": "MailFolders" + } + } + } + }, + "type": "string", + "default": "Inbox" + }, + { + "name": "to", + "in": "query", + "description": "Recipient email addresses separated by semicolons (If any match, the trigger will run).", + "required": false, + "x-ms-summary": "To", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + }, + "type": "string", + "format": "email" + }, + { + "name": "cc", + "in": "query", + "description": "CC recipient email addresses separated by semicolons (If any match, the trigger will run).", + "required": false, + "x-ms-summary": "CC", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + }, + "type": "string", + "format": "email" + }, + { + "name": "toOrCc", + "in": "query", + "description": "To or CC recipient email addresses separated by semicolons (If any match, the trigger will run).", + "required": false, + "x-ms-summary": "To or CC", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + }, + "type": "string", + "format": "email" + }, + { + "name": "from", + "in": "query", + "description": "Sender email addresses separated by semicolons (If any match, the trigger will run).", + "required": false, + "x-ms-summary": "From", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + }, + "type": "string", + "format": "email" + }, + { + "name": "importance", + "in": "query", + "description": "Importance of the email (Any, High, Normal, Low).", + "required": false, + "x-ms-summary": "Importance", + "x-ms-visibility": "advanced", + "type": "string", + "default": "Any", + "enum": [ + "Any", + "Low", + "Normal", + "High" + ] + }, + { + "name": "fetchOnlyWithAttachment", + "in": "query", + "description": "If set to true, only emails with an attachment will be retrieved. Emails without any attachments will be skipped. If set to false, all emails will be retrieved.", + "required": false, + "x-ms-summary": "Only with Attachments", + "x-ms-visibility": "advanced", + "type": "boolean", + "default": false + }, + { + "name": "includeAttachments", + "in": "query", + "description": "Should the response of the trigger include the attachments content.", + "required": false, + "x-ms-summary": "Include Attachments", + "x-ms-visibility": "advanced", + "type": "boolean", + "default": false + }, + { + "name": "subjectFilter", + "in": "query", + "description": "String to look for in the subject line.", + "required": false, + "x-ms-summary": "Subject Filter", + "x-ms-visibility": "advanced", + "type": "string" + }, + { + "name": "x-ms-operation-context", + "in": "header", + "description": "Special header to enable operation simulation.", + "required": false, + "x-ms-summary": "x-ms-operation-context", + "x-ms-visibility": "internal", + "type": "string" + } + ], + "responses": { + "200": { + "description": "Operation was successful", + "schema": { + "$ref": "#/definitions/TriggerBatchResponse[ClientReceiveMessage]" + } + }, + "202": { + "description": "Accepted" + }, + "400": { + "description": "BadRequest" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "500": { + "description": "Internal Server Error" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": true, + "x-ms-visibility": "important", + "x-ms-trigger": "batch", + "x-ms-trigger-hint": "To see it work now, send a new email in your inbox.", + "x-ms-api-annotation": { + "status": "Production", + "family": "OnNewEmail", + "revision": 1 + }, + "x-ms-operation-context": { + "simulate": { + "operationId": "GetEmailsV2", + "parameters": { + "top": 1, + "fetchOnlyUnread": false + } + } + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#when-a-new-email-arrives-%5bdeprecated%5d" + } + } + }, + "/{connectionId}/v2/Mail/OnNewEmail": { + "get": { + "tags": [ + "Mail" + ], + "summary": "When a new email arrives (V2)", + "description": "This operation triggers a flow when a new email arrives. It will skip any email that has a total message size greater than the limit put by your Exchange Admin or 50 MB, whichever is less. It may also skip protected emails and emails with invalid body or attachments.", + "operationId": "OnNewEmailV2", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "folderPath", + "in": "query", + "description": "Mail folder to check for new emails.", + "required": false, + "x-ms-summary": "Folder", + "x-ms-dynamic-values": { + "capability": "file-picker", + "parameters": { + "isFolder": true, + "operation": "MailFolders", + "fileFilter": [], + "dataset": null + }, + "value-path": "Id" + }, + "x-ms-dynamic-tree": { + "settings": { + "canSelectParentNodes": true, + "canSelectLeafNodes": false + }, + "open": { + "operationId": "OnFilePickerOpen", + "itemValuePath": "Id", + "itemTitlePath": "DisplayName", + "itemIsParent": "(IsFolder eq true)", + "itemFullTitlePath": "Path", + "itemsPath": "value", + "parameters": { + "operation": { + "value": "MailFolders" + } + } + }, + "browse": { + "operationId": "OnFilePickerBrowse", + "itemValuePath": "Id", + "itemTitlePath": "DisplayName", + "itemIsParent": "(IsFolder eq true)", + "itemFullTitlePath": "Path", + "itemsPath": "value", + "parameters": { + "id": { + "selectedItemValuePath": "Id" + }, + "operation": { + "value": "MailFolders" + } + } + } + }, + "type": "string", + "default": "Inbox" + }, + { + "name": "to", + "in": "query", + "description": "Recipient email addresses separated by semicolons (If any match, the trigger will run).", + "required": false, + "x-ms-summary": "To", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + }, + "type": "string", + "format": "email" + }, + { + "name": "cc", + "in": "query", + "description": "CC recipient email addresses separated by semicolons (If any match, the trigger will run).", + "required": false, + "x-ms-summary": "CC", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + }, + "type": "string", + "format": "email" + }, + { + "name": "toOrCc", + "in": "query", + "description": "To or CC recipient email addresses separated by semicolons (If any match, the trigger will run).", + "required": false, + "x-ms-summary": "To or CC", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + }, + "type": "string", + "format": "email" + }, + { + "name": "from", + "in": "query", + "description": "Sender email addresses separated by semicolons (If any match, the trigger will run).", + "required": false, + "x-ms-summary": "From", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + }, + "type": "string", + "format": "email" + }, + { + "name": "importance", + "in": "query", + "description": "Importance of the email (Any, High, Normal, Low).", + "required": false, + "x-ms-summary": "Importance", + "x-ms-visibility": "advanced", + "type": "string", + "default": "Any", + "enum": [ + "Any", + "Low", + "Normal", + "High" + ] + }, + { + "name": "fetchOnlyWithAttachment", + "in": "query", + "description": "If set to true, only emails with an attachment will be retrieved. Emails without any attachments will be skipped. If set to false, all emails will be retrieved.", + "required": false, + "x-ms-summary": "Only with Attachments", + "x-ms-visibility": "advanced", + "type": "boolean", + "default": false + }, + { + "name": "includeAttachments", + "in": "query", + "description": "Should the response of the trigger include the attachments content.", + "required": false, + "x-ms-summary": "Include Attachments", + "x-ms-visibility": "advanced", + "type": "boolean", + "default": false + }, + { + "name": "subjectFilter", + "in": "query", + "description": "String to look for in the subject line.", + "required": false, + "x-ms-summary": "Subject Filter", + "x-ms-visibility": "advanced", + "type": "string" + }, + { + "name": "x-ms-operation-context", + "in": "header", + "description": "Special header to enable operation simulation.", + "required": false, + "x-ms-summary": "x-ms-operation-context", + "x-ms-visibility": "internal", + "type": "string" + } + ], + "responses": { + "200": { + "description": "Operation was successful", + "schema": { + "$ref": "#/definitions/TriggerBatchResponse[ClientReceiveMessage]" + } + }, + "202": { + "description": "Accepted" + }, + "400": { + "description": "BadRequest" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "500": { + "description": "Internal Server Error" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "important", + "x-ms-trigger": "batch", + "x-ms-trigger-hint": "To see it work now, send a new email in your inbox.", + "x-ms-notification": { + "operationId": "CreateOnNewEmailPokeSubscription" + }, + "x-ms-api-annotation": { + "status": "Production", + "family": "OnNewEmail", + "revision": 2 + }, + "x-ms-operation-context": { + "simulate": { + "operationId": "GetEmailsV2", + "parameters": { + "top": 1, + "fetchOnlyUnread": false + } + } + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#when-a-new-email-arrives-(v2)" + } + } + }, + "/{connectionId}/Mail/OnFlaggedEmail": { + "get": { + "tags": [ + "Mail" + ], + "summary": "When an email is flagged", + "description": "This operation triggers a flow when an email is flagged.", + "operationId": "OnFlaggedEmail", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "folderPath", + "in": "query", + "description": "Mail folder to check for new emails.", + "required": false, + "x-ms-summary": "Folder", + "x-ms-dynamic-values": { + "capability": "file-picker", + "parameters": { + "isFolder": true, + "operation": "MailFolders", + "fileFilter": [], + "dataset": null + }, + "value-path": "Id" + }, + "x-ms-dynamic-tree": { + "settings": { + "canSelectParentNodes": true, + "canSelectLeafNodes": false + }, + "open": { + "operationId": "OnFilePickerOpen", + "itemValuePath": "Id", + "itemTitlePath": "DisplayName", + "itemIsParent": "(IsFolder eq true)", + "itemFullTitlePath": "Path", + "itemsPath": "value", + "parameters": { + "operation": { + "value": "MailFolders" + } + } + }, + "browse": { + "operationId": "OnFilePickerBrowse", + "itemValuePath": "Id", + "itemTitlePath": "DisplayName", + "itemIsParent": "(IsFolder eq true)", + "itemFullTitlePath": "Path", + "itemsPath": "value", + "parameters": { + "id": { + "selectedItemValuePath": "Id" + }, + "operation": { + "value": "MailFolders" + } + } + } + }, + "type": "string", + "default": "Inbox" + }, + { + "name": "to", + "in": "query", + "description": "Recipient email addresses separated by semicolons (If any match, the trigger will run).", + "required": false, + "x-ms-summary": "To", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + }, + "type": "string", + "format": "email" + }, + { + "name": "cc", + "in": "query", + "description": "CC recipient email addresses separated by semicolons (If any match, the trigger will run).", + "required": false, + "x-ms-summary": "CC", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + }, + "type": "string", + "format": "email" + }, + { + "name": "toOrCc", + "in": "query", + "description": "To or CC recipient email addresses separated by semicolons (If any match, the trigger will run).", + "required": false, + "x-ms-summary": "To or CC", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + }, + "type": "string", + "format": "email" + }, + { + "name": "from", + "in": "query", + "description": "Sender email addresses separated by semicolons (If any match, the trigger will run).", + "required": false, + "x-ms-summary": "From", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + }, + "type": "string", + "format": "email" + }, + { + "name": "importance", + "in": "query", + "description": "Importance of the email (Any, High, Normal, Low).", + "required": false, + "x-ms-summary": "Importance", + "x-ms-visibility": "advanced", + "type": "string", + "default": "Any", + "enum": [ + "Any", + "Low", + "Normal", + "High" + ] + }, + { + "name": "fetchOnlyWithAttachment", + "in": "query", + "description": "If set to true, only emails with an attachment will be retrieved. Emails without any attachments will be skipped. If set to false, all emails will be retrieved.", + "required": false, + "x-ms-summary": "Only with Attachments", + "x-ms-visibility": "advanced", + "type": "boolean", + "default": false + }, + { + "name": "includeAttachments", + "in": "query", + "description": "Should the response of the trigger include the attachments content.", + "required": false, + "x-ms-summary": "Include Attachments", + "x-ms-visibility": "advanced", + "type": "boolean", + "default": false + }, + { + "name": "subjectFilter", + "in": "query", + "description": "String to look for in the subject line.", + "required": false, + "x-ms-summary": "Subject Filter", + "x-ms-visibility": "advanced", + "type": "string" + } + ], + "responses": { + "200": { + "description": "Operation was successful", + "schema": { + "$ref": "#/definitions/TriggerBatchResponse[ClientReceiveMessage]" + } + }, + "202": { + "description": "Accepted" + }, + "400": { + "description": "BadRequest" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "500": { + "description": "Internal Server Error" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": true, + "x-ms-visibility": "important", + "x-ms-trigger": "batch", + "x-ms-trigger-hint": "To see it work now, flag an email in your inbox.", + "x-ms-api-annotation": { + "status": "Production", + "family": "OnFlaggedEmail", + "revision": 1 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#when-an-email-is-flagged-%5bdeprecated%5d" + } + } + }, + "/{connectionId}/v2/Mail/OnFlaggedEmail": { + "get": { + "tags": [ + "Mail" + ], + "summary": "When an email is flagged (V2)", + "description": "This operation triggers a flow when an email is flagged.", + "operationId": "OnFlaggedEmailV2", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "folderPath", + "in": "query", + "description": "Mail folder to check for new emails.", + "required": false, + "x-ms-summary": "Folder", + "x-ms-dynamic-values": { + "capability": "file-picker", + "parameters": { + "isFolder": true, + "operation": "MailFolders", + "fileFilter": [], + "dataset": null + }, + "value-path": "Id" + }, + "x-ms-dynamic-tree": { + "settings": { + "canSelectParentNodes": true, + "canSelectLeafNodes": false + }, + "open": { + "operationId": "OnFilePickerOpen", + "itemValuePath": "Id", + "itemTitlePath": "DisplayName", + "itemIsParent": "(IsFolder eq true)", + "itemFullTitlePath": "Path", + "itemsPath": "value", + "parameters": { + "operation": { + "value": "MailFolders" + } + } + }, + "browse": { + "operationId": "OnFilePickerBrowse", + "itemValuePath": "Id", + "itemTitlePath": "DisplayName", + "itemIsParent": "(IsFolder eq true)", + "itemFullTitlePath": "Path", + "itemsPath": "value", + "parameters": { + "id": { + "selectedItemValuePath": "Id" + }, + "operation": { + "value": "MailFolders" + } + } + } + }, + "type": "string", + "default": "Inbox" + }, + { + "name": "to", + "in": "query", + "description": "Recipient email addresses separated by semicolons (If any match, the trigger will run).", + "required": false, + "x-ms-summary": "To", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + }, + "type": "string", + "format": "email" + }, + { + "name": "cc", + "in": "query", + "description": "CC recipient email addresses separated by semicolons (If any match, the trigger will run).", + "required": false, + "x-ms-summary": "CC", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + }, + "type": "string", + "format": "email" + }, + { + "name": "toOrCc", + "in": "query", + "description": "To or CC recipient email addresses separated by semicolons (If any match, the trigger will run).", + "required": false, + "x-ms-summary": "To or CC", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + }, + "type": "string", + "format": "email" + }, + { + "name": "from", + "in": "query", + "description": "Sender email addresses separated by semicolons (If any match, the trigger will run).", + "required": false, + "x-ms-summary": "From", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + }, + "type": "string", + "format": "email" + }, + { + "name": "importance", + "in": "query", + "description": "Importance of the email (Any, High, Normal, Low).", + "required": false, + "x-ms-summary": "Importance", + "x-ms-visibility": "advanced", + "type": "string", + "default": "Any", + "enum": [ + "Any", + "Low", + "Normal", + "High" + ] + }, + { + "name": "fetchOnlyWithAttachment", + "in": "query", + "description": "If set to true, only emails with an attachment will be retrieved. Emails without any attachments will be skipped. If set to false, all emails will be retrieved.", + "required": false, + "x-ms-summary": "Only with Attachments", + "x-ms-visibility": "advanced", + "type": "boolean", + "default": false + }, + { + "name": "includeAttachments", + "in": "query", + "description": "Should the response of the trigger include the attachments content.", + "required": false, + "x-ms-summary": "Include Attachments", + "x-ms-visibility": "advanced", + "type": "boolean", + "default": false + }, + { + "name": "subjectFilter", + "in": "query", + "description": "String to look for in the subject line.", + "required": false, + "x-ms-summary": "Subject Filter", + "x-ms-visibility": "advanced", + "type": "string" + } + ], + "responses": { + "200": { + "description": "Operation was successful", + "schema": { + "$ref": "#/definitions/TriggerBatchResponse[ClientReceiveMessage]" + } + }, + "202": { + "description": "Accepted" + }, + "400": { + "description": "BadRequest" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "500": { + "description": "Internal Server Error" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "important", + "x-ms-trigger": "batch", + "x-ms-trigger-hint": "To see it work now, flag an email in your inbox.", + "x-ms-notification": { + "operationId": "CreateOnFlaggedEmailPokeSubscription" + }, + "x-ms-api-annotation": { + "status": "Production", + "family": "OnFlaggedEmail", + "revision": 2 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#when-an-email-is-flagged-(v2)" + } + } + }, + "/{connectionId}/Mail/OnNewMentionMeEmail": { + "get": { + "tags": [ + "Mail" + ], + "summary": "When a new email mentioning me arrives", + "description": "This operation triggers a flow when a new email mentioning me arrives. It will skip any email that has a total message size greater than the limit put by your Exchange Admin or 50 MB, whichever is less. It may also skip protected emails and emails with invalid body or attachments.", + "operationId": "OnNewMentionMeEmail", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "messageIdToFireOnFirstTriggerRun", + "in": "query", + "description": "Id of message to fire on first trigger run if supplied.", + "required": false, + "x-ms-summary": "Message Id to Fire on First Trigger Run", + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "folderPath", + "in": "query", + "description": "Mail folder to check for new emails.", + "required": false, + "x-ms-summary": "Folder", + "x-ms-dynamic-values": { + "capability": "file-picker", + "parameters": { + "isFolder": true, + "operation": "MailFolders", + "fileFilter": [], + "dataset": null + }, + "value-path": "Id" + }, + "x-ms-dynamic-tree": { + "settings": { + "canSelectParentNodes": true, + "canSelectLeafNodes": false + }, + "open": { + "operationId": "OnFilePickerOpen", + "itemValuePath": "Id", + "itemTitlePath": "DisplayName", + "itemIsParent": "(IsFolder eq true)", + "itemFullTitlePath": "Path", + "itemsPath": "value", + "parameters": { + "operation": { + "value": "MailFolders" + } + } + }, + "browse": { + "operationId": "OnFilePickerBrowse", + "itemValuePath": "Id", + "itemTitlePath": "DisplayName", + "itemIsParent": "(IsFolder eq true)", + "itemFullTitlePath": "Path", + "itemsPath": "value", + "parameters": { + "id": { + "selectedItemValuePath": "Id" + }, + "operation": { + "value": "MailFolders" + } + } + } + }, + "type": "string" + }, + { + "name": "to", + "in": "query", + "description": "Recipient email addresses separated by semicolons (If any match, the trigger will run).", + "required": false, + "x-ms-summary": "To", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + }, + "type": "string", + "format": "email" + }, + { + "name": "cc", + "in": "query", + "description": "CC recipient email addresses separated by semicolons (If any match, the trigger will run).", + "required": false, + "x-ms-summary": "CC", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + }, + "type": "string", + "format": "email" + }, + { + "name": "toOrCc", + "in": "query", + "description": "To or CC recipient email addresses separated by semicolons (If any match, the trigger will run).", + "required": false, + "x-ms-summary": "To or CC", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + }, + "type": "string", + "format": "email" + }, + { + "name": "from", + "in": "query", + "description": "Sender email addresses separated by semicolons (If any match, the trigger will run).", + "required": false, + "x-ms-summary": "From", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + }, + "type": "string", + "format": "email" + }, + { + "name": "importance", + "in": "query", + "description": "Importance of the email (Any, High, Normal, Low).", + "required": false, + "x-ms-summary": "Importance", + "x-ms-visibility": "advanced", + "type": "string", + "default": "Any", + "enum": [ + "Any", + "Low", + "Normal", + "High" + ] + }, + { + "name": "fetchOnlyWithAttachment", + "in": "query", + "description": "If set to true, only emails with an attachment will be retrieved. Emails without any attachments will be skipped. If set to false, all emails will be retrieved.", + "required": false, + "x-ms-summary": "Only with Attachments", + "x-ms-visibility": "advanced", + "type": "boolean", + "default": false + }, + { + "name": "includeAttachments", + "in": "query", + "description": "Should the response of the trigger include the attachments content.", + "required": false, + "x-ms-summary": "Include Attachments", + "x-ms-visibility": "advanced", + "type": "boolean", + "default": false + }, + { + "name": "subjectFilter", + "in": "query", + "description": "String to look for in the subject line.", + "required": false, + "x-ms-summary": "Subject Filter", + "x-ms-visibility": "advanced", + "type": "string" + } + ], + "responses": { + "200": { + "description": "Operation was successful", + "schema": { + "$ref": "#/definitions/TriggerBatchResponse[ClientReceiveMessage]" + } + }, + "202": { + "description": "Accepted" + }, + "400": { + "description": "BadRequest" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "500": { + "description": "Internal Server Error" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": true, + "x-ms-trigger": "batch", + "x-ms-trigger-hint": "To see it work now, send a new email to your inbox which mentions you.", + "x-ms-api-annotation": { + "status": "Production", + "family": "OnNewMentionMeEmail", + "revision": 1 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#when-a-new-email-mentioning-me-arrives-%5bdeprecated%5d" + } + } + }, + "/{connectionId}/v2/Mail/OnNewMentionMeEmail": { + "get": { + "tags": [ + "Mail" + ], + "summary": "When a new email mentioning me arrives (V2)", + "description": "This operation triggers a flow when a new email mentioning me arrives. It will skip any email that has a total message size greater than the limit put by your Exchange Admin or 50 MB, whichever is less. It may also skip protected emails and emails with invalid body or attachments.", + "operationId": "OnNewMentionMeEmailV2", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "messageIdToFireOnFirstTriggerRun", + "in": "query", + "description": "Id of message to fire on first trigger run if supplied.", + "required": false, + "x-ms-summary": "Message Id to Fire on First Trigger Run", + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "folderPath", + "in": "query", + "description": "Mail folder to check for new emails.", + "required": false, + "x-ms-summary": "Folder", + "x-ms-dynamic-values": { + "capability": "file-picker", + "parameters": { + "isFolder": true, + "operation": "MailFolders", + "fileFilter": [], + "dataset": null + }, + "value-path": "Id" + }, + "x-ms-dynamic-tree": { + "settings": { + "canSelectParentNodes": true, + "canSelectLeafNodes": false + }, + "open": { + "operationId": "OnFilePickerOpen", + "itemValuePath": "Id", + "itemTitlePath": "DisplayName", + "itemIsParent": "(IsFolder eq true)", + "itemFullTitlePath": "Path", + "itemsPath": "value", + "parameters": { + "operation": { + "value": "MailFolders" + } + } + }, + "browse": { + "operationId": "OnFilePickerBrowse", + "itemValuePath": "Id", + "itemTitlePath": "DisplayName", + "itemIsParent": "(IsFolder eq true)", + "itemFullTitlePath": "Path", + "itemsPath": "value", + "parameters": { + "id": { + "selectedItemValuePath": "Id" + }, + "operation": { + "value": "MailFolders" + } + } + } + }, + "type": "string" + }, + { + "name": "to", + "in": "query", + "description": "Recipient email addresses separated by semicolons (If any match, the trigger will run).", + "required": false, + "x-ms-summary": "To", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + }, + "type": "string", + "format": "email" + }, + { + "name": "cc", + "in": "query", + "description": "CC recipient email addresses separated by semicolons (If any match, the trigger will run).", + "required": false, + "x-ms-summary": "CC", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + }, + "type": "string", + "format": "email" + }, + { + "name": "toOrCc", + "in": "query", + "description": "To or CC recipient email addresses separated by semicolons (If any match, the trigger will run).", + "required": false, + "x-ms-summary": "To or CC", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + }, + "type": "string", + "format": "email" + }, + { + "name": "from", + "in": "query", + "description": "Sender email addresses separated by semicolons (If any match, the trigger will run).", + "required": false, + "x-ms-summary": "From", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + }, + "type": "string", + "format": "email" + }, + { + "name": "importance", + "in": "query", + "description": "Importance of the email (Any, High, Normal, Low).", + "required": false, + "x-ms-summary": "Importance", + "x-ms-visibility": "advanced", + "type": "string", + "default": "Any", + "enum": [ + "Any", + "Low", + "Normal", + "High" + ] + }, + { + "name": "fetchOnlyWithAttachment", + "in": "query", + "description": "If set to true, only emails with an attachment will be retrieved. Emails without any attachments will be skipped. If set to false, all emails will be retrieved.", + "required": false, + "x-ms-summary": "Only with Attachments", + "x-ms-visibility": "advanced", + "type": "boolean", + "default": false + }, + { + "name": "includeAttachments", + "in": "query", + "description": "Should the response of the trigger include the attachments content.", + "required": false, + "x-ms-summary": "Include Attachments", + "x-ms-visibility": "advanced", + "type": "boolean", + "default": false + }, + { + "name": "subjectFilter", + "in": "query", + "description": "String to look for in the subject line.", + "required": false, + "x-ms-summary": "Subject Filter", + "x-ms-visibility": "advanced", + "type": "string" + } + ], + "responses": { + "200": { + "description": "Operation was successful", + "schema": { + "$ref": "#/definitions/TriggerBatchResponse[ClientReceiveMessage]" + } + }, + "202": { + "description": "Accepted" + }, + "400": { + "description": "BadRequest" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "500": { + "description": "Internal Server Error" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-trigger": "batch", + "x-ms-trigger-hint": "To see it work now, send a new email to your inbox which mentions you.", + "x-ms-notification": { + "operationId": "CreateOnNewMentionMeEmailPokeSubscription" + }, + "x-ms-api-annotation": { + "status": "Production", + "family": "OnNewMentionMeEmail", + "revision": 2 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#when-a-new-email-mentioning-me-arrives-(v2)" + } + } + }, + "/{connectionId}/MailSubscriptionPoke/$subscriptions": { + "post": { + "tags": [ + "MailSubscription" + ], + "summary": "Create a webhook subscription for the trigger when a new email arrives", + "description": "Create a webhook subscription for the trigger when a new email arrives.", + "operationId": "CreateOnNewEmailPokeSubscription", + "consumes": [ + "application/json", + "text/json", + "application/xml", + "text/xml", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "subscription", + "in": "body", + "description": "The subscription.", + "required": true, + "schema": { + "$ref": "#/definitions/ClientSubscription" + }, + "x-ms-summary": "The subscription" + }, + { + "name": "folderPath", + "in": "query", + "description": "Mail folder to check for new emails.", + "required": false, + "x-ms-summary": "Folder", + "x-ms-dynamic-values": { + "capability": "file-picker", + "parameters": { + "isFolder": true, + "operation": "MailFolders", + "fileFilter": [], + "dataset": null + }, + "value-path": "Id" + }, + "x-ms-dynamic-tree": { + "settings": { + "canSelectParentNodes": true, + "canSelectLeafNodes": false + }, + "open": { + "operationId": "OnFilePickerOpen", + "itemValuePath": "Id", + "itemTitlePath": "DisplayName", + "itemIsParent": "(IsFolder eq true)", + "itemFullTitlePath": "Path", + "itemsPath": "value", + "parameters": { + "operation": { + "value": "MailFolders" + } + } + }, + "browse": { + "operationId": "OnFilePickerBrowse", + "itemValuePath": "Id", + "itemTitlePath": "DisplayName", + "itemIsParent": "(IsFolder eq true)", + "itemFullTitlePath": "Path", + "itemsPath": "value", + "parameters": { + "id": { + "selectedItemValuePath": "Id" + }, + "operation": { + "value": "MailFolders" + } + } + } + }, + "type": "string", + "default": "Inbox" + }, + { + "name": "importance", + "in": "query", + "description": "Importance of the email (Any, High, Normal, Low).", + "required": false, + "x-ms-summary": "Importance", + "x-ms-visibility": "advanced", + "type": "string", + "default": "Any", + "enum": [ + "Any", + "Low", + "Normal", + "High" + ] + }, + { + "name": "fetchOnlyWithAttachment", + "in": "query", + "description": "If set to true, only emails with an attachment will be retrieved. Emails without any attachments will be skipped. If set to false, all emails will be retrieved.", + "required": false, + "x-ms-summary": "Only with Attachments", + "x-ms-visibility": "advanced", + "type": "boolean", + "default": false + } + ], + "responses": { + "201": { + "description": "Subscription Created", + "schema": { + "$ref": "#/definitions/SubscriptionResponse" + } + }, + "400": { + "description": "BadRequest" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "500": { + "description": "Internal Server Error" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "internal", + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#create-a-webhook-subscription-for-the-trigger-when-a-new-email-arrives" + } + }, + "x-ms-notification-content": { + "description": "Poke notification", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + } + ] + } + }, + "/{connectionId}/MentionMeMailSubscriptionPoke/$subscriptions": { + "post": { + "tags": [ + "MailSubscription" + ], + "summary": "When a new mentioning me email arrives - Outlook subscription", + "description": "Create an Outlook webhook subscription for the trigger when a new mentioning me email arrives.", + "operationId": "CreateOnNewMentionMeEmailPokeSubscription", + "consumes": [ + "application/json", + "text/json", + "application/xml", + "text/xml", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "subscription", + "in": "body", + "description": "The subscription.", + "required": true, + "schema": { + "$ref": "#/definitions/ClientSubscription" + }, + "x-ms-summary": "The subscription" + }, + { + "name": "folderPath", + "in": "query", + "description": "Mail folder to check for new emails.", + "required": false, + "x-ms-summary": "Folder", + "x-ms-dynamic-values": { + "capability": "file-picker", + "parameters": { + "isFolder": true, + "operation": "MailFolders", + "fileFilter": [], + "dataset": null + }, + "value-path": "Id" + }, + "x-ms-dynamic-tree": { + "settings": { + "canSelectParentNodes": true, + "canSelectLeafNodes": false + }, + "open": { + "operationId": "OnFilePickerOpen", + "itemValuePath": "Id", + "itemTitlePath": "DisplayName", + "itemIsParent": "(IsFolder eq true)", + "itemFullTitlePath": "Path", + "itemsPath": "value", + "parameters": { + "operation": { + "value": "MailFolders" + } + } + }, + "browse": { + "operationId": "OnFilePickerBrowse", + "itemValuePath": "Id", + "itemTitlePath": "DisplayName", + "itemIsParent": "(IsFolder eq true)", + "itemFullTitlePath": "Path", + "itemsPath": "value", + "parameters": { + "id": { + "selectedItemValuePath": "Id" + }, + "operation": { + "value": "MailFolders" + } + } + } + }, + "type": "string" + }, + { + "name": "importance", + "in": "query", + "description": "Importance of the email (Any, High, Normal, Low).", + "required": false, + "x-ms-summary": "Importance", + "x-ms-visibility": "advanced", + "type": "string", + "default": "Any", + "enum": [ + "Any", + "Low", + "Normal", + "High" + ] + }, + { + "name": "fetchOnlyWithAttachment", + "in": "query", + "description": "If set to true, only emails with an attachment will be retrieved. Emails without any attachments will be skipped. If set to false, all emails will be retrieved.", + "required": false, + "x-ms-summary": "Only with Attachments", + "x-ms-visibility": "advanced", + "type": "boolean", + "default": false + } + ], + "responses": { + "201": { + "description": "Subscription Created", + "schema": { + "$ref": "#/definitions/SubscriptionResponse" + } + }, + "400": { + "description": "BadRequest" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "500": { + "description": "Internal Server Error" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "internal", + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#when-a-new-mentioning-me-email-arrives---outlook-subscription" + } + }, + "x-ms-notification-content": { + "description": "Poke notification", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + } + ] + } + }, + "/{connectionId}/FlaggedMailSubscriptionPoke/$subscriptions": { + "post": { + "tags": [ + "MailSubscription" + ], + "summary": "Create an Outlook webhook subscription for the trigger when an email is flagged", + "description": "Create an Outlook webhook subscription for the trigger when an email is flagged.", + "operationId": "CreateOnFlaggedEmailPokeSubscription", + "consumes": [ + "application/json", + "text/json", + "application/xml", + "text/xml", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "subscription", + "in": "body", + "description": "The subscription.", + "required": true, + "schema": { + "$ref": "#/definitions/ClientSubscription" + }, + "x-ms-summary": "The subscription" + }, + { + "name": "folderPath", + "in": "query", + "description": "Mail folder to check for new emails.", + "required": false, + "x-ms-summary": "Folder", + "x-ms-dynamic-values": { + "capability": "file-picker", + "parameters": { + "isFolder": true, + "operation": "MailFolders", + "fileFilter": [], + "dataset": null + }, + "value-path": "Id" + }, + "x-ms-dynamic-tree": { + "settings": { + "canSelectParentNodes": true, + "canSelectLeafNodes": false + }, + "open": { + "operationId": "OnFilePickerOpen", + "itemValuePath": "Id", + "itemTitlePath": "DisplayName", + "itemIsParent": "(IsFolder eq true)", + "itemFullTitlePath": "Path", + "itemsPath": "value", + "parameters": { + "operation": { + "value": "MailFolders" + } + } + }, + "browse": { + "operationId": "OnFilePickerBrowse", + "itemValuePath": "Id", + "itemTitlePath": "DisplayName", + "itemIsParent": "(IsFolder eq true)", + "itemFullTitlePath": "Path", + "itemsPath": "value", + "parameters": { + "id": { + "selectedItemValuePath": "Id" + }, + "operation": { + "value": "MailFolders" + } + } + } + }, + "type": "string", + "default": "Inbox" + }, + { + "name": "importance", + "in": "query", + "description": "Importance of the email (Any, High, Normal, Low).", + "required": false, + "x-ms-summary": "Importance", + "x-ms-visibility": "advanced", + "type": "string", + "default": "Any", + "enum": [ + "Any", + "Low", + "Normal", + "High" + ] + }, + { + "name": "fetchOnlyWithAttachment", + "in": "query", + "description": "If set to true, only emails with an attachment will be retrieved. Emails without any attachments will be skipped. If set to false, all emails will be retrieved.", + "required": false, + "x-ms-summary": "Only with Attachments", + "x-ms-visibility": "advanced", + "type": "boolean", + "default": false + } + ], + "responses": { + "201": { + "description": "Subscription Created", + "schema": { + "$ref": "#/definitions/SubscriptionResponse" + } + }, + "400": { + "description": "BadRequest" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "500": { + "description": "Internal Server Error" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "internal", + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#create-an-outlook-webhook-subscription-for-the-trigger-when-an-email-is-flagged" + } + }, + "x-ms-notification-content": { + "description": "Poke notification", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + } + ] + } + }, + "/{connectionId}/MailSubscription/$subscriptions/{id}": { + "delete": { + "tags": [ + "MailSubscription" + ], + "summary": "Delete mail subscription", + "description": "This operation deletes a mail subscription.", + "operationId": "DeleteOnNewEmailSubscription", + "consumes": [], + "produces": [], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "Id of subscription to be deleted.", + "required": true, + "x-ms-summary": "Id of subscription to be deleted", + "type": "string" + }, + { + "name": "options", + "in": "query", + "description": "Subscription options.", + "required": true, + "x-ms-summary": "Subscription options", + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "400": { + "description": "BadRequest" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "500": { + "description": "Internal Server Error" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "internal", + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#delete-mail-subscription" + } + }, + "patch": { + "tags": [ + "MailSubscription" + ], + "summary": "Update web hook", + "description": "Update web hook with renew interval.", + "operationId": "RenewOnNewEmailSubscription", + "consumes": [ + "application/json", + "text/json", + "application/xml", + "text/xml", + "application/x-www-form-urlencoded" + ], + "produces": [], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "Id of subscription to be renewed.", + "required": true, + "x-ms-summary": "Id of subscription to be renewed", + "type": "string" + }, + { + "name": "options", + "in": "query", + "description": "Subscription options.", + "required": true, + "x-ms-summary": "Subscription options", + "type": "string" + }, + { + "name": "subscription", + "in": "body", + "description": "The subscription.", + "required": true, + "schema": { + "$ref": "#/definitions/ClientSubscription" + }, + "x-ms-summary": "The subscription" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "201": { + "description": "Subscription Created" + }, + "400": { + "description": "BadRequest" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "500": { + "description": "Internal Server Error" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "internal", + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#update-web-hook" + } + } + }, + "/{connectionId}/$metadata.json/datasets": { + "get": { + "tags": [ + "Office365DataSetsMetadata" + ], + "operationId": "GetDataSetsMetadata", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DataSetsMetadata" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "internal", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + } + ] + } + }, + "/{connectionId}/mailwithoptions/$subscriptions": { + "post": { + "tags": [ + "OptionsEmail" + ], + "summary": "Send email with options", + "description": "This operation sends an email with multiple options and waits for the recipient to respond back with one of the options. Please refer to the following link regarding the support of actionable messages in different mail clients: https://docs.microsoft.com/outlook/actionable-messages/#outlook-version-requirements-for-actionable-messages.", + "operationId": "SendMailWithOptions", + "consumes": [ + "application/json", + "text/json", + "application/xml", + "text/xml", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "optionsEmailSubscription", + "in": "body", + "description": "Subscription request for options email.", + "required": true, + "schema": { + "$ref": "#/definitions/OptionsEmailSubscription" + }, + "x-ms-summary": "Subscription request for options email" + } + ], + "responses": { + "201": { + "description": "Subscription Created", + "schema": { + "$ref": "#/definitions/SubscriptionResponse" + } + }, + "400": { + "description": "BadRequest" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "500": { + "description": "Internal Server Error" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "advanced", + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#send-email-with-options" + } + }, + "x-ms-notification-content": { + "description": "Selected Option", + "schema": { + "$ref": "#/definitions/ApprovalEmailResponse" + }, + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + } + ] + } + }, + "/{connectionId}/approvalmail/$subscriptions": { + "post": { + "tags": [ + "OptionsEmail" + ], + "summary": "Send approval email", + "description": "This operation sends an approval email and waits for a response from the recipient. Please refer to the following link regarding the support of actionable messages in different mail clients: https://docs.microsoft.com/outlook/actionable-messages/#outlook-version-requirements-for-actionable-messages.", + "operationId": "SendApprovalMail", + "consumes": [ + "application/json", + "text/json", + "application/xml", + "text/xml", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "approvalEmailSubscription", + "in": "body", + "description": "Subscription request for approval email.", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalEmailSubscription" + }, + "x-ms-summary": "Subscription request for approval email" + } + ], + "responses": { + "201": { + "description": "Subscription Created", + "schema": { + "$ref": "#/definitions/SubscriptionResponse" + } + }, + "400": { + "description": "BadRequest" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "500": { + "description": "Internal Server Error" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "important", + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#send-approval-email" + } + }, + "x-ms-notification-content": { + "description": "Selected Option", + "schema": { + "$ref": "#/definitions/ApprovalEmailResponse" + }, + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + } + ] + } + }, + "/{connectionId}/approvalmail/$subscriptions/{id}": { + "delete": { + "tags": [ + "OptionsEmail" + ], + "summary": "Delete approval email subscription", + "description": "This operation deletes a subscription of approval email.", + "operationId": "DeleteApprovalMailSubscription", + "consumes": [], + "produces": [], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "Id of subscription to be deleted.", + "required": true, + "x-ms-summary": "Id of subscription to be deleted", + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "400": { + "description": "BadRequest" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "500": { + "description": "Internal Server Error" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "internal", + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#delete-approval-email-subscription" + } + } + }, + "/{connectionId}/mailwithoptions/$subscriptions/{id}": { + "delete": { + "tags": [ + "OptionsEmail" + ], + "summary": "Delete options email subscription", + "description": "This operation deletes a subscription of options email.", + "operationId": "DeleteOptionsMailSubscription", + "consumes": [], + "produces": [], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "Id of subscription to be deleted.", + "required": true, + "x-ms-summary": "Id of subscription to be deleted", + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "400": { + "description": "BadRequest" + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + }, + "500": { + "description": "Internal Server Error" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "internal", + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#delete-options-email-subscription" + } + } + }, + "/{connectionId}/testconnection": { + "get": { + "tags": [ + "TestConnection" + ], + "summary": "Tests the connection", + "description": "Tests the connection.", + "operationId": "TestConnection", + "consumes": [], + "produces": [], + "responses": { + "200": { + "description": "OK" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "internal", + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#tests-the-connection" + }, + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + } + ] + } + }, + "/{connectionId}/datasets/calendars/tables": { + "get": { + "tags": [ + "CalendarsTable" + ], + "summary": "Get calendars", + "description": "This operation lists available calendars.", + "operationId": "CalendarGetTables", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/EntityListResponse[Table]" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "advanced", + "x-ms-openai-data": { + "openai-enabled": true + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#get-calendars" + }, + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + } + ] + } + }, + "/{connectionId}/datasets/calendars/tables/{table}/items": { + "get": { + "tags": [ + "CalendarsTableData" + ], + "summary": "Get events (V1)", + "description": "This operation gets events from a calendar. (V1)", + "operationId": "CalendarGetItems", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "table", + "in": "path", + "description": "Select a calendar", + "required": true, + "x-ms-summary": "Calendar id", + "x-ms-url-encoding": "double", + "x-ms-dynamic-values": { + "operationId": "CalendarGetTables", + "parameters": {}, + "value-collection": "value", + "value-path": "Name", + "value-title": "DisplayName" + }, + "type": "string" + }, + { + "name": "$orderby", + "in": "query", + "description": "An ODATA orderBy query for specifying the order of entries.", + "required": false, + "x-ms-summary": "Order By", + "x-ms-visibility": "advanced", + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "Total number of entries to retrieve (default = all).", + "required": false, + "x-ms-summary": "Top Count", + "x-ms-visibility": "advanced", + "type": "integer", + "format": "int32" + }, + { + "name": "$skip", + "in": "query", + "description": "The number of entries to skip (default = 0).", + "required": false, + "x-ms-summary": "Skip Count", + "x-ms-visibility": "advanced", + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/EntityListResponse[CalendarEventBackend]" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": true, + "x-ms-visibility": "advanced", + "x-ms-api-annotation": { + "status": "Production", + "family": "CalendarGetItems", + "revision": 1 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#get-events-(v1)-%5bdeprecated%5d" + } + }, + "post": { + "tags": [ + "CalendarsTableData" + ], + "summary": "Create event (V1)", + "description": "This operation creates a new event in a calendar. (V1)", + "operationId": "CalendarPostItem", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "table", + "in": "path", + "description": "Select a calendar", + "required": true, + "x-ms-summary": "Calendar id", + "x-ms-url-encoding": "double", + "x-ms-dynamic-values": { + "operationId": "CalendarGetTables", + "parameters": {}, + "value-collection": "value", + "value-path": "Name", + "value-title": "DisplayName" + }, + "type": "string" + }, + { + "name": "item", + "in": "body", + "description": "Event to create", + "required": true, + "schema": { + "$ref": "#/definitions/CalendarEventBackend" + }, + "x-ms-summary": "Item" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CalendarEventBackend" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": true, + "x-ms-visibility": "important", + "x-ms-api-annotation": { + "status": "Production", + "family": "CalendarPostItem", + "revision": 1 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#create-event-(v1)-%5bdeprecated%5d" + } + } + }, + "/{connectionId}/datasets/calendars/tables/{table}/items/{id}": { + "get": { + "tags": [ + "CalendarsTableData" + ], + "summary": "Get event (V1)", + "description": "This operation gets a specific event from a calendar. (V1)", + "operationId": "CalendarGetItem", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "table", + "in": "path", + "description": "Select a calendar", + "required": true, + "x-ms-summary": "Calendar id", + "x-ms-url-encoding": "double", + "x-ms-dynamic-values": { + "operationId": "CalendarGetTables", + "parameters": {}, + "value-collection": "value", + "value-path": "Name", + "value-title": "DisplayName" + }, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "Select an event", + "required": true, + "x-ms-summary": "Item id", + "x-ms-url-encoding": "double", + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CalendarEventBackend" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": true, + "x-ms-visibility": "advanced", + "x-ms-api-annotation": { + "status": "Production", + "family": "CalendarGetItem", + "revision": 1 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#get-event-(v1)-%5bdeprecated%5d" + } + }, + "delete": { + "tags": [ + "CalendarsTableData" + ], + "summary": "Delete event", + "description": "This operation deletes an event in a calendar.", + "operationId": "CalendarDeleteItem", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "table", + "in": "path", + "description": "Select a calendar", + "required": true, + "x-ms-summary": "Calendar id", + "x-ms-url-encoding": "double", + "x-ms-dynamic-values": { + "operationId": "CalendarGetTables", + "parameters": {}, + "value-collection": "value", + "value-path": "Name", + "value-title": "DisplayName" + }, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "Select an event", + "required": true, + "x-ms-summary": "Id", + "x-ms-url-encoding": "double", + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "advanced", + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#delete-event" + } + }, + "patch": { + "tags": [ + "CalendarsTableData" + ], + "summary": "Update event (V1)", + "description": "This operation updates an event in a calendar. (V1)", + "operationId": "CalendarPatchItem", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "table", + "in": "path", + "description": "Select a calendar", + "required": true, + "x-ms-summary": "Calendar id", + "x-ms-url-encoding": "double", + "x-ms-dynamic-values": { + "operationId": "CalendarGetTables", + "parameters": {}, + "value-collection": "value", + "value-path": "Name", + "value-title": "DisplayName" + }, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "Select an event", + "required": true, + "x-ms-summary": "Id", + "x-ms-url-encoding": "double", + "type": "string" + }, + { + "name": "item", + "in": "body", + "description": "Event to update", + "required": true, + "schema": { + "$ref": "#/definitions/CalendarEventBackend" + }, + "x-ms-summary": "Item" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CalendarEventBackend" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": true, + "x-ms-visibility": "advanced", + "x-ms-api-annotation": { + "status": "Production", + "family": "CalendarPatchItem", + "revision": 1 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#update-event-(v1)-%5bdeprecated%5d" + } + } + }, + "/{connectionId}/datasets/calendars/v3/tables/{table}/items": { + "get": { + "tags": [ + "CalendarsTableData" + ], + "summary": "Get events (V3)", + "description": "This operation gets events from a calendar. (V3)", + "operationId": "V3CalendarGetItems", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "table", + "in": "path", + "description": "Select a calendar", + "required": true, + "x-ms-summary": "Calendar id", + "x-ms-url-encoding": "double", + "x-ms-dynamic-values": { + "operationId": "CalendarGetTables", + "parameters": {}, + "value-collection": "value", + "value-path": "Name", + "value-title": "DisplayName" + }, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "An ODATA filter query to restrict the entries returned (e.g. stringColumn eq 'string' OR numberColumn lt 123).", + "required": false, + "x-ms-summary": "Filter Query", + "x-ms-visibility": "advanced", + "type": "string" + }, + { + "name": "$orderby", + "in": "query", + "description": "An ODATA orderBy query for specifying the order of entries.", + "required": false, + "x-ms-summary": "Order By", + "x-ms-visibility": "advanced", + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "Total number of entries to retrieve (default = all).", + "required": false, + "x-ms-summary": "Top Count", + "x-ms-visibility": "advanced", + "type": "integer", + "format": "int32" + }, + { + "name": "$skip", + "in": "query", + "description": "The number of entries to skip (default = 0).", + "required": false, + "x-ms-summary": "Skip Count", + "x-ms-visibility": "advanced", + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CalendarEventListClientReceive" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "advanced", + "x-ms-api-annotation": { + "status": "Production", + "family": "CalendarGetItems", + "revision": 3 + }, + "x-ms-openai-data": { + "openai-enabled": true + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#get-events-(v3)" + } + }, + "post": { + "tags": [ + "CalendarsTableData" + ], + "summary": "Create event (V3)", + "description": "This operation creates a new event in a calendar.", + "operationId": "V3CalendarPostItem", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "table", + "in": "path", + "description": "Select a calendar", + "required": true, + "x-ms-summary": "Calendar id", + "x-ms-url-encoding": "double", + "x-ms-dynamic-values": { + "operationId": "CalendarGetTables", + "parameters": {}, + "value-collection": "value", + "value-path": "Name", + "value-title": "DisplayName" + }, + "type": "string" + }, + { + "name": "item", + "in": "body", + "description": "Event to create", + "required": true, + "schema": { + "$ref": "#/definitions/CalendarEventHtmlClient" + }, + "x-ms-summary": "Item" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CalendarEventClientReceiveStringEnums" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "important", + "x-ms-api-annotation": { + "status": "Production", + "family": "CalendarPostItem", + "revision": 3 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#create-event-(v3)" + } + } + }, + "/{connectionId}/datasets/calendars/v2/tables/{table}/items": { + "get": { + "tags": [ + "CalendarsTableData" + ], + "summary": "Get events (V2)", + "description": "This operation gets events from a calendar. (V2)", + "operationId": "V2CalendarGetItems", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "table", + "in": "path", + "description": "Select a calendar", + "required": true, + "x-ms-summary": "Calendar id", + "x-ms-url-encoding": "double", + "x-ms-dynamic-values": { + "operationId": "CalendarGetTables", + "parameters": {}, + "value-collection": "value", + "value-path": "Name", + "value-title": "DisplayName" + }, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "An ODATA filter query to restrict the entries returned (e.g. stringColumn eq 'string' OR numberColumn lt 123).", + "required": false, + "x-ms-summary": "Filter Query", + "x-ms-visibility": "advanced", + "type": "string" + }, + { + "name": "$orderby", + "in": "query", + "description": "An ODATA orderBy query for specifying the order of entries.", + "required": false, + "x-ms-summary": "Order By", + "x-ms-visibility": "advanced", + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "Total number of entries to retrieve (default = all).", + "required": false, + "x-ms-summary": "Top Count", + "x-ms-visibility": "advanced", + "type": "integer", + "format": "int32" + }, + { + "name": "$skip", + "in": "query", + "description": "The number of entries to skip (default = 0).", + "required": false, + "x-ms-summary": "Skip Count", + "x-ms-visibility": "advanced", + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/EntityListResponse[CalendarEventClientReceiveStringEnums]" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": true, + "x-ms-visibility": "advanced", + "x-ms-api-annotation": { + "status": "Production", + "family": "CalendarGetItems", + "revision": 2 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#get-events-(v2)-%5bdeprecated%5d" + } + }, + "post": { + "tags": [ + "CalendarsTableData" + ], + "summary": "Create event (V2)", + "description": "This operation creates a new event in a calendar. (V2)", + "operationId": "V2CalendarPostItem", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "table", + "in": "path", + "description": "Select a calendar", + "required": true, + "x-ms-summary": "Calendar id", + "x-ms-url-encoding": "double", + "x-ms-dynamic-values": { + "operationId": "CalendarGetTables", + "parameters": {}, + "value-collection": "value", + "value-path": "Name", + "value-title": "DisplayName" + }, + "type": "string" + }, + { + "name": "item", + "in": "body", + "description": "Event to create", + "required": true, + "schema": { + "$ref": "#/definitions/CalendarEventClient" + }, + "x-ms-summary": "Item" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CalendarEventClientReceiveStringEnums" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": true, + "x-ms-visibility": "important", + "x-ms-api-annotation": { + "status": "Production", + "family": "CalendarPostItem", + "revision": 2 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#create-event-(v2)-%5bdeprecated%5d" + } + } + }, + "/{connectionId}/datasets/calendars/v2/tables/items/calendarview": { + "get": { + "tags": [ + "CalendarsTableData" + ], + "summary": "Get calendar view of events (V2)", + "description": "This operation gets all events (including instances of recurrences) in a calendar. (V2)", + "operationId": "GetEventsCalendarViewV2", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "calendarId", + "in": "query", + "description": "Select a calendar", + "required": true, + "x-ms-summary": "Calendar Id", + "x-ms-dynamic-values": { + "operationId": "CalendarGetTables", + "parameters": {}, + "value-collection": "value", + "value-path": "Name", + "value-title": "DisplayName" + }, + "type": "string" + }, + { + "name": "startDateTimeOffset", + "in": "query", + "description": "Start time (example: '2017-01-01T08:00:00-07:00')", + "required": true, + "x-ms-summary": "Start Time", + "type": "string" + }, + { + "name": "endDateTimeOffset", + "in": "query", + "description": "End time (example: '2017-02-01T08:00:00-07:00')", + "required": true, + "x-ms-summary": "End Time", + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "An ODATA filter query to restrict the entries returned (e.g. stringColumn eq 'string' OR numberColumn lt 123).", + "required": false, + "x-ms-summary": "Filter Query", + "x-ms-visibility": "advanced", + "type": "string" + }, + { + "name": "$orderby", + "in": "query", + "description": "An ODATA orderBy query for specifying the order of entries.", + "required": false, + "x-ms-summary": "Order By", + "x-ms-visibility": "advanced", + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "Total number of entries to retrieve (default = all).", + "required": false, + "x-ms-summary": "Top Count", + "x-ms-visibility": "advanced", + "type": "integer", + "format": "int32" + }, + { + "name": "$skip", + "in": "query", + "description": "The number of entries to skip (default = 0).", + "required": false, + "x-ms-summary": "Skip Count", + "x-ms-visibility": "advanced", + "type": "integer", + "format": "int32" + }, + { + "name": "search", + "in": "query", + "description": "Search text for matching event body and subject", + "required": false, + "x-ms-summary": "Search", + "x-ms-visibility": "advanced", + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/EntityListResponse[CalendarEventClientReceiveStringEnums]" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "advanced", + "x-ms-api-annotation": { + "status": "Production", + "family": "GetEventsCalendarView", + "revision": 2 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#get-calendar-view-of-events-(v2)" + } + } + }, + "/{connectionId}/datasets/calendars/v2/tables/{table}/items/{id}": { + "get": { + "tags": [ + "CalendarsTableData" + ], + "summary": "Get event (V2)", + "description": "This operation gets a specific event from a calendar. (V2)", + "operationId": "V2CalendarGetItem", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "table", + "in": "path", + "description": "Select a calendar", + "required": true, + "x-ms-summary": "Calendar id", + "x-ms-url-encoding": "double", + "x-ms-dynamic-values": { + "operationId": "CalendarGetTables", + "parameters": {}, + "value-collection": "value", + "value-path": "Name", + "value-title": "DisplayName" + }, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "Select an event", + "required": true, + "x-ms-summary": "Item id", + "x-ms-url-encoding": "double", + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CalendarEventClientReceiveStringEnums" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "advanced", + "x-ms-api-annotation": { + "status": "Production", + "family": "CalendarGetItem", + "revision": 2 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#get-event-(v2)" + } + }, + "patch": { + "tags": [ + "CalendarsTableData" + ], + "summary": "Update event (V2)", + "description": "This operation updates an event in a calendar. (V2)", + "operationId": "V2CalendarPatchItem", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "table", + "in": "path", + "description": "Select a calendar", + "required": true, + "x-ms-summary": "Calendar id", + "x-ms-url-encoding": "double", + "x-ms-dynamic-values": { + "operationId": "CalendarGetTables", + "parameters": {}, + "value-collection": "value", + "value-path": "Name", + "value-title": "DisplayName" + }, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "Select an event", + "required": true, + "x-ms-summary": "Id", + "x-ms-url-encoding": "double", + "type": "string" + }, + { + "name": "item", + "in": "body", + "description": "Event to update", + "required": true, + "schema": { + "$ref": "#/definitions/CalendarEventClient" + }, + "x-ms-summary": "Item" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CalendarEventClientReceiveStringEnums" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": true, + "x-ms-visibility": "advanced", + "x-ms-api-annotation": { + "status": "Production", + "family": "CalendarPatchItem", + "revision": 2 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#update-event-(v2)-%5bdeprecated%5d" + } + } + }, + "/{connectionId}/datasets/calendars/v3/tables/{table}/items/{id}": { + "patch": { + "tags": [ + "CalendarsTableData" + ], + "summary": "Update event (V3)", + "description": "This operation updates an event in a calendar.", + "operationId": "V3CalendarPatchItem", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "table", + "in": "path", + "description": "Select a calendar", + "required": true, + "x-ms-summary": "Calendar id", + "x-ms-url-encoding": "double", + "x-ms-dynamic-values": { + "operationId": "CalendarGetTables", + "parameters": {}, + "value-collection": "value", + "value-path": "Name", + "value-title": "DisplayName" + }, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "Select an event", + "required": true, + "x-ms-summary": "Id", + "x-ms-url-encoding": "double", + "type": "string" + }, + { + "name": "item", + "in": "body", + "description": "Event to update", + "required": true, + "schema": { + "$ref": "#/definitions/CalendarEventHtmlClient" + }, + "x-ms-summary": "Item" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CalendarEventClientReceiveStringEnums" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "advanced", + "x-ms-api-annotation": { + "status": "Production", + "family": "CalendarPatchItem", + "revision": 3 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#update-event-(v3)" + } + } + }, + "/{connectionId}/datasets/calendars/tables/{table}/onnewitems": { + "get": { + "tags": [ + "CalendarsTableDataTrigger" + ], + "summary": "When a new event is created (V1)", + "description": "This operation triggers a flow when a new event is created in a calendar. (V1)", + "operationId": "CalendarGetOnNewItems", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "table", + "in": "path", + "description": "Select a calendar", + "required": true, + "x-ms-summary": "Calendar id", + "x-ms-url-encoding": "double", + "x-ms-dynamic-values": { + "operationId": "CalendarGetTables", + "parameters": {}, + "value-collection": "value", + "value-path": "Name", + "value-title": "DisplayName" + }, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "An ODATA filter query to restrict the entries returned (e.g. stringColumn eq 'string' OR numberColumn lt 123).", + "required": false, + "x-ms-summary": "Filter Query", + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "$orderby", + "in": "query", + "description": "An ODATA orderBy query for specifying the order of entries.", + "required": false, + "x-ms-summary": "Order By", + "x-ms-visibility": "advanced", + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "Total number of entries to retrieve (default = all).", + "required": false, + "x-ms-summary": "Top Count", + "x-ms-visibility": "advanced", + "type": "integer", + "format": "int32" + }, + { + "name": "$skip", + "in": "query", + "description": "The number of entries to skip (default = 0).", + "required": false, + "x-ms-summary": "Skip Count", + "x-ms-visibility": "advanced", + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CalendarEventList" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": true, + "x-ms-visibility": "advanced", + "x-ms-trigger": "batch", + "x-ms-trigger-hint": "To see it work now, create a new calendar item.", + "x-ms-api-annotation": { + "status": "Production", + "family": "CalendarGetOnNewItems", + "revision": 1 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#when-a-new-event-is-created-(v1)-%5bdeprecated%5d" + } + } + }, + "/{connectionId}/datasets/calendars/tables/{table}/onupdateditems": { + "get": { + "tags": [ + "CalendarsTableDataTrigger" + ], + "summary": "When an event is modified (V1)", + "description": "This operation triggers a flow when an event is modified in a calendar. (V1)", + "operationId": "CalendarGetOnUpdatedItems", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "table", + "in": "path", + "description": "Select a calendar", + "required": true, + "x-ms-summary": "Calendar id", + "x-ms-url-encoding": "double", + "x-ms-dynamic-values": { + "operationId": "CalendarGetTables", + "parameters": {}, + "value-collection": "value", + "value-path": "Name", + "value-title": "DisplayName" + }, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "An ODATA filter query to restrict the entries returned (e.g. stringColumn eq 'string' OR numberColumn lt 123).", + "required": false, + "x-ms-summary": "Filter Query", + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "$orderby", + "in": "query", + "description": "An ODATA orderBy query for specifying the order of entries.", + "required": false, + "x-ms-summary": "Order By", + "x-ms-visibility": "advanced", + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "Total number of entries to retrieve (default = all).", + "required": false, + "x-ms-summary": "Top Count", + "x-ms-visibility": "advanced", + "type": "integer", + "format": "int32" + }, + { + "name": "$skip", + "in": "query", + "description": "The number of entries to skip (default = 0).", + "required": false, + "x-ms-summary": "Skip Count", + "x-ms-visibility": "advanced", + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CalendarEventList" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": true, + "x-ms-visibility": "advanced", + "x-ms-trigger": "batch", + "x-ms-trigger-hint": "To see it work now, update a calendar item.", + "x-ms-api-annotation": { + "status": "Production", + "family": "CalendarGetOnUpdatedItems", + "revision": 1 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#when-an-event-is-modified-(v1)-%5bdeprecated%5d" + } + } + }, + "/{connectionId}/datasets({dataset})/tables({table})/onnewitems": { + "get": { + "tags": [ + "CalendarsTableDataTrigger" + ], + "summary": "When a new item is created in a table", + "description": "This operation triggers a flow when a new item is created in a table.", + "operationId": "ODataStyleGetOnNewItems", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "dataset", + "in": "path", + "description": "dataset name", + "required": true, + "x-ms-summary": "Dataset", + "type": "string" + }, + { + "name": "table", + "in": "path", + "description": "table name", + "required": true, + "x-ms-summary": "Calendar id", + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "An ODATA filter query to restrict the entries returned (e.g. stringColumn eq 'string' OR numberColumn lt 123).", + "required": false, + "x-ms-summary": "Filter Query", + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "$orderby", + "in": "query", + "description": "An ODATA orderBy query for specifying the order of entries.", + "required": false, + "x-ms-summary": "Order By", + "x-ms-visibility": "advanced", + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "Total number of entries to retrieve (default = all).", + "required": false, + "x-ms-summary": "Top Count", + "x-ms-visibility": "advanced", + "type": "integer", + "format": "int32" + }, + { + "name": "$skip", + "in": "query", + "description": "The number of entries to skip (default = 0).", + "required": false, + "x-ms-summary": "Skip Count", + "x-ms-visibility": "advanced", + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CalendarEventList" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "internal", + "x-ms-trigger": "batch", + "x-ms-trigger-hint": "To see it work now, create a new calendar item.", + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#when-a-new-item-is-created-in-a-table" + } + } + }, + "/{connectionId}/datasets({dataset})/tables({table})/onupdateditems": { + "get": { + "tags": [ + "CalendarsTableDataTrigger" + ], + "summary": "When an item is modified", + "description": "This operation triggers a flow when an item is modified in a table.", + "operationId": "ODataStyleCalendarGetOnUpdatedItems", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "dataset", + "in": "path", + "description": "dataset name", + "required": true, + "x-ms-summary": "Dataset", + "type": "string" + }, + { + "name": "table", + "in": "path", + "description": "table name", + "required": true, + "x-ms-summary": "Calendar id", + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "An ODATA filter query to restrict the entries returned (e.g. stringColumn eq 'string' OR numberColumn lt 123).", + "required": false, + "x-ms-summary": "Filter Query", + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "$orderby", + "in": "query", + "description": "An ODATA orderBy query for specifying the order of entries.", + "required": false, + "x-ms-summary": "Order By", + "x-ms-visibility": "advanced", + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "Total number of entries to retrieve (default = all).", + "required": false, + "x-ms-summary": "Top Count", + "x-ms-visibility": "advanced", + "type": "integer", + "format": "int32" + }, + { + "name": "$skip", + "in": "query", + "description": "The number of entries to skip (default = 0).", + "required": false, + "x-ms-summary": "Skip Count", + "x-ms-visibility": "advanced", + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CalendarEventList" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "internal", + "x-ms-trigger": "batch", + "x-ms-trigger-hint": "To see it work now, update a calendar item.", + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#when-an-item-is-modified" + } + } + }, + "/{connectionId}/datasets/calendars/v2/tables/{table}/onnewitems": { + "get": { + "tags": [ + "CalendarsTableDataTrigger" + ], + "summary": "When a new event is created (V2)", + "description": "This operation triggers a flow when a new event is created in a calendar. (V2)", + "operationId": "CalendarGetOnNewItemsV2", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "table", + "in": "path", + "description": "Select a calendar", + "required": true, + "x-ms-summary": "Calendar id", + "x-ms-url-encoding": "double", + "x-ms-dynamic-values": { + "operationId": "CalendarGetTables", + "parameters": {}, + "value-collection": "value", + "value-path": "Name", + "value-title": "DisplayName" + }, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "An ODATA filter query to restrict the entries returned (e.g. stringColumn eq 'string' OR numberColumn lt 123).", + "required": false, + "x-ms-summary": "Filter Query", + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "$orderby", + "in": "query", + "description": "An ODATA orderBy query for specifying the order of entries.", + "required": false, + "x-ms-summary": "Order By", + "x-ms-visibility": "advanced", + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "Total number of entries to retrieve (default = all).", + "required": false, + "x-ms-summary": "Top Count", + "x-ms-visibility": "advanced", + "type": "integer", + "format": "int32" + }, + { + "name": "$skip", + "in": "query", + "description": "The number of entries to skip (default = 0).", + "required": false, + "x-ms-summary": "Skip Count", + "x-ms-visibility": "advanced", + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CalendarEventListClientReceive" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "advanced", + "x-ms-trigger": "batch", + "x-ms-trigger-hint": "To see it work now, create a new calendar item.", + "x-ms-api-annotation": { + "status": "Production", + "family": "CalendarGetOnNewItems", + "revision": 2 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#when-a-new-event-is-created-(v2)" + } + } + }, + "/{connectionId}/datasets/calendars/v2/tables/{table}/onupdateditems": { + "get": { + "tags": [ + "CalendarsTableDataTrigger" + ], + "summary": "When an event is modified (V2)", + "description": "This operation triggers a flow when an event is modified in a calendar. (V2)", + "operationId": "CalendarGetOnUpdatedItemsV2", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "table", + "in": "path", + "description": "Select a calendar", + "required": true, + "x-ms-summary": "Calendar id", + "x-ms-url-encoding": "double", + "x-ms-dynamic-values": { + "operationId": "CalendarGetTables", + "parameters": {}, + "value-collection": "value", + "value-path": "Name", + "value-title": "DisplayName" + }, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "An ODATA filter query to restrict the entries returned (e.g. stringColumn eq 'string' OR numberColumn lt 123).", + "required": false, + "x-ms-summary": "Filter Query", + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "$orderby", + "in": "query", + "description": "An ODATA orderBy query for specifying the order of entries.", + "required": false, + "x-ms-summary": "Order By", + "x-ms-visibility": "advanced", + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "Total number of entries to retrieve (default = all).", + "required": false, + "x-ms-summary": "Top Count", + "x-ms-visibility": "advanced", + "type": "integer", + "format": "int32" + }, + { + "name": "$skip", + "in": "query", + "description": "The number of entries to skip (default = 0).", + "required": false, + "x-ms-summary": "Skip Count", + "x-ms-visibility": "advanced", + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CalendarEventListClientReceive" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "advanced", + "x-ms-trigger": "batch", + "x-ms-trigger-hint": "To see it work now, update a calendar item.", + "x-ms-api-annotation": { + "status": "Production", + "family": "CalendarGetOnUpdatedItems", + "revision": 2 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#when-an-event-is-modified-(v2)" + } + } + }, + "/{connectionId}/datasets/calendars/tables/{table}/onchangeditems": { + "get": { + "tags": [ + "CalendarsTableDataTrigger" + ], + "summary": "When an event is added, updated or deleted", + "description": "This operation triggers a flow when an event is added, updated or deleted in a calendar.", + "operationId": "CalendarGetOnChangedItems", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "table", + "in": "path", + "description": "Select a calendar", + "required": true, + "x-ms-summary": "Calendar id", + "x-ms-url-encoding": "double", + "x-ms-dynamic-values": { + "operationId": "CalendarGetTables", + "parameters": {}, + "value-collection": "value", + "value-path": "Name", + "value-title": "DisplayName" + }, + "type": "string" + }, + { + "name": "incomingDays", + "in": "query", + "description": "Number of incoming days in calendar to be tracked", + "required": false, + "x-ms-summary": "Incoming Days Tracked", + "x-ms-visibility": "advanced", + "type": "integer", + "format": "int32", + "default": 300 + }, + { + "name": "pastDays", + "in": "query", + "description": "Number of past days in calendar to be tracked", + "required": false, + "x-ms-summary": "Past Days Tracked", + "x-ms-visibility": "advanced", + "type": "integer", + "format": "int32", + "default": 50 + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CalendarEventListWithActionType" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": true, + "x-ms-visibility": "advanced", + "x-ms-trigger": "batch", + "x-ms-trigger-hint": "To see it work now, add, update or delete a calendar item.", + "x-ms-api-annotation": { + "status": "Production", + "family": "CalendarGetOnChangedItems", + "revision": 1 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#when-an-event-is-added%2c-updated-or-deleted-%5bdeprecated%5d" + } + } + }, + "/{connectionId}/datasets/calendars/v2/tables/{table}/onchangeditems": { + "get": { + "tags": [ + "CalendarsTableDataTrigger" + ], + "summary": "When an event is added, updated or deleted (V2)", + "description": "This operation triggers a flow when an event is added, updated or deleted in a calendar.", + "operationId": "CalendarGetOnChangedItemsV2", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "table", + "in": "path", + "description": "Select a calendar", + "required": true, + "x-ms-summary": "Calendar id", + "x-ms-url-encoding": "double", + "x-ms-dynamic-values": { + "operationId": "CalendarGetTables", + "parameters": {}, + "value-collection": "value", + "value-path": "Name", + "value-title": "DisplayName" + }, + "type": "string" + }, + { + "name": "incomingDays", + "in": "query", + "description": "Number of incoming days in calendar to be tracked", + "required": false, + "x-ms-summary": "Incoming Days Tracked", + "x-ms-visibility": "advanced", + "type": "integer", + "format": "int32", + "default": 300 + }, + { + "name": "pastDays", + "in": "query", + "description": "Number of past days in calendar to be tracked", + "required": false, + "x-ms-summary": "Past Days Tracked", + "x-ms-visibility": "advanced", + "type": "integer", + "format": "int32", + "default": 50 + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CalendarEventListWithActionType" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "advanced", + "x-ms-trigger": "batch", + "x-ms-trigger-hint": "To see it work now, add, update or delete a calendar item.", + "x-ms-notification": { + "operationId": "CreateOnChangedEventPokeSubscription" + }, + "x-ms-api-annotation": { + "status": "Production", + "family": "CalendarGetOnChangedItems", + "revision": 2 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#when-an-event-is-added%2c-updated-or-deleted-(v2)" + } + } + }, + "/{connectionId}/datasets/contacts/tables": { + "get": { + "tags": [ + "ContactsTable" + ], + "summary": "Get contact folders", + "description": "This operation lists available contacts folders.", + "operationId": "ContactGetTables", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/EntityListResponse[Table]" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "advanced", + "x-ms-openai-data": { + "openai-enabled": true + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#get-contact-folders" + }, + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + } + ] + } + }, + "/{connectionId}/datasets/contacts/tables/{table}/items": { + "get": { + "tags": [ + "ContactsTableData" + ], + "summary": "Get contacts", + "description": "This operation gets contacts from a contacts folder.", + "operationId": "ContactGetItems", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "table", + "in": "path", + "description": "Unique identifier of the contacts folder to retrieve", + "required": true, + "x-ms-summary": "Folder id", + "x-ms-url-encoding": "double", + "x-ms-dynamic-values": { + "operationId": "ContactGetTables", + "parameters": {}, + "value-collection": "value", + "value-path": "Name", + "value-title": "DisplayName" + }, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "An ODATA filter query to restrict the entries returned (e.g. stringColumn eq 'string' OR numberColumn lt 123).", + "required": false, + "x-ms-summary": "Filter Query", + "x-ms-visibility": "advanced", + "type": "string" + }, + { + "name": "$orderby", + "in": "query", + "description": "An ODATA orderBy query for specifying the order of entries.", + "required": false, + "x-ms-summary": "Order By", + "x-ms-visibility": "advanced", + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "Total number of entries to retrieve (default = all).", + "required": false, + "x-ms-summary": "Top Count", + "x-ms-visibility": "advanced", + "type": "integer", + "format": "int32" + }, + { + "name": "$skip", + "in": "query", + "description": "The number of entries to skip (default = 0).", + "required": false, + "x-ms-summary": "Skip Count", + "x-ms-visibility": "advanced", + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/EntityListResponse[ContactResponse]" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "advanced", + "x-ms-openai-data": { + "openai-enabled": true + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#get-contacts" + } + }, + "post": { + "tags": [ + "ContactsTableData" + ], + "summary": "Create contact", + "description": "This operation creates a new contact in a contacts folder.", + "operationId": "ContactPostItem", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "table", + "in": "path", + "description": "Select a contacts folder", + "required": true, + "x-ms-summary": "Folder id", + "x-ms-url-encoding": "double", + "x-ms-dynamic-values": { + "operationId": "ContactGetTables", + "parameters": {}, + "value-collection": "value", + "value-path": "Name", + "value-title": "DisplayName" + }, + "type": "string" + }, + { + "name": "item", + "in": "body", + "description": "Contact to create", + "required": true, + "schema": { + "$ref": "#/definitions/Contact" + }, + "x-ms-summary": "Item" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ContactResponse" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "important", + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#create-contact" + } + } + }, + "/{connectionId}/datasets/contacts/tables/{table}/items/{id}": { + "get": { + "tags": [ + "ContactsTableData" + ], + "summary": "Get contact", + "description": "This operation gets a specific contact from a contacts folder.", + "operationId": "ContactGetItem", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "table", + "in": "path", + "description": "Select a contacts folder", + "required": true, + "x-ms-summary": "Folder id", + "x-ms-url-encoding": "double", + "x-ms-dynamic-values": { + "operationId": "ContactGetTables", + "parameters": {}, + "value-collection": "value", + "value-path": "Name", + "value-title": "DisplayName" + }, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "Unique identifier of a contact to retrieve", + "required": true, + "x-ms-summary": "Item id", + "x-ms-url-encoding": "double", + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ContactResponse" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "advanced", + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#get-contact" + } + }, + "delete": { + "tags": [ + "ContactsTableData" + ], + "summary": "Delete contact", + "description": "This operation deletes a contact from a contacts folder.", + "operationId": "ContactDeleteItem", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "table", + "in": "path", + "description": "Select a contacts folder", + "required": true, + "x-ms-summary": "Folder id", + "x-ms-url-encoding": "double", + "x-ms-dynamic-values": { + "operationId": "ContactGetTables", + "parameters": {}, + "value-collection": "value", + "value-path": "Name", + "value-title": "DisplayName" + }, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "Unique identifier of contact to delete", + "required": true, + "x-ms-summary": "Id", + "x-ms-url-encoding": "double", + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "advanced", + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#delete-contact" + } + }, + "patch": { + "tags": [ + "ContactsTableData" + ], + "summary": "Update contact", + "description": "This operation updates a contact in a contacts folder.", + "operationId": "ContactPatchItem", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "table", + "in": "path", + "description": "Select a contacts folder", + "required": true, + "x-ms-summary": "Folder id", + "x-ms-url-encoding": "double", + "x-ms-dynamic-values": { + "operationId": "ContactGetTables", + "parameters": {}, + "value-collection": "value", + "value-path": "Name", + "value-title": "DisplayName" + }, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "Unique identifier of contact to update", + "required": true, + "x-ms-summary": "Id", + "x-ms-url-encoding": "double", + "type": "string" + }, + { + "name": "item", + "in": "body", + "description": "Contact item to update", + "required": true, + "schema": { + "$ref": "#/definitions/Contact" + }, + "x-ms-summary": "Item" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ContactResponse" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "advanced", + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#update-contact" + } + } + }, + "/{connectionId}/datasets": { + "get": { + "tags": [ + "Office365DataSet" + ], + "summary": "Get datasets", + "description": "This operation gets Contacts or Calendars", + "operationId": "GetDataSets", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DataSetsList" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "internal", + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#get-datasets" + }, + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + } + ] + } + }, + "/{connectionId}/codeless/api/v2.0/me/events/{event_id}/{response}": { + "post": { + "summary": "Respond to an event invite", + "description": "Respond to an event invite.", + "operationId": "RespondToEvent", + "consumes": [ + "application/json", + "text/json" + ], + "produces": [], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "event_id", + "in": "path", + "description": "Id of the event to respond to.", + "required": true, + "x-ms-summary": "Event Id", + "type": "string" + }, + { + "name": "response", + "in": "path", + "description": "Response for the event invite", + "required": true, + "x-ms-summary": "Response", + "type": "string", + "enum": [ + "Accept", + "Tentatively Accept", + "Decline" + ] + }, + { + "name": "body", + "in": "body", + "description": "Event invite response body.", + "required": false, + "schema": { + "$ref": "#/definitions/ResponseToEventInvite" + }, + "x-ms-summary": "Event invite response body" + } + ], + "responses": { + "202": { + "description": "OK" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "advanced", + "x-ms-api-annotation": { + "status": "Production" + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#respond-to-an-event-invite" + } + } + }, + "/{connectionId}/codeless/api/v2.0/me/messages/{message_id}/forward": { + "post": { + "summary": "Forward an email", + "description": "Forward an email.", + "operationId": "ForwardEmail", + "consumes": [ + "application/json", + "text/json", + "application/xml", + "text/xml", + "application/x-www-form-urlencoded" + ], + "produces": [], + "parameters": [ + { + "name": "connectionId", + "in": "path", + "required": true, + "x-ms-visibility": "internal", + "type": "string" + }, + { + "name": "message_id", + "in": "path", + "description": "Id of the message to forward.", + "required": true, + "x-ms-summary": "Message Id", + "type": "string" + }, + { + "name": "body", + "in": "body", + "description": "Direct forward message.", + "required": true, + "schema": { + "$ref": "#/definitions/DirectForwardMessage" + }, + "x-ms-summary": "Direct forward message" + } + ], + "responses": { + "202": { + "description": "OK" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "x-ms-visibility": "advanced", + "x-ms-api-annotation": { + "status": "Production" + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#forward-an-email" + } + } + }, + "/RecordResponse": { + "get": { + "tags": [ + "RecordResponse" + ], + "summary": "Receives response from user", + "description": "This operation gets a response from the user.", + "operationId": "ReceiveResponseGet", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "state", + "in": "query", + "description": "callback state.", + "required": true, + "x-ms-summary": "callback state", + "type": "string" + }, + { + "name": "sig", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "showConfirm", + "in": "query", + "description": "showConfirm query parameter, if true, then confirmation page will be returned.", + "required": false, + "x-ms-summary": "showConfirm query parameter, if true, then confirmation page will be returned", + "type": "boolean", + "default": false + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "security": [], + "x-ms-visibility": "internal", + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#receives-response-from-user" + } + }, + "post": { + "tags": [ + "RecordResponse" + ], + "summary": "Receives response from user", + "description": "This operation gets a response from the user.", + "operationId": "ReceiveResponsePost", + "consumes": [], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "state", + "in": "query", + "description": "callback state.", + "required": true, + "x-ms-summary": "callback state", + "type": "string" + }, + { + "name": "sig", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "fromConfirm", + "in": "query", + "description": "fromConfirm query parameter, if true, then request is from confirmation page.", + "required": false, + "x-ms-summary": "fromConfirm query parameter, if true, then request is from confirmation page", + "type": "boolean", + "default": false + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "security": [], + "x-ms-visibility": "internal", + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#receives-response-from-user" + } + } + }, + "/MailSubscriptionReceive": { + "post": { + "tags": [ + "SubscriptionPayload" + ], + "summary": "Receive mail", + "description": "This operation validates the subscription request.", + "operationId": "ReceiveMailFromSubscription", + "consumes": [ + "application/json", + "text/json", + "application/xml", + "text/xml", + "application/x-www-form-urlencoded" + ], + "produces": [], + "parameters": [ + { + "name": "state", + "in": "query", + "description": "Callback state.", + "required": true, + "x-ms-summary": "Callback state", + "type": "string" + }, + { + "name": "subscriptionPayload", + "in": "body", + "description": "Subscription payload.", + "required": true, + "schema": { + "$ref": "#/definitions/SubscriptionPayload[OutlookReceiveMessage]" + }, + "x-ms-summary": "Subscription payload" + }, + { + "name": "validationtoken", + "in": "query", + "description": "Validation token.", + "required": false, + "x-ms-summary": "Validation token", + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "security": [], + "x-ms-visibility": "internal", + "x-ms-api-annotation": { + "status": "Production", + "family": "ReceiveMailFromSubscription", + "revision": 1 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#receive-mail" + } + } + }, + "/{subscribedConnectionId}/MailSubscriptionReceive": { + "post": { + "tags": [ + "SubscriptionPayload" + ], + "summary": "Receive mail (V2)", + "description": "This operation validates the subscription request.", + "operationId": "ReceiveMailFromSubscriptionV2", + "consumes": [ + "application/json", + "text/json", + "application/xml", + "text/xml", + "application/x-www-form-urlencoded" + ], + "produces": [], + "parameters": [ + { + "name": "state", + "in": "query", + "description": "Callback state.", + "required": true, + "x-ms-summary": "Callback state", + "type": "string" + }, + { + "name": "subscriptionPayload", + "in": "body", + "description": "Subscription payload.", + "required": true, + "schema": { + "$ref": "#/definitions/SubscriptionPayload[OutlookReceiveMessage]" + }, + "x-ms-summary": "Subscription payload" + }, + { + "name": "validationtoken", + "in": "query", + "description": "Validation token.", + "required": false, + "x-ms-summary": "Validation token", + "type": "string" + }, + { + "name": "subscribedConnectionId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "security": [], + "x-ms-visibility": "internal", + "x-ms-api-annotation": { + "status": "Preview", + "family": "ReceiveMailFromSubscription", + "revision": 2 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#receive-mail-(v2)" + } + } + }, + "/EventSubscriptionReceive": { + "post": { + "tags": [ + "SubscriptionPayload" + ], + "summary": "Receive event", + "description": "This operation validates the subscription request.", + "operationId": "ReceiveEventFromSubscription", + "consumes": [ + "application/json", + "text/json", + "application/xml", + "text/xml", + "application/x-www-form-urlencoded" + ], + "produces": [], + "parameters": [ + { + "name": "state", + "in": "query", + "description": "Callback state.", + "required": true, + "x-ms-summary": "Callback state", + "type": "string" + }, + { + "name": "subscriptionPayload", + "in": "body", + "description": "Subscription payload.", + "required": true, + "schema": { + "$ref": "#/definitions/SubscriptionPayload[SubscriptionEvent]" + }, + "x-ms-summary": "Subscription payload" + }, + { + "name": "validationtoken", + "in": "query", + "description": "Validation token.", + "required": false, + "x-ms-summary": "Validation token", + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "security": [], + "x-ms-visibility": "internal", + "x-ms-api-annotation": { + "status": "Production", + "family": "ReceiveEventFromSubscription", + "revision": 1 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#receive-event" + } + } + }, + "/{subscribedConnectionId}/EventSubscriptionReceive": { + "post": { + "tags": [ + "SubscriptionPayload" + ], + "summary": "Receive event (V2)", + "description": "This operation validates the subscription request.", + "operationId": "ReceiveEventFromSubscriptionV2", + "consumes": [ + "application/json", + "text/json", + "application/xml", + "text/xml", + "application/x-www-form-urlencoded" + ], + "produces": [], + "parameters": [ + { + "name": "state", + "in": "query", + "description": "Callback state.", + "required": true, + "x-ms-summary": "Callback state", + "type": "string" + }, + { + "name": "subscriptionPayload", + "in": "body", + "description": "Subscription payload.", + "required": true, + "schema": { + "$ref": "#/definitions/SubscriptionPayload[SubscriptionEvent]" + }, + "x-ms-summary": "Subscription payload" + }, + { + "name": "validationtoken", + "in": "query", + "description": "Validation token.", + "required": false, + "x-ms-summary": "Validation token", + "type": "string" + }, + { + "name": "subscribedConnectionId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "default": { + "description": "Operation Failed." + } + }, + "deprecated": false, + "security": [], + "x-ms-visibility": "internal", + "x-ms-api-annotation": { + "status": "Preview", + "family": "ReceiveEventFromSubscription", + "revision": 2 + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook/#receive-event-(v2)" + } + } + } + }, + "definitions": { + "TableMetadata": { + "description": "Table metadata", + "type": "object", + "properties": { + "name": { + "description": "Table name", + "type": "string" + }, + "title": { + "description": "Table title", + "type": "string" + }, + "x-ms-permission": { + "description": "Table permission", + "type": "string" + }, + "x-ms-capabilities": { + "$ref": "#/definitions/TableCapabilitiesMetadata" + }, + "schema": { + "$ref": "#/definitions/Object" + }, + "referencedEntities": { + "$ref": "#/definitions/Object" + }, + "webUrl": { + "description": "Url link", + "type": "string" + } + } + }, + "TableCapabilitiesMetadata": { + "description": "Metadata for a table (capabilities)", + "type": "object", + "properties": { + "sortRestrictions": { + "$ref": "#/definitions/TableSortRestrictionsMetadata" + }, + "filterRestrictions": { + "$ref": "#/definitions/TableFilterRestrictionsMetadata" + }, + "selectRestrictions": { + "$ref": "#/definitions/TableSelectRestrictionsMetadata" + }, + "isOnlyServerPagable": { + "description": "Server paging restrictions", + "type": "boolean" + }, + "filterFunctionSupport": { + "description": "List of supported filter capabilities", + "type": "array", + "items": { + "enum": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "and", + "or", + "contains", + "startswith", + "endswith", + "length", + "indexof", + "replace", + "substring", + "substringof", + "tolower", + "toupper", + "trim", + "concat", + "year", + "month", + "day", + "hour", + "minute", + "second", + "date", + "time", + "now", + "totaloffsetminutes", + "totalseconds", + "floor", + "ceiling", + "round", + "not", + "negate", + "add", + "sub", + "mul", + "div", + "mod", + "sum", + "min", + "max", + "average", + "countdistinct", + "null" + ], + "type": "string" + } + }, + "serverPagingOptions": { + "description": "List of supported server-driven paging capabilities", + "type": "array", + "items": { + "enum": [ + "top", + "skiptoken" + ], + "type": "string" + } + } + } + }, + "Object": { + "type": "object", + "properties": {} + }, + "TableSortRestrictionsMetadata": { + "description": "Metadata for a table (sort restrictions)", + "type": "object", + "properties": { + "sortable": { + "description": "Indicates whether this table has sortable columns", + "type": "boolean" + }, + "unsortableProperties": { + "description": "List of unsortable properties", + "type": "array", + "items": { + "type": "string" + } + }, + "ascendingOnlyProperties": { + "description": "List of properties which support ascending order only", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "TableFilterRestrictionsMetadata": { + "description": "Metadata for a table (filter restrictions)", + "type": "object", + "properties": { + "filterable": { + "description": "Indicates whether this table has filterable columns", + "type": "boolean" + }, + "nonFilterableProperties": { + "description": "List of non filterable properties", + "type": "array", + "items": { + "type": "string" + } + }, + "requiredProperties": { + "description": "List of required properties", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "TableSelectRestrictionsMetadata": { + "description": "Metadata for a table (select restrictions)", + "type": "object", + "properties": { + "selectable": { + "description": "Indicates whether this table has selectable columns", + "type": "boolean" + } + } + }, + "CalendarEventList": { + "description": "The list of calendar items", + "type": "object", + "properties": { + "value": { + "description": "List of calendar items", + "type": "array", + "items": { + "$ref": "#/definitions/CalendarEventBackend" + } + } + } + }, + "CalendarEventBackend": { + "description": "Connector specific calendar event model class for the backend", + "required": [ + "End", + "Start", + "Subject" + ], + "type": "object", + "properties": { + "Id": { + "description": "The Event's unique identifier", + "type": "string", + "x-ms-summary": "Id" + }, + "Attendees": { + "description": "List of attendees for the event", + "type": "array", + "items": { + "$ref": "#/definitions/Attendee" + }, + "x-ms-summary": "Attendees" + }, + "Body": { + "$ref": "#/definitions/ItemBody" + }, + "BodyPreview": { + "description": "The preview of the message associated with the event", + "type": "string", + "x-ms-summary": "Body preview", + "x-ms-visibility": "advanced" + }, + "Categories": { + "description": "The categories associated with the event", + "type": "array", + "items": { + "type": "string" + }, + "x-ms-summary": "Categories", + "x-ms-visibility": "advanced" + }, + "ChangeKey": { + "description": "This property identifies the version of the event object. Every time the event is changed, ChangeKey changes as well.", + "type": "string", + "x-ms-summary": "Change key", + "x-ms-visibility": "advanced" + }, + "DateTimeCreated": { + "format": "date-time", + "description": "The date and time that the event was created", + "type": "string", + "x-ms-summary": "Created time", + "x-ms-visibility": "advanced" + }, + "DateTimeLastModified": { + "format": "date-time", + "description": "The date and time that the event was last modified", + "type": "string", + "x-ms-summary": "Last modified time", + "x-ms-visibility": "advanced" + }, + "End": { + "format": "date-time", + "description": "The end time of the event", + "type": "string", + "x-ms-summary": "End time" + }, + "EndTimeZone": { + "description": "This property specifies the time zone of the meeting end time. The value must be as defined in Windows (example: 'Pacific Standard Time').", + "type": "string", + "x-ms-summary": "End time zone", + "x-ms-visibility": "advanced" + }, + "HasAttachments": { + "description": "Set to true if the event has attachments", + "type": "boolean", + "x-ms-summary": "Has attachments?", + "x-ms-visibility": "advanced" + }, + "ICalUId": { + "description": "A unique identifier that is shared by all instances of an event across different calendars", + "type": "string", + "x-ms-summary": "Event Unique ID", + "x-ms-visibility": "advanced" + }, + "Importance": { + "description": "The importance of the event: Low, Normal, or High", + "enum": [ + "Low", + "Normal", + "High" + ], + "type": "string", + "x-ms-summary": "Importance", + "x-ms-visibility": "advanced" + }, + "IsAllDay": { + "description": "Set to true if the event lasts all day", + "type": "boolean", + "x-ms-summary": "Is all day event?", + "x-ms-visibility": "advanced" + }, + "IsCancelled": { + "description": "Set to true if the event has been canceled", + "type": "boolean", + "x-ms-summary": "Is cancelled?", + "x-ms-visibility": "advanced" + }, + "IsOrganizer": { + "description": "Set to true if the message sender is also the organizer", + "type": "boolean", + "x-ms-summary": "Is Organizer", + "x-ms-visibility": "advanced" + }, + "Location": { + "$ref": "#/definitions/Location" + }, + "Organizer": { + "$ref": "#/definitions/Recipient" + }, + "Recurrence": { + "$ref": "#/definitions/PatternedRecurrence" + }, + "Reminder": { + "format": "int32", + "description": "Time in minutes before event start to remind", + "type": "integer", + "x-ms-summary": "Reminder", + "x-ms-visibility": "advanced" + }, + "ResponseRequested": { + "description": "Set to true if the sender would like a response when the event is accepted or declined", + "type": "boolean", + "x-ms-summary": "Response requested", + "x-ms-visibility": "advanced" + }, + "ResponseStatus": { + "$ref": "#/definitions/ResponseStatus" + }, + "SeriesMasterId": { + "description": "Unique identifier for Series Master event type", + "type": "string", + "x-ms-summary": "Series master id", + "x-ms-visibility": "advanced" + }, + "ShowAs": { + "description": "Shows as free or busy", + "enum": [ + "Free", + "Tentative", + "Busy", + "Oof", + "WorkingElsewhere", + "Unknown" + ], + "type": "string", + "x-ms-summary": "Show as", + "x-ms-visibility": "advanced" + }, + "Start": { + "format": "date-time", + "description": "The start time of the event", + "type": "string", + "x-ms-summary": "Start time" + }, + "StartTimeZone": { + "description": "This property specifies the time zone of the meeting start time. The value must be as defined in Windows (example: 'Pacific Standard Time').", + "type": "string", + "x-ms-summary": "Start time zone", + "x-ms-visibility": "advanced" + }, + "Subject": { + "description": "Event subject", + "type": "string", + "x-ms-summary": "Subject" + }, + "Type": { + "description": "The event type: Single Instance, Occurrence, Exception, or Series Master", + "enum": [ + "SingleInstance", + "Occurrence", + "Exception", + "SeriesMaster" + ], + "type": "string", + "x-ms-summary": "Type", + "x-ms-visibility": "advanced" + }, + "WebLink": { + "format": "uri", + "description": "The preview of the message associated with the event", + "type": "string", + "x-ms-summary": "Web link", + "x-ms-visibility": "advanced" + }, + "Reason": { + "description": "The reason property used by O365 sync events protocol, will be 'deleted' if its a deleted event.", + "type": "string", + "x-ms-summary": "Reason", + "x-ms-visibility": "advanced" + } + } + }, + "Attendee": { + "type": "object", + "properties": { + "Status": { + "$ref": "#/definitions/ResponseStatus" + }, + "Type": { + "enum": [ + "Required", + "Optional", + "Resource" + ], + "type": "string" + }, + "EmailAddress": { + "$ref": "#/definitions/EmailAddress" + } + } + }, + "ItemBody": { + "type": "object", + "properties": { + "ContentType": { + "enum": [ + "Text", + "HTML" + ], + "type": "string" + }, + "Content": { + "type": "string" + } + } + }, + "Location": { + "type": "object", + "properties": { + "DisplayName": { + "type": "string" + }, + "Address": { + "$ref": "#/definitions/PhysicalAddress" + }, + "Coordinates": { + "$ref": "#/definitions/GeoCoordinates" + } + } + }, + "Recipient": { + "type": "object", + "properties": { + "EmailAddress": { + "$ref": "#/definitions/EmailAddress" + } + } + }, + "PatternedRecurrence": { + "type": "object", + "properties": { + "Pattern": { + "$ref": "#/definitions/RecurrencePattern" + }, + "Range": { + "$ref": "#/definitions/RecurrenceRange" + } + } + }, + "ResponseStatus": { + "type": "object", + "properties": { + "Response": { + "enum": [ + "None", + "Organizer", + "TentativelyAccepted", + "Accepted", + "Declined", + "NotResponded" + ], + "type": "string" + }, + "Time": { + "format": "date-time", + "type": "string" + } + } + }, + "EmailAddress": { + "type": "object", + "properties": { + "Name": { + "type": "string" + }, + "Address": { + "type": "string", + "format": "email" + } + } + }, + "PhysicalAddress": { + "type": "object", + "properties": { + "Street": { + "type": "string" + }, + "City": { + "type": "string" + }, + "State": { + "type": "string" + }, + "CountryOrRegion": { + "type": "string" + }, + "PostalCode": { + "type": "string" + } + } + }, + "GeoCoordinates": { + "type": "object", + "properties": { + "Altitude": { + "format": "double", + "type": "number" + }, + "Latitude": { + "format": "double", + "type": "number" + }, + "Longitude": { + "format": "double", + "type": "number" + }, + "Accuracy": { + "format": "double", + "type": "number" + }, + "AltitudeAccuracy": { + "format": "double", + "type": "number" + } + } + }, + "RecurrencePattern": { + "type": "object", + "properties": { + "Type": { + "enum": [ + "Daily", + "Weekly", + "AbsoluteMonthly", + "RelativeMonthly", + "AbsoluteYearly", + "RelativeYearly" + ], + "type": "string" + }, + "Interval": { + "format": "int32", + "type": "integer" + }, + "Month": { + "format": "int32", + "type": "integer" + }, + "DayOfMonth": { + "format": "int32", + "type": "integer" + }, + "DaysOfWeek": { + "type": "array", + "items": { + "enum": [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ], + "type": "string" + } + }, + "FirstDayOfWeek": { + "enum": [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ], + "type": "string" + }, + "Index": { + "enum": [ + "First", + "Second", + "Third", + "Fourth", + "Last" + ], + "type": "string" + } + } + }, + "RecurrenceRange": { + "type": "object", + "properties": { + "Type": { + "enum": [ + "EndDate", + "NoEnd", + "Numbered" + ], + "type": "string" + }, + "StartDate": { + "format": "date-time", + "type": "string" + }, + "EndDate": { + "format": "date-time", + "type": "string" + }, + "NumberOfOccurrences": { + "format": "int32", + "type": "integer" + } + } + }, + "CalendarEventListClientReceive": { + "description": "The list of calendar items", + "type": "object", + "properties": { + "value": { + "description": "List of calendar items", + "type": "array", + "items": { + "$ref": "#/definitions/CalendarEventClientReceive" + } + } + } + }, + "CalendarEventClientReceive": { + "description": "Connector specific calendar event model class for the client", + "type": "object", + "properties": { + "Subject": { + "description": "Event subject", + "type": "string", + "x-ms-summary": "Subject" + }, + "Start": { + "format": "date-time", + "description": "Start time of the event (example: '2016-11-01T14:30:00Z')", + "type": "string", + "x-ms-summary": "Start time" + }, + "End": { + "format": "date-time", + "description": "End time of the event (example: '2016-11-01T15:30:00Z')", + "type": "string", + "x-ms-summary": "End time" + }, + "ShowAs": { + "format": "int32", + "description": "Status to show during the event (Unknown - -1, Free - 0, Tentative - 1, Busy - 2, Oof - 3, WorkingElsewhere - 4)", + "type": "integer", + "x-ms-summary": "Show as", + "x-ms-visibility": "advanced" + }, + "Recurrence": { + "format": "int32", + "description": "The recurrence pattern for the event (None - 0, Daily - 1, Weekly - 2, Monthly - 3, Yearly - 4)", + "type": "integer", + "x-ms-summary": "Recurrence", + "x-ms-visibility": "advanced" + }, + "ResponseType": { + "format": "int32", + "description": "The response type of the event (None - 0, Organizer - 1, TentativelyAccepted - 2, Accepted - 3, Declined - 4, NotResponded - 5)", + "type": "integer", + "x-ms-summary": "Response type", + "x-ms-visibility": "advanced" + }, + "ResponseTime": { + "format": "date-time", + "description": "The response time of the event", + "type": "string", + "x-ms-summary": "Response time", + "x-ms-visibility": "advanced" + }, + "ICalUId": { + "description": "A unique identifier that is shared by all instances of an event across different calendars", + "type": "string", + "x-ms-summary": "Event Unique ID", + "x-ms-visibility": "advanced" + }, + "Importance": { + "format": "int32", + "description": "The importance of the event (0 - Low, 1 - Normal, 2 - High)", + "type": "integer", + "x-ms-summary": "Importance", + "x-ms-visibility": "advanced" + }, + "Id": { + "description": "The event's unique identifier", + "type": "string", + "x-ms-summary": "Id", + "x-ms-visibility": "advanced" + }, + "DateTimeCreated": { + "format": "date-time", + "description": "The date and time that the event was created", + "type": "string", + "x-ms-summary": "Created time", + "x-ms-visibility": "advanced" + }, + "DateTimeLastModified": { + "format": "date-time", + "description": "The date and time that the event was last modified", + "type": "string", + "x-ms-summary": "Last modified time", + "x-ms-visibility": "advanced" + }, + "Organizer": { + "format": "email", + "description": "The organizer of the event", + "type": "string", + "x-ms-summary": "Organizer", + "x-ms-visibility": "advanced" + }, + "TimeZone": { + "description": "Time zone of the event", + "type": "string", + "x-ms-summary": "Time zone", + "x-ms-visibility": "advanced" + }, + "SeriesMasterId": { + "description": "Unique identifier for Series Master event type", + "type": "string", + "x-ms-summary": "Series master id", + "x-ms-visibility": "advanced" + }, + "Categories": { + "description": "The categories associated with the event", + "type": "array", + "items": { + "type": "string" + }, + "x-ms-summary": "Categories", + "x-ms-visibility": "advanced" + }, + "WebLink": { + "format": "uri", + "description": "The URL to open the event in Outlook Web App", + "type": "string", + "x-ms-summary": "Web link", + "x-ms-visibility": "advanced" + }, + "RequiredAttendees": { + "format": "email", + "description": "Required attendees for the event separated by semicolons", + "type": "string", + "x-ms-summary": "Required attendees", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + } + }, + "OptionalAttendees": { + "format": "email", + "description": "Optional attendees for the event separated by semicolons", + "type": "string", + "x-ms-summary": "Optional attendees", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + } + }, + "ResourceAttendees": { + "description": "Resource attendees for the event separated by semicolons", + "type": "string", + "x-ms-summary": "Resource attendees", + "x-ms-visibility": "advanced" + }, + "Body": { + "description": "Body of the message associated with the event", + "type": "string", + "x-ms-summary": "Body", + "x-ms-visibility": "advanced" + }, + "IsHtml": { + "description": "Set to true if the body is Html", + "type": "boolean", + "x-ms-summary": "Is HTML", + "x-ms-visibility": "advanced" + }, + "Location": { + "description": "Location of the event", + "type": "string", + "x-ms-summary": "Location", + "x-ms-visibility": "advanced" + }, + "IsAllDay": { + "description": "Set to true if the event lasts all day", + "type": "boolean", + "x-ms-summary": "Is all day event?", + "x-ms-visibility": "advanced" + }, + "RecurrenceEnd": { + "format": "date-time", + "description": "End time of the recurrence", + "type": "string", + "x-ms-summary": "Recurrence end time", + "x-ms-visibility": "advanced" + }, + "NumberOfOccurrences": { + "format": "int32", + "description": "How many times to repeat the event", + "type": "integer", + "x-ms-summary": "Number of occurrences", + "x-ms-visibility": "advanced" + }, + "Reminder": { + "format": "int32", + "description": "Time in minutes before event start to remind", + "type": "integer", + "x-ms-summary": "Reminder", + "x-ms-visibility": "advanced" + }, + "ResponseRequested": { + "description": "Set to true if the sender would like a response when the event is accepted or declined", + "type": "boolean", + "x-ms-summary": "Response requested", + "x-ms-visibility": "advanced" + } + } + }, + "PaginatedListResponse[CalendarEventClientReceiveStringEnums]": { + "description": "Response containing a list and next link", + "type": "object", + "properties": { + "Values": { + "description": "Values", + "type": "array", + "items": { + "$ref": "#/definitions/CalendarEventClientReceiveStringEnums" + } + } + } + }, + "CalendarEventClientReceiveStringEnums": { + "description": "Connector specific calendar event model class for the client", + "type": "object", + "properties": { + "Importance": { + "description": "The importance of the event: Low, Normal, or High", + "enum": [ + "Low", + "Normal", + "High" + ], + "type": "string", + "x-ms-summary": "Importance", + "x-ms-visibility": "advanced" + }, + "ResponseType": { + "description": "The response type of the event: None, Organizer, TentativelyAccepted, Accepted, Declined or NotResponded", + "enum": [ + "None", + "Organizer", + "TentativelyAccepted", + "Accepted", + "Declined", + "NotResponded" + ], + "type": "string", + "x-ms-summary": "Response type", + "x-ms-visibility": "advanced" + }, + "Recurrence": { + "description": "The recurrence pattern for the event", + "enum": [ + "None", + "Daily", + "Weekly", + "Monthly", + "Yearly" + ], + "type": "string", + "x-ms-summary": "Recurrence", + "x-ms-visibility": "advanced" + }, + "ShowAs": { + "description": "Status to show during the event", + "enum": [ + "Free", + "Tentative", + "Busy", + "Oof", + "WorkingElsewhere", + "Unknown" + ], + "type": "string", + "x-ms-summary": "Show as", + "x-ms-visibility": "advanced" + }, + "Subject": { + "description": "Event subject", + "type": "string", + "x-ms-summary": "Subject" + }, + "Start": { + "format": "date-time", + "description": "Start time of the event (example: '2016-11-01T14:30:00Z')", + "type": "string", + "x-ms-summary": "Start time" + }, + "End": { + "format": "date-time", + "description": "End time of the event (example: '2016-11-01T15:30:00Z')", + "type": "string", + "x-ms-summary": "End time" + }, + "ResponseTime": { + "format": "date-time", + "description": "The response time of the event", + "type": "string", + "x-ms-summary": "Response time", + "x-ms-visibility": "advanced" + }, + "ICalUId": { + "description": "A unique identifier that is shared by all instances of an event across different calendars", + "type": "string", + "x-ms-summary": "Event Unique ID", + "x-ms-visibility": "advanced" + }, + "Id": { + "description": "The event's unique identifier", + "type": "string", + "x-ms-summary": "Id", + "x-ms-visibility": "advanced" + }, + "DateTimeCreated": { + "format": "date-time", + "description": "The date and time that the event was created", + "type": "string", + "x-ms-summary": "Created time", + "x-ms-visibility": "advanced" + }, + "DateTimeLastModified": { + "format": "date-time", + "description": "The date and time that the event was last modified", + "type": "string", + "x-ms-summary": "Last modified time", + "x-ms-visibility": "advanced" + }, + "Organizer": { + "format": "email", + "description": "The organizer of the event", + "type": "string", + "x-ms-summary": "Organizer", + "x-ms-visibility": "advanced" + }, + "TimeZone": { + "description": "Time zone of the event", + "type": "string", + "x-ms-summary": "Time zone", + "x-ms-visibility": "advanced" + }, + "SeriesMasterId": { + "description": "Unique identifier for Series Master event type", + "type": "string", + "x-ms-summary": "Series master id", + "x-ms-visibility": "advanced" + }, + "Categories": { + "description": "The categories associated with the event", + "type": "array", + "items": { + "type": "string" + }, + "x-ms-summary": "Categories", + "x-ms-visibility": "advanced" + }, + "WebLink": { + "format": "uri", + "description": "The URL to open the event in Outlook Web App", + "type": "string", + "x-ms-summary": "Web link", + "x-ms-visibility": "advanced" + }, + "RequiredAttendees": { + "format": "email", + "description": "Required attendees for the event separated by semicolons", + "type": "string", + "x-ms-summary": "Required attendees", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + } + }, + "OptionalAttendees": { + "format": "email", + "description": "Optional attendees for the event separated by semicolons", + "type": "string", + "x-ms-summary": "Optional attendees", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + } + }, + "ResourceAttendees": { + "description": "Resource attendees for the event separated by semicolons", + "type": "string", + "x-ms-summary": "Resource attendees", + "x-ms-visibility": "advanced" + }, + "Body": { + "description": "Body of the message associated with the event", + "type": "string", + "x-ms-summary": "Body", + "x-ms-visibility": "advanced" + }, + "IsHtml": { + "description": "Set to true if the body is Html", + "type": "boolean", + "x-ms-summary": "Is HTML", + "x-ms-visibility": "advanced" + }, + "Location": { + "description": "Location of the event", + "type": "string", + "x-ms-summary": "Location", + "x-ms-visibility": "advanced" + }, + "IsAllDay": { + "description": "Set to true if the event lasts all day", + "type": "boolean", + "x-ms-summary": "Is all day event?", + "x-ms-visibility": "advanced" + }, + "RecurrenceEnd": { + "format": "date-time", + "description": "End time of the recurrence", + "type": "string", + "x-ms-summary": "Recurrence end time", + "x-ms-visibility": "advanced" + }, + "NumberOfOccurrences": { + "format": "int32", + "description": "How many times to repeat the event", + "type": "integer", + "x-ms-summary": "Number of occurrences", + "x-ms-visibility": "advanced" + }, + "Reminder": { + "format": "int32", + "description": "Time in minutes before event start to remind", + "type": "integer", + "x-ms-summary": "Reminder", + "x-ms-visibility": "advanced" + }, + "ResponseRequested": { + "description": "Set to true if the sender would like a response when the event is accepted or declined", + "type": "boolean", + "x-ms-summary": "Response requested", + "x-ms-visibility": "advanced" + } + } + }, + "ClientSubscription": { + "description": "Describes the subscription information.", + "required": [ + "NotificationUrl" + ], + "type": "object", + "properties": { + "NotificationUrl": { + "description": "Callback url to the flow engine. Expected as part of the request and provided by Flow.", + "type": "string", + "x-ms-visibility": "internal", + "x-ms-notification-url": true + } + } + }, + "SubscriptionResponse": { + "description": "Base response model that connector returns to LA engine", + "type": "object", + "properties": { + "id": { + "description": "Id of the subscription", + "type": "string" + }, + "resource": { + "description": "Resource of the subscription request", + "type": "string" + }, + "notificationType": { + "description": "Notification Type", + "type": "string" + }, + "notificationUrl": { + "description": "Notification Url", + "type": "string" + } + } + }, + "EntityListResponse[FilePickerFile]": { + "description": "Entity list response", + "type": "object", + "properties": { + "value": { + "description": "List of values", + "type": "array", + "items": { + "$ref": "#/definitions/FilePickerFile" + } + } + } + }, + "FilePickerFile": { + "description": "FilePickerFile", + "type": "object", + "properties": { + "Id": { + "description": "Uniquely identifies the file", + "type": "string" + }, + "DisplayName": { + "description": "Display name for the file", + "type": "string" + }, + "IsFolder": { + "description": "Set to true if the file is a folder", + "type": "boolean" + }, + "Path": { + "description": "Path of the file", + "type": "string" + } + } + }, + "ClientSendMessage": { + "description": "Send Email Message", + "required": [ + "To", + "Subject", + "Body" + ], + "type": "object", + "properties": { + "Cc": { + "format": "email", + "description": "Specify email addresses separated by semicolons like someone@contoso.com", + "type": "string", + "x-ms-summary": "CC", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + } + }, + "Bcc": { + "format": "email", + "description": "Specify email addresses separated by semicolons like someone@contoso.com", + "type": "string", + "x-ms-summary": "BCC", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + } + }, + "To": { + "format": "email", + "description": "Specify email addresses separated by semicolons like someone@contoso.com", + "type": "string", + "x-ms-summary": "To", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + } + }, + "Subject": { + "description": "Specify the subject of the mail", + "type": "string", + "x-ms-summary": "Subject" + }, + "Body": { + "description": "Specify the body of the mail", + "type": "string", + "x-ms-summary": "Body" + }, + "Attachments": { + "description": "Attachments", + "type": "array", + "items": { + "$ref": "#/definitions/ClientSendAttachment" + }, + "x-ms-summary": "Attachments", + "x-ms-visibility": "advanced" + }, + "ReplyTo": { + "format": "email", + "description": "The email addresses to use when replying", + "type": "string", + "x-ms-summary": "Reply To", + "x-ms-visibility": "advanced" + }, + "Importance": { + "description": "Importance", + "default": "Normal", + "enum": [ + "Low", + "Normal", + "High" + ], + "type": "string", + "x-ms-summary": "Importance", + "x-ms-visibility": "advanced" + }, + "IsHtml": { + "description": "Is Html?", + "type": "boolean", + "x-ms-summary": "Is HTML", + "x-ms-visibility": "advanced" + } + } + }, + "ClientSendAttachment": { + "description": "Attachment", + "required": [ + "Name", + "ContentBytes" + ], + "type": "object", + "properties": { + "Name": { + "description": "Attachment name", + "type": "string", + "x-ms-summary": "Name" + }, + "ContentBytes": { + "format": "byte", + "description": "Attachment content", + "type": "string", + "x-ms-summary": "Content" + } + } + }, + "ClientReceiveMessageStringEnums": { + "description": "Receive Email Message", + "type": "object", + "properties": { + "Importance": { + "description": "The importance of the message", + "enum": [ + "Low", + "Normal", + "High" + ], + "type": "string", + "x-ms-summary": "Importance" + }, + "From": { + "format": "email", + "description": "The mailbox owner and sender of the message", + "type": "string", + "x-ms-summary": "From", + "x-ms-visibility": "important" + }, + "To": { + "format": "email", + "description": "The recipients for the message", + "type": "string", + "x-ms-summary": "To", + "x-ms-visibility": "important" + }, + "Cc": { + "format": "email", + "description": "The Cc recipients for the message", + "type": "string", + "x-ms-summary": "CC", + "x-ms-visibility": "advanced" + }, + "Bcc": { + "format": "email", + "description": "The Bcc recipients for the message", + "type": "string", + "x-ms-summary": "BCC", + "x-ms-visibility": "advanced" + }, + "ReplyTo": { + "format": "email", + "description": "The email addresses to use when replying", + "type": "string", + "x-ms-summary": "Reply To", + "x-ms-visibility": "advanced" + }, + "Subject": { + "description": "The subject of the message", + "type": "string", + "x-ms-summary": "Subject", + "x-ms-visibility": "important" + }, + "Body": { + "description": "The body of the message", + "type": "string", + "x-ms-summary": "Body", + "x-ms-visibility": "important" + }, + "BodyPreview": { + "description": "The preview of the message", + "type": "string", + "x-ms-summary": "Body Preview", + "x-ms-visibility": "advanced" + }, + "HasAttachment": { + "description": "Indicates whether the message has attachments", + "type": "boolean", + "x-ms-summary": "Has Attachment" + }, + "Id": { + "description": "The unique identifier of the message", + "type": "string", + "x-ms-summary": "Message Id", + "x-ms-visibility": "advanced" + }, + "InternetMessageId": { + "description": "The message ID in the format specified by RFC2822", + "type": "string", + "x-ms-summary": "Internet Message Id", + "x-ms-visibility": "advanced" + }, + "ConversationId": { + "description": "The Id of the conversation the email belongs to", + "type": "string", + "x-ms-summary": "Conversation Id", + "x-ms-visibility": "advanced" + }, + "DateTimeReceived": { + "format": "date-time", + "description": "The date and time the message was received", + "type": "string", + "x-ms-summary": "Received Time", + "x-ms-visibility": "advanced" + }, + "IsRead": { + "description": "Indicates whether the message has been read", + "type": "boolean", + "x-ms-summary": "Is Read", + "x-ms-visibility": "advanced" + }, + "Attachments": { + "description": "The file attachments for the message", + "type": "array", + "items": { + "$ref": "#/definitions/ClientReceiveFileAttachment" + }, + "x-ms-summary": "Attachments", + "x-ms-visibility": "advanced" + }, + "IsHtml": { + "description": "Is Html?", + "type": "boolean", + "x-ms-summary": "Is HTML", + "x-ms-visibility": "advanced" + } + } + }, + "ClientReceiveFileAttachment": { + "description": "File Attachment", + "type": "object", + "properties": { + "Id": { + "description": "Attachment Id", + "type": "string", + "x-ms-summary": "Attachment Id" + }, + "Name": { + "description": "Attachment name", + "type": "string", + "x-ms-summary": "Name" + }, + "ContentBytes": { + "format": "byte", + "description": "Attachment content", + "type": "string", + "x-ms-summary": "Content" + }, + "ContentType": { + "description": "Attachment content type", + "type": "string", + "x-ms-summary": "Content-Type" + }, + "Size": { + "format": "int64", + "description": "The size in bytes of the attachment", + "type": "integer", + "x-ms-summary": "Size" + }, + "IsInline": { + "description": "Set to true if this is an inline attachment", + "type": "boolean", + "x-ms-summary": "Is Inline" + }, + "LastModifiedDateTime": { + "format": "date-time", + "description": "The date and time when the attachment was last modified", + "type": "string", + "x-ms-summary": "Last Modified DateTime" + }, + "ContentId": { + "description": "Content Id", + "type": "string", + "x-ms-summary": "Content Id" + } + } + }, + "ClientSendHtmlMessage": { + "description": "Send HTML Email Message", + "required": [ + "To", + "Subject", + "Body" + ], + "type": "object", + "properties": { + "To": { + "format": "email", + "description": "Specify email addresses separated by semicolons like someone@contoso.com", + "type": "string", + "x-ms-summary": "To", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + } + }, + "Subject": { + "description": "Specify the subject of the mail", + "type": "string", + "x-ms-summary": "Subject" + }, + "Body": { + "format": "html", + "description": "Specify the body of the mail", + "type": "string", + "x-ms-summary": "Body" + }, + "From": { + "format": "email", + "description": "Email address to send mail from (requires \"Send as\" or \"Send on behalf of\" permission for that mailbox). For more info on granting permissions please refer https://docs.microsoft.com/office365/admin/manage/send-email-as-distribution-list", + "type": "string", + "x-ms-summary": "From (Send as)", + "x-ms-visibility": "advanced" + }, + "Cc": { + "format": "email", + "description": "Specify email addresses separated by semicolons like someone@contoso.com", + "type": "string", + "x-ms-summary": "CC", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + } + }, + "Bcc": { + "format": "email", + "description": "Specify email addresses separated by semicolons like someone@contoso.com", + "type": "string", + "x-ms-summary": "BCC", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + } + }, + "Attachments": { + "description": "Attachments", + "type": "array", + "items": { + "$ref": "#/definitions/ClientSendAttachment" + }, + "x-ms-summary": "Attachments", + "x-ms-visibility": "advanced" + }, + "ReplyTo": { + "format": "email", + "description": "The email addresses to use when replying", + "type": "string", + "x-ms-summary": "Reply To", + "x-ms-visibility": "advanced" + }, + "Importance": { + "description": "Importance", + "default": "Normal", + "enum": [ + "Low", + "Normal", + "High" + ], + "type": "string", + "x-ms-summary": "Importance", + "x-ms-visibility": "advanced" + } + } + }, + "BatchResponse[ClientReceiveMessage]": { + "description": "Represents a wrapper object for batch response", + "type": "object", + "properties": { + "value": { + "description": "A list of the response objects", + "type": "array", + "items": { + "$ref": "#/definitions/ClientReceiveMessage" + }, + "readOnly": true + } + } + }, + "ClientReceiveMessage": { + "description": "Receive Email Message", + "type": "object", + "properties": { + "From": { + "format": "email", + "description": "The mailbox owner and sender of the message", + "type": "string", + "x-ms-summary": "From", + "x-ms-visibility": "important" + }, + "To": { + "format": "email", + "description": "The recipients for the message", + "type": "string", + "x-ms-summary": "To", + "x-ms-visibility": "important" + }, + "Cc": { + "format": "email", + "description": "The Cc recipients for the message", + "type": "string", + "x-ms-summary": "CC", + "x-ms-visibility": "advanced" + }, + "Bcc": { + "format": "email", + "description": "The Bcc recipients for the message", + "type": "string", + "x-ms-summary": "BCC", + "x-ms-visibility": "advanced" + }, + "ReplyTo": { + "format": "email", + "description": "The email addresses to use when replying", + "type": "string", + "x-ms-summary": "Reply To", + "x-ms-visibility": "advanced" + }, + "Subject": { + "description": "The subject of the message", + "type": "string", + "x-ms-summary": "Subject", + "x-ms-visibility": "important" + }, + "Body": { + "description": "The body of the message", + "type": "string", + "x-ms-summary": "Body", + "x-ms-visibility": "important" + }, + "Importance": { + "format": "int32", + "description": "The importance of the message (0 - Low, 1 - Normal, 2 - High)", + "type": "integer", + "x-ms-summary": "Importance" + }, + "BodyPreview": { + "description": "The preview of the message", + "type": "string", + "x-ms-summary": "Body Preview", + "x-ms-visibility": "advanced" + }, + "HasAttachment": { + "description": "Indicates whether the message has attachments", + "type": "boolean", + "x-ms-summary": "Has Attachment" + }, + "Id": { + "description": "The unique identifier of the message", + "type": "string", + "x-ms-summary": "Message Id", + "x-ms-visibility": "advanced" + }, + "InternetMessageId": { + "description": "The message ID in the format specified by RFC2822", + "type": "string", + "x-ms-summary": "Internet Message Id", + "x-ms-visibility": "advanced" + }, + "ConversationId": { + "description": "The Id of the conversation the email belongs to", + "type": "string", + "x-ms-summary": "Conversation Id", + "x-ms-visibility": "advanced" + }, + "DateTimeReceived": { + "format": "date-time", + "description": "The date and time the message was received", + "type": "string", + "x-ms-summary": "Received Time", + "x-ms-visibility": "advanced" + }, + "IsRead": { + "description": "Indicates whether the message has been read", + "type": "boolean", + "x-ms-summary": "Is Read", + "x-ms-visibility": "advanced" + }, + "Attachments": { + "description": "The file attachments for the message", + "type": "array", + "items": { + "$ref": "#/definitions/ClientReceiveFileAttachment" + }, + "x-ms-summary": "Attachments", + "x-ms-visibility": "advanced" + }, + "IsHtml": { + "description": "Is Html?", + "type": "boolean", + "x-ms-summary": "Is HTML", + "x-ms-visibility": "advanced" + } + } + }, + "ReplyMessage": { + "description": "Properties of an email reply message.", + "type": "object", + "properties": { + "To": { + "format": "email", + "description": "Example: recipient1@domain.com; recipient2@domain.com", + "type": "string", + "x-ms-summary": "To", + "x-ms-visibility": "advanced" + }, + "Cc": { + "format": "email", + "description": "Example: recipient1@domain.com; recipient2@domain.com", + "type": "string", + "x-ms-summary": "CC", + "x-ms-visibility": "advanced" + }, + "Bcc": { + "format": "email", + "description": "Example: recipient1@domain.com; recipient2@domain.com", + "type": "string", + "x-ms-summary": "BCC", + "x-ms-visibility": "advanced" + }, + "Subject": { + "description": "Email subject (if empty, the original subject used).", + "type": "string", + "x-ms-summary": "Subject", + "x-ms-visibility": "advanced" + }, + "Body": { + "description": "Content of the email.", + "type": "string", + "x-ms-summary": "Body" + }, + "ReplyAll": { + "description": "True to reply to all recipients. (default: False)", + "type": "boolean", + "x-ms-summary": "Reply All" + }, + "IsHtml": { + "description": "True to send the reply as HTML. (default: True)", + "type": "boolean", + "x-ms-summary": "Is HTML", + "x-ms-visibility": "advanced" + }, + "Importance": { + "description": "Pick an importance. (default: Low)", + "enum": [ + "Low", + "Normal", + "High" + ], + "type": "string", + "x-ms-summary": "Importance", + "x-ms-visibility": "advanced" + }, + "Attachments": { + "description": "Details of attachments to be sent along with the reply.", + "type": "array", + "items": { + "$ref": "#/definitions/ClientSendAttachment" + }, + "x-ms-summary": "Attachments" + } + } + }, + "ReplyHtmlMessage": { + "description": "Properties of an HTML email reply message.", + "type": "object", + "properties": { + "To": { + "format": "email", + "description": "Example: recipient1@domain.com; recipient2@domain.com", + "type": "string", + "x-ms-summary": "To", + "x-ms-visibility": "advanced" + }, + "Cc": { + "format": "email", + "description": "Example: recipient1@domain.com; recipient2@domain.com", + "type": "string", + "x-ms-summary": "CC", + "x-ms-visibility": "advanced" + }, + "Bcc": { + "format": "email", + "description": "Example: recipient1@domain.com; recipient2@domain.com", + "type": "string", + "x-ms-summary": "BCC", + "x-ms-visibility": "advanced" + }, + "Subject": { + "description": "Email subject (if empty, the original subject used).", + "type": "string", + "x-ms-summary": "Subject", + "x-ms-visibility": "advanced" + }, + "Body": { + "format": "html", + "description": "Content of the email.", + "type": "string", + "x-ms-summary": "Body" + }, + "ReplyAll": { + "description": "True to reply to all recipients. (default: False)", + "type": "boolean", + "x-ms-summary": "Reply All" + }, + "Importance": { + "description": "Pick an importance. (default: Low)", + "enum": [ + "Low", + "Normal", + "High" + ], + "type": "string", + "x-ms-summary": "Importance", + "x-ms-visibility": "advanced" + }, + "Attachments": { + "description": "Details of attachments to be sent along with the reply.", + "type": "array", + "items": { + "$ref": "#/definitions/ClientSendAttachment" + }, + "x-ms-summary": "Attachments" + } + } + }, + "TriggerBatchResponse[ClientReceiveMessage]": { + "description": "Represents a wrapper object for batch trigger response", + "type": "object", + "properties": { + "value": { + "description": "A list of the response objects", + "type": "array", + "items": { + "$ref": "#/definitions/ClientReceiveMessage" + } + } + } + }, + "DataSetsMetadata": { + "description": "Dataset metadata", + "type": "object", + "properties": { + "tabular": { + "$ref": "#/definitions/TabularDataSetsMetadata" + }, + "blob": { + "$ref": "#/definitions/BlobDataSetsMetadata" + } + } + }, + "TabularDataSetsMetadata": { + "description": "Tabular dataset metadata", + "type": "object", + "properties": { + "source": { + "description": "Dataset source", + "type": "string" + }, + "displayName": { + "description": "Dataset display name", + "type": "string" + }, + "urlEncoding": { + "description": "Dataset url encoding", + "type": "string" + }, + "tableDisplayName": { + "description": "Table display name", + "type": "string" + }, + "tablePluralName": { + "description": "Table plural display name", + "type": "string" + } + } + }, + "BlobDataSetsMetadata": { + "description": "Blob dataset metadata", + "type": "object", + "properties": { + "source": { + "description": "Blob dataset source", + "type": "string" + }, + "displayName": { + "description": "Blob dataset display name", + "type": "string" + }, + "urlEncoding": { + "description": "Blob dataset url encoding", + "type": "string" + } + } + }, + "OptionsEmailSubscription": { + "description": "Model for Options Email Subscription", + "required": [ + "Message", + "NotificationUrl" + ], + "type": "object", + "properties": { + "NotificationUrl": { + "description": "Gets or sets callback url to flow engine. It is expected as part of request", + "type": "string", + "x-ms-visibility": "internal", + "x-ms-notification-url": true + }, + "Message": { + "$ref": "#/definitions/MessageWithOptions" + } + } + }, + "MessageWithOptions": { + "description": "User Options Email Message. This is the message expected as part of user input", + "required": [ + "To" + ], + "type": "object", + "properties": { + "To": { + "format": "email", + "description": "Specify email addresses separated by semicolons like someone@contoso.com", + "type": "string", + "x-ms-summary": "To", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + } + }, + "Subject": { + "description": "Subject of the email", + "default": "Your input is required", + "type": "string", + "x-ms-summary": "Subject" + }, + "Options": { + "description": "List of comma separated options for the email response", + "default": "Choice1, Choice2, Choice3", + "type": "string", + "x-ms-summary": "User Options" + }, + "HeaderText": { + "description": "Header text for email body", + "type": "string", + "x-ms-summary": "Header Text", + "x-ms-visibility": "advanced" + }, + "SelectionText": { + "description": "Header text for users options selection", + "type": "string", + "x-ms-summary": "Selection Text", + "x-ms-visibility": "advanced" + }, + "Body": { + "description": "Body of the email", + "type": "string", + "x-ms-summary": "Body", + "x-ms-visibility": "advanced" + }, + "Importance": { + "description": "Importance", + "default": "Normal", + "enum": [ + "Low", + "Normal", + "High" + ], + "type": "string", + "x-ms-summary": "Importance", + "x-ms-visibility": "advanced" + }, + "Attachments": { + "description": "Attachments", + "type": "array", + "items": { + "$ref": "#/definitions/ClientSendAttachment" + }, + "x-ms-summary": "Attachments", + "x-ms-visibility": "advanced" + }, + "UseOnlyHTMLMessage": { + "description": "Use only HTML message", + "type": "boolean", + "x-ms-summary": "Use only HTML message", + "x-ms-visibility": "advanced" + }, + "HideHTMLMessage": { + "description": "If set to Yes, then the email body is hidden and only message card is displayed. Email clients which do not support actionable messages will display HTML message regardless of the parameter value.", + "default": false, + "type": "boolean", + "x-ms-summary": "Hide HTML message", + "x-ms-visibility": "advanced" + }, + "ShowHTMLConfirmationDialog": { + "description": "If set to Yes then a dialog wil be shown to confirm selected option of HTML message", + "default": false, + "type": "boolean", + "x-ms-summary": "Show HTML confirmation dialog", + "x-ms-visibility": "advanced" + } + } + }, + "ApprovalEmailResponse": { + "description": "Approval Email Response", + "type": "object", + "properties": { + "SelectedOption": { + "description": "User response", + "type": "string" + } + } + }, + "ApprovalEmailSubscription": { + "description": "Model for Approval Email Subscription", + "required": [ + "Message", + "NotificationUrl" + ], + "type": "object", + "properties": { + "NotificationUrl": { + "description": "Gets or sets callback url to flow engine. It is expected as part of request", + "type": "string", + "x-ms-visibility": "internal", + "x-ms-notification-url": true + }, + "Message": { + "$ref": "#/definitions/ApprovalMessage" + } + } + }, + "ApprovalMessage": { + "description": "Approval Email Message. This is the message expected as part of user input", + "required": [ + "To" + ], + "type": "object", + "properties": { + "To": { + "format": "email", + "description": "Specify email addresses separated by semicolons like someone@contoso.com", + "type": "string", + "x-ms-summary": "To", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + } + }, + "Subject": { + "description": "Subject", + "default": "Approval Request", + "type": "string", + "x-ms-summary": "Subject", + "x-ms-localizeDefaultValue": true + }, + "Options": { + "description": "User Options", + "default": "Approve, Reject", + "type": "string", + "x-ms-summary": "User Options", + "x-ms-localizeDefaultValue": true + }, + "HeaderText": { + "description": "Header text for email body", + "type": "string", + "x-ms-summary": "Header Text", + "x-ms-visibility": "advanced" + }, + "SelectionText": { + "description": "Header text for users options selection", + "type": "string", + "x-ms-summary": "Selection Text", + "x-ms-visibility": "advanced" + }, + "Body": { + "description": "Body", + "type": "string", + "x-ms-summary": "Body", + "x-ms-visibility": "advanced" + }, + "Importance": { + "description": "Importance", + "default": "Normal", + "enum": [ + "Low", + "Normal", + "High" + ], + "type": "string", + "x-ms-summary": "Importance", + "x-ms-visibility": "advanced" + }, + "Attachments": { + "description": "Attachments", + "type": "array", + "items": { + "$ref": "#/definitions/ClientSendAttachment" + }, + "x-ms-summary": "Attachments", + "x-ms-visibility": "advanced" + }, + "UseOnlyHTMLMessage": { + "description": "Use only HTML message", + "type": "boolean", + "x-ms-summary": "Use only HTML message", + "x-ms-visibility": "advanced" + }, + "HideHTMLMessage": { + "description": "If set to Yes, then the email body is hidden and only message card is displayed. Email clients which do not support actionable messages will display HTML message regardless of the parameter value.", + "default": false, + "type": "boolean", + "x-ms-summary": "Hide HTML message", + "x-ms-visibility": "advanced" + }, + "ShowHTMLConfirmationDialog": { + "description": "If set to Yes then a dialog wil be shown to confirm selected option of HTML message", + "default": false, + "type": "boolean", + "x-ms-summary": "Show HTML confirmation dialog", + "x-ms-visibility": "advanced" + } + } + }, + "SubscriptionPayload[OutlookReceiveMessage]": { + "description": "Payload from backend containing subscription metadata as well as data", + "type": "object", + "properties": { + "value": { + "description": "List of values", + "type": "array", + "items": { + "$ref": "#/definitions/SubscriptionPayloadEntity[OutlookReceiveMessage]" + } + } + } + }, + "SubscriptionPayloadEntity[OutlookReceiveMessage]": { + "description": "Subscription payload entity", + "type": "object", + "properties": { + "SequenceNumber": { + "format": "int32", + "description": "Sequence number", + "type": "integer" + }, + "ChangeType": { + "description": "Change type", + "type": "string" + }, + "ClientState": { + "description": "Client state", + "type": "string" + }, + "Resource": { + "description": "Resource", + "type": "string" + }, + "ResourceData": { + "$ref": "#/definitions/OutlookReceiveMessage" + } + } + }, + "OutlookReceiveMessage": { + "description": "Received message from outlook rest api", + "type": "object", + "properties": { + "InternetMessageId": { + "description": "Internet Message Id", + "type": "string" + }, + "BodyPreview": { + "description": "Body preview", + "type": "string" + }, + "Id": { + "description": "Id", + "type": "string" + }, + "ConversationId": { + "description": "Conversation Id", + "type": "string" + }, + "HasAttachments": { + "description": "Has attachments", + "type": "boolean" + }, + "IsRead": { + "description": "Is read", + "type": "boolean" + }, + "CreatedDateTime": { + "format": "date-time", + "description": "Created date and time", + "type": "string" + }, + "ReceivedDateTime": { + "format": "date-time", + "description": "Received date and time", + "type": "string" + }, + "LastModifiedDateTime": { + "format": "date-time", + "description": "Last modified date and time", + "type": "string" + }, + "Attachments": { + "description": "Attachments", + "type": "array", + "items": { + "$ref": "#/definitions/OutlookReceiveAttachment" + } + }, + "ToRecipients": { + "description": "To Recipient", + "type": "array", + "items": { + "$ref": "#/definitions/Recipient" + } + }, + "CcRecipients": { + "description": "Cc Recipients", + "type": "array", + "items": { + "$ref": "#/definitions/Recipient" + } + }, + "BccRecipients": { + "description": "Bcc Recipients", + "type": "array", + "items": { + "$ref": "#/definitions/Recipient" + } + }, + "ReplyTo": { + "description": "The email addresses to use when replying", + "type": "array", + "items": { + "$ref": "#/definitions/Recipient" + } + }, + "Subject": { + "description": "Subject", + "type": "string" + }, + "Body": { + "$ref": "#/definitions/ItemBody" + }, + "From": { + "$ref": "#/definitions/Recipient" + }, + "Importance": { + "description": "Importance", + "enum": [ + "Low", + "Normal", + "High" + ], + "type": "string" + }, + "InternetMessageHeaders": { + "description": "Internet message headers", + "type": "array", + "items": { + "$ref": "#/definitions/InternetMessageHeader" + } + } + } + }, + "OutlookReceiveAttachment": { + "description": "Attachment", + "type": "object", + "properties": { + "@odata.type": { + "description": "OData type", + "type": "string" + }, + "Id": { + "description": "Attachment Id", + "type": "string" + }, + "Name": { + "description": "Attachment name", + "type": "string" + }, + "ContentBytes": { + "description": "Attachment content", + "type": "string" + }, + "ContentType": { + "description": "Attachment content type", + "type": "string" + }, + "Size": { + "format": "int64", + "description": "Attachment size in bytes", + "type": "integer" + }, + "Permission": { + "description": "Permission associated with a reference attachment", + "type": "string" + }, + "ProviderType": { + "description": "Provider for the reference attachment", + "type": "string" + }, + "SourceUrl": { + "description": "Reference attachment source url", + "type": "string" + }, + "IsInline": { + "description": "Set to true if this is an inline attachment", + "type": "boolean" + }, + "LastModifiedDateTime": { + "format": "date-time", + "description": "The date and time when the attachment was last modified", + "type": "string" + }, + "ContentId": { + "description": "Content Id", + "type": "string" + } + } + }, + "InternetMessageHeader": { + "description": "Class representing a data structure for an Internet message header which is considered as SMTP header by Exchange", + "type": "object", + "properties": { + "Name": { + "description": "Header name", + "type": "string" + }, + "Value": { + "description": "Header value", + "type": "string" + } + } + }, + "SubscriptionPayload[SubscriptionEvent]": { + "description": "Payload from backend containing subscription metadata as well as data", + "type": "object", + "properties": { + "value": { + "description": "List of values", + "type": "array", + "items": { + "$ref": "#/definitions/SubscriptionPayloadEntity[SubscriptionEvent]" + } + } + } + }, + "SubscriptionPayloadEntity[SubscriptionEvent]": { + "description": "Subscription payload entity", + "type": "object", + "properties": { + "SequenceNumber": { + "format": "int32", + "description": "Sequence number", + "type": "integer" + }, + "ChangeType": { + "description": "Change type", + "type": "string" + }, + "ClientState": { + "description": "Client state", + "type": "string" + }, + "Resource": { + "description": "Resource", + "type": "string" + }, + "ResourceData": { + "$ref": "#/definitions/SubscriptionEvent" + } + } + }, + "SubscriptionEvent": { + "description": "Subscription event", + "type": "object", + "properties": { + "Id": { + "description": "The Event's unique identifier", + "type": "string" + } + } + }, + "EntityListResponse[Table]": { + "description": "Entity list response", + "type": "object", + "properties": { + "value": { + "description": "List of values", + "type": "array", + "items": { + "$ref": "#/definitions/Table" + } + } + } + }, + "Table": { + "description": "Represents a table.", + "type": "object", + "properties": { + "Name": { + "description": "The name of the table. The name is used at runtime.", + "type": "string" + }, + "DisplayName": { + "description": "The display name of the table.", + "type": "string" + }, + "DynamicProperties": { + "description": "Additional table properties provided by the connector to the clients.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/Object" + }, + "readOnly": true + } + } + }, + "EntityListResponse[CalendarEventBackend]": { + "description": "Entity list response", + "type": "object", + "properties": { + "value": { + "description": "List of values", + "type": "array", + "items": { + "$ref": "#/definitions/CalendarEventBackend" + } + } + } + }, + "EntityListResponse[CalendarEventClientReceiveStringEnums]": { + "description": "Entity list response", + "type": "object", + "properties": { + "value": { + "description": "List of values", + "type": "array", + "items": { + "$ref": "#/definitions/CalendarEventClientReceiveStringEnums" + } + } + } + }, + "CalendarEventClient": { + "description": "Connector specific calendar event model class for the client", + "required": [ + "Subject", + "Start", + "End" + ], + "type": "object", + "properties": { + "Subject": { + "description": "Event subject", + "type": "string", + "x-ms-summary": "Subject" + }, + "Start": { + "format": "date-time", + "description": "Start time of the event (example: '2016-11-01T14:30:00Z')", + "type": "string", + "x-ms-summary": "Start time" + }, + "End": { + "format": "date-time", + "description": "End time of the event (example: '2016-11-01T15:30:00Z')", + "type": "string", + "x-ms-summary": "End time" + }, + "TimeZone": { + "description": "Time zone of the event", + "enum": [ + "", + "(UTC-12:00) International Date Line West", + "(UTC-11:00) Coordinated Universal Time-11", + "(UTC-10:00) Aleutian Islands", + "(UTC-10:00) Hawaii", + "(UTC-09:30) Marquesas Islands", + "(UTC-09:00) Alaska", + "(UTC-09:00) Coordinated Universal Time-09", + "(UTC-08:00) Baja California", + "(UTC-08:00) Coordinated Universal Time-08", + "(UTC-08:00) Pacific Time (US & Canada)", + "(UTC-07:00) Arizona", + "(UTC-07:00) Chihuahua, La Paz, Mazatlan", + "(UTC-07:00) Mountain Time (US & Canada)", + "(UTC-06:00) Central America", + "(UTC-06:00) Central Time (US & Canada)", + "(UTC-06:00) Easter Island", + "(UTC-06:00) Guadalajara, Mexico City, Monterrey", + "(UTC-06:00) Saskatchewan", + "(UTC-05:00) Bogota, Lima, Quito, Rio Branco", + "(UTC-05:00) Chetumal", + "(UTC-05:00) Eastern Time (US & Canada)", + "(UTC-05:00) Haiti", + "(UTC-05:00) Havana", + "(UTC-05:00) Indiana (East)", + "(UTC-04:00) Asuncion", + "(UTC-04:00) Atlantic Time (Canada)", + "(UTC-04:00) Caracas", + "(UTC-04:00) Cuiaba", + "(UTC-04:00) Georgetown, La Paz, Manaus, San Juan", + "(UTC-04:00) Santiago", + "(UTC-04:00) Turks and Caicos", + "(UTC-03:30) Newfoundland", + "(UTC-03:00) Araguaina", + "(UTC-03:00) Brasilia", + "(UTC-03:00) Cayenne, Fortaleza", + "(UTC-03:00) City of Buenos Aires", + "(UTC-03:00) Greenland", + "(UTC-03:00) Montevideo", + "(UTC-03:00) Punta Arenas", + "(UTC-03:00) Saint Pierre and Miquelon", + "(UTC-03:00) Salvador", + "(UTC-02:00) Coordinated Universal Time-02", + "(UTC-02:00) Mid-Atlantic - Old", + "(UTC-01:00) Azores", + "(UTC-01:00) Cabo Verde Is.", + "(UTC) Coordinated Universal Time", + "(UTC+00:00) Casablanca", + "(UTC+00:00) Dublin, Edinburgh, Lisbon, London", + "(UTC+00:00) Monrovia, Reykjavik", + "(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna", + "(UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague", + "(UTC+01:00) Brussels, Copenhagen, Madrid, Paris", + "(UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb", + "(UTC+01:00) West Central Africa", + "(UTC+01:00) Windhoek", + "(UTC+02:00) Amman", + "(UTC+02:00) Athens, Bucharest", + "(UTC+02:00) Beirut", + "(UTC+02:00) Cairo", + "(UTC+02:00) Chisinau", + "(UTC+02:00) Damascus", + "(UTC+02:00) Gaza, Hebron", + "(UTC+02:00) Harare, Pretoria", + "(UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius", + "(UTC+02:00) Jerusalem", + "(UTC+02:00) Kaliningrad", + "(UTC+02:00) Tripoli", + "(UTC+03:00) Baghdad", + "(UTC+03:00) Istanbul", + "(UTC+03:00) Kuwait, Riyadh", + "(UTC+03:00) Minsk", + "(UTC+03:00) Moscow, St. Petersburg", + "(UTC+03:00) Nairobi", + "(UTC+03:30) Tehran", + "(UTC+04:00) Abu Dhabi, Muscat", + "(UTC+04:00) Astrakhan, Ulyanovsk", + "(UTC+04:00) Baku", + "(UTC+04:00) Izhevsk, Samara", + "(UTC+04:00) Port Louis", + "(UTC+04:00) Saratov", + "(UTC+04:00) Tbilisi", + "(UTC+04:00) Volgograd", + "(UTC+04:00) Yerevan", + "(UTC+04:30) Kabul", + "(UTC+05:00) Ashgabat, Tashkent", + "(UTC+05:00) Ekaterinburg", + "(UTC+05:00) Islamabad, Karachi", + "(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi", + "(UTC+05:30) Sri Jayawardenepura", + "(UTC+05:45) Kathmandu", + "(UTC+06:00) Astana", + "(UTC+06:00) Dhaka", + "(UTC+06:00) Omsk", + "(UTC+06:30) Yangon (Rangoon)", + "(UTC+07:00) Bangkok, Hanoi, Jakarta", + "(UTC+07:00) Barnaul, Gorno-Altaysk", + "(UTC+07:00) Hovd", + "(UTC+07:00) Krasnoyarsk", + "(UTC+07:00) Novosibirsk", + "(UTC+07:00) Tomsk", + "(UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi", + "(UTC+08:00) Irkutsk", + "(UTC+08:00) Kuala Lumpur, Singapore", + "(UTC+08:00) Perth", + "(UTC+08:00) Taipei", + "(UTC+08:00) Ulaanbaatar", + "(UTC+08:30) Pyongyang", + "(UTC+08:45) Eucla", + "(UTC+09:00) Chita", + "(UTC+09:00) Osaka, Sapporo, Tokyo", + "(UTC+09:00) Seoul", + "(UTC+09:00) Yakutsk", + "(UTC+09:30) Adelaide", + "(UTC+09:30) Darwin", + "(UTC+10:00) Brisbane", + "(UTC+10:00) Canberra, Melbourne, Sydney", + "(UTC+10:00) Guam, Port Moresby", + "(UTC+10:00) Hobart", + "(UTC+10:00) Vladivostok", + "(UTC+10:30) Lord Howe Island", + "(UTC+11:00) Bougainville Island", + "(UTC+11:00) Chokurdakh", + "(UTC+11:00) Magadan", + "(UTC+11:00) Norfolk Island", + "(UTC+11:00) Sakhalin", + "(UTC+11:00) Solomon Is., New Caledonia", + "(UTC+12:00) Anadyr, Petropavlovsk-Kamchatsky", + "(UTC+12:00) Auckland, Wellington", + "(UTC+12:00) Coordinated Universal Time+12", + "(UTC+12:00) Fiji", + "(UTC+12:00) Petropavlovsk-Kamchatsky - Old", + "(UTC+12:45) Chatham Islands", + "(UTC+13:00) Coordinated Universal Time+13", + "(UTC+13:00) Nuku'alofa", + "(UTC+13:00) Samoa", + "(UTC+14:00) Kiritimati Island" + ], + "type": "string", + "x-ms-summary": "Time zone", + "x-ms-visibility": "advanced" + }, + "RequiredAttendees": { + "format": "email", + "description": "Required attendees for the event separated by semicolons", + "type": "string", + "x-ms-summary": "Required attendees", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + } + }, + "OptionalAttendees": { + "format": "email", + "description": "Optional attendees for the event separated by semicolons", + "type": "string", + "x-ms-summary": "Optional attendees", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + } + }, + "ResourceAttendees": { + "description": "Resource attendees for the event separated by semicolons", + "type": "string", + "x-ms-summary": "Resource attendees", + "x-ms-visibility": "advanced" + }, + "Body": { + "description": "Body of the message associated with the event", + "type": "string", + "x-ms-summary": "Body", + "x-ms-visibility": "advanced" + }, + "IsHtml": { + "description": "Set to true if the body is Html", + "type": "boolean", + "x-ms-summary": "Is HTML", + "x-ms-visibility": "advanced" + }, + "Location": { + "description": "Location of the event", + "type": "string", + "x-ms-summary": "Location", + "x-ms-visibility": "advanced" + }, + "Importance": { + "description": "The importance of the event: Low, Normal, or High", + "enum": [ + "Low", + "Normal", + "High" + ], + "type": "string", + "x-ms-summary": "Importance", + "x-ms-visibility": "advanced" + }, + "IsAllDay": { + "description": "Set to true if the event lasts all day", + "type": "boolean", + "x-ms-summary": "Is all day event?", + "x-ms-visibility": "advanced" + }, + "Recurrence": { + "description": "The recurrence pattern for the event", + "enum": [ + "None", + "Daily", + "Weekly", + "Monthly", + "Yearly" + ], + "type": "string", + "x-ms-summary": "Recurrence", + "x-ms-visibility": "advanced" + }, + "RecurrenceEnd": { + "format": "date-time", + "description": "End time of the recurrence", + "type": "string", + "x-ms-summary": "Recurrence end time", + "x-ms-visibility": "advanced" + }, + "NumberOfOccurrences": { + "format": "int32", + "description": "How many times to repeat the event", + "type": "integer", + "x-ms-summary": "Number of occurrences", + "x-ms-visibility": "advanced" + }, + "Reminder": { + "format": "int32", + "description": "Time in minutes before event start to remind", + "type": "integer", + "x-ms-summary": "Reminder", + "x-ms-visibility": "advanced" + }, + "ShowAs": { + "description": "Status to show during the event", + "enum": [ + "Free", + "Tentative", + "Busy", + "Oof", + "WorkingElsewhere", + "Unknown" + ], + "type": "string", + "x-ms-summary": "Show as", + "x-ms-visibility": "advanced" + }, + "ResponseRequested": { + "description": "Set to true if the sender would like a response when the event is accepted or declined", + "type": "boolean", + "x-ms-summary": "Response requested", + "x-ms-visibility": "advanced" + } + } + }, + "CalendarEventHtmlClient": { + "description": "Connector specific calendar event model class for the html client", + "required": [ + "Subject", + "Start", + "End" + ], + "type": "object", + "properties": { + "Subject": { + "description": "Event subject", + "type": "string", + "x-ms-summary": "Subject" + }, + "Start": { + "format": "date-time", + "description": "Start time of the event (example: '2016-11-01T14:30:00Z')", + "type": "string", + "x-ms-summary": "Start time" + }, + "End": { + "format": "date-time", + "description": "End time of the event (example: '2016-11-01T15:30:00Z')", + "type": "string", + "x-ms-summary": "End time" + }, + "TimeZone": { + "description": "Time zone of the event", + "enum": [ + "", + "(UTC-12:00) International Date Line West", + "(UTC-11:00) Coordinated Universal Time-11", + "(UTC-10:00) Aleutian Islands", + "(UTC-10:00) Hawaii", + "(UTC-09:30) Marquesas Islands", + "(UTC-09:00) Alaska", + "(UTC-09:00) Coordinated Universal Time-09", + "(UTC-08:00) Baja California", + "(UTC-08:00) Coordinated Universal Time-08", + "(UTC-08:00) Pacific Time (US & Canada)", + "(UTC-07:00) Arizona", + "(UTC-07:00) Chihuahua, La Paz, Mazatlan", + "(UTC-07:00) Mountain Time (US & Canada)", + "(UTC-06:00) Central America", + "(UTC-06:00) Central Time (US & Canada)", + "(UTC-06:00) Easter Island", + "(UTC-06:00) Guadalajara, Mexico City, Monterrey", + "(UTC-06:00) Saskatchewan", + "(UTC-05:00) Bogota, Lima, Quito, Rio Branco", + "(UTC-05:00) Chetumal", + "(UTC-05:00) Eastern Time (US & Canada)", + "(UTC-05:00) Haiti", + "(UTC-05:00) Havana", + "(UTC-05:00) Indiana (East)", + "(UTC-04:00) Asuncion", + "(UTC-04:00) Atlantic Time (Canada)", + "(UTC-04:00) Caracas", + "(UTC-04:00) Cuiaba", + "(UTC-04:00) Georgetown, La Paz, Manaus, San Juan", + "(UTC-04:00) Santiago", + "(UTC-04:00) Turks and Caicos", + "(UTC-03:30) Newfoundland", + "(UTC-03:00) Araguaina", + "(UTC-03:00) Brasilia", + "(UTC-03:00) Cayenne, Fortaleza", + "(UTC-03:00) City of Buenos Aires", + "(UTC-03:00) Greenland", + "(UTC-03:00) Montevideo", + "(UTC-03:00) Punta Arenas", + "(UTC-03:00) Saint Pierre and Miquelon", + "(UTC-03:00) Salvador", + "(UTC-02:00) Coordinated Universal Time-02", + "(UTC-02:00) Mid-Atlantic - Old", + "(UTC-01:00) Azores", + "(UTC-01:00) Cabo Verde Is.", + "(UTC) Coordinated Universal Time", + "(UTC+00:00) Casablanca", + "(UTC+00:00) Dublin, Edinburgh, Lisbon, London", + "(UTC+00:00) Monrovia, Reykjavik", + "(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna", + "(UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague", + "(UTC+01:00) Brussels, Copenhagen, Madrid, Paris", + "(UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb", + "(UTC+01:00) West Central Africa", + "(UTC+01:00) Windhoek", + "(UTC+02:00) Amman", + "(UTC+02:00) Athens, Bucharest", + "(UTC+02:00) Beirut", + "(UTC+02:00) Cairo", + "(UTC+02:00) Chisinau", + "(UTC+02:00) Damascus", + "(UTC+02:00) Gaza, Hebron", + "(UTC+02:00) Harare, Pretoria", + "(UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius", + "(UTC+02:00) Jerusalem", + "(UTC+02:00) Kaliningrad", + "(UTC+02:00) Tripoli", + "(UTC+03:00) Baghdad", + "(UTC+03:00) Istanbul", + "(UTC+03:00) Kuwait, Riyadh", + "(UTC+03:00) Minsk", + "(UTC+03:00) Moscow, St. Petersburg", + "(UTC+03:00) Nairobi", + "(UTC+03:30) Tehran", + "(UTC+04:00) Abu Dhabi, Muscat", + "(UTC+04:00) Astrakhan, Ulyanovsk", + "(UTC+04:00) Baku", + "(UTC+04:00) Izhevsk, Samara", + "(UTC+04:00) Port Louis", + "(UTC+04:00) Saratov", + "(UTC+04:00) Tbilisi", + "(UTC+04:00) Volgograd", + "(UTC+04:00) Yerevan", + "(UTC+04:30) Kabul", + "(UTC+05:00) Ashgabat, Tashkent", + "(UTC+05:00) Ekaterinburg", + "(UTC+05:00) Islamabad, Karachi", + "(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi", + "(UTC+05:30) Sri Jayawardenepura", + "(UTC+05:45) Kathmandu", + "(UTC+06:00) Astana", + "(UTC+06:00) Dhaka", + "(UTC+06:00) Omsk", + "(UTC+06:30) Yangon (Rangoon)", + "(UTC+07:00) Bangkok, Hanoi, Jakarta", + "(UTC+07:00) Barnaul, Gorno-Altaysk", + "(UTC+07:00) Hovd", + "(UTC+07:00) Krasnoyarsk", + "(UTC+07:00) Novosibirsk", + "(UTC+07:00) Tomsk", + "(UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi", + "(UTC+08:00) Irkutsk", + "(UTC+08:00) Kuala Lumpur, Singapore", + "(UTC+08:00) Perth", + "(UTC+08:00) Taipei", + "(UTC+08:00) Ulaanbaatar", + "(UTC+08:30) Pyongyang", + "(UTC+08:45) Eucla", + "(UTC+09:00) Chita", + "(UTC+09:00) Osaka, Sapporo, Tokyo", + "(UTC+09:00) Seoul", + "(UTC+09:00) Yakutsk", + "(UTC+09:30) Adelaide", + "(UTC+09:30) Darwin", + "(UTC+10:00) Brisbane", + "(UTC+10:00) Canberra, Melbourne, Sydney", + "(UTC+10:00) Guam, Port Moresby", + "(UTC+10:00) Hobart", + "(UTC+10:00) Vladivostok", + "(UTC+10:30) Lord Howe Island", + "(UTC+11:00) Bougainville Island", + "(UTC+11:00) Chokurdakh", + "(UTC+11:00) Magadan", + "(UTC+11:00) Norfolk Island", + "(UTC+11:00) Sakhalin", + "(UTC+11:00) Solomon Is., New Caledonia", + "(UTC+12:00) Anadyr, Petropavlovsk-Kamchatsky", + "(UTC+12:00) Auckland, Wellington", + "(UTC+12:00) Coordinated Universal Time+12", + "(UTC+12:00) Fiji", + "(UTC+12:00) Petropavlovsk-Kamchatsky - Old", + "(UTC+12:45) Chatham Islands", + "(UTC+13:00) Coordinated Universal Time+13", + "(UTC+13:00) Nuku'alofa", + "(UTC+13:00) Samoa", + "(UTC+14:00) Kiritimati Island" + ], + "type": "string", + "x-ms-summary": "Time zone", + "x-ms-visibility": "advanced" + }, + "RequiredAttendees": { + "format": "email", + "description": "Required attendees for the event separated by semicolons", + "type": "string", + "x-ms-summary": "Required attendees", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + } + }, + "OptionalAttendees": { + "format": "email", + "description": "Optional attendees for the event separated by semicolons", + "type": "string", + "x-ms-summary": "Optional attendees", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + } + }, + "ResourceAttendees": { + "description": "Resource attendees for the event separated by semicolons", + "type": "string", + "x-ms-summary": "Resource attendees", + "x-ms-visibility": "advanced" + }, + "Body": { + "format": "html", + "description": "Body of the message associated with the event", + "type": "string", + "x-ms-summary": "Body", + "x-ms-visibility": "advanced" + }, + "Location": { + "description": "Location of the event", + "type": "string", + "x-ms-summary": "Location", + "x-ms-visibility": "advanced" + }, + "Importance": { + "description": "The importance of the event: Low, Normal, or High", + "enum": [ + "Low", + "Normal", + "High" + ], + "type": "string", + "x-ms-summary": "Importance", + "x-ms-visibility": "advanced" + }, + "IsAllDay": { + "description": "Set to true if the event lasts all day", + "type": "boolean", + "x-ms-summary": "Is all day event?", + "x-ms-visibility": "advanced" + }, + "Recurrence": { + "description": "The recurrence pattern for the event", + "enum": [ + "None", + "Daily", + "Weekly", + "Monthly", + "Yearly" + ], + "type": "string", + "x-ms-summary": "Recurrence", + "x-ms-visibility": "advanced" + }, + "RecurrenceEnd": { + "format": "date-time", + "description": "End time of the recurrence", + "type": "string", + "x-ms-summary": "Recurrence end time", + "x-ms-visibility": "advanced" + }, + "NumberOfOccurrences": { + "format": "int32", + "description": "How many times to repeat the event", + "type": "integer", + "x-ms-summary": "Number of occurrences", + "x-ms-visibility": "advanced" + }, + "Reminder": { + "format": "int32", + "description": "Time in minutes before event start to remind", + "type": "integer", + "x-ms-summary": "Reminder", + "x-ms-visibility": "advanced" + }, + "ShowAs": { + "description": "Status to show during the event", + "enum": [ + "Free", + "Tentative", + "Busy", + "Oof", + "WorkingElsewhere", + "Unknown" + ], + "type": "string", + "x-ms-summary": "Show as", + "x-ms-visibility": "advanced" + }, + "ResponseRequested": { + "description": "Set to true if the sender would like a response when the event is accepted or declined", + "type": "boolean", + "x-ms-summary": "Response requested", + "x-ms-visibility": "advanced" + } + } + }, + "CalendarEventListWithActionType": { + "description": "The list of calendar items with action type", + "type": "object", + "properties": { + "value": { + "description": "List of calendar items", + "type": "array", + "items": { + "$ref": "#/definitions/CalendarEventClientWithActionType" + } + } + } + }, + "CalendarEventClientWithActionType": { + "description": "Calendar event model with action type", + "type": "object", + "properties": { + "ActionType": { + "description": "Changed action type of the event - added, updated or deleted.", + "enum": [ + "added", + "updated", + "deleted" + ], + "type": "string", + "x-ms-summary": "Action Type", + "x-ms-visibility": "advanced" + }, + "IsAdded": { + "description": "Flag that indicates whether the event was added since the last poll of the trigger.", + "type": "boolean", + "x-ms-summary": "Is Added", + "x-ms-visibility": "advanced" + }, + "IsUpdated": { + "description": "Flag that indicates whether the event was updated since the last poll of the trigger.", + "type": "boolean", + "x-ms-summary": "Is Updated", + "x-ms-visibility": "advanced" + }, + "Subject": { + "description": "Event subject", + "type": "string", + "x-ms-summary": "Subject" + }, + "Start": { + "format": "date-time", + "description": "Start time of the event (example: '2016-11-01T14:30:00Z')", + "type": "string", + "x-ms-summary": "Start time" + }, + "End": { + "format": "date-time", + "description": "End time of the event (example: '2016-11-01T15:30:00Z')", + "type": "string", + "x-ms-summary": "End time" + }, + "ShowAs": { + "format": "int32", + "description": "Status to show during the event (Unknown - -1, Free - 0, Tentative - 1, Busy - 2, Oof - 3, WorkingElsewhere - 4)", + "type": "integer", + "x-ms-summary": "Show as", + "x-ms-visibility": "advanced" + }, + "Recurrence": { + "format": "int32", + "description": "The recurrence pattern for the event (None - 0, Daily - 1, Weekly - 2, Monthly - 3, Yearly - 4)", + "type": "integer", + "x-ms-summary": "Recurrence", + "x-ms-visibility": "advanced" + }, + "ResponseType": { + "format": "int32", + "description": "The response type of the event (None - 0, Organizer - 1, TentativelyAccepted - 2, Accepted - 3, Declined - 4, NotResponded - 5)", + "type": "integer", + "x-ms-summary": "Response type", + "x-ms-visibility": "advanced" + }, + "ResponseTime": { + "format": "date-time", + "description": "The response time of the event", + "type": "string", + "x-ms-summary": "Response time", + "x-ms-visibility": "advanced" + }, + "ICalUId": { + "description": "A unique identifier that is shared by all instances of an event across different calendars", + "type": "string", + "x-ms-summary": "Event Unique ID", + "x-ms-visibility": "advanced" + }, + "Importance": { + "format": "int32", + "description": "The importance of the event (0 - Low, 1 - Normal, 2 - High)", + "type": "integer", + "x-ms-summary": "Importance", + "x-ms-visibility": "advanced" + }, + "Id": { + "description": "The event's unique identifier", + "type": "string", + "x-ms-summary": "Id", + "x-ms-visibility": "advanced" + }, + "DateTimeCreated": { + "format": "date-time", + "description": "The date and time that the event was created", + "type": "string", + "x-ms-summary": "Created time", + "x-ms-visibility": "advanced" + }, + "DateTimeLastModified": { + "format": "date-time", + "description": "The date and time that the event was last modified", + "type": "string", + "x-ms-summary": "Last modified time", + "x-ms-visibility": "advanced" + }, + "Organizer": { + "format": "email", + "description": "The organizer of the event", + "type": "string", + "x-ms-summary": "Organizer", + "x-ms-visibility": "advanced" + }, + "TimeZone": { + "description": "Time zone of the event", + "type": "string", + "x-ms-summary": "Time zone", + "x-ms-visibility": "advanced" + }, + "SeriesMasterId": { + "description": "Unique identifier for Series Master event type", + "type": "string", + "x-ms-summary": "Series master id", + "x-ms-visibility": "advanced" + }, + "Categories": { + "description": "The categories associated with the event", + "type": "array", + "items": { + "type": "string" + }, + "x-ms-summary": "Categories", + "x-ms-visibility": "advanced" + }, + "WebLink": { + "format": "uri", + "description": "The URL to open the event in Outlook Web App", + "type": "string", + "x-ms-summary": "Web link", + "x-ms-visibility": "advanced" + }, + "RequiredAttendees": { + "format": "email", + "description": "Required attendees for the event separated by semicolons", + "type": "string", + "x-ms-summary": "Required attendees", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + } + }, + "OptionalAttendees": { + "format": "email", + "description": "Optional attendees for the event separated by semicolons", + "type": "string", + "x-ms-summary": "Optional attendees", + "x-ms-visibility": "advanced", + "x-ms-dynamic-values": { + "builtInOperation": "AadGraph.GetUsers", + "parameters": {}, + "value-path": "mail" + } + }, + "ResourceAttendees": { + "description": "Resource attendees for the event separated by semicolons", + "type": "string", + "x-ms-summary": "Resource attendees", + "x-ms-visibility": "advanced" + }, + "Body": { + "description": "Body of the message associated with the event", + "type": "string", + "x-ms-summary": "Body", + "x-ms-visibility": "advanced" + }, + "IsHtml": { + "description": "Set to true if the body is Html", + "type": "boolean", + "x-ms-summary": "Is HTML", + "x-ms-visibility": "advanced" + }, + "Location": { + "description": "Location of the event", + "type": "string", + "x-ms-summary": "Location", + "x-ms-visibility": "advanced" + }, + "IsAllDay": { + "description": "Set to true if the event lasts all day", + "type": "boolean", + "x-ms-summary": "Is all day event?", + "x-ms-visibility": "advanced" + }, + "RecurrenceEnd": { + "format": "date-time", + "description": "End time of the recurrence", + "type": "string", + "x-ms-summary": "Recurrence end time", + "x-ms-visibility": "advanced" + }, + "NumberOfOccurrences": { + "format": "int32", + "description": "How many times to repeat the event", + "type": "integer", + "x-ms-summary": "Number of occurrences", + "x-ms-visibility": "advanced" + }, + "Reminder": { + "format": "int32", + "description": "Time in minutes before event start to remind", + "type": "integer", + "x-ms-summary": "Reminder", + "x-ms-visibility": "advanced" + }, + "ResponseRequested": { + "description": "Set to true if the sender would like a response when the event is accepted or declined", + "type": "boolean", + "x-ms-summary": "Response requested", + "x-ms-visibility": "advanced" + } + } + }, + "EntityListResponse[ContactResponse]": { + "description": "Entity list response", + "type": "object", + "properties": { + "value": { + "description": "List of values", + "type": "array", + "items": { + "$ref": "#/definitions/ContactResponse" + } + } + } + }, + "ContactResponse": { + "description": "Contact response", + "type": "object", + "properties": { + "GivenName": { + "description": "The contact's given name", + "type": "string", + "x-ms-summary": "Given name" + }, + "HomePhones": { + "description": "The contact's home phone numbers", + "type": "array", + "items": { + "type": "string" + }, + "x-ms-summary": "Home phones" + }, + "Id": { + "description": "The contact's unique identifier.", + "type": "string", + "x-ms-summary": "Id" + }, + "ParentFolderId": { + "description": "The ID of the contact's parent folder", + "type": "string", + "x-ms-summary": "Parent folder id", + "x-ms-visibility": "advanced" + }, + "Birthday": { + "format": "date-time", + "description": "The contact's birthday", + "type": "string", + "x-ms-summary": "Birthday", + "x-ms-visibility": "advanced" + }, + "FileAs": { + "description": "The name the contact is filed under", + "type": "string", + "x-ms-summary": "File as", + "x-ms-visibility": "advanced" + }, + "DisplayName": { + "description": "The contact's display name", + "type": "string", + "x-ms-summary": "Display Name" + }, + "Initials": { + "description": "The contact's initials", + "type": "string", + "x-ms-summary": "Initials", + "x-ms-visibility": "advanced" + }, + "MiddleName": { + "description": "The contact's middle name", + "type": "string", + "x-ms-summary": "Middle name", + "x-ms-visibility": "advanced" + }, + "NickName": { + "description": "The contact's nickname", + "type": "string", + "x-ms-summary": "Nickname", + "x-ms-visibility": "advanced" + }, + "Surname": { + "description": "The contact's surname", + "type": "string", + "x-ms-summary": "Surname", + "x-ms-visibility": "advanced" + }, + "Title": { + "description": "The contact's title", + "type": "string", + "x-ms-summary": "Title", + "x-ms-visibility": "advanced" + }, + "Generation": { + "description": "The contact's generation", + "type": "string", + "x-ms-summary": "Generation", + "x-ms-visibility": "advanced" + }, + "EmailAddresses": { + "description": "The contact's email addresses", + "type": "array", + "items": { + "$ref": "#/definitions/EmailAddress" + }, + "x-ms-summary": "Email addresses" + }, + "ImAddresses": { + "description": "The contact's instant messaging (IM) addresses", + "type": "array", + "items": { + "type": "string" + }, + "x-ms-summary": "IM addresses", + "x-ms-visibility": "advanced" + }, + "JobTitle": { + "description": "The contact's job title", + "type": "string", + "x-ms-summary": "JobTitle", + "x-ms-visibility": "advanced" + }, + "CompanyName": { + "description": "The name of the contact's company", + "type": "string", + "x-ms-summary": "Company name" + }, + "Department": { + "description": "The contact's department", + "type": "string", + "x-ms-summary": "Department", + "x-ms-visibility": "advanced" + }, + "OfficeLocation": { + "description": "The location of the contact's office", + "type": "string", + "x-ms-summary": "Office location", + "x-ms-visibility": "advanced" + }, + "Profession": { + "description": "The contact's profession", + "type": "string", + "x-ms-summary": "Profession", + "x-ms-visibility": "advanced" + }, + "BusinessHomePage": { + "description": "The business home page of the contact", + "type": "string", + "x-ms-summary": "Business home page", + "x-ms-visibility": "advanced" + }, + "AssistantName": { + "description": "The name of the contact's assistant", + "type": "string", + "x-ms-summary": "Assistant name", + "x-ms-visibility": "advanced" + }, + "Manager": { + "description": "The name of the contact's manager", + "type": "string", + "x-ms-summary": "Manager", + "x-ms-visibility": "advanced" + }, + "BusinessPhones": { + "description": "The contact's business phone numbers", + "type": "array", + "items": { + "type": "string" + }, + "x-ms-summary": "Business phones" + }, + "MobilePhone1": { + "description": "The contact's mobile phone number", + "type": "string", + "x-ms-summary": "Mobile phone" + }, + "HomeAddress": { + "$ref": "#/definitions/PhysicalAddress" + }, + "BusinessAddress": { + "$ref": "#/definitions/PhysicalAddress" + }, + "OtherAddress": { + "$ref": "#/definitions/PhysicalAddress" + }, + "YomiCompanyName": { + "description": "The phonetic Japanese company name of the contact", + "type": "string", + "x-ms-summary": "Yomi company name", + "x-ms-visibility": "advanced" + }, + "YomiGivenName": { + "description": "The phonetic Japanese given name (first name) of the contact", + "type": "string", + "x-ms-summary": "Yomi given name", + "x-ms-visibility": "advanced" + }, + "YomiSurname": { + "description": "The phonetic Japanese surname (last name) of the contact", + "type": "string", + "x-ms-summary": "Yomi surname", + "x-ms-visibility": "advanced" + }, + "Categories": { + "description": "The categories associated with the contact", + "type": "array", + "items": { + "type": "string" + }, + "x-ms-summary": "Categories", + "x-ms-visibility": "advanced" + }, + "ChangeKey": { + "description": "Identifies the version of the event object", + "type": "string", + "x-ms-summary": "Change key", + "x-ms-visibility": "advanced" + }, + "DateTimeCreated": { + "format": "date-time", + "description": "The time the contact was created", + "type": "string", + "x-ms-summary": "Created time", + "x-ms-visibility": "advanced" + }, + "DateTimeLastModified": { + "format": "date-time", + "description": "The time the contact was modified", + "type": "string", + "x-ms-summary": "Last modified time", + "x-ms-visibility": "advanced" + } + } + }, + "Contact": { + "description": "Contact", + "required": [ + "GivenName", + "HomePhones" + ], + "type": "object", + "properties": { + "Id": { + "description": "The contact's unique identifier.", + "type": "string", + "x-ms-summary": "Id" + }, + "ParentFolderId": { + "description": "The ID of the contact's parent folder", + "type": "string", + "x-ms-summary": "Parent folder id", + "x-ms-visibility": "advanced" + }, + "Birthday": { + "format": "date-time", + "description": "The contact's birthday", + "type": "string", + "x-ms-summary": "Birthday", + "x-ms-visibility": "advanced" + }, + "FileAs": { + "description": "The name the contact is filed under", + "type": "string", + "x-ms-summary": "File as", + "x-ms-visibility": "advanced" + }, + "DisplayName": { + "description": "The contact's display name", + "type": "string", + "x-ms-summary": "Display Name" + }, + "GivenName": { + "description": "The contact's given name", + "type": "string", + "x-ms-summary": "Given name" + }, + "Initials": { + "description": "The contact's initials", + "type": "string", + "x-ms-summary": "Initials", + "x-ms-visibility": "advanced" + }, + "MiddleName": { + "description": "The contact's middle name", + "type": "string", + "x-ms-summary": "Middle name", + "x-ms-visibility": "advanced" + }, + "NickName": { + "description": "The contact's nickname", + "type": "string", + "x-ms-summary": "Nickname", + "x-ms-visibility": "advanced" + }, + "Surname": { + "description": "The contact's surname", + "type": "string", + "x-ms-summary": "Surname", + "x-ms-visibility": "advanced" + }, + "Title": { + "description": "The contact's title", + "type": "string", + "x-ms-summary": "Title", + "x-ms-visibility": "advanced" + }, + "Generation": { + "description": "The contact's generation", + "type": "string", + "x-ms-summary": "Generation", + "x-ms-visibility": "advanced" + }, + "EmailAddresses": { + "description": "The contact's email addresses", + "type": "array", + "items": { + "$ref": "#/definitions/EmailAddress" + }, + "x-ms-summary": "Email addresses" + }, + "ImAddresses": { + "description": "The contact's instant messaging (IM) addresses", + "type": "array", + "items": { + "type": "string" + }, + "x-ms-summary": "IM addresses", + "x-ms-visibility": "advanced" + }, + "JobTitle": { + "description": "The contact's job title", + "type": "string", + "x-ms-summary": "JobTitle", + "x-ms-visibility": "advanced" + }, + "CompanyName": { + "description": "The name of the contact's company", + "type": "string", + "x-ms-summary": "Company name" + }, + "Department": { + "description": "The contact's department", + "type": "string", + "x-ms-summary": "Department", + "x-ms-visibility": "advanced" + }, + "OfficeLocation": { + "description": "The location of the contact's office", + "type": "string", + "x-ms-summary": "Office location", + "x-ms-visibility": "advanced" + }, + "Profession": { + "description": "The contact's profession", + "type": "string", + "x-ms-summary": "Profession", + "x-ms-visibility": "advanced" + }, + "BusinessHomePage": { + "description": "The business home page of the contact", + "type": "string", + "x-ms-summary": "Business home page", + "x-ms-visibility": "advanced" + }, + "AssistantName": { + "description": "The name of the contact's assistant", + "type": "string", + "x-ms-summary": "Assistant name", + "x-ms-visibility": "advanced" + }, + "Manager": { + "description": "The name of the contact's manager", + "type": "string", + "x-ms-summary": "Manager", + "x-ms-visibility": "advanced" + }, + "HomePhones": { + "description": "The contact's home phone numbers", + "type": "array", + "items": { + "type": "string" + }, + "x-ms-summary": "Home phones" + }, + "BusinessPhones": { + "description": "The contact's business phone numbers", + "type": "array", + "items": { + "type": "string" + }, + "x-ms-summary": "Business phones" + }, + "MobilePhone1": { + "description": "The contact's mobile phone number", + "type": "string", + "x-ms-summary": "Mobile phone" + }, + "HomeAddress": { + "$ref": "#/definitions/PhysicalAddress" + }, + "BusinessAddress": { + "$ref": "#/definitions/PhysicalAddress" + }, + "OtherAddress": { + "$ref": "#/definitions/PhysicalAddress" + }, + "YomiCompanyName": { + "description": "The phonetic Japanese company name of the contact", + "type": "string", + "x-ms-summary": "Yomi company name", + "x-ms-visibility": "advanced" + }, + "YomiGivenName": { + "description": "The phonetic Japanese given name (first name) of the contact", + "type": "string", + "x-ms-summary": "Yomi given name", + "x-ms-visibility": "advanced" + }, + "YomiSurname": { + "description": "The phonetic Japanese surname (last name) of the contact", + "type": "string", + "x-ms-summary": "Yomi surname", + "x-ms-visibility": "advanced" + }, + "Categories": { + "description": "The categories associated with the contact", + "type": "array", + "items": { + "type": "string" + }, + "x-ms-summary": "Categories", + "x-ms-visibility": "advanced" + }, + "ChangeKey": { + "description": "Identifies the version of the event object", + "type": "string", + "x-ms-summary": "Change key", + "x-ms-visibility": "advanced" + }, + "DateTimeCreated": { + "format": "date-time", + "description": "The time the contact was created", + "type": "string", + "x-ms-summary": "Created time", + "x-ms-visibility": "advanced" + }, + "DateTimeLastModified": { + "format": "date-time", + "description": "The time the contact was modified", + "type": "string", + "x-ms-summary": "Last modified time", + "x-ms-visibility": "advanced" + } + } + }, + "DataSetsList": { + "description": "List of datasets", + "type": "object", + "properties": { + "value": { + "description": "List of datasets", + "type": "array", + "items": { + "$ref": "#/definitions/DataSet" + } + } + } + }, + "DataSet": { + "description": "Dataset", + "type": "object", + "properties": { + "Name": { + "description": "Dataset name", + "type": "string" + }, + "DisplayName": { + "description": "Dataset display name", + "type": "string" + }, + "query": { + "description": "Pass-through Native Queries", + "type": "array", + "items": { + "$ref": "#/definitions/PassThroughNativeQuery" + }, + "readOnly": true + } + } + }, + "Procedure": { + "description": "Procedure", + "type": "object", + "properties": { + "Name": { + "description": "Procedure name", + "type": "string" + }, + "DisplayName": { + "description": "Procedure display name", + "type": "string" + } + } + }, + "PassThroughNativeQuery": { + "description": "static schema for pass-through native query execution", + "type": "object", + "properties": { + "Language": { + "description": "Query language", + "type": "string" + } + } + }, + "ResponseToEventInvite": { + "description": "Response to an event invite", + "type": "object", + "properties": { + "Comment": { + "description": "Comment", + "type": "string", + "x-ms-summary": "Comment" + }, + "SendResponse": { + "description": "Send response to organizer?", + "default": true, + "type": "boolean", + "x-ms-summary": "Send response?" + } + } + }, + "DirectForwardMessage": { + "description": "Directly forward message", + "type": "object", + "required": [ + "ToRecipients" + ], + "properties": { + "Comment": { + "description": "Comment", + "type": "string", + "x-ms-summary": "Comment" + }, + "ToRecipients": { + "description": "Semicolon separated list of recipients to forward the message to", + "type": "string", + "x-ms-summary": "To" + } + } + } + }, + "x-ms-capabilities": { + "file-picker": { + "open": { + "operationId": "OnFilePickerOpen" + }, + "browse": { + "operationId": "OnFilePickerBrowse", + "parameters": { + "id": { + "value-property": "Id" + } + } + }, + "value-collection": "value", + "value-title": "DisplayName", + "value-folder-property": "IsFolder", + "value-media-property": "MediaType" + }, + "testConnection": { + "operationId": "TestConnection", + "parameters": {} + } + }, + "externalDocs": { + "url": "https://docs.microsoft.com/connectors/outlook" + } + }, + "runtimeUrls": [ + "https://51994809-1f1d-e67c-bf36-7188f4623750.08.common.europe002.azure-apihub.net/apim/outlook" + ], + "primaryRuntimeUrl": "https://51994809-1f1d-e67c-bf36-7188f4623750.08.common.europe002.azure-apihub.net/apim/outlook", + "doNotUseApiHubNetRuntimeUrl": "https://51994809-1f1d-e67c-bf36-7188f4623750.08.common.europe002.azure-apihub.net/apim/outlook", + "metadata": { + "source": "marketplace", + "brandColor": "", + "useNewApimVersion": "true", + "version": { + "previous": "releases/v1.0.1797\\1.0.1797.4609", + "current": "releases/v1.0.1797\\1.0.1797.4624" + } + }, + "capabilities": [ + "actions" + ], + "interfaces": {}, + "description": "Outlook.com connector allows you to manage your mail, calendars, and contacts. You can perform various actions such as send mail, schedule meetings, add contacts, etc.", + "createdTime": "2023-11-28T21:05:47.3289369Z", + "changedTime": "2026-03-21T07:50:35.6574765Z", + "releaseTag": "Production", + "tier": "Standard", + "publisher": "Microsoft", + "scopes": { + "will": [], + "wont": [] + }, + "rateLimit": 0, + "apiVersion": "None" + } +} \ No newline at end of file diff --git a/README.md b/README.md index fcdd76a9..4bbd8c35 100644 --- a/README.md +++ b/README.md @@ -1,204 +1,225 @@ -# Power Apps Code Apps — Part 2: Connectors, Dataverse & Outlook +# Power Apps Code Apps — Part 2: Connectors & Outlook -> Build a full Outlook-like email client in a code app, wired to real Power Platform connectors. +> Full email client in a code app, built with React + Fluent UI v9, powered by the Outlook connector. -This is the second article in the series. Make sure you have completed [Part 1](https://www.thatsagoodquestion.info/power-apps-code-apps) before continuing. +This is the companion repo for [Part 2 of the blog series](https://www.thatsagoodquestion.info/power-apps-code-apps). Make sure you've completed Part 1 before continuing. -## What you will build +--- -A complete email client (Bandeja de entrada, Enviados, Borradores, Papelera) with: -- Folder navigation -- Email list with unread indicators -- Email detail view with reply/forward -- Compose modal -- Real-time search +## What you'll build -All powered by the Outlook connector — the same connector used by millions of Microsoft 365 users. +An Outlook-like email client with: + +- **Folder navigation** — Inbox, Sent, Drafts, Trash +- **Email list** — unread indicators, avatar colors, relative timestamps +- **Reading pane** — full email body with Reply / Forward / Delete +- **Compose dialog** — Fluent UI v9 dialog with validation +- **Connections panel** — visual reference of connectors + PAC CLI commands +- **Real-time search** — filter messages instantly by sender or subject + +All built with **Fluent UI v9** (`@fluentui/react-components`) and the **Outlook connector** — the same connector available to 1,400+ Power Platform integrations. + +--- ## Prerequisites -- Power Apps environment with a licensed user -- `pac` CLI installed (`dotnet tool install -g Microsoft.PowerApps.CLI`) -- Node.js 18+ and npm -- A Microsoft 365 account (for the Outlook connector) -- Connections already created in [make.powerapps.com](https://make.powerapps.com) +| Requirement | Version | +|---|---| +| **Node.js** | 18+ | +| **npm** | 9+ | +| **PAC CLI** | 2.6+ (`dotnet tool install -g Microsoft.PowerApps.CLI`) | +| **Power Apps environment** | Licensed user | +| **Microsoft 365 account** | For the Outlook connector | + +--- + +## Quick start + +```bash +# 1. Clone & install +git clone +cd power-apps-codeapps-blog-part2 +npm install + +# 2. Run locally +npm run dev +# → opens at http://localhost:5173 + +# 3. Build for production +npm run build +``` + +> The app uses mock data by default. To connect to real Outlook data, follow the connector setup below. + +--- + +## Project structure + +``` +power-apps-codeapps-blog-part2/ +├── index.html HTML shell +├── package.json Dependencies & scripts +├── tsconfig.json TypeScript config +├── vite.config.ts Vite dev server & build +├── power.config.json Power Platform app manifest (required by PAC CLI) +└── src/ + ├── main.tsx Entry point — FluentProvider + theme + ├── App.tsx Main UI: nav rail, folders, email list, reading pane + ├── index.css Minimal reset (Fluent handles all component styles) + ├── types/ + │ └── index.ts Shared TypeScript types (Email, Folder, UserProfile) + └── services/ + └── OutlookService.ts Mock connector (mirrors real generated service API) +``` + +--- ## Architecture ``` -┌─────────────────────────────────────────────────────┐ -│ Your Code App │ -│ React UI → Service Layer → Connector Client │ -│ ↓ │ -│ ┌─────────────────────────────+ │ -│ │ Power Platform Connectors │ │ -│ │ ─────────────────────────── │ │ -│ │ Outlook │ Dataverse │ … │ │ -│ └─────────────────────────────+ │ -└─────────────────────────────────────────────────────┘ +┌──────────────────────────────────────────────────────┐ +│ Your Code App │ +│ │ +│ React + Fluent UI → Service Layer → Connector │ +│ ↕ │ +│ ┌───────────────────────────────────┐ │ +│ │ Power Platform Connectors │ │ +│ │ ───────────────────────────────── │ │ +│ │ Outlook │ Dataverse │ Custom │ │ +│ └───────────────────────────────────┘ │ +└──────────────────────────────────────────────────────┘ ``` -## Step 1 — Add a data source (connector) +The app talks to connectors through a **typed service layer**. In development, `OutlookService.ts` returns mock data. In production, swap it for the auto-generated service from `pac code add-data-source`. -The `pac code add-data-source` command wires a connector to your app and auto-generates typed TypeScript model and service files. +--- -### Get your connection metadata +## Connecting to real data -**Option A — PAC CLI (recommended)** +### 1. Check your connections ```bash pac connection list ``` -You'll see a table: - -| Connection Name | Connection ID | API Name | -|---|---|---| -| shared_office365 | `aaaaaaaa-0000-...` | `shared_office365` | -| shared_outlook | `bbbbbbbb-1111-...` | `shared_outlook` | - -**Option B — Power Apps URL** - -1. Go to [make.powerapps.com](https://make.powerapps.com) → **Data** → **Connections** -2. Click your connection -3. The URL contains both the **API name** and **Connection ID**: +Example output: ``` -https://make.powerapps.com/connections/aaaaaaa-0000-.../details - └──────────────┘ └──────────────┘ - api name connection id +Connected as lago@powerplatform.top +Id Name API Id Status +4839c34829284206bf6a11d4ce577491 Outlook.com /providers/Microsoft.PowerApps/apis/shared_outlook Connected ``` -### Add the data source +### 2. Add the connector ```bash -pac code add-data-source -a shared_outlook -c aaaaaaaa-0000-1111-bbbb-cccccccccccc +pac code add-data-source \ + -a shared_outlook \ + -c 4839c34829284206bf6a11d4ce577491 ``` -After running, you'll find two new files: +This auto-generates typed TypeScript files: ``` -src/ - connectors/ - shared_outlook/ - OutlookModel.ts ← typed request/response types - OutlookService.ts ← service with all connector actions +src/connectors/shared_outlook/ + ├── OutlookModel.ts ← request/response types + └── OutlookService.ts ← typed service with all connector actions ``` -The generated service wraps every action from the connector as a typed TypeScript method. No need to manually craft HTTP calls or worry about auth headers. - -### Dataverse connector +### 3. (Optional) Add Dataverse ```bash -pac code add-data-source -a shared_commondataservice -c -t accounts -d default +pac code add-data-source \ + -a shared_commondataservice \ + -c \ + -t accounts \ + -d default ``` -This generates `DataverseModel.ts` and `DataverseService.ts` with full type safety for Dataverse tables. +### 4. Swap mock for real service -## Step 2 — Use the connector in your app +Replace the import in `App.tsx`: -Here's the theoretical model for how code apps interact with connectors: - -```typescript -// The Power Platform client library exposes a typed service. -// The service is injected or instantiated with your connection reference. -import { OutlookService } from '../connectors/shared_outlook'; - -const outlook = new OutlookService(); - -// All methods return typed Promises — no manual fetch needed -const messages = await outlook.getMessages('inbox'); -const profile = await outlook.getProfile(); - -// Actions are also typed -await outlook.sendMessage({ - to: 'colleague@company.com', - subject: 'Sprint planning', - body: 'Hi, let\'s sync tomorrow...', -}); +```diff +- import { OutlookService } from './services/OutlookService'; ++ import { OutlookService } from './connectors/shared_outlook/OutlookService'; ``` -### Connection reference pattern +The method signatures are identical — no other changes needed. -Rather than binding directly to a user-specific connection, code apps use a **connection reference** — a solution component that points to a connection. This allows: +--- -- **Environment promotion**: connections change per environment (dev/staging/prod) without code changes -- **Managed identity support**: use system-assigned identities instead of user credentials -- **Centralised governance**: IT can audit which apps use which connectors +## Connection references (theory) -## Step 3 — Explore the example +Code apps use **connection references** instead of binding directly to a user-specific connection. Benefits: -The `src/` directory in this repo contains a complete, working example: +| Benefit | Description | +|---|---| +| **Environment promotion** | Connections change per environment (dev → staging → prod) without code changes | +| **Managed identity** | Use system-assigned identities instead of user credentials | +| **Governance** | IT can audit which apps use which connectors via DLP policies | -``` -src/ - App.tsx ← main UI (folders, email list, detail, compose) - index.css ← dark theme styles - main.tsx ← React entry point - types/ - index.ts ← shared TypeScript types - services/ - OutlookService.ts ← mock connector (for demo without real creds) -``` +--- -The mock `OutlookService` mirrors the interface of a real generated connector. Swap it for the real generated service and the app works against your actual Outlook data. +## Fluent UI v9 -## Step 4 — Run locally +This project uses [Fluent UI v9](https://react.fluentui.dev/) — the same design system that powers Microsoft 365: -```bash -npm install -npm run dev -``` +- `FluentProvider` with `webLightTheme` / `webDarkTheme` (auto-detected) +- `makeStyles` for zero-runtime CSS-in-JS +- Design tokens (`tokens.colorBrandBackground`, etc.) for consistent theming +- All components: `Avatar`, `Badge`, `Button`, `Dialog`, `Input`, `Textarea`, `Spinner`, `Tooltip`, `Divider`, `ToolbarButton` -Opens at `http://localhost:5173`. The app hot-reloads as you edit. +--- -## Step 5 — Deploy to Power Platform +## NPM scripts + +| Script | Description | +|---|---| +| `npm run dev` | Start Vite dev server at `http://localhost:5173` | +| `npm run build` | Type-check + production build | +| `npm run preview` | Preview the production build locally | + +--- + +## Deploy to Power Platform ```bash pac code deploy ``` -This packages the app and registers it in your Power Apps environment. After deploying, add the code app to a solution and publish. +This packages the app and registers it in your environment. Then add it to a solution and publish. -## How connectors work in code apps (theory) +--- -Code apps access connectors through the **Power Platform client library**. The client library: - -1. **Discovers available connectors** from the runtime environment -2. **Manages authentication** via the user's Microsoft 365 session (single sign-on) -3. **Exposes typed service interfaces** generated at add-time -4. **Handles pagination, throttling, and error responses** transparently - -This means you call `outlookService.getMessages()` just like any other async function — no base URLs, no API keys, no manual token refresh. - -### Supported connectors - -Code apps support **1,400+ connectors** including: - -| Category | Connectors | -|---|---| -| Microsoft 365 | Outlook, Teams, SharePoint, OneDrive, Planner | -| Dataverse | Common Data Service (Dataverse) | -| Data | SQL Server, Dataverse, OData | -| SaaS | Salesforce, SAP, ServiceNow, Slack | -| Custom | Any standard REST connector | - -### Unsupported connectors - -As of the initial release: - -- Excel Online (Business) -- Excel Online (OneDrive) - -## Key differences from canvas apps +## Key differences from Canvas Apps | Aspect | Canvas Apps | Code Apps | |---|---|---| -| UI Framework | Power Fx formula bar | React/Vue/Svelte (your choice) | -| Connector Access | Built-in connector picker | PAC CLI + typed client library | -| Data Model | Implicit, delegation-based | Explicit TypeScript types | -| Deployment | Packaged by Power Platform | `pac code deploy` + solution | -| CI/CD | Limited | Full git-native workflow | +| **UI Framework** | Power Fx formula bar | React / Vue / Svelte | +| **Connector access** | Built-in connector picker | PAC CLI + typed client library | +| **Data model** | Implicit, delegation-based | Explicit TypeScript types | +| **Styling** | Themed controls | Fluent UI / any CSS framework | +| **Deployment** | Packaged by Power Platform | `pac code deploy` + solution | +| **Source control** | Limited | Full git-native workflow | + +--- + +## Supported connectors + +Code apps support **1,400+ connectors**: + +| Category | Examples | +|---|---| +| **Microsoft 365** | Outlook, Teams, SharePoint, OneDrive, Planner | +| **Dataverse** | Common Data Service (Dataverse) | +| **Data** | SQL Server, OData | +| **SaaS** | Salesforce, SAP, ServiceNow, Slack | +| **Custom** | Any standard REST connector | + +**Not yet supported:** Excel Online (Business), Excel Online (OneDrive). + +--- ## References @@ -209,4 +230,5 @@ As of the initial release: - [pac connection list](https://learn.microsoft.com/en-us/power-platform/developer/cli/reference/connection#pac-connection-list) — PAC CLI reference - [pac code add-data-source](https://learn.microsoft.com/en-us/power-platform/developer/cli/reference/code#pac-code-add-data-source) — PAC CLI reference - [Connector classification (DLP)](https://learn.microsoft.com/en-us/power-platform/admin/dlp-connector-classification) — Microsoft Learn -- [Part 1 — Power Apps code apps: tutorial, best practices, and production patterns](https://www.thatsagoodquestion.info/power-apps-code-apps) +- [Fluent UI v9 — React components](https://react.fluentui.dev/) — Microsoft +- [Part 1: Power Apps code apps tutorial](https://www.thatsagoodquestion.info/power-apps-code-apps) — That's a good question diff --git a/dist/assets/index-CmpLfbp9.css b/dist/assets/index-CmpLfbp9.css new file mode 100644 index 00000000..be0305cb --- /dev/null +++ b/dist/assets/index-CmpLfbp9.css @@ -0,0 +1 @@ +*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%;overflow:hidden}body{font-family:Segoe UI Variable,Segoe UI,system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-thumb{background:#80808059;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#8080808c} diff --git a/dist/assets/index-Cyu5-a_6.js b/dist/assets/index-Cyu5-a_6.js deleted file mode 100644 index 84157736..00000000 --- a/dist/assets/index-Cyu5-a_6.js +++ /dev/null @@ -1,138 +0,0 @@ -function dm(n,r){for(var l=0;li[s]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))i(s);new MutationObserver(s=>{for(const f of s)if(f.type==="childList")for(const v of f.addedNodes)v.tagName==="LINK"&&v.rel==="modulepreload"&&i(v)}).observe(document,{childList:!0,subtree:!0});function l(s){const f={};return s.integrity&&(f.integrity=s.integrity),s.referrerPolicy&&(f.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?f.credentials="include":s.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function i(s){if(s.ep)return;s.ep=!0;const f=l(s);fetch(s.href,f)}})();function xs(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Fc={exports:{}},yr={};/** - * @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 Pv;function pp(){if(Pv)return yr;Pv=1;var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function l(i,s,f){var v=null;if(f!==void 0&&(v=""+f),s.key!==void 0&&(v=""+s.key),"key"in s){f={};for(var m in s)m!=="key"&&(f[m]=s[m])}else f=s;return s=f.ref,{$$typeof:n,type:i,key:v,ref:s!==void 0?s:null,props:f}}return yr.Fragment=r,yr.jsx=l,yr.jsxs=l,yr}var Zv;function yp(){return Zv||(Zv=1,Fc.exports=pp()),Fc.exports}var H=yp();const xp=xs(H),Sp=dm({__proto__:null,default:xp},[H]);var Uc={exports:{}},ie={};/** - * @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 Xv;function _p(){if(Xv)return ie;Xv=1;var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),v=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),x=Symbol.iterator;function _(B){return B===null||typeof B!="object"?null:(B=x&&B[x]||B["@@iterator"],typeof B=="function"?B:null)}var z={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},k=Object.assign,O={};function D(B,P,K){this.props=B,this.context=P,this.refs=O,this.updater=K||z}D.prototype.isReactComponent={},D.prototype.setState=function(B,P){if(typeof B!="object"&&typeof B!="function"&&B!=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,B,P,"setState")},D.prototype.forceUpdate=function(B){this.updater.enqueueForceUpdate(this,B,"forceUpdate")};function U(){}U.prototype=D.prototype;function R(B,P,K){this.props=B,this.context=P,this.refs=O,this.updater=K||z}var V=R.prototype=new U;V.constructor=R,k(V,D.prototype),V.isPureReactComponent=!0;var X=Array.isArray;function Y(){}var G={H:null,A:null,T:null,S:null},le=Object.prototype.hasOwnProperty;function Xe(B,P,K){var $=K.ref;return{$$typeof:n,type:B,key:P,ref:$!==void 0?$:null,props:K}}function Ue(B,P){return Xe(B.type,P,B.props)}function et(B){return typeof B=="object"&&B!==null&&B.$$typeof===n}function W(B){var P={"=":"=0",":":"=2"};return"$"+B.replace(/[=:]/g,function(K){return P[K]})}var pe=/\/+/g;function at(B,P){return typeof B=="object"&&B!==null&&B.key!=null?W(""+B.key):P.toString(36)}function vt(B){switch(B.status){case"fulfilled":return B.value;case"rejected":throw B.reason;default:switch(typeof B.status=="string"?B.then(Y,Y):(B.status="pending",B.then(function(P){B.status==="pending"&&(B.status="fulfilled",B.value=P)},function(P){B.status==="pending"&&(B.status="rejected",B.reason=P)})),B.status){case"fulfilled":return B.value;case"rejected":throw B.reason}}throw B}function M(B,P,K,$,ue){var fe=typeof B;(fe==="undefined"||fe==="boolean")&&(B=null);var ze=!1;if(B===null)ze=!0;else switch(fe){case"bigint":case"string":case"number":ze=!0;break;case"object":switch(B.$$typeof){case n:case r:ze=!0;break;case y:return ze=B._init,M(ze(B._payload),P,K,$,ue)}}if(ze)return ue=ue(B),ze=$===""?"."+at(B,0):$,X(ue)?(K="",ze!=null&&(K=ze.replace(pe,"$&/")+"/"),M(ue,P,K,"",function(Ba){return Ba})):ue!=null&&(et(ue)&&(ue=Ue(ue,K+(ue.key==null||B&&B.key===ue.key?"":(""+ue.key).replace(pe,"$&/")+"/")+ze)),P.push(ue)),1;ze=0;var ht=$===""?".":$+":";if(X(B))for(var Le=0;Le>>1,Be=M[Se];if(0>>1;Ses(K,oe))$s(ue,K)?(M[Se]=ue,M[$]=oe,Se=$):(M[Se]=K,M[P]=oe,Se=P);else if($s(ue,oe))M[Se]=ue,M[$]=oe,Se=$;else break e}}return Q}function s(M,Q){var oe=M.sortIndex-Q.sortIndex;return oe!==0?oe:M.id-Q.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;n.unstable_now=function(){return f.now()}}else{var v=Date,m=v.now();n.unstable_now=function(){return v.now()-m}}var g=[],h=[],y=1,p=null,x=3,_=!1,z=!1,k=!1,O=!1,D=typeof setTimeout=="function"?setTimeout:null,U=typeof clearTimeout=="function"?clearTimeout:null,R=typeof setImmediate<"u"?setImmediate:null;function V(M){for(var Q=l(h);Q!==null;){if(Q.callback===null)i(h);else if(Q.startTime<=M)i(h),Q.sortIndex=Q.expirationTime,r(g,Q);else break;Q=l(h)}}function X(M){if(k=!1,V(M),!z)if(l(g)!==null)z=!0,Y||(Y=!0,W());else{var Q=l(h);Q!==null&&vt(X,Q.startTime-M)}}var Y=!1,G=-1,le=5,Xe=-1;function Ue(){return O?!0:!(n.unstable_now()-XeM&&Ue());){var Se=p.callback;if(typeof Se=="function"){p.callback=null,x=p.priorityLevel;var Be=Se(p.expirationTime<=M);if(M=n.unstable_now(),typeof Be=="function"){p.callback=Be,V(M),Q=!0;break t}p===l(g)&&i(g),V(M)}else i(g);p=l(g)}if(p!==null)Q=!0;else{var B=l(h);B!==null&&vt(X,B.startTime-M),Q=!1}}break e}finally{p=null,x=oe,_=!1}Q=void 0}}finally{Q?W():Y=!1}}}var W;if(typeof R=="function")W=function(){R(et)};else if(typeof MessageChannel<"u"){var pe=new MessageChannel,at=pe.port2;pe.port1.onmessage=et,W=function(){at.postMessage(null)}}else W=function(){D(et,0)};function vt(M,Q){G=D(function(){M(n.unstable_now())},Q)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(M){M.callback=null},n.unstable_forceFrameRate=function(M){0>M||125Se?(M.sortIndex=oe,r(h,M),l(g)===null&&M===l(h)&&(k?(U(G),G=-1):k=!0,vt(X,oe-Se))):(M.sortIndex=Be,r(g,M),z||_||(z=!0,Y||(Y=!0,W()))),M},n.unstable_shouldYield=Ue,n.unstable_wrapCallback=function(M){var Q=x;return function(){var oe=x;x=Q;try{return M.apply(this,arguments)}finally{x=oe}}}})(Pc)),Pc}var Qv;function vm(){return Qv||(Qv=1,Gc.exports=wp()),Gc.exports}var Zc={exports:{}},ft={};/** - * @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 Kv;function zp(){if(Kv)return ft;Kv=1;var n=Ss();function r(g){var h="https://react.dev/errors/"+g;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(r){console.error(r)}}return n(),Zc.exports=zp(),Zc.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 Iv;function kp(){if(Iv)return xr;Iv=1;var n=vm(),r=Ss(),l=hm();function i(e){var t="https://react.dev/errors/"+e;if(1Be||(e.current=Se[Be],Se[Be]=null,Be--)}function K(e,t){Be++,Se[Be]=e.current,e.current=t}var $=B(null),ue=B(null),fe=B(null),ze=B(null);function ht(e,t){switch(K(fe,t),K(ue,e),K($,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?dv(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=dv(t),e=vv(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}P($),K($,e)}function Le(){P($),P(ue),P(fe)}function Ba(e){e.memoizedState!==null&&K(ze,e);var t=$.current,o=vv(t,e.type);t!==o&&(K(ue,e),K($,o))}function Ar(e){ue.current===e&&(P($),P(ue)),ze.current===e&&(P(ze),mr._currentValue=oe)}var Si,Ls;function ln(e){if(Si===void 0)try{throw Error()}catch(o){var t=o.stack.trim().match(/\n( *(at )?)/);Si=t&&t[1]||"",Ls=-1)":-1u||S[a]!==j[u]){var q=` -`+S[a].replace(" at new "," at ");return e.displayName&&q.includes("")&&(q=q.replace("",e.displayName)),q}while(1<=a&&0<=u);break}}}finally{_i=!1,Error.prepareStackTrace=o}return(o=e?e.displayName||e.name:"")?ln(o):""}function K1(e,t){switch(e.tag){case 26:case 27:case 5:return ln(e.type);case 16:return ln("Lazy");case 13:return e.child!==t&&t!==null?ln("Suspense Fallback"):ln("Suspense");case 19:return ln("SuspenseList");case 0:case 15:return wi(e.type,!1);case 11:return wi(e.type.render,!1);case 1:return wi(e.type,!0);case 31:return ln("Activity");default:return""}}function Gs(e){try{var t="",o=null;do t+=K1(e,o),o=e,e=e.return;while(e);return t}catch(a){return` -Error generating stack: `+a.message+` -`+a.stack}}var zi=Object.prototype.hasOwnProperty,ki=n.unstable_scheduleCallback,Bi=n.unstable_cancelCallback,W1=n.unstable_shouldYield,I1=n.unstable_requestPaint,Bt=n.unstable_now,J1=n.unstable_getCurrentPriorityLevel,Ps=n.unstable_ImmediatePriority,Zs=n.unstable_UserBlockingPriority,Cr=n.unstable_NormalPriority,$1=n.unstable_LowPriority,Xs=n.unstable_IdlePriority,eg=n.log,tg=n.unstable_setDisableYieldValue,Ta=null,Tt=null;function Ao(e){if(typeof eg=="function"&&tg(e),Tt&&typeof Tt.setStrictMode=="function")try{Tt.setStrictMode(Ta,e)}catch{}}var Et=Math.clz32?Math.clz32:ag,og=Math.log,ng=Math.LN2;function ag(e){return e>>>=0,e===0?32:31-(og(e)/ng|0)|0}var Nr=256,Dr=262144,Rr=4194304;function un(e){var t=e&42;if(t!==0)return t;switch(e&-e){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 e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function qr(e,t,o){var a=e.pendingLanes;if(a===0)return 0;var u=0,c=e.suspendedLanes,d=e.pingedLanes;e=e.warmLanes;var b=a&134217727;return b!==0?(a=b&~c,a!==0?u=un(a):(d&=b,d!==0?u=un(d):o||(o=b&~e,o!==0&&(u=un(o))))):(b=a&~c,b!==0?u=un(b):d!==0?u=un(d):o||(o=a&~e,o!==0&&(u=un(o)))),u===0?0:t!==0&&t!==u&&(t&c)===0&&(c=u&-u,o=t&-t,c>=o||c===32&&(o&4194048)!==0)?t:u}function Ea(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function rg(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+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 t+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 Vs(){var e=Rr;return Rr<<=1,(Rr&62914560)===0&&(Rr=4194304),e}function Ti(e){for(var t=[],o=0;31>o;o++)t.push(e);return t}function ja(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function lg(e,t,o,a,u,c){var d=e.pendingLanes;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=o,e.entangledLanes&=o,e.errorRecoveryDisabledLanes&=o,e.shellSuspendCounter=0;var b=e.entanglements,S=e.expirationTimes,j=e.hiddenUpdates;for(o=d&~o;0"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var dg=/[\n"\\]/g;function Ft(e){return e.replace(dg,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Di(e,t,o,a,u,c,d,b){e.name="",d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?e.type=d:e.removeAttribute("type"),t!=null?d==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Ht(t)):e.value!==""+Ht(t)&&(e.value=""+Ht(t)):d!=="submit"&&d!=="reset"||e.removeAttribute("value"),t!=null?Ri(e,d,Ht(t)):o!=null?Ri(e,d,Ht(o)):a!=null&&e.removeAttribute("value"),u==null&&c!=null&&(e.defaultChecked=!!c),u!=null&&(e.checked=u&&typeof u!="function"&&typeof u!="symbol"),b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?e.name=""+Ht(b):e.removeAttribute("name")}function rf(e,t,o,a,u,c,d,b){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(e.type=c),t!=null||o!=null){if(!(c!=="submit"&&c!=="reset"||t!=null)){Ni(e);return}o=o!=null?""+Ht(o):"",t=t!=null?""+Ht(t):o,b||t===e.value||(e.value=t),e.defaultValue=t}a=a??u,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=b?e.checked:!!a,e.defaultChecked=!!a,d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.name=d),Ni(e)}function Ri(e,t,o){t==="number"&&Hr(e.ownerDocument)===e||e.defaultValue===""+o||(e.defaultValue=""+o)}function On(e,t,o,a){if(e=e.options,t){t={};for(var u=0;u"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Fi=!1;if(fo)try{var Da={};Object.defineProperty(Da,"passive",{get:function(){Fi=!0}}),window.addEventListener("test",Da,Da),window.removeEventListener("test",Da,Da)}catch{Fi=!1}var No=null,Ui=null,Ur=null;function vf(){if(Ur)return Ur;var e,t=Ui,o=t.length,a,u="value"in No?No.value:No.textContent,c=u.length;for(e=0;e=Ma),yf=" ",xf=!1;function Sf(e,t){switch(e){case"keyup":return Ug.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _f(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ln=!1;function Gg(e,t){switch(e){case"compositionend":return _f(t);case"keypress":return t.which!==32?null:(xf=!0,yf);case"textInput":return e=t.data,e===yf&&xf?null:e;default:return null}}function Pg(e,t){if(Ln)return e==="compositionend"||!Xi&&Sf(e,t)?(e=vf(),Ur=Ui=No=null,Ln=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:o,offset:t-e};e=a}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=Af(o)}}function Nf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Nf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Df(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Hr(e.document);t instanceof e.HTMLIFrameElement;){try{var o=typeof t.contentWindow.location.href=="string"}catch{o=!1}if(o)e=t.contentWindow;else break;t=Hr(e.document)}return t}function Qi(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var Ig=fo&&"documentMode"in document&&11>=document.documentMode,Gn=null,Ki=null,Ua=null,Wi=!1;function Rf(e,t,o){var a=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;Wi||Gn==null||Gn!==Hr(a)||(a=Gn,"selectionStart"in a&&Qi(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Ua&&Fa(Ua,a)||(Ua=a,a=Dl(Ki,"onSelect"),0>=d,u-=d,ao=1<<32-Et(t)+u|o<se?(me=ee,ee=null):me=ee.sibling;var xe=C(T,ee,E[se],F);if(xe===null){ee===null&&(ee=me);break}e&&ee&&xe.alternate===null&&t(T,ee),w=c(xe,w,se),ye===null?te=xe:ye.sibling=xe,ye=xe,ee=me}if(se===E.length)return o(T,ee),ge&&ho(T,se),te;if(ee===null){for(;sese?(me=ee,ee=null):me=ee.sibling;var en=C(T,ee,xe.value,F);if(en===null){ee===null&&(ee=me);break}e&&ee&&en.alternate===null&&t(T,ee),w=c(en,w,se),ye===null?te=en:ye.sibling=en,ye=en,ee=me}if(xe.done)return o(T,ee),ge&&ho(T,se),te;if(ee===null){for(;!xe.done;se++,xe=E.next())xe=L(T,xe.value,F),xe!==null&&(w=c(xe,w,se),ye===null?te=xe:ye.sibling=xe,ye=xe);return ge&&ho(T,se),te}for(ee=a(ee);!xe.done;se++,xe=E.next())xe=N(ee,T,se,xe.value,F),xe!==null&&(e&&xe.alternate!==null&&ee.delete(xe.key===null?se:xe.key),w=c(xe,w,se),ye===null?te=xe:ye.sibling=xe,ye=xe);return e&&ee.forEach(function(bp){return t(T,bp)}),ge&&ho(T,se),te}function Ce(T,w,E,F){if(typeof E=="object"&&E!==null&&E.type===k&&E.key===null&&(E=E.props.children),typeof E=="object"&&E!==null){switch(E.$$typeof){case _:e:{for(var te=E.key;w!==null;){if(w.key===te){if(te=E.type,te===k){if(w.tag===7){o(T,w.sibling),F=u(w,E.props.children),F.return=T,T=F;break e}}else if(w.elementType===te||typeof te=="object"&&te!==null&&te.$$typeof===le&&yn(te)===w.type){o(T,w.sibling),F=u(w,E.props),Va(F,E),F.return=T,T=F;break e}o(T,w);break}else t(T,w);w=w.sibling}E.type===k?(F=hn(E.props.children,T.mode,F,E.key),F.return=T,T=F):(F=Wr(E.type,E.key,E.props,null,T.mode,F),Va(F,E),F.return=T,T=F)}return d(T);case z:e:{for(te=E.key;w!==null;){if(w.key===te)if(w.tag===4&&w.stateNode.containerInfo===E.containerInfo&&w.stateNode.implementation===E.implementation){o(T,w.sibling),F=u(w,E.children||[]),F.return=T,T=F;break e}else{o(T,w);break}else t(T,w);w=w.sibling}F=nu(E,T.mode,F),F.return=T,T=F}return d(T);case le:return E=yn(E),Ce(T,w,E,F)}if(vt(E))return J(T,w,E,F);if(W(E)){if(te=W(E),typeof te!="function")throw Error(i(150));return E=te.call(E),ne(T,w,E,F)}if(typeof E.then=="function")return Ce(T,w,nl(E),F);if(E.$$typeof===R)return Ce(T,w,$r(T,E),F);al(T,E)}return typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint"?(E=""+E,w!==null&&w.tag===6?(o(T,w.sibling),F=u(w,E),F.return=T,T=F):(o(T,w),F=ou(E,T.mode,F),F.return=T,T=F),d(T)):o(T,w)}return function(T,w,E,F){try{Xa=0;var te=Ce(T,w,E,F);return $n=null,te}catch(ee){if(ee===Jn||ee===tl)throw ee;var ye=At(29,ee,null,T.mode);return ye.lanes=F,ye.return=T,ye}finally{}}}var Sn=nd(!0),ad=nd(!1),Oo=!1;function mu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function gu(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ho(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Fo(e,t,o){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(_e&2)!==0){var u=a.pending;return u===null?t.next=t:(t.next=u.next,u.next=t),a.pending=t,t=Kr(e),Lf(e,null,o),t}return Qr(e,a,t,o),Kr(e)}function Ya(e,t,o){if(t=t.updateQueue,t!==null&&(t=t.shared,(o&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,o|=a,t.lanes=o,Qs(e,o)}}function bu(e,t){var o=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,o===a)){var u=null,c=null;if(o=o.firstBaseUpdate,o!==null){do{var d={lane:o.lane,tag:o.tag,payload:o.payload,callback:null,next:null};c===null?u=c=d:c=c.next=d,o=o.next}while(o!==null);c===null?u=c=t:c=c.next=t}else u=c=t;o={baseState:a.baseState,firstBaseUpdate:u,lastBaseUpdate:c,shared:a.shared,callbacks:a.callbacks},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=t:e.next=t,o.lastBaseUpdate=t}var pu=!1;function Qa(){if(pu){var e=In;if(e!==null)throw e}}function Ka(e,t,o,a){pu=!1;var u=e.updateQueue;Oo=!1;var c=u.firstBaseUpdate,d=u.lastBaseUpdate,b=u.shared.pending;if(b!==null){u.shared.pending=null;var S=b,j=S.next;S.next=null,d===null?c=j:d.next=j,d=S;var q=e.alternate;q!==null&&(q=q.updateQueue,b=q.lastBaseUpdate,b!==d&&(b===null?q.firstBaseUpdate=j:b.next=j,q.lastBaseUpdate=S))}if(c!==null){var L=u.baseState;d=0,q=j=S=null,b=c;do{var C=b.lane&-536870913,N=C!==b.lane;if(N?(he&C)===C:(a&C)===C){C!==0&&C===Wn&&(pu=!0),q!==null&&(q=q.next={lane:0,tag:b.tag,payload:b.payload,callback:null,next:null});e:{var J=e,ne=b;C=t;var Ce=o;switch(ne.tag){case 1:if(J=ne.payload,typeof J=="function"){L=J.call(Ce,L,C);break e}L=J;break e;case 3:J.flags=J.flags&-65537|128;case 0:if(J=ne.payload,C=typeof J=="function"?J.call(Ce,L,C):J,C==null)break e;L=p({},L,C);break e;case 2:Oo=!0}}C=b.callback,C!==null&&(e.flags|=64,N&&(e.flags|=8192),N=u.callbacks,N===null?u.callbacks=[C]:N.push(C))}else N={lane:C,tag:b.tag,payload:b.payload,callback:b.callback,next:null},q===null?(j=q=N,S=L):q=q.next=N,d|=C;if(b=b.next,b===null){if(b=u.shared.pending,b===null)break;N=b,b=N.next,N.next=null,u.lastBaseUpdate=N,u.shared.pending=null}}while(!0);q===null&&(S=L),u.baseState=S,u.firstBaseUpdate=j,u.lastBaseUpdate=q,c===null&&(u.shared.lanes=0),Zo|=d,e.lanes=d,e.memoizedState=L}}function rd(e,t){if(typeof e!="function")throw Error(i(191,e));e.call(t)}function ld(e,t){var o=e.callbacks;if(o!==null)for(e.callbacks=null,e=0;ec?c:8;var d=M.T,b={};M.T=b,Ou(e,!1,t,o);try{var S=u(),j=M.S;if(j!==null&&j(b,S),S!==null&&typeof S=="object"&&typeof S.then=="function"){var q=lb(S,a);Ja(e,t,q,qt(e))}else Ja(e,t,a,qt(e))}catch(L){Ja(e,t,{then:function(){},status:"rejected",reason:L},qt())}finally{Q.p=c,d!==null&&b.types!==null&&(d.types=b.types),M.T=d}}function db(){}function qu(e,t,o,a){if(e.tag!==5)throw Error(i(476));var u=Hd(e).queue;Od(e,u,t,oe,o===null?db:function(){return Fd(e),o(a)})}function Hd(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:oe,baseState:oe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:po,lastRenderedState:oe},next:null};var o={};return t.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:po,lastRenderedState:o},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Fd(e){var t=Hd(e);t.next===null&&(t=e.alternate.memoizedState),Ja(e,t.next.queue,{},qt())}function Mu(){return it(mr)}function Ud(){return Pe().memoizedState}function Ld(){return Pe().memoizedState}function vb(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var o=qt();e=Ho(o);var a=Fo(t,e,o);a!==null&&(wt(a,t,o),Ya(a,t,o)),t={cache:fu()},e.payload=t;return}t=t.return}}function hb(e,t,o){var a=qt();o={lane:a,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},hl(e)?Pd(t,o):(o=eu(e,t,o,a),o!==null&&(wt(o,e,a),Zd(o,t,a)))}function Gd(e,t,o){var a=qt();Ja(e,t,o,a)}function Ja(e,t,o,a){var u={lane:a,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null};if(hl(e))Pd(t,u);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=t.lastRenderedReducer,c!==null))try{var d=t.lastRenderedState,b=c(d,o);if(u.hasEagerState=!0,u.eagerState=b,jt(b,d))return Qr(e,t,u,0),Ne===null&&Yr(),!1}catch{}finally{}if(o=eu(e,t,u,a),o!==null)return wt(o,e,a),Zd(o,t,a),!0}return!1}function Ou(e,t,o,a){if(a={lane:2,revertLane:mc(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},hl(e)){if(t)throw Error(i(479))}else t=eu(e,o,a,2),t!==null&&wt(t,e,2)}function hl(e){var t=e.alternate;return e===ce||t!==null&&t===ce}function Pd(e,t){ta=il=!0;var o=e.pending;o===null?t.next=t:(t.next=o.next,o.next=t),e.pending=t}function Zd(e,t,o){if((o&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,o|=a,t.lanes=o,Qs(e,o)}}var $a={readContext:it,use:sl,useCallback:He,useContext:He,useEffect:He,useImperativeHandle:He,useLayoutEffect:He,useInsertionEffect:He,useMemo:He,useReducer:He,useRef:He,useState:He,useDebugValue:He,useDeferredValue:He,useTransition:He,useSyncExternalStore:He,useId:He,useHostTransitionStatus:He,useFormState:He,useActionState:He,useOptimistic:He,useMemoCache:He,useCacheRefresh:He};$a.useEffectEvent=He;var Xd={readContext:it,use:sl,useCallback:function(e,t){return mt().memoizedState=[e,t===void 0?null:t],e},useContext:it,useEffect:Ed,useImperativeHandle:function(e,t,o){o=o!=null?o.concat([e]):null,dl(4194308,4,Nd.bind(null,t,e),o)},useLayoutEffect:function(e,t){return dl(4194308,4,e,t)},useInsertionEffect:function(e,t){dl(4,2,e,t)},useMemo:function(e,t){var o=mt();t=t===void 0?null:t;var a=e();if(_n){Ao(!0);try{e()}finally{Ao(!1)}}return o.memoizedState=[a,t],a},useReducer:function(e,t,o){var a=mt();if(o!==void 0){var u=o(t);if(_n){Ao(!0);try{o(t)}finally{Ao(!1)}}}else u=t;return a.memoizedState=a.baseState=u,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:u},a.queue=e,e=e.dispatch=hb.bind(null,ce,e),[a.memoizedState,e]},useRef:function(e){var t=mt();return e={current:e},t.memoizedState=e},useState:function(e){e=Au(e);var t=e.queue,o=Gd.bind(null,ce,t);return t.dispatch=o,[e.memoizedState,o]},useDebugValue:Du,useDeferredValue:function(e,t){var o=mt();return Ru(o,e,t)},useTransition:function(){var e=Au(!1);return e=Od.bind(null,ce,e.queue,!0,!1),mt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,o){var a=ce,u=mt();if(ge){if(o===void 0)throw Error(i(407));o=o()}else{if(o=t(),Ne===null)throw Error(i(349));(he&127)!==0||dd(a,t,o)}u.memoizedState=o;var c={value:o,getSnapshot:t};return u.queue=c,Ed(hd.bind(null,a,c,e),[e]),a.flags|=2048,na(9,{destroy:void 0},vd.bind(null,a,c,o,t),null),o},useId:function(){var e=mt(),t=Ne.identifierPrefix;if(ge){var o=ro,a=ao;o=(a&~(1<<32-Et(a)-1)).toString(32)+o,t="_"+t+"R_"+o,o=ul++,0<\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof a.is=="string"?d.createElement("select",{is:a.is}):d.createElement("select"),a.multiple?c.multiple=!0:a.size&&(c.size=a.size);break;default:c=typeof a.is=="string"?d.createElement(u,{is:a.is}):d.createElement(u)}}c[rt]=t,c[bt]=a;e:for(d=t.child;d!==null;){if(d.tag===5||d.tag===6)c.appendChild(d.stateNode);else if(d.tag!==4&&d.tag!==27&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===t)break e;for(;d.sibling===null;){if(d.return===null||d.return===t)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}t.stateNode=c;e:switch(ct(c,u,a),u){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&xo(t)}}return qe(t),Iu(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,o),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&xo(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(i(166));if(e=fe.current,Qn(t)){if(e=t.stateNode,o=t.memoizedProps,a=null,u=lt,u!==null)switch(u.tag){case 27:case 5:a=u.memoizedProps}e[rt]=t,e=!!(e.nodeValue===o||a!==null&&a.suppressHydrationWarning===!0||sv(e.nodeValue,o)),e||qo(t,!0)}else e=Rl(e).createTextNode(a),e[rt]=t,t.stateNode=e}return qe(t),null;case 31:if(o=t.memoizedState,e===null||e.memoizedState!==null){if(a=Qn(t),o!==null){if(e===null){if(!a)throw Error(i(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(i(557));e[rt]=t}else mn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;qe(t),e=!1}else o=iu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),e=!0;if(!e)return t.flags&256?(Nt(t),t):(Nt(t),null);if((t.flags&128)!==0)throw Error(i(558))}return qe(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(u=Qn(t),a!==null&&a.dehydrated!==null){if(e===null){if(!u)throw Error(i(318));if(u=t.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(i(317));u[rt]=t}else mn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;qe(t),u=!1}else u=iu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=u),u=!0;if(!u)return t.flags&256?(Nt(t),t):(Nt(t),null)}return Nt(t),(t.flags&128)!==0?(t.lanes=o,t):(o=a!==null,e=e!==null&&e.memoizedState!==null,o&&(a=t.child,u=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(u=a.alternate.memoizedState.cachePool.pool),c=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(c=a.memoizedState.cachePool.pool),c!==u&&(a.flags|=2048)),o!==e&&o&&(t.child.flags|=8192),yl(t,t.updateQueue),qe(t),null);case 4:return Le(),e===null&&yc(t.stateNode.containerInfo),qe(t),null;case 10:return go(t.type),qe(t),null;case 19:if(P(Ge),a=t.memoizedState,a===null)return qe(t),null;if(u=(t.flags&128)!==0,c=a.rendering,c===null)if(u)tr(a,!1);else{if(Fe!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(c=ll(e),c!==null){for(t.flags|=128,tr(a,!1),e=c.updateQueue,t.updateQueue=e,yl(t,e),t.subtreeFlags=0,e=o,o=t.child;o!==null;)Gf(o,e),o=o.sibling;return K(Ge,Ge.current&1|2),ge&&ho(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&Bt()>zl&&(t.flags|=128,u=!0,tr(a,!1),t.lanes=4194304)}else{if(!u)if(e=ll(c),e!==null){if(t.flags|=128,u=!0,e=e.updateQueue,t.updateQueue=e,yl(t,e),tr(a,!0),a.tail===null&&a.tailMode==="hidden"&&!c.alternate&&!ge)return qe(t),null}else 2*Bt()-a.renderingStartTime>zl&&o!==536870912&&(t.flags|=128,u=!0,tr(a,!1),t.lanes=4194304);a.isBackwards?(c.sibling=t.child,t.child=c):(e=a.last,e!==null?e.sibling=c:t.child=c,a.last=c)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=Bt(),e.sibling=null,o=Ge.current,K(Ge,u?o&1|2:o&1),ge&&ho(t,a.treeForkCount),e):(qe(t),null);case 22:case 23:return Nt(t),xu(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(o&536870912)!==0&&(t.flags&128)===0&&(qe(t),t.subtreeFlags&6&&(t.flags|=8192)):qe(t),o=t.updateQueue,o!==null&&yl(t,o.retryQueue),o=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==o&&(t.flags|=2048),e!==null&&P(pn),null;case 24:return o=null,e!==null&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),go(Ve),qe(t),null;case 25:return null;case 30:return null}throw Error(i(156,t.tag))}function yb(e,t){switch(ru(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return go(Ve),Le(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Ar(t),null;case 31:if(t.memoizedState!==null){if(Nt(t),t.alternate===null)throw Error(i(340));mn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Nt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));mn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return P(Ge),null;case 4:return Le(),null;case 10:return go(t.type),null;case 22:case 23:return Nt(t),xu(),e!==null&&P(pn),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return go(Ve),null;case 25:return null;default:return null}}function m0(e,t){switch(ru(t),t.tag){case 3:go(Ve),Le();break;case 26:case 27:case 5:Ar(t);break;case 4:Le();break;case 31:t.memoizedState!==null&&Nt(t);break;case 13:Nt(t);break;case 19:P(Ge);break;case 10:go(t.type);break;case 22:case 23:Nt(t),xu(),e!==null&&P(pn);break;case 24:go(Ve)}}function or(e,t){try{var o=t.updateQueue,a=o!==null?o.lastEffect:null;if(a!==null){var u=a.next;o=u;do{if((o.tag&e)===e){a=void 0;var c=o.create,d=o.inst;a=c(),d.destroy=a}o=o.next}while(o!==u)}}catch(b){Ee(t,t.return,b)}}function Go(e,t,o){try{var a=t.updateQueue,u=a!==null?a.lastEffect:null;if(u!==null){var c=u.next;a=c;do{if((a.tag&e)===e){var d=a.inst,b=d.destroy;if(b!==void 0){d.destroy=void 0,u=t;var S=o,j=b;try{j()}catch(q){Ee(u,S,q)}}}a=a.next}while(a!==c)}}catch(q){Ee(t,t.return,q)}}function g0(e){var t=e.updateQueue;if(t!==null){var o=e.stateNode;try{ld(t,o)}catch(a){Ee(e,e.return,a)}}}function b0(e,t,o){o.props=wn(e.type,e.memoizedProps),o.state=e.memoizedState;try{o.componentWillUnmount()}catch(a){Ee(e,t,a)}}function nr(e,t){try{var o=e.ref;if(o!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}typeof o=="function"?e.refCleanup=o(a):o.current=a}}catch(u){Ee(e,t,u)}}function lo(e,t){var o=e.ref,a=e.refCleanup;if(o!==null)if(typeof a=="function")try{a()}catch(u){Ee(e,t,u)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof o=="function")try{o(null)}catch(u){Ee(e,t,u)}else o.current=null}function p0(e){var t=e.type,o=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":o.autoFocus&&a.focus();break e;case"img":o.src?a.src=o.src:o.srcSet&&(a.srcset=o.srcSet)}}catch(u){Ee(e,e.return,u)}}function Ju(e,t,o){try{var a=e.stateNode;Lb(a,e.type,o,t),a[bt]=t}catch(u){Ee(e,e.return,u)}}function y0(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ko(e.type)||e.tag===4}function $u(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||y0(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Ko(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ec(e,t,o){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o).insertBefore(e,t):(t=o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,t.appendChild(e),o=o._reactRootContainer,o!=null||t.onclick!==null||(t.onclick=so));else if(a!==4&&(a===27&&Ko(e.type)&&(o=e.stateNode,t=null),e=e.child,e!==null))for(ec(e,t,o),e=e.sibling;e!==null;)ec(e,t,o),e=e.sibling}function xl(e,t,o){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?o.insertBefore(e,t):o.appendChild(e);else if(a!==4&&(a===27&&Ko(e.type)&&(o=e.stateNode),e=e.child,e!==null))for(xl(e,t,o),e=e.sibling;e!==null;)xl(e,t,o),e=e.sibling}function x0(e){var t=e.stateNode,o=e.memoizedProps;try{for(var a=e.type,u=t.attributes;u.length;)t.removeAttributeNode(u[0]);ct(t,a,o),t[rt]=e,t[bt]=o}catch(c){Ee(e,e.return,c)}}var So=!1,Ke=!1,tc=!1,S0=typeof WeakSet=="function"?WeakSet:Set,ot=null;function xb(e,t){if(e=e.containerInfo,_c=Ll,e=Df(e),Qi(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var a=o.getSelection&&o.getSelection();if(a&&a.rangeCount!==0){o=a.anchorNode;var u=a.anchorOffset,c=a.focusNode;a=a.focusOffset;try{o.nodeType,c.nodeType}catch{o=null;break e}var d=0,b=-1,S=-1,j=0,q=0,L=e,C=null;t:for(;;){for(var N;L!==o||u!==0&&L.nodeType!==3||(b=d+u),L!==c||a!==0&&L.nodeType!==3||(S=d+a),L.nodeType===3&&(d+=L.nodeValue.length),(N=L.firstChild)!==null;)C=L,L=N;for(;;){if(L===e)break t;if(C===o&&++j===u&&(b=d),C===c&&++q===a&&(S=d),(N=L.nextSibling)!==null)break;L=C,C=L.parentNode}L=N}o=b===-1||S===-1?null:{start:b,end:S}}else o=null}o=o||{start:0,end:0}}else o=null;for(wc={focusedElem:e,selectionRange:o},Ll=!1,ot=t;ot!==null;)if(t=ot,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ot=e;else for(;ot!==null;){switch(t=ot,c=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(o=0;o title"))),ct(c,a,o),c[rt]=e,tt(c),a=c;break e;case"link":var d=Tv("link","href",u).get(a+(o.href||""));if(d){for(var b=0;bCe&&(d=Ce,Ce=ne,ne=d);var T=Cf(b,ne),w=Cf(b,Ce);if(T&&w&&(N.rangeCount!==1||N.anchorNode!==T.node||N.anchorOffset!==T.offset||N.focusNode!==w.node||N.focusOffset!==w.offset)){var E=L.createRange();E.setStart(T.node,T.offset),N.removeAllRanges(),ne>Ce?(N.addRange(E),N.extend(w.node,w.offset)):(E.setEnd(w.node,w.offset),N.addRange(E))}}}}for(L=[],N=b;N=N.parentNode;)N.nodeType===1&&L.push({element:N,left:N.scrollLeft,top:N.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;bo?32:o,M.T=null,o=uc,uc=null;var c=Vo,d=Bo;if(Je=0,ua=Vo=null,Bo=0,(_e&6)!==0)throw Error(i(331));var b=_e;if(_e|=4,N0(c.current),j0(c,c.current,d,o),_e=b,cr(0,!1),Tt&&typeof Tt.onPostCommitFiberRoot=="function")try{Tt.onPostCommitFiberRoot(Ta,c)}catch{}return!0}finally{Q.p=u,M.T=a,W0(e,t)}}function J0(e,t,o){t=Lt(o,t),t=Lu(e.stateNode,t,2),e=Fo(e,t,2),e!==null&&(ja(e,2),io(e))}function Ee(e,t,o){if(e.tag===3)J0(e,e,o);else for(;t!==null;){if(t.tag===3){J0(t,e,o);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Xo===null||!Xo.has(a))){e=Lt(o,e),o=$d(2),a=Fo(t,o,2),a!==null&&(e0(o,a,t,e),ja(a,2),io(a));break}}t=t.return}}function dc(e,t,o){var a=e.pingCache;if(a===null){a=e.pingCache=new wb;var u=new Set;a.set(t,u)}else u=a.get(t),u===void 0&&(u=new Set,a.set(t,u));u.has(o)||(ac=!0,u.add(o),e=Eb.bind(null,e,t,o),t.then(e,e))}function Eb(e,t,o){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&o,e.warmLanes&=~o,Ne===e&&(he&o)===o&&(Fe===4||Fe===3&&(he&62914560)===he&&300>Bt()-wl?(_e&2)===0&&ca(e,0):rc|=o,ia===he&&(ia=0)),io(e)}function $0(e,t){t===0&&(t=Vs()),e=vn(e,t),e!==null&&(ja(e,t),io(e))}function jb(e){var t=e.memoizedState,o=0;t!==null&&(o=t.retryLane),$0(e,o)}function Ab(e,t){var o=0;switch(e.tag){case 31:case 13:var a=e.stateNode,u=e.memoizedState;u!==null&&(o=u.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(i(314))}a!==null&&a.delete(t),$0(e,o)}function Cb(e,t){return ki(e,t)}var Al=null,fa=null,vc=!1,Cl=!1,hc=!1,Qo=0;function io(e){e!==fa&&e.next===null&&(fa===null?Al=fa=e:fa=fa.next=e),Cl=!0,vc||(vc=!0,Db())}function cr(e,t){if(!hc&&Cl){hc=!0;do for(var o=!1,a=Al;a!==null;){if(e!==0){var u=a.pendingLanes;if(u===0)var c=0;else{var d=a.suspendedLanes,b=a.pingedLanes;c=(1<<31-Et(42|e)+1)-1,c&=u&~(d&~b),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(o=!0,nv(a,c))}else c=he,c=qr(a,a===Ne?c:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(c&3)===0||Ea(a,c)||(o=!0,nv(a,c));a=a.next}while(o);hc=!1}}function Nb(){ev()}function ev(){Cl=vc=!1;var e=0;Qo!==0&&Pb()&&(e=Qo);for(var t=Bt(),o=null,a=Al;a!==null;){var u=a.next,c=tv(a,t);c===0?(a.next=null,o===null?Al=u:o.next=u,u===null&&(fa=o)):(o=a,(e!==0||(c&3)!==0)&&(Cl=!0)),a=u}Je!==0&&Je!==5||cr(e),Qo!==0&&(Qo=0)}function tv(e,t){for(var o=e.suspendedLanes,a=e.pingedLanes,u=e.expirationTimes,c=e.pendingLanes&-62914561;0b)break;var q=S.transferSize,L=S.initiatorType;q&&fv(L)&&(S=S.responseEnd,d+=q*(S"u"?null:document;function wv(e,t,o){var a=da;if(a&&typeof t=="string"&&t){var u=Ft(t);u='link[rel="'+e+'"][href="'+u+'"]',typeof o=="string"&&(u+='[crossorigin="'+o+'"]'),_v.has(u)||(_v.add(u),e={rel:e,crossOrigin:o,href:t},a.querySelector(u)===null&&(t=a.createElement("link"),ct(t,"link",e),tt(t),a.head.appendChild(t)))}}function Jb(e){To.D(e),wv("dns-prefetch",e,null)}function $b(e,t){To.C(e,t),wv("preconnect",e,t)}function ep(e,t,o){To.L(e,t,o);var a=da;if(a&&e&&t){var u='link[rel="preload"][as="'+Ft(t)+'"]';t==="image"&&o&&o.imageSrcSet?(u+='[imagesrcset="'+Ft(o.imageSrcSet)+'"]',typeof o.imageSizes=="string"&&(u+='[imagesizes="'+Ft(o.imageSizes)+'"]')):u+='[href="'+Ft(e)+'"]';var c=u;switch(t){case"style":c=va(e);break;case"script":c=ha(e)}Yt.has(c)||(e=p({rel:"preload",href:t==="image"&&o&&o.imageSrcSet?void 0:e,as:t},o),Yt.set(c,e),a.querySelector(u)!==null||t==="style"&&a.querySelector(vr(c))||t==="script"&&a.querySelector(hr(c))||(t=a.createElement("link"),ct(t,"link",e),tt(t),a.head.appendChild(t)))}}function tp(e,t){To.m(e,t);var o=da;if(o&&e){var a=t&&typeof t.as=="string"?t.as:"script",u='link[rel="modulepreload"][as="'+Ft(a)+'"][href="'+Ft(e)+'"]',c=u;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=ha(e)}if(!Yt.has(c)&&(e=p({rel:"modulepreload",href:e},t),Yt.set(c,e),o.querySelector(u)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(hr(c)))return}a=o.createElement("link"),ct(a,"link",e),tt(a),o.head.appendChild(a)}}}function op(e,t,o){To.S(e,t,o);var a=da;if(a&&e){var u=qn(a).hoistableStyles,c=va(e);t=t||"default";var d=u.get(c);if(!d){var b={loading:0,preload:null};if(d=a.querySelector(vr(c)))b.loading=5;else{e=p({rel:"stylesheet",href:e,"data-precedence":t},o),(o=Yt.get(c))&&Ac(e,o);var S=d=a.createElement("link");tt(S),ct(S,"link",e),S._p=new Promise(function(j,q){S.onload=j,S.onerror=q}),S.addEventListener("load",function(){b.loading|=1}),S.addEventListener("error",function(){b.loading|=2}),b.loading|=4,Ml(d,t,a)}d={type:"stylesheet",instance:d,count:1,state:b},u.set(c,d)}}}function np(e,t){To.X(e,t);var o=da;if(o&&e){var a=qn(o).hoistableScripts,u=ha(e),c=a.get(u);c||(c=o.querySelector(hr(u)),c||(e=p({src:e,async:!0},t),(t=Yt.get(u))&&Cc(e,t),c=o.createElement("script"),tt(c),ct(c,"link",e),o.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},a.set(u,c))}}function ap(e,t){To.M(e,t);var o=da;if(o&&e){var a=qn(o).hoistableScripts,u=ha(e),c=a.get(u);c||(c=o.querySelector(hr(u)),c||(e=p({src:e,async:!0,type:"module"},t),(t=Yt.get(u))&&Cc(e,t),c=o.createElement("script"),tt(c),ct(c,"link",e),o.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},a.set(u,c))}}function zv(e,t,o,a){var u=(u=fe.current)?ql(u):null;if(!u)throw Error(i(446));switch(e){case"meta":case"title":return null;case"style":return typeof o.precedence=="string"&&typeof o.href=="string"?(t=va(o.href),o=qn(u).hoistableStyles,a=o.get(t),a||(a={type:"style",instance:null,count:0,state:null},o.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(o.rel==="stylesheet"&&typeof o.href=="string"&&typeof o.precedence=="string"){e=va(o.href);var c=qn(u).hoistableStyles,d=c.get(e);if(d||(u=u.ownerDocument||u,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,d),(c=u.querySelector(vr(e)))&&!c._p&&(d.instance=c,d.state.loading=5),Yt.has(e)||(o={rel:"preload",as:"style",href:o.href,crossOrigin:o.crossOrigin,integrity:o.integrity,media:o.media,hrefLang:o.hrefLang,referrerPolicy:o.referrerPolicy},Yt.set(e,o),c||rp(u,e,o,d.state))),t&&a===null)throw Error(i(528,""));return d}if(t&&a!==null)throw Error(i(529,""));return null;case"script":return t=o.async,o=o.src,typeof o=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=ha(o),o=qn(u).hoistableScripts,a=o.get(t),a||(a={type:"script",instance:null,count:0,state:null},o.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,e))}}function va(e){return'href="'+Ft(e)+'"'}function vr(e){return'link[rel="stylesheet"]['+e+"]"}function kv(e){return p({},e,{"data-precedence":e.precedence,precedence:null})}function rp(e,t,o,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),ct(t,"link",o),tt(t),e.head.appendChild(t))}function ha(e){return'[src="'+Ft(e)+'"]'}function hr(e){return"script[async]"+e}function Bv(e,t,o){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+Ft(o.href)+'"]');if(a)return t.instance=a,tt(a),a;var u=p({},o,{"data-href":o.href,"data-precedence":o.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),tt(a),ct(a,"style",u),Ml(a,o.precedence,e),t.instance=a;case"stylesheet":u=va(o.href);var c=e.querySelector(vr(u));if(c)return t.state.loading|=4,t.instance=c,tt(c),c;a=kv(o),(u=Yt.get(u))&&Ac(a,u),c=(e.ownerDocument||e).createElement("link"),tt(c);var d=c;return d._p=new Promise(function(b,S){d.onload=b,d.onerror=S}),ct(c,"link",a),t.state.loading|=4,Ml(c,o.precedence,e),t.instance=c;case"script":return c=ha(o.src),(u=e.querySelector(hr(c)))?(t.instance=u,tt(u),u):(a=o,(u=Yt.get(c))&&(a=p({},o),Cc(a,u)),e=e.ownerDocument||e,u=e.createElement("script"),tt(u),ct(u,"link",a),e.head.appendChild(u),t.instance=u);case"void":return null;default:throw Error(i(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Ml(a,o.precedence,e));return t.instance}function Ml(e,t,o){for(var a=o.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=a.length?a[a.length-1]:null,c=u,d=0;d title"):null)}function lp(e,t,o){if(o===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function jv(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function ip(e,t,o,a){if(o.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(o.state.loading&4)===0){if(o.instance===null){var u=va(a.href),c=t.querySelector(vr(u));if(c){t=c._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Hl.bind(e),t.then(e,e)),o.state.loading|=4,o.instance=c,tt(c);return}c=t.ownerDocument||t,a=kv(a),(u=Yt.get(u))&&Ac(a,u),c=c.createElement("link"),tt(c);var d=c;d._p=new Promise(function(b,S){d.onload=b,d.onerror=S}),ct(c,"link",a),o.instance=c}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(o,t),(t=o.state.preload)&&(o.state.loading&3)===0&&(e.count++,o=Hl.bind(e),t.addEventListener("load",o),t.addEventListener("error",o))}}var Nc=0;function up(e,t){return e.stylesheets&&e.count===0&&Ul(e,e.stylesheets),0Nc?50:800)+t);return e.unsuspend=o,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(u)}}:null}function Hl(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Ul(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Fl=null;function Ul(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Fl=new Map,t.forEach(cp,e),Fl=null,Hl.call(e))}function cp(e,t){if(!(t.state.loading&4)){var o=Fl.get(e);if(o)var a=o.get(null);else{o=new Map,Fl.set(e,o);for(var u=e.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(r){console.error(r)}}return n(),Lc.exports=kp(),Lc.exports}var Tp=Bp();const Ep=xs(Tp),Xc=typeof window>"u"?global:window,Vc="@griffel/";function jp(n,r){return Xc[Symbol.for(Vc+n)]||(Xc[Symbol.for(Vc+n)]=r),Xc[Symbol.for(Vc+n)]}const us=jp("DEFINITION_LOOKUP_TABLE",{}),wr="data-make-styles-bucket",Ap="data-priority",cs="f",ss=7,ws="___",Cp=ws.length+ss,Np=0,Dp=1,Rp={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},fs="DO_NOT_USE_DIRECTLY: @griffel/reset-value";function Br(n){for(var r=0,l,i=0,s=n.length;s>=4;++i,s-=4)l=n.charCodeAt(i)&255|(n.charCodeAt(++i)&255)<<8|(n.charCodeAt(++i)&255)<<16|(n.charCodeAt(++i)&255)<<24,l=(l&65535)*1540483477+((l>>>16)*59797<<16),l^=l>>>24,r=(l&65535)*1540483477+((l>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(s){case 3:r^=(n.charCodeAt(i+2)&255)<<16;case 2:r^=(n.charCodeAt(i+1)&255)<<8;case 1:r^=n.charCodeAt(i)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}function qp(n){const r=n.length;if(r===ss)return n;for(let l=r;l0&&(r+=x.slice(0,_)),l+=z,i[p]=z}}}if(l==="")return r.slice(0,-1);const s=$v[l];if(s!==void 0)return r+s;const f=[];for(let p=0;pv.cssText):s}}}const Hp=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"],eh=Hp.reduce((n,r,l)=>(n[r]=l,n),{});function Fp(n,r,l){return(n==="m"?n+r:n)+l}function Up(n,r,l,i,s={}){var f,v;const m=n==="m",g=(f=s.m)!==null&&f!==void 0?f:"0",h=(v=s.p)!==null&&v!==void 0?v:0,y=Fp(n,g,h);if(!i.stylesheets[y]){const p=r&&r.createElement("style"),x=Op(p,n,h,Object.assign({},i.styleElementAttributes,m&&{media:g}));i.stylesheets[y]=x,r!=null&&r.head&&p&&r.head.insertBefore(p,Gp(r,l,n,i,s))}return i.stylesheets[y]}function Lp(n,r,l){var i,s;const f=r+((i=l.m)!==null&&i!==void 0?i:""),v=n.getAttribute(wr)+((s=n.media)!==null&&s!==void 0?s:"");return f===v}function Gp(n,r,l,i,s={}){var f,v;const m=eh[l],g=(f=s.m)!==null&&f!==void 0?f:"",h=(v=s.p)!==null&&v!==void 0?v:0;let y=k=>m-eh[k.getAttribute(wr)],p=n.head.querySelectorAll(`[${wr}]`);if(l==="m"){const k=n.head.querySelectorAll(`[${wr}="${l}"]`);k.length&&(p=k,y=O=>i.compareMediaQueries(g,O.media))}const x=k=>Lp(k,l,s)?h-Number(k.getAttribute("data-priority")):y(k),_=p.length;let z=_-1;for(;z>=0;){const k=p.item(z);if(x(k)>0)return k.nextSibling;z--}return _>0?p.item(0):r?r.nextSibling:null}function th(n,r){try{n.insertRule(r)}catch{}}let Pp=0;const Zp=(n,r)=>nr?1:0;function Xp(n=typeof document>"u"?void 0:document,r={}){const{classNameHashSalt:l,unstable_filterCSSRule:i,insertionPoint:s,styleElementAttributes:f,compareMediaQueries:v=Zp}=r,m={classNameHashSalt:l,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(f),compareMediaQueries:v,id:`d${Pp++}`,insertCSSRules(g){for(const h in g){const y=g[h];for(let p=0,x=y.length;p{const n={};return function(l,i){n[l.id]===void 0&&(l.insertCSSRules(i),n[l.id]=!0)}};function bm(n){return n.reduce(function(r,l){var i=l[0],s=l[1];return r[i]=s,r[s]=i,r},{})}function Vp(n){return typeof n=="boolean"}function Yp(n){return typeof n=="function"}function _r(n){return typeof n=="number"}function Qp(n){return n===null||typeof n>"u"}function Kp(n){return n&&typeof n=="object"}function Wp(n){return typeof n=="string"}function oi(n,r){return n.indexOf(r)!==-1}function Ip(n){return parseFloat(n)===0?n:n[0]==="-"?n.slice(1):"-"+n}function Ql(n,r,l,i){return r+Ip(l)+i}function Jp(n){var r=n.indexOf(".");if(r===-1)n=100-parseFloat(n)+"%";else{var l=n.length-r-2;n=100-parseFloat(n),n=n.toFixed(l)+"%"}return n}function pm(n){return n.replace(/ +/g," ").split(" ").map(function(r){return r.trim()}).filter(Boolean).reduce(function(r,l){var i=r.list,s=r.state,f=(l.match(/\(/g)||[]).length,v=(l.match(/\)/g)||[]).length;return s.parensDepth>0?i[i.length-1]=i[i.length-1]+" "+l:i.push(l),s.parensDepth+=f-v,{list:i,state:s}},{list:[],state:{parensDepth:0}}).list}function oh(n){var r=pm(n);if(r.length<=3||r.length>4)return n;var l=r[0],i=r[1],s=r[2],f=r[3];return[l,f,s,i].join(" ")}function $p(n){return!Vp(n)&&!Qp(n)}function ey(n){for(var r=[],l=0,i=0,s=!1;i0?dt(ka,--Mt):0,xa--,Oe===10&&(xa=1,gi--),Oe}function Kt(){return Oe=Mt2||Sa(Oe)>3?"":" "}function Sy(n){for(;Kt();)switch(Sa(Oe)){case 0:Tn(Nm(Mt-1),n);break;case 2:Tn(ai(Oe),n);break;default:Tn(mi(Oe),n)}return n}function _y(n,r){for(;--r&&Kt()&&!(Oe<48||Oe>102||Oe>57&&Oe<65||Oe>70&&Oe<97););return pi(n,ni()+(r<6&&on()==32&&Kt()==32))}function vs(n){for(;Kt();)switch(Oe){case n:return Mt;case 34:case 39:n!==34&&n!==39&&vs(Oe);break;case 40:n===41&&vs(n);break;case 92:Kt();break}return Mt}function wy(n,r){for(;Kt()&&n+Oe!==57;)if(n+Oe===84&&on()===47)break;return"/*"+pi(r,Mt-1)+"*"+mi(n===47?n:Kt())}function Nm(n){for(;!Sa(on());)Kt();return pi(n,Mt)}function Dm(n){return Cm(ri("",null,null,null,[""],n=Am(n),0,[0],n))}function ri(n,r,l,i,s,f,v,m,g){for(var h=0,y=0,p=v,x=0,_=0,z=0,k=1,O=1,D=1,U=0,R="",V=s,X=f,Y=i,G=R;O;)switch(z=U,U=Kt()){case 40:if(z!=108&&dt(G,p-1)==58){Tm(G+=zt(ai(U),"&","&\f"),"&\f",zm(h?m[h-1]:0))!=-1&&(D=-1);break}case 34:case 39:case 91:G+=ai(U);break;case 9:case 10:case 13:case 32:G+=xy(z);break;case 92:G+=_y(ni()-1,7);continue;case 47:switch(on()){case 42:case 47:Tn(zy(wy(Kt(),ni()),r,l,g),g),(Sa(z||1)==5||Sa(on()||1)==5)&&to(G)&&ya(G,-1,void 0)!==" "&&(G+=" ");break;default:G+="/"}break;case 123*k:m[h++]=to(G)*D;case 125*k:case 59:case 0:switch(U){case 0:case 125:O=0;case 59+y:D==-1&&(G=zt(G,/\f/g,"")),_>0&&(to(G)-p||k===0&&z===47)&&Tn(_>32?rh(G+";",i,l,p-1,g):rh(zt(G," ","")+";",i,l,p-2,g),g);break;case 59:G+=";";default:if(Tn(Y=ah(G,r,l,h,y,s,m,R,V=[],X=[],p,f),f),U===123)if(y===0)ri(G,r,Y,Y,V,f,p,m,X);else{switch(x){case 99:if(dt(G,3)===110)break;case 108:if(dt(G,2)===97)break;default:y=0;case 100:case 109:case 115:}y?ri(n,Y,Y,i&&Tn(ah(n,Y,Y,0,0,s,m,R,s,V=[],p,X),X),s,X,p,m,i?V:X):ri(G,Y,Y,Y,[""],X,0,m,X)}}h=y=_=0,k=D=1,R=G="",p=v;break;case 58:p=1+to(G),_=z;default:if(k<1){if(U==123)--k;else if(U==125&&k++==0&&py()==125)continue}switch(G+=mi(U),U*k){case 38:D=y>0?1:(G+="\f",-1);break;case 44:m[h++]=(to(G)-1)*D,D=1;break;case 64:on()===45&&(G+=ai(Kt())),x=on(),y=p=to(R=G+=Nm(ni())),U++;break;case 45:z===45&&to(G)==2&&(k=0)}}return f}function ah(n,r,l,i,s,f,v,m,g,h,y,p){for(var x=s-1,_=s===0?f:[""],z=Em(_),k=0,O=0,D=0;k0?_[U]+" "+R:zt(R,/&\f/g,_[U])))&&(g[D++]=V);return bi(n,r,l,s===0?hi:m,g,h,y,p)}function zy(n,r,l,i){return bi(n,r,l,_m,mi(by()),ya(n,2,-2),0,i)}function rh(n,r,l,i,s){return bi(n,r,l,ks,ya(n,0,i),ya(n,i+1,-1),i,s)}function _a(n,r){for(var l="",i=0;i{switch(n.type){case hi:if(typeof n.props=="string")return;n.props=n.props.map(r=>r.indexOf(":global(")===-1?r:yy(r).reduce((l,i,s,f)=>{if(i==="")return l;if(i===":"&&f[s+1]==="global"){const v=f[s+2].slice(1,-1)+" ";return l.unshift(v),f[s+1]="",f[s+2]="",l}return l.push(i),l},[]).join(""))}};function Om(n,r,l){switch(my(n,r)){case 5103:return eo+"print-"+n+n;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return eo+n+n;case 4215:if(dt(n,9)===102||dt(n,r+1)===116)return eo+n+n;break;case 4789:return zr+n+n;case 5349:case 4246:case 6968:return eo+n+zr+n+n;case 6187:if(!Bm(n,/grab/))return zt(zt(zt(n,/(zoom-|grab)/,eo+"$1"),/(image-set)/,eo+"$1"),n,"")+n;case 5495:case 3959:return zt(n,/(image-set\([^]*)/,eo+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return zt(n,/(.+)-inline(.+)/,eo+"$1$2")+n;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(to(n)-1-r>6)switch(dt(n,r+1)){case 102:if(dt(n,r+3)===108)return zt(n,/(.+:)(.+)-([^]+)/,"$1"+eo+"$2-$3$1"+zr+(dt(n,r+3)==108?"$3":"$2-$3"))+n;case 115:return~Tm(n,"stretch")?Om(zt(n,"stretch","fill-available"),r)+n:n}break}return n}function Hm(n,r,l,i){if(n.length>-1&&!n.return)switch(n.type){case ks:n.return=Om(n.value,n.length);return;case hi:if(n.length)return gy(n.props,function(s){switch(Bm(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return _a([Qc(n,{props:[zt(s,/:(read-\w+)/,":"+zr+"$1")]})],i);case"::placeholder":return _a([Qc(n,{props:[zt(s,/:(plac\w+)/,":"+eo+"input-$1")]}),Qc(n,{props:[zt(s,/:(plac\w+)/,":"+zr+"$1")]})],i)}return""})}}function By(n){switch(n.type){case"@container":case cy:case fy:case wm:return!0}return!1}const Ty=n=>{By(n)&&Array.isArray(n.children)&&n.children.sort((r,l)=>r.props[0]>l.props[0]?1:-1)};function Ey(n,r){const l=[];return _a(Dm(n),qm([ky,Ty,Hm,Rm,Mm(i=>l.push(i))])),l}const jy=/,( *[^ &])/g;function Ay(n){return"&"+Sm(n.replace(jy,",&$1"))}function lh(n,r,l){let i=r;return l.length>0&&(i=l.reduceRight((s,f)=>`${Ay(f)} { ${s} }`,r)),`${n}{${i}}`}function ih(n,r){const{className:l,selectors:i,property:s,rtlClassName:f,rtlProperty:v,rtlValue:m,value:g}=n,{container:h,layer:y,media:p,supports:x}=r,_=`.${l}`,z=Array.isArray(g)?`${g.map(O=>`${ga(s)}: ${O}`).join(";")};`:`${ga(s)}: ${g};`;let k=lh(_,z,i);if(v&&f){const O=`.${f}`,D=Array.isArray(m)?`${m.map(U=>`${ga(v)}: ${U}`).join(";")};`:`${ga(v)}: ${m};`;k+=lh(O,D,i)}return p&&(k=`@media ${p} { ${k} }`),y&&(k=`@layer ${y} { ${k} }`),x&&(k=`@supports ${x} { ${k} }`),h&&(k=`@container ${h} { ${k} }`),Ey(k)}function Cy(n){let r="";for(const l in n){const i=n[l];if(typeof i=="string"||typeof i=="number"){r+=ga(l)+":"+i+";";continue}if(Array.isArray(i))for(const s of i)r+=ga(l)+":"+s+";"}return r}function uh(n){let r="";for(const l in n)r+=`${l}{${Cy(n[l])}}`;return r}function ch(n,r){const l=`@keyframes ${n} {${r}}`,i=[];return _a(Dm(l),qm([Rm,Hm,Mm(s=>i.push(s))])),i}const Ny={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 sh(n,r){return n.length===0?r:`${n} and ${r}`}function Dy(n){return n.substr(0,6)==="@media"}function Ry(n){return n.substr(0,6)==="@layer"}const qy=/^(:|\[|>|&)/;function My(n){return qy.test(n)}function Oy(n){return n.substr(0,9)==="@supports"}function Hy(n){return n.substring(0,10)==="@container"}function Fy(n){return n!=null&&typeof n=="object"&&Array.isArray(n)===!1}const fh={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function dh(n,r){if(r.media)return"m";if(r.layer||r.supports)return"t";if(r.container)return"c";if(n.length>0){const l=n[0].trim();if(l.charCodeAt(0)===58)return fh[l.slice(4,8)]||fh[l.slice(3,5)]||"d"}return"d"}function Kl(n,r){return n&&r+n}function Fm(n){return Kl(n.container,"c")+Kl(n.media,"m")+Kl(n.layer,"l")+Kl(n.supports,"s")}function Kc(n,r,l){const i=n+Fm(l)+r,s=Br(i),f=s.charCodeAt(0);return f>=48&&f<=57?String.fromCharCode(f+17)+s.slice(1):s}function Wl({property:n,selector:r,salt:l,value:i},s){return cs+Br(l+r+Fm(s)+n+i.trim())}function Uy(n){return n===fs}function Wc(n){return n.replace(/>\s+/g,">")}function vh(n){return Ny[n]}function hh(n){var r;return(r=n==null?void 0:n[0])!==null&&r!==void 0?r:0}function Ic(n,r,l,i){n[r]=i?[l,i]:l}function mh(n,r){return r.length>0?[n,Object.fromEntries(r)]:n}function Jc(n,r,l,i,s,f){var v;const m=[];f!==0&&m.push(["p",f]),r==="m"&&s&&m.push(["m",s]),(v=n[r])!==null&&v!==void 0||(n[r]=[]),l&&n[r].push(mh(l,m)),i&&n[r].push(mh(i,m))}function Eo(n,r="",l=[],i={container:"",layer:"",media:"",supports:""},s={},f={},v){for(const m in n){if(Rp.hasOwnProperty(m)){n[m];continue}const g=n[m];if(g!=null){if(Uy(g)){const h=Wc(l.join("")),y=Kc(h,m,i);Ic(s,y,0,void 0);continue}if(typeof g=="string"||typeof g=="number"){const h=Wc(l.join("")),y=vh(m);if(y){const V=y[1],X=Object.fromEntries(V.map(Y=>[Y,fs]));Eo(X,r,l,i,s,f)}const p=Kc(h,m,i),x=Wl({value:g.toString(),salt:r,selector:h,property:m},i),_=v&&{key:m,value:v}||ds(m,g),z=_.key!==m||_.value!==g,k=z?Wl({value:_.value.toString(),property:_.key,salt:r,selector:h},i):void 0,O=z?{rtlClassName:k,rtlProperty:_.key,rtlValue:_.value}:void 0,D=dh(l,i),[U,R]=ih(Object.assign({className:x,selectors:l,property:m,value:g},O),i);Ic(s,p,x,k),Jc(f,D,U,R,i.media,hh(y))}else if(m==="animationName"){const h=Array.isArray(g)?g:[g],y=[],p=[];for(const x of h){const _=uh(x),z=uh(xm(x)),k=cs+Br(_);let O;const D=ch(k,_);let U=[];_===z?O=k:(O=cs+Br(z),U=ch(O,z));for(let R=0;R[G,fs]));Eo(Y,r,l,i,s,f)}const p=Kc(h,m,i),x=Wl({value:g.map(X=>(X??"").toString()).join(";"),salt:r,selector:h,property:m},i),_=g.map(X=>ds(m,X));if(!!_.some(X=>X.key!==_[0].key))continue;const k=_[0].key!==m||_.some((X,Y)=>X.value!==g[Y]),O=k?Wl({value:_.map(X=>{var Y;return((Y=X==null?void 0:X.value)!==null&&Y!==void 0?Y:"").toString()}).join(";"),salt:r,property:_[0].key,selector:h},i):void 0,D=k?{rtlClassName:O,rtlProperty:_[0].key,rtlValue:_.map(X=>X.value)}:void 0,U=dh(l,i),[R,V]=ih(Object.assign({className:x,selectors:l,property:m,value:g},D),i);Ic(s,p,x,O),Jc(f,U,R,V,i.media,hh(y))}else if(Fy(g)){if(My(m))Eo(g,r,l.concat(Sm(m)),i,s,f);else if(Dy(m)){const h=sh(i.media,m.slice(6).trim());Eo(g,r,l,Object.assign({},i,{media:h}),s,f)}else if(Ry(m)){const h=(i.layer?`${i.layer}.`:"")+m.slice(6).trim();Eo(g,r,l,Object.assign({},i,{layer:h}),s,f)}else if(Oy(m)){const h=sh(i.supports,m.slice(9).trim());Eo(g,r,l,Object.assign({},i,{supports:h}),s,f)}else if(Hy(m)){const h=m.slice(10).trim();Eo(g,r,l,Object.assign({},i,{container:h}),s,f)}}}}return[s,f]}function Ly(n,r=""){const l={},i={};for(const s in n){const f=n[s],[v,m]=Eo(f,r);l[s]=v,Object.keys(m).forEach(g=>{i[g]=(i[g]||[]).concat(m[g])})}return[l,i]}function Gy(n,r=zs){const l=r();let i=null,s=null,f=null,v=null;function m(g){const{dir:h,renderer:y}=g;i===null&&([i,s]=Ly(n,y.classNameHashSalt));const p=h==="ltr";return p?f===null&&(f=ci(i,h)):v===null&&(v=ci(i,h)),l(y,s),p?f:v}return m}function Py(n,r,l=zs){const i=l();let s=null,f=null;function v(m){const{dir:g,renderer:h}=m,y=g==="ltr";return y?s===null&&(s=ci(n,g)):f===null&&(f=ci(n,g)),i(h,r),y?s:f}return v}function Zy(n,r,l,i=zs){const s=i();function f(v){const{dir:m,renderer:g}=v,h=m==="ltr"?n:r||n;return s(g,Array.isArray(l)?{r:l}:l),h}return f}function Xy(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const gh=ui.useInsertionEffect?ui.useInsertionEffect:void 0,Bs=()=>{const n={};return function(l,i){if(gh&&Xy()){gh(()=>{l.insertCSSRules(i)},[l,i]);return}n[l.id]===void 0&&(l.insertCSSRules(i),n[l.id]=!0)}},Vy=A.createContext(Xp());function Ts(){return A.useContext(Vy)}const Yy=A.createContext("ltr");function Es(){return A.useContext(Yy)}function Qy(n){const r=Gy(n,Bs);return function(){const i=Es(),s=Ts();return r({dir:i,renderer:s})}}function ke(n,r){const l=Py(n,r,Bs);return function(){const s=Es(),f=Ts();return l({dir:s,renderer:f})}}function Ze(n,r,l){const i=Zy(n,r,l,Bs);return function(){const f=Es(),v=Ts();return i({dir:f,renderer:v})}}const si=Symbol.for("fui.slotRenderFunction"),wa=Symbol.for("fui.slotElementType"),Um=Symbol.for("fui.slotClassNameProp");function st(n,r){const{defaultProps:l,elementType:i}=r,s=Ky(n),f={...l,...s,[wa]:i,[Um]:(s==null?void 0:s.className)||(l==null?void 0:l.className)};return s&&typeof s.children=="function"&&(f[si]=s.children,f.children=l==null?void 0:l.children),f}function kt(n,r){if(!(n===null||n===void 0&&!r.renderByDefault))return st(n,r)}function Ky(n){return typeof n=="string"||typeof n=="number"||Wy(n)||A.isValidElement(n)?{children:n}:n}const Wy=n=>typeof n=="object"&&n!==null&&Symbol.iterator in n;function Iy(n){return n!==null&&typeof n=="object"&&!Array.isArray(n)&&!A.isValidElement(n)}function bh(n){return!!(n!=null&&n.hasOwnProperty(wa))}const De=(...n)=>{const r={};for(const l of n){const i=Array.isArray(l)?l:Object.keys(l);for(const s of i)r[s]=1}return r},Jy=De(["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"]),$y=De(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","popover","focusgroup","ref","role","style","tabIndex","title","translate","spellCheck","name"]),e2=De(["itemID","itemProp","itemRef","itemScope","itemType"]),Ie=De($y,Jy,e2),t2=De(Ie,["form"]),Lm=De(Ie,["height","loop","muted","preload","src","width"]),o2=De(Lm,["poster"]),n2=De(Ie,["start"]),a2=De(Ie,["value"]),r2=De(Ie,["download","href","hrefLang","media","referrerPolicy","rel","target","type"]),l2=De(Ie,["dateTime"]),yi=De(Ie,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","popoverTarget","popoverTargetAction","type","value"]),i2=De(yi,["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"]),u2=De(yi,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),c2=De(yi,["form","multiple","required"]),s2=De(Ie,["selected","value"]),f2=De(Ie,["cellPadding","cellSpacing"]),d2=Ie,v2=De(Ie,["colSpan","rowSpan","scope"]),h2=De(Ie,["colSpan","headers","rowSpan","scope"]),m2=De(Ie,["span"]),g2=De(Ie,["span"]),b2=De(Ie,["disabled","form"]),p2=De(Ie,["acceptCharset","action","encType","encType","method","noValidate","target"]),y2=De(Ie,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),x2=De(Ie,["alt","crossOrigin","height","src","srcSet","useMap","width"]),S2=De(Ie,["open","onCancel","onClose"]);function _2(n,r,l){const i=Array.isArray(r),s={},f=Object.keys(n);for(const v of f)(!i&&r[v]||i&&r.indexOf(v)>=0||v.indexOf("data-")===0||v.indexOf("aria-")===0)&&(!l||(l==null?void 0:l.indexOf(v))===-1)&&(s[v]=n[v]);return s}const w2={label:t2,audio:Lm,video:o2,ol:n2,li:a2,a:r2,button:yi,input:i2,textarea:u2,select:c2,option:s2,table:f2,tr:d2,th:v2,td:h2,colGroup:m2,col:g2,fieldset:b2,form:p2,iframe:y2,img:x2,time:l2,dialog:S2};function Gm(n,r,l){const i=n&&w2[n]||Ie;return i.as=1,_2(r,i,l)}const Pm=({primarySlotTagName:n,props:r,excludedPropNames:l})=>({root:{style:r.style,className:r.className},primary:Gm(n,r,[...l||[],"style","className"])}),An=(n,r,l)=>{var i;return Gm((i=r.as)!==null&&i!==void 0?i:n,r,l)};function z2(n,r){const l=A.useRef(void 0),i=A.useCallback((f,v)=>(l.current!==void 0&&r(l.current),l.current=n(f,v),l.current),[r,n]),s=A.useCallback(()=>{l.current!==void 0&&(r(l.current),l.current=void 0)},[r]);return A.useEffect(()=>s,[s]),[i,s]}const Zm=A.createContext(void 0),k2="";Zm.Provider;function B2(){var n;return(n=A.useContext(Zm))!==null&&n!==void 0?n:k2}const Xm=A.createContext(void 0),T2={targetDocument:typeof document=="object"?document:void 0,dir:"ltr"};Xm.Provider;function no(){var n;return(n=A.useContext(Xm))!==null&&n!==void 0?n:T2}const Vm=A.createContext(void 0);Vm.Provider;function Ym(){var n;return(n=A.useContext(Vm))!==null&&n!==void 0?n:{}}const Qm=A.createContext(void 0),E2=()=>{};Qm.Provider;const Ot=n=>{var r,l;return(l=(r=A.useContext(Qm))===null||r===void 0?void 0:r[n])!==null&&l!==void 0?l:E2},Km=A.createContext(void 0);Km.Provider;function j2(){return A.useContext(Km)}function A2(n){return typeof n=="function"}const js=n=>{"use no memo";const[r,l]=A.useState(()=>n.defaultState===void 0?n.initialState:C2(n.defaultState)?n.defaultState():n.defaultState),i=A.useRef(n.state);A.useEffect(()=>{i.current=n.state},[n.state]);const s=A.useCallback(f=>{A2(f)&&f(i.current)},[]);return N2(n.state)?[n.state,s]:[r,l]};function C2(n){return typeof n=="function"}const N2=n=>{"use no memo";const[r]=A.useState(()=>n!==void 0);return r};function D2(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const R2={current:0},q2=A.createContext(void 0);function M2(){var n;return(n=A.useContext(q2))!==null&&n!==void 0?n:R2}const uo=D2()?A.useLayoutEffect:A.useEffect,gt=n=>{const r=A.useRef(()=>{throw new Error("Cannot call an event handler while rendering")});return uo(()=>{r.current=n},[n]),A.useCallback((...l)=>{const i=r.current;return i(...l)},[r])};function O2(){const n=A.useRef(!0);return A.useEffect(()=>{n.current&&(n.current=!1)},[]),n.current}function H2(){return A.useReducer(n=>n+1,0)[1]}const Wm=A.createContext(void 0);Wm.Provider;function F2(){return A.useContext(Wm)||""}function Er(n="fui-",r){"use no memo";const l=M2(),i=F2(),s=ui.useId;if(s){const f=s(),v=A.useMemo(()=>f.replace(/:/g,""),[f]);return r||`${i}${n}${v}`}return A.useMemo(()=>r||`${i}${n}${++l.current}`,[i,n,r,l])}function Im(...n){"use no memo";const r=A.useCallback(l=>{r.current=l;for(const i of n)typeof i=="function"?i(l):i&&(i.current=l)},[...n]);return r}const U2=n=>-1,L2=n=>{};function G2(){const{targetDocument:n}=no(),r=n==null?void 0:n.defaultView,l=r?r.setTimeout:U2,i=r?r.clearTimeout:L2;return z2(l,i)}const P2=parseInt(A.version,10)>=19;function Z2(n){if(n)return P2?n.props.ref:n.ref}function ph(n,r){return(...l)=>{n==null||n(...l),r==null||r(...l)}}function hs(n,r){var l;const i=n;var s;return!!(!(i==null||(l=i.ownerDocument)===null||l===void 0)&&l.defaultView&&i instanceof i.ownerDocument.defaultView[(s=void 0)!==null&&s!==void 0?s:"HTMLElement"])}function X2(n){return n&&!!n._virtual}function V2(n){return X2(n)&&n._virtual.parent||null}function Y2(n,r={}){if(!n)return null;if(!r.skipVirtual){const i=V2(n);if(i)return i}const l=n.parentNode;return l&&l.nodeType===11?l.host:l}function yh(n,r){n&&Object.assign(n,{_virtual:{parent:r}})}function Q2(n,r){return{...r,[wa]:n}}function Jm(n,r){return function(i,s,f,v,m){return bh(s)?r(Q2(i,s),null,f,v,m):bh(i)?r(i,s,f,v,m):n(i,s,f,v,m)}}function $m(n){const{as:r,[Um]:l,[wa]:i,[si]:s,...f}=n,v=f,m=typeof i=="string"?r??i:i;return typeof m!="string"&&r&&(v.as=r),{elementType:m,props:v,renderFunction:s}}const En=Sp,K2=(n,r,l)=>{const{elementType:i,renderFunction:s,props:f}=$m(n),v={...f,...r};return s?En.jsx(A.Fragment,{children:s(i,v)},l):En.jsx(i,v,l)},W2=(n,r,l)=>{const{elementType:i,renderFunction:s,props:f}=$m(n),v={...f,...r};return s?En.jsx(A.Fragment,{children:s(i,{...v,children:En.jsxs(A.Fragment,{children:v.children},void 0)})},l):En.jsxs(i,v,l)},we=Jm(En.jsx,K2),an=Jm(En.jsxs,W2),e1=A.createContext(void 0),I2={};e1.Provider;const J2=()=>{const n=A.useContext(e1);return n??I2};var $2=typeof WeakRef<"u",xh=class{constructor(n){$2&&typeof n=="object"?this._weakRef=new WeakRef(n):this._instance=n}deref(){var n,r;let l;return this._weakRef?(l=(n=this._weakRef)==null?void 0:n.deref(),l||delete this._weakRef):(l=this._instance,(r=l==null?void 0:l.isDisposed)!=null&&r.call(l)&&delete this._instance),l}},jo="keyborg:focusin",Tr="keyborg:focusout";function e5(n){const r=n.HTMLElement,l=r.prototype.focus;let i=!1;return r.prototype.focus=function(){i=!0},n.document.createElement("button").focus(),r.prototype.focus=l,i}var $c=!1;function jn(n){const r=n.focus;r.__keyborgNativeFocus?r.__keyborgNativeFocus.call(n):n.focus()}function t5(n){const r=n;$c||($c=e5(r));const l=r.HTMLElement.prototype.focus;if(l.__keyborgNativeFocus)return;r.HTMLElement.prototype.focus=g;const i=new Set,s=y=>{const p=y.target;if(!p)return;const x=new CustomEvent(Tr,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:y}});p.dispatchEvent(x)},f=y=>{const p=y.target;if(!p)return;let x=y.composedPath()[0];const _=new Set;for(;x;)x.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(_.add(x),x=x.host):x=x.parentNode;for(const z of i){const k=z.deref();(!k||!_.has(k))&&(i.delete(z),k&&(k.removeEventListener("focusin",f,!0),k.removeEventListener("focusout",s,!0)))}v(p,y.relatedTarget||void 0)},v=(y,p,x)=>{var _;const z=y.shadowRoot;if(z){for(const D of i)if(D.deref()===z)return;z.addEventListener("focusin",f,!0),z.addEventListener("focusout",s,!0),i.add(new xh(z));return}const k={relatedTarget:p,originalEvent:x},O=new CustomEvent(jo,{cancelable:!0,bubbles:!0,composed:!0,detail:k});O.details=k,($c||m.lastFocusedProgrammatically)&&(k.isFocusedProgrammatically=y===((_=m.lastFocusedProgrammatically)==null?void 0:_.deref()),m.lastFocusedProgrammatically=void 0),y.dispatchEvent(O)},m=r.__keyborgData={focusInHandler:f,focusOutHandler:s,shadowTargets:i};r.document.addEventListener("focusin",r.__keyborgData.focusInHandler,!0),r.document.addEventListener("focusout",r.__keyborgData.focusOutHandler,!0);function g(){const y=r.__keyborgData;return y&&(y.lastFocusedProgrammatically=new xh(this)),l.apply(this,arguments)}let h=r.document.activeElement;for(;h&&h.shadowRoot;)v(h),h=h.shadowRoot.activeElement;g.__keyborgNativeFocus=l}function o5(n){const r=n,l=r.HTMLElement.prototype,i=l.focus.__keyborgNativeFocus,s=r.__keyborgData;if(s){r.document.removeEventListener("focusin",s.focusInHandler,!0),r.document.removeEventListener("focusout",s.focusOutHandler,!0);for(const f of s.shadowTargets){const v=f.deref();v&&(v.removeEventListener("focusin",s.focusInHandler,!0),v.removeEventListener("focusout",s.focusOutHandler,!0))}s.shadowTargets.clear(),delete r.__keyborgData}i&&(l.focus=i)}var n5=500,t1=0,a5=class{constructor(n,r){this._isNavigatingWithKeyboard_DO_NOT_USE=!1,this._onFocusIn=i=>{if(this._isMouseOrTouchUsedTimer||this.isNavigatingWithKeyboard)return;const s=i.detail;s.relatedTarget&&(s.isFocusedProgrammatically||s.isFocusedProgrammatically===void 0||(this.isNavigatingWithKeyboard=!0))},this._onMouseDown=i=>{i.buttons===0||i.clientX===0&&i.clientY===0&&i.screenX===0&&i.screenY===0||this._onMouseOrTouch()},this._onMouseOrTouch=()=>{const i=this._win;i&&(this._isMouseOrTouchUsedTimer&&i.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=i.setTimeout(()=>{delete this._isMouseOrTouchUsedTimer},1e3)),this.isNavigatingWithKeyboard=!1},this._onKeyDown=i=>{this.isNavigatingWithKeyboard?this._shouldDismissKeyboardNavigation(i)&&this._scheduleDismiss():this._shouldTriggerKeyboardNavigation(i)&&(this.isNavigatingWithKeyboard=!0)},this.id="c"+ ++t1,this._win=n;const l=n.document;if(r){const i=r.triggerKeys,s=r.dismissKeys;i!=null&&i.length&&(this._triggerKeys=new Set(i)),s!=null&&s.length&&(this._dismissKeys=new Set(s))}l.addEventListener(jo,this._onFocusIn,!0),l.addEventListener("mousedown",this._onMouseDown,!0),n.addEventListener("keydown",this._onKeyDown,!0),l.addEventListener("touchstart",this._onMouseOrTouch,!0),l.addEventListener("touchend",this._onMouseOrTouch,!0),l.addEventListener("touchcancel",this._onMouseOrTouch,!0),t5(n)}get isNavigatingWithKeyboard(){return this._isNavigatingWithKeyboard_DO_NOT_USE}set isNavigatingWithKeyboard(n){this._isNavigatingWithKeyboard_DO_NOT_USE!==n&&(this._isNavigatingWithKeyboard_DO_NOT_USE=n,this.update())}dispose(){const n=this._win;if(n){this._isMouseOrTouchUsedTimer&&(n.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=void 0),this._dismissTimer&&(n.clearTimeout(this._dismissTimer),this._dismissTimer=void 0),o5(n);const r=n.document;r.removeEventListener(jo,this._onFocusIn,!0),r.removeEventListener("mousedown",this._onMouseDown,!0),n.removeEventListener("keydown",this._onKeyDown,!0),r.removeEventListener("touchstart",this._onMouseOrTouch,!0),r.removeEventListener("touchend",this._onMouseOrTouch,!0),r.removeEventListener("touchcancel",this._onMouseOrTouch,!0),delete this._win}}isDisposed(){return!!this._win}update(){var n,r;const l=(r=(n=this._win)==null?void 0:n.__keyborg)==null?void 0:r.refs;if(l)for(const i of Object.keys(l))As.update(l[i],this.isNavigatingWithKeyboard)}_shouldTriggerKeyboardNavigation(n){var r;if(n.key==="Tab")return!0;const l=(r=this._win)==null?void 0:r.document.activeElement,i=!this._triggerKeys||this._triggerKeys.has(n.keyCode),s=l&&(l.tagName==="INPUT"||l.tagName==="TEXTAREA"||l.isContentEditable);return i&&!s}_shouldDismissKeyboardNavigation(n){var r;return(r=this._dismissKeys)==null?void 0:r.has(n.keyCode)}_scheduleDismiss(){const n=this._win;if(n){this._dismissTimer&&(n.clearTimeout(this._dismissTimer),this._dismissTimer=void 0);const r=n.document.activeElement;this._dismissTimer=n.setTimeout(()=>{this._dismissTimer=void 0;const l=n.document.activeElement;r&&l&&r===l&&(this.isNavigatingWithKeyboard=!1)},n5)}}},As=class o1{constructor(r,l){this._cb=[],this._id="k"+ ++t1,this._win=r;const i=r.__keyborg;i?(this._core=i.core,i.refs[this._id]=this):(this._core=new a5(r,l),r.__keyborg={core:this._core,refs:{[this._id]:this}})}static create(r,l){return new o1(r,l)}static dispose(r){r.dispose()}static update(r,l){r._cb.forEach(i=>i(l))}dispose(){var r;const l=(r=this._win)==null?void 0:r.__keyborg;l!=null&&l.refs[this._id]&&(delete l.refs[this._id],Object.keys(l.refs).length===0&&(l.core.dispose(),delete this._win.__keyborg)),this._cb=[],delete this._core,delete this._win}isNavigatingWithKeyboard(){var r;return!!((r=this._core)!=null&&r.isNavigatingWithKeyboard)}subscribe(r){this._cb.push(r)}unsubscribe(r){const l=this._cb.indexOf(r);l>=0&&this._cb.splice(l,1)}setVal(r){this._core&&(this._core.isNavigatingWithKeyboard=r)}};function n1(n,r){return As.create(n,r)}function a1(n){As.dispose(n)}/*! - * 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 nn="data-tabster",r5="data-tabster-dummy",r1=`:is(${["a[href]","button","input","select","textarea","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", ")}):not(:disabled)`,ba={EscapeGroupper:1,Restorer:2,Deloser:3},za={Source:0,Target:1},l5={Outside:2};/*! - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - */function Wt(n,r){var l;return(l=n.storageEntry(r))===null||l===void 0?void 0:l.tabster}function l1(n,r,l){var i,s,f;const v=l||n._noop?void 0:r.getAttribute(nn);let m=n.storageEntry(r),g;if(v)if(v!==((i=m==null?void 0:m.attr)===null||i===void 0?void 0:i.string))try{const x=JSON.parse(v);if(typeof x!="object")throw new Error(`Value is not a JSON object, got '${v}'.`);g={string:v,object:x}}catch{}else return;else if(!m)return;m||(m=n.storageEntry(r,!0)),m.tabster||(m.tabster={});const h=m.tabster||{},y=((s=m.attr)===null||s===void 0?void 0:s.object)||{},p=(g==null?void 0:g.object)||{};for(const x of Object.keys(y))if(!p[x]){if(x==="root"){const _=h[x];_&&n.root.onRoot(_,!0)}switch(x){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const _=h[x];_&&(_.dispose(),delete h[x]);break;case"observed":delete h[x],n.observedElement&&n.observedElement.onObservedElementUpdate(r);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete h[x];break}}for(const x of Object.keys(p)){const _=p.sys;switch(x){case"deloser":h.deloser?h.deloser.setProps(p.deloser):n.deloser&&(h.deloser=n.deloser.createDeloser(r,p.deloser));break;case"root":h.root?h.root.setProps(p.root):h.root=n.root.createRoot(r,p.root,_),n.root.onRoot(h.root);break;case"modalizer":{let z;const k=n.modalizer;if(h.modalizer){const O=p.modalizer,D=O.id;D&&((f=y==null?void 0:y.modalizer)===null||f===void 0?void 0:f.id)!==D?(h.modalizer.dispose(),z=O):h.modalizer.setProps(O)}else k&&(z=p.modalizer);k&&z&&(h.modalizer=k.createModalizer(r,z,_))}break;case"restorer":h.restorer?h.restorer.setProps(p.restorer):n.restorer&&p.restorer&&(h.restorer=n.restorer.createRestorer(r,p.restorer));break;case"focusable":h.focusable=p.focusable;break;case"groupper":h.groupper?h.groupper.setProps(p.groupper):n.groupper&&(h.groupper=n.groupper.createGroupper(r,p.groupper,_));break;case"mover":h.mover?h.mover.setProps(p.mover):n.mover&&(h.mover=n.mover.createMover(r,p.mover,_));break;case"observed":n.observedElement&&(h.observed=p.observed,n.observedElement.onObservedElementUpdate(r));break;case"uncontrolled":h.uncontrolled=p.uncontrolled;break;case"outline":n.outline&&(h.outline=p.outline);break;case"sys":h.sys=p.sys;break;default:console.error(`Unknown key '${x}' in data-tabster attribute value.`)}}g?m.attr=g:(Object.keys(h).length===0&&(delete m.tabster,delete m.attr),n.storageEntry(r,!1))}/*! - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - */const i5="tabster:focusin",u5="tabster:focusout",c5="tabster:movefocus",s5="tabster:modalizer:active",f5="tabster:modalizer:inactive",ms="tabster:restorer:restore-focus",d5="tabster:root:focus",v5="tabster:root:blur",h5=typeof CustomEvent<"u"?CustomEvent:function(){};class rn extends h5{constructor(r,l){super(r,{bubbles:!0,cancelable:!0,composed:!0,detail:l}),this.details=l}}class m5 extends rn{constructor(r){super(i5,r)}}class g5 extends rn{constructor(r){super(u5,r)}}class kr extends rn{constructor(r){super(c5,r)}}class b5 extends rn{constructor(r){super(s5,r)}}class p5 extends rn{constructor(r){super(f5,r)}}class Sh extends rn{constructor(){super(ms)}}class y5 extends rn{constructor(r){super(d5,r)}}class x5 extends rn{constructor(r){super(v5,r)}}/*! - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - */const S5=n=>new MutationObserver(n),_5=(n,r,l,i)=>n.createTreeWalker(r,l,i),w5=n=>n?n.parentNode:null,z5=n=>n?n.parentElement:null,k5=(n,r)=>!!(r&&(n!=null&&n.contains(r))),B5=n=>n.activeElement,T5=(n,r)=>n.querySelector(r),E5=(n,r)=>Array.prototype.slice.call(n.querySelectorAll(r),0),j5=(n,r)=>n.getElementById(r),A5=n=>(n==null?void 0:n.firstChild)||null,C5=n=>(n==null?void 0:n.lastChild)||null,N5=n=>(n==null?void 0:n.nextSibling)||null,D5=n=>(n==null?void 0:n.previousSibling)||null,R5=n=>(n==null?void 0:n.firstElementChild)||null,q5=n=>(n==null?void 0:n.lastElementChild)||null,M5=n=>(n==null?void 0:n.nextElementSibling)||null,O5=n=>(n==null?void 0:n.previousElementSibling)||null,H5=(n,r)=>n.appendChild(r),F5=(n,r,l)=>n.insertBefore(r,l),U5=n=>{var r;return((r=n.ownerDocument)===null||r===void 0?void 0:r.getSelection())||null},L5=(n,r)=>n.ownerDocument.getElementsByName(r),I={createMutationObserver:S5,createTreeWalker:_5,getParentNode:w5,getParentElement:z5,nodeContains:k5,getActiveElement:B5,querySelector:T5,querySelectorAll:E5,getElementById:j5,getFirstChild:A5,getLastChild:C5,getNextSibling:N5,getPreviousSibling:D5,getFirstElementChild:R5,getLastElementChild:q5,getNextElementSibling:M5,getPreviousElementSibling:O5,appendChild:H5,insertBefore:F5,getSelection:U5,getElementsByName:L5};function G5(n){for(const r of Object.keys(n))I[r]=n[r]}/*! - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - */let gs,P5=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),gs=!1}catch{gs=!0}const es=100;function Cn(n){const r=n();let l=r.__tabsterInstanceContext;return l||(l={elementByUId:{},basics:{Promise:r.Promise||void 0,WeakRef:r.WeakRef||void 0},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0,fakeWeakRefs:[],fakeWeakRefsStarted:!1},r.__tabsterInstanceContext=l),l}function Z5(n){const r=n.__tabsterInstanceContext;r&&(r.elementByUId={},delete r.WeakRef,r.containerBoundingRectCache={},r.containerBoundingRectCacheTimer&&n.clearTimeout(r.containerBoundingRectCacheTimer),r.fakeWeakRefsTimer&&n.clearTimeout(r.fakeWeakRefsTimer),r.fakeWeakRefs=[],delete n.__tabsterInstanceContext)}function X5(n){const r=n.__tabsterInstanceContext;return new((r==null?void 0:r.basics.WeakMap)||WeakMap)}function V5(n){return!!n.querySelector(r1)}class i1{constructor(r){this._target=r}deref(){return this._target}static cleanup(r,l){return r._target?l||!Cs(r._target.ownerDocument,r._target)?(delete r._target,!0):!1:!0}}class oo{constructor(r,l,i){const s=Cn(r);let f;s.WeakRef?f=new s.WeakRef(l):(f=new i1(l),s.fakeWeakRefs.push(f)),this._ref=f,this._data=i}get(){const r=this._ref;let l;return r&&(l=r.deref(),l||delete this._ref),l}getData(){return this._data}}function u1(n,r){const l=Cn(n);l.fakeWeakRefs=l.fakeWeakRefs.filter(i=>!i1.cleanup(i,r))}function c1(n){const r=Cn(n);r.fakeWeakRefsStarted||(r.fakeWeakRefsStarted=!0,r.WeakRef=J5(r)),r.fakeWeakRefsTimer||(r.fakeWeakRefsTimer=n().setTimeout(()=>{r.fakeWeakRefsTimer=void 0,u1(n),c1(n)},120*1e3))}function Y5(n){const r=Cn(n);r.fakeWeakRefsStarted=!1,r.fakeWeakRefsTimer&&(n().clearTimeout(r.fakeWeakRefsTimer),r.fakeWeakRefsTimer=void 0,r.fakeWeakRefs=[])}function s1(n,r,l){if(r.nodeType!==Node.ELEMENT_NODE)return;const i=gs?l:{acceptNode:l};return I.createTreeWalker(n,r,NodeFilter.SHOW_ELEMENT,i,!1)}function Q5(n){n.__shouldIgnoreFocus=!0}function f1(n){return!!n.__shouldIgnoreFocus}function K5(n){const r=new Uint32Array(4);if(n.crypto&&n.crypto.getRandomValues)n.crypto.getRandomValues(r);else if(n.msCrypto&&n.msCrypto.getRandomValues)n.msCrypto.getRandomValues(r);else for(let i=0;i{if(this._fixedTarget){const x=this._fixedTarget.get();x&&jn(x);return}const p=this.input;if(this.onFocusIn&&p){const x=y.relatedTarget;this.onFocusIn(this,this._isBackward(!0,p,x),x)}},this._focusOut=y=>{if(this._fixedTarget)return;this.useDefaultAction=!1;const p=this.input;if(this.onFocusOut&&p){const x=y.relatedTarget;this.onFocusOut(this,this._isBackward(!1,p,x),x)}};const m=r(),g=m.document.createElement("i");g.tabIndex=0,g.setAttribute("role","none"),g.setAttribute(r5,""),g.setAttribute("aria-hidden","true");const h=g.style;h.position="fixed",h.width=h.height="1px",h.opacity="0.001",h.zIndex="-1",h.setProperty("content-visibility","hidden"),Q5(g),this.input=g,this.isFirst=i.isFirst,this.isOutside=l,this._isPhantom=(v=i.isPhantom)!==null&&v!==void 0?v:!1,this._fixedTarget=f,g.addEventListener("focusin",this._focusIn),g.addEventListener("focusout",this._focusOut),g.__tabsterDummyContainer=s,this._isPhantom&&(this._disposeTimer=m.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{this._disposeTimer&&(m.clearTimeout(this._disposeTimer),delete this._disposeTimer),delete this._clearDisposeTimeout})}dispose(){var r;this._clearDisposeTimeout&&this._clearDisposeTimeout();const l=this.input;l&&(delete this._fixedTarget,delete this.onFocusIn,delete this.onFocusOut,delete this.input,l.removeEventListener("focusin",this._focusIn),l.removeEventListener("focusout",this._focusOut),delete l.__tabsterDummyContainer,(r=I.getParentNode(l))===null||r===void 0||r.removeChild(l))}setTopLeft(r,l){var i;const s=(i=this.input)===null||i===void 0?void 0:i.style;s&&(s.top=`${r}px`,s.left=`${l}px`)}_isBackward(r,l,i){return r&&!i?!this.isFirst:!!(i&&l.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_FOLLOWING)}}const d1={Root:1,Modalizer:2};class di{constructor(r,l,i,s,f,v){this._element=l,this._instance=new tx(r,l,this,i,s,f,v)}_setHandlers(r,l){this._onFocusIn=r,this._onFocusOut=l}moveOut(r){var l;(l=this._instance)===null||l===void 0||l.moveOut(r)}moveOutWithDefaultAction(r,l){var i;(i=this._instance)===null||i===void 0||i.moveOutWithDefaultAction(r,l)}getHandler(r){return r?this._onFocusIn:this._onFocusOut}setTabbable(r){var l;(l=this._instance)===null||l===void 0||l.setTabbable(this,r)}dispose(){this._instance&&(this._instance.dispose(this),delete this._instance),delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(r,l,i,s,f){const m=new fi(r.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(m){let g,h;if(l.tagName==="BODY")g=l,h=i&&s||!i&&!s?I.getFirstElementChild(l):null;else{i&&(!s||s&&!r.focusable.isFocusable(l,!1,!0,!0))?(g=l,h=s?l.firstElementChild:null):(g=I.getParentElement(l),h=i&&s||!i&&!s?l:I.getNextElementSibling(l));let y,p;do y=i&&s||!i&&!s?I.getPreviousElementSibling(h):h,p=Ds(y),p===l?h=i&&s||!i&&!s?y:I.getNextElementSibling(y):p=null;while(p)}g!=null&&g.dispatchEvent(new kr({by:"root",owner:g,next:null,relatedEvent:f}))&&(I.insertBefore(g,m,h),jn(m))}}static addPhantomDummyWithTarget(r,l,i,s){const v=new fi(r.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new oo(r.getWindow,s)).input;if(v){let m,g;V5(l)&&!i?(m=l,g=I.getFirstElementChild(l)):(m=I.getParentElement(l),g=i?l:I.getNextElementSibling(l)),m&&I.insertBefore(m,v,g)}}}class ex{constructor(r){this._updateQueue=new Set,this._lastUpdateQueueTime=0,this._changedParents=new WeakSet,this._dummyElements=[],this._dummyCallbacks=new WeakMap,this._domChanged=l=>{var i;this._changedParents.has(l)||(this._changedParents.add(l),!this._updateDummyInputsTimer&&(this._updateDummyInputsTimer=(i=this._win)===null||i===void 0?void 0:i.call(this).setTimeout(()=>{delete this._updateDummyInputsTimer;for(const s of this._dummyElements){const f=s.get();if(f){const v=this._dummyCallbacks.get(f);if(v){const m=I.getParentNode(f);(!m||this._changedParents.has(m))&&v()}}}this._changedParents=new WeakSet},es)))},this._win=r}add(r,l){!this._dummyCallbacks.has(r)&&this._win&&(this._dummyElements.push(new oo(this._win,r)),this._dummyCallbacks.set(r,l),this.domChanged=this._domChanged)}remove(r){this._dummyElements=this._dummyElements.filter(l=>{const i=l.get();return i&&i!==r}),this._dummyCallbacks.delete(r),this._dummyElements.length===0&&delete this.domChanged}dispose(){var r;const l=(r=this._win)===null||r===void 0?void 0:r.call(this);this._updateTimer&&(l==null||l.clearTimeout(this._updateTimer),delete this._updateTimer),this._updateDummyInputsTimer&&(l==null||l.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(r){this._win&&(this._updateQueue.add(r),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions())}_scheduledUpdatePositions(){var r;this._updateTimer||(this._updateTimer=(r=this._win)===null||r===void 0?void 0:r.call(this).setTimeout(()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+es<=Date.now()){const l=new Map,i=[];for(const s of this._updateQueue)i.push(s(l));this._updateQueue.clear();for(const s of i)s();l.clear()}else this._scheduledUpdatePositions()},es))}}class tx{constructor(r,l,i,s,f,v,m){this._wrappers=[],this._isOutside=!1,this._transformElements=new Set,this._onFocusIn=(_,z,k)=>{this._onFocus(!0,_,z,k)},this._onFocusOut=(_,z,k)=>{this._onFocus(!1,_,z,k)},this.moveOut=_=>{var z;const k=this._firstDummy,O=this._lastDummy;if(k&&O){this._ensurePosition();const D=k.input,U=O.input,R=(z=this._element)===null||z===void 0?void 0:z.get();if(D&&U&&R){let V;_?(D.tabIndex=0,V=D):(U.tabIndex=0,V=U),V&&jn(V)}}},this.moveOutWithDefaultAction=(_,z)=>{var k;const O=this._firstDummy,D=this._lastDummy;if(O&&D){this._ensurePosition();const U=O.input,R=D.input,V=(k=this._element)===null||k===void 0?void 0:k.get();if(U&&R&&V){let X;_?!O.isOutside&&this._tabster.focusable.isFocusable(V,!0,!0,!0)?X=V:(O.useDefaultAction=!0,U.tabIndex=0,X=U):(D.useDefaultAction=!0,R.tabIndex=0,X=R),X&&V.dispatchEvent(new kr({by:"root",owner:V,next:null,relatedEvent:z}))&&jn(X)}}},this.setTabbable=(_,z)=>{var k,O;for(const U of this._wrappers)if(U.manager===_){U.tabbable=z;break}const D=this._getCurrent();if(D){const U=D.tabbable?0:-1;let R=(k=this._firstDummy)===null||k===void 0?void 0:k.input;R&&(R.tabIndex=U),R=(O=this._lastDummy)===null||O===void 0?void 0:O.input,R&&(R.tabIndex=U)}},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=_=>{var z,k;const O=((z=this._firstDummy)===null||z===void 0?void 0:z.input)||((k=this._lastDummy)===null||k===void 0?void 0:k.input),D=this._transformElements,U=new Set;let R=0,V=0;const X=this._getWindow();for(let Y=O;Y&&Y.nodeType===Node.ELEMENT_NODE;Y=I.getParentElement(Y)){let G=_.get(Y);if(G===void 0){const le=X.getComputedStyle(Y).transform;le&&le!=="none"&&(G={scrollTop:Y.scrollTop,scrollLeft:Y.scrollLeft}),_.set(Y,G||null)}G&&(U.add(Y),D.has(Y)||Y.addEventListener("scroll",this._addTransformOffsets),R+=G.scrollTop,V+=G.scrollLeft)}for(const Y of D)U.has(Y)||Y.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=U,()=>{var Y,G;(Y=this._firstDummy)===null||Y===void 0||Y.setTopLeft(R,V),(G=this._lastDummy)===null||G===void 0||G.setTopLeft(R,V)}};const g=l.get();if(!g)throw new Error("No element");this._tabster=r,this._getWindow=r.getWindow,this._callForDefaultAction=m;const h=g.__tabsterDummy;if((h||this)._wrappers.push({manager:i,priority:s,tabbable:!0}),h)return h;g.__tabsterDummy=this;const y=f==null?void 0:f.dummyInputsPosition,p=g.tagName;this._isOutside=y?y===l5.Outside:(v||p==="UL"||p==="OL"||p==="TABLE")&&!(p==="LI"||p==="TD"||p==="TH"),this._firstDummy=new fi(this._getWindow,this._isOutside,{isFirst:!0},l),this._lastDummy=new fi(this._getWindow,this._isOutside,{isFirst:!1},l);const x=this._firstDummy.input;x&&r._dummyObserver.add(x,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=l,this._addDummyInputs()}dispose(r,l){var i,s,f,v;if((this._wrappers=this._wrappers.filter(g=>g.manager!==r&&!l)).length===0){delete((i=this._element)===null||i===void 0?void 0:i.get()).__tabsterDummy;for(const y of this._transformElements)y.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();const g=this._getWindow();this._addTimer&&(g.clearTimeout(this._addTimer),delete this._addTimer);const h=(s=this._firstDummy)===null||s===void 0?void 0:s.input;h&&this._tabster._dummyObserver.remove(h),(f=this._firstDummy)===null||f===void 0||f.dispose(),(v=this._lastDummy)===null||v===void 0||v.dispose()}}_onFocus(r,l,i,s){var f;const v=this._getCurrent();v&&(!l.useDefaultAction||this._callForDefaultAction)&&((f=v.manager.getHandler(r))===null||f===void 0||f(l,i,s))}_getCurrent(){return this._wrappers.sort((r,l)=>r.tabbable!==l.tabbable?r.tabbable?-1:1:r.priority-l.priority),this._wrappers[0]}_ensurePosition(){var r,l,i;const s=(r=this._element)===null||r===void 0?void 0:r.get(),f=(l=this._firstDummy)===null||l===void 0?void 0:l.input,v=(i=this._lastDummy)===null||i===void 0?void 0:i.input;if(!(!s||!f||!v))if(this._isOutside){const m=I.getParentNode(s);if(m){const g=I.getNextSibling(s);g!==v&&I.insertBefore(m,v,g),I.getPreviousElementSibling(s)!==f&&I.insertBefore(m,f,s)}}else{I.getLastElementChild(s)!==v&&I.appendChild(s,v);const m=I.getFirstElementChild(s);m&&m!==f&&m.parentNode&&I.insertBefore(m.parentNode,f,m)}}}function v1(n){let r=null;for(let l=I.getLastElementChild(n);l;l=I.getLastElementChild(l))r=l;return r||void 0}function ts(n,r,l,i){const s=n.storageEntry(r,!0);let f=!1;if(!s.aug){if(i===void 0)return f;s.aug={}}if(i===void 0){if(l in s.aug){const v=s.aug[l];delete s.aug[l],v===null?r.removeAttribute(l):r.setAttribute(l,v),f=!0}}else{let v;l in s.aug||(v=r.getAttribute(l)),v!==void 0&&v!==i&&(s.aug[l]=v,i===null?r.removeAttribute(l):r.setAttribute(l,i),f=!0)}return i===void 0&&Object.keys(s.aug).length===0&&(delete s.aug,n.storageEntry(r,!1)),f}function ox(n){var r,l;const i=n.ownerDocument,s=(r=i.defaultView)===null||r===void 0?void 0:r.getComputedStyle(n);return n.offsetParent===null&&i.body!==n&&(s==null?void 0:s.position)!=="fixed"||(s==null?void 0:s.visibility)==="hidden"||(s==null?void 0:s.position)==="fixed"&&(s.display==="none"||((l=n.parentElement)===null||l===void 0?void 0:l.offsetParent)===null&&i.body!==n.parentElement)}function bs(n){return n.tagName==="INPUT"&&!!n.name&&n.type==="radio"}function nx(n){if(!bs(n))return;const r=n.name;let l=Array.from(I.getElementsByName(n,r)),i;return l=l.filter(s=>bs(s)?(s.checked&&(i=s),!0):!1),{name:r,buttons:new Set(l),checked:i}}function Ds(n){var r;return((r=n==null?void 0:n.__tabsterDummyContainer)===null||r===void 0?void 0:r.get())||null}/*! - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - */function h1(n,r){return JSON.stringify(n)}function ax(n,r){for(const l of Object.keys(r)){const i=r[l];i?n[l]=i:delete n[l]}}function rx(n,r,l){let i;{const s=n.getAttribute(nn);if(s)try{i=JSON.parse(s)}catch{}}i||(i={}),ax(i,r),Object.keys(i).length>0?n.setAttribute(nn,h1(i)):n.removeAttribute(nn)}class wh extends di{constructor(r,l,i,s){super(r,l,d1.Root,s,void 0,!0),this._onDummyInputFocus=f=>{var v;if(f.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);const m=this._element.get();if(m){this._setFocused(!0);const g=this._tabster.focusedElement.getFirstOrLastTabbable(f.isFirst,{container:m,ignoreAccessibility:!0});if(g){jn(g);return}}(v=f.input)===null||v===void 0||v.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=r,this._setFocused=i}}class lx extends Ns{constructor(r,l,i,s,f){super(r,l,s),this._isFocused=!1,this._setFocused=h=>{var y;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,(y=this._dummyManager)===null||y===void 0||y.setTabbable(!1),p.dispatchEvent(new y5({element:p}))):this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{var x;delete this._setFocusedTimer,this._isFocused=!1,(x=this._dummyManager)===null||x===void 0||x.setTabbable(!0),p.dispatchEvent(new x5({element:p}))},0))},this._onFocusIn=h=>{const y=this._tabster.getParent,p=this._element.get();let x=h.composedPath()[0];do{if(x===p){this._setFocused(!0);return}x=x&&y(x)}while(x)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=i;const v=r.getWindow;this.uid=W5(v,l),this._sys=f,(r.controlTab||r.rootDummyInputs)&&this.addDummyInputs();const g=v().document;g.addEventListener(jo,this._onFocusIn),g.addEventListener(Tr,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new wh(this._tabster,this._element,this._setFocused,this._sys))}dispose(){var r;this._onDispose(this);const l=this._tabster.getWindow(),i=l.document;i.removeEventListener(jo,this._onFocusIn),i.removeEventListener(Tr,this._onFocusOut),this._setFocusedTimer&&(l.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),(r=this._dummyManager)===null||r===void 0||r.dispose(),this._remove()}moveOutWithDefaultAction(r,l){const i=this._dummyManager;if(i)i.moveOutWithDefaultAction(r,l);else{const s=this.getElement();s&&wh.moveWithPhantomDummy(this._tabster,s,!0,r,l)}}_add(){}_remove(){}}class We{constructor(r,l){this._autoRootWaiting=!1,this._roots={},this._forceDummy=!1,this.rootById={},this._autoRootCreate=()=>{var i;const s=this._win().document,f=s.body;if(f){this._autoRootUnwait(s);const v=this._autoRoot;if(v)return rx(f,{root:v}),l1(this._tabster,f),(i=Wt(this._tabster,f))===null||i===void 0?void 0:i.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,s.addEventListener("readystatechange",this._autoRootCreate))},this._onRootDispose=i=>{delete this._roots[i.id]},this._tabster=r,this._win=r.getWindow,this._autoRoot=l,r.queueInit(()=>{this._autoRoot&&this._autoRootCreate()})}_autoRootUnwait(r){r.removeEventListener("readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){const r=this._win();this._autoRootUnwait(r.document),delete this._autoRoot,Object.keys(this._roots).forEach(l=>{this._roots[l]&&(this._roots[l].dispose(),delete this._roots[l])}),this.rootById={}}createRoot(r,l,i){const s=new lx(this._tabster,r,this._onRootDispose,l,i);return this._roots[s.id]=s,this._forceDummy&&s.addDummyInputs(),s}addDummyInputs(){this._forceDummy=!0;const r=this._roots;for(const l of Object.keys(r))r[l].addDummyInputs()}static getRootByUId(r,l){const i=r().__tabsterInstance;return i&&i.root.rootById[l]}static getTabsterContext(r,l,i={}){var s,f,v,m;if(!l.ownerDocument)return;const{checkRtl:g,referenceElement:h}=i,y=r.getParent;r.drainInitQueue();let p,x,_,z,k=!1,O,D,U,R,V=h||l;const X={};for(;V&&(!p||g);){const G=Wt(r,V);if(g&&U===void 0){const W=V.dir;W&&(U=W.toLowerCase()==="rtl")}if(!G){V=y(V);continue}const le=V.tagName;(G.uncontrolled||le==="IFRAME"||le==="WEBVIEW")&&r.focusable.isVisible(V)&&(R=V),!z&&(!((s=G.focusable)===null||s===void 0)&&s.excludeFromMover)&&!_&&(k=!0);const Xe=G.modalizer,Ue=G.groupper,et=G.mover;!x&&Xe&&(x=Xe),!_&&Ue&&(!x||Xe)&&(x?(!Ue.isActive()&&Ue.getProps().tabbability&&x.userId!==((f=r.modalizer)===null||f===void 0?void 0:f.activeId)&&(x=void 0,_=Ue),D=Ue):_=Ue),!z&&et&&(!x||Xe)&&(!Ue||V!==l)&&V.contains(l)&&(z=et,O=!!_&&_!==Ue),G.root&&(p=G.root),!((v=G.focusable)===null||v===void 0)&&v.ignoreKeydown&&Object.assign(X,G.focusable.ignoreKeydown),V=y(V)}if(!p){const G=r.root;G._autoRoot&&!((m=l.ownerDocument)===null||m===void 0)&&m.body&&(p=G._autoRootCreate())}return _&&!z&&(O=!0),p?{root:p,modalizer:x,groupper:_,mover:z,groupperBeforeMover:O,modalizerInGroupper:D,rtl:g?!!U:void 0,uncontrolled:R,excludedFromMover:k,ignoreKeydown:G=>!!X[G.key]}:void 0}static getRoot(r,l){var i;const s=r.getParent;for(let f=l;f;f=s(f)){const v=(i=Wt(r,f))===null||i===void 0?void 0:i.root;if(v)return v}}onRoot(r,l){l?delete this.rootById[r.uid]:this.rootById[r.uid]=r}}/*! - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - */class m1{constructor(){this._callbacks=[]}dispose(){this._callbacks=[],delete this._val}subscribe(r){const l=this._callbacks;l.indexOf(r)<0&&l.push(r)}subscribeFirst(r){const l=this._callbacks,i=l.indexOf(r);i>=0&&l.splice(i,1),l.unshift(r)}unsubscribe(r){const l=this._callbacks.indexOf(r);l>=0&&this._callbacks.splice(l,1)}setVal(r,l){this._val!==r&&(this._val=r,this._callCallbacks(r,l))}getVal(){return this._val}trigger(r,l){this._callCallbacks(r,l)}_callCallbacks(r,l){this._callbacks.forEach(i=>i(r,l))}}/*! - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - */class ix{constructor(r){this._tabster=r}dispose(){}getProps(r){const l=Wt(this._tabster,r);return l&&l.focusable||{}}isFocusable(r,l,i,s){return I5(r,r1)&&(l||r.tabIndex!==-1)?(i||this.isVisible(r))&&(s||this.isAccessible(r)):!1}isVisible(r){if(!r.ownerDocument||r.nodeType!==Node.ELEMENT_NODE||ox(r))return!1;const l=r.ownerDocument.body.getBoundingClientRect();return!(l.width===0&&l.height===0)}isAccessible(r){var l;for(let i=r;i;i=I.getParentElement(i)){const s=Wt(this._tabster,i);if(this._isHidden(i)||!((l=s==null?void 0:s.focusable)===null||l===void 0?void 0:l.ignoreAriaDisabled)&&this._isDisabled(i))return!1}return!0}_isDisabled(r){return r.hasAttribute("disabled")}_isHidden(r){var l;const i=r.getAttribute("aria-hidden");return!!(i&&i.toLowerCase()==="true"&&!(!((l=this._tabster.modalizer)===null||l===void 0)&&l.isAugmented(r)))}findFirst(r,l){return this.findElement({...r},l)}findLast(r,l){return this.findElement({isBackward:!0,...r},l)}findNext(r,l){return this.findElement({...r},l)}findPrev(r,l){return this.findElement({...r,isBackward:!0},l)}findDefault(r,l){return this.findElement({...r,acceptCondition:i=>this.isFocusable(i,r.includeProgrammaticallyFocusable)&&!!this.getProps(i).isDefault},l)||null}findAll(r){return this._findElements(!0,r)||[]}findElement(r,l){const i=this._findElements(!1,r,l);return i&&i[0]}_findElements(r,l,i){var s,f,v;const{container:m,currentElement:g=null,includeProgrammaticallyFocusable:h,useActiveModalizer:y,ignoreAccessibility:p,modalizerId:x,isBackward:_,onElement:z}=l;i||(i={});const k=[];let{acceptCondition:O}=l;const D=!!O;if(!m)return null;O||(O=X=>this.isFocusable(X,h,!1,p));const U={container:m,modalizerUserId:x===void 0&&y?(s=this._tabster.modalizer)===null||s===void 0?void 0:s.activeId:x||((v=(f=We.getTabsterContext(this._tabster,m))===null||f===void 0?void 0:f.modalizer)===null||v===void 0?void 0:v.userId),from:g||m,isBackward:_,isFindAll:r,acceptCondition:O,hasCustomCondition:D,includeProgrammaticallyFocusable:h,ignoreAccessibility:p,cachedGrouppers:{},cachedRadioGroups:{}},R=s1(m.ownerDocument,m,X=>this._acceptElement(X,U));if(!R)return null;const V=X=>{var Y,G;const le=(Y=U.foundElement)!==null&&Y!==void 0?Y:U.foundBackward;return le&&k.push(le),r?le&&(U.found=!1,delete U.foundElement,delete U.foundBackward,delete U.fromCtx,U.from=le,z&&!z(le))?!1:!!(le||X):(le&&i&&(i.uncontrolled=(G=We.getTabsterContext(this._tabster,le))===null||G===void 0?void 0:G.uncontrolled),!!(X&&!le))};if(g||(i.outOfDOMOrder=!0),g&&I.nodeContains(m,g))R.currentNode=g;else if(_){const X=v1(m);if(!X)return null;if(this._acceptElement(X,U)===NodeFilter.FILTER_ACCEPT&&!V(!0))return U.skippedFocusable&&(i.outOfDOMOrder=!0),k;R.currentNode=X}do _?R.previousNode():R.nextNode();while(V());return U.skippedFocusable&&(i.outOfDOMOrder=!0),k.length?k:null}_acceptElement(r,l){var i,s,f;if(l.found)return NodeFilter.FILTER_ACCEPT;const v=l.foundBackward;if(v&&(r===v||!I.nodeContains(v,r)))return l.found=!0,l.foundElement=v,NodeFilter.FILTER_ACCEPT;const m=l.container;if(r===m)return NodeFilter.FILTER_SKIP;if(!I.nodeContains(m,r)||Ds(r)||I.nodeContains(l.rejectElementsFrom,r))return NodeFilter.FILTER_REJECT;const g=l.currentCtx=We.getTabsterContext(this._tabster,r);if(!g)return NodeFilter.FILTER_SKIP;if(f1(r))return this.isFocusable(r,void 0,!0,!0)&&(l.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!l.hasCustomCondition&&(r.tagName==="IFRAME"||r.tagName==="WEBVIEW"))return this.isVisible(r)&&((i=g.modalizer)===null||i===void 0?void 0:i.userId)===((s=this._tabster.modalizer)===null||s===void 0?void 0:s.activeId)?(l.found=!0,l.rejectElementsFrom=l.foundElement=r,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT;if(!l.ignoreAccessibility&&!this.isAccessible(r))return this.isFocusable(r,!1,!0,!0)&&(l.skippedFocusable=!0),NodeFilter.FILTER_REJECT;let h,y=l.fromCtx;y||(y=l.fromCtx=We.getTabsterContext(this._tabster,l.from));const p=y==null?void 0:y.mover;let x=g.groupper,_=g.mover;if(h=(f=this._tabster.modalizer)===null||f===void 0?void 0:f.acceptElement(r,l),h!==void 0&&(l.skippedFocusable=!0),h===void 0&&(x||_||p)){const z=x==null?void 0:x.getElement(),k=p==null?void 0:p.getElement();let O=_==null?void 0:_.getElement();if(O&&I.nodeContains(k,O)&&I.nodeContains(m,k)&&(!z||!_||I.nodeContains(k,z))&&(_=p,O=k),z){if(z===m||!I.nodeContains(m,z))x=void 0;else if(!I.nodeContains(z,r))return NodeFilter.FILTER_REJECT}if(O){if(!I.nodeContains(m,O))_=void 0;else if(!I.nodeContains(O,r))return NodeFilter.FILTER_REJECT}x&&_&&(O&&z&&!I.nodeContains(z,O)?_=void 0:x=void 0),x&&(h=x.acceptElement(r,l)),_&&(h=_.acceptElement(r,l))}if(h===void 0&&(h=l.acceptCondition(r)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,h===NodeFilter.FILTER_SKIP&&this.isFocusable(r,!1,!0,!0)&&(l.skippedFocusable=!0)),h===NodeFilter.FILTER_ACCEPT&&!l.found){if(!l.isFindAll&&bs(r)&&!r.checked){const z=r.name;let k=l.cachedRadioGroups[z];if(k||(k=nx(r),k&&(l.cachedRadioGroups[z]=k)),k!=null&&k.checked&&k.checked!==r)return NodeFilter.FILTER_SKIP}l.isBackward?(l.foundBackward=r,h=NodeFilter.FILTER_SKIP):(l.found=!0,l.foundElement=r)}return h}}/*! - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - */const g1={Tab:"Tab",Escape:"Escape"};/*! - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - */function ux(n,r){var l;const i=n.getParent;let s=r;do{const f=(l=Wt(n,s))===null||l===void 0?void 0:l.uncontrolled;if(f&&n.uncontrolled.isUncontrolledCompletely(s,!!f.completely))return s;s=i(s)}while(s)}const zh={[ba.Restorer]:0,[ba.Deloser]:1,[ba.EscapeGroupper]:2};class $e extends m1{constructor(r,l){super(),this._init=()=>{const i=this._win(),s=i.document;s.addEventListener(jo,this._onFocusIn,!0),s.addEventListener(Tr,this._onFocusOut,!0),i.addEventListener("keydown",this._onKeyDown,!0);const f=I.getActiveElement(s);f&&f!==s.body&&this._setFocusedElement(f),this.subscribe(this._onChanged)},this._onFocusIn=i=>{const s=i.composedPath()[0];s&&this._setFocusedElement(s,i.detail.relatedTarget,i.detail.isFocusedProgrammatically)},this._onFocusOut=i=>{var s;this._setFocusedElement(void 0,(s=i.detail)===null||s===void 0?void 0:s.originalEvent.relatedTarget)},this._validateFocusedElement=i=>{},this._onKeyDown=i=>{if(i.key!==g1.Tab||i.ctrlKey)return;const s=this.getVal();if(!s||!s.ownerDocument||s.contentEditable==="true")return;const f=this._tabster,v=f.controlTab,m=We.getTabsterContext(f,s);if(!m||m.ignoreKeydown(i))return;const g=i.shiftKey,h=$e.findNextTabbable(f,m,void 0,s,void 0,g,!0),y=m.root.getElement();if(!y)return;const p=h==null?void 0:h.element,x=ux(f,s);if(p){const _=h.uncontrolled;if(m.uncontrolled||I.nodeContains(_,s)){if(!h.outOfDOMOrder&&_===m.uncontrolled||x&&!I.nodeContains(x,p))return;di.addPhantomDummyWithTarget(f,s,g,p);return}if(_&&f.focusable.isVisible(_)||p.tagName==="IFRAME"&&f.focusable.isVisible(p)){y.dispatchEvent(new kr({by:"root",owner:y,next:p,relatedEvent:i}))&&di.moveWithPhantomDummy(f,_??p,!1,g,i);return}(v||h!=null&&h.outOfDOMOrder)&&y.dispatchEvent(new kr({by:"root",owner:y,next:p,relatedEvent:i}))&&(i.preventDefault(),i.stopImmediatePropagation(),jn(p))}else!x&&y.dispatchEvent(new kr({by:"root",owner:y,next:null,relatedEvent:i}))&&m.root.moveOutWithDefaultAction(g,i)},this._onChanged=(i,s)=>{var f,v;if(i)i.dispatchEvent(new m5(s));else{const m=(f=this._lastVal)===null||f===void 0?void 0:f.get();if(m){const g={...s},h=We.getTabsterContext(this._tabster,m),y=(v=h==null?void 0:h.modalizer)===null||v===void 0?void 0:v.userId;y&&(g.modalizerId=y),m.dispatchEvent(new g5(g))}}},this._tabster=r,this._win=l,r.queueInit(this._init)}dispose(){super.dispose();const r=this._win(),l=r.document;l.removeEventListener(jo,this._onFocusIn,!0),l.removeEventListener(Tr,this._onFocusOut,!0),r.removeEventListener("keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged);const i=this._asyncFocus;i&&(r.clearTimeout(i.timeout),delete this._asyncFocus),delete $e._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(r,l){var i,s;let f=$e._lastResetElement,v=f&&f.get();v&&I.nodeContains(l,v)&&delete $e._lastResetElement,v=(s=(i=r._nextVal)===null||i===void 0?void 0:i.element)===null||s===void 0?void 0:s.get(),v&&I.nodeContains(l,v)&&delete r._nextVal,f=r._lastVal,v=f&&f.get(),v&&I.nodeContains(l,v)&&delete r._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){var r;let l=(r=this._lastVal)===null||r===void 0?void 0:r.get();return(!l||l&&!Cs(l.ownerDocument,l))&&(this._lastVal=l=void 0),l}focus(r,l,i,s){return this._tabster.focusable.isFocusable(r,l,!1,i)?(r.focus({preventScroll:s}),!0):!1}focusDefault(r){const l=this._tabster.focusable.findDefault({container:r});return l?(this._tabster.focusedElement.focus(l),!0):!1}getFirstOrLastTabbable(r,l){var i;const{container:s,ignoreAccessibility:f}=l;let v;if(s){const m=We.getTabsterContext(this._tabster,s);m&&(v=(i=$e.findNextTabbable(this._tabster,m,s,void 0,void 0,!r,f))===null||i===void 0?void 0:i.element)}return v&&!I.nodeContains(s,v)&&(v=void 0),v||void 0}_focusFirstOrLast(r,l){const i=this.getFirstOrLastTabbable(r,l);return i?(this.focus(i,!1,!0),!0):!1}focusFirst(r){return this._focusFirstOrLast(!0,r)}focusLast(r){return this._focusFirstOrLast(!1,r)}resetFocus(r){if(!this._tabster.focusable.isVisible(r))return!1;if(this._tabster.focusable.isFocusable(r,!0,!0,!0))this.focus(r);else{const l=r.getAttribute("tabindex"),i=r.getAttribute("aria-hidden");r.tabIndex=-1,r.setAttribute("aria-hidden","true"),$e._lastResetElement=new oo(this._win,r),this.focus(r,!0,!0),this._setOrRemoveAttribute(r,"tabindex",l),this._setOrRemoveAttribute(r,"aria-hidden",i)}return!0}requestAsyncFocus(r,l,i){const s=this._tabster.getWindow(),f=this._asyncFocus;if(f){if(zh[r]>zh[f.source])return;s.clearTimeout(f.timeout)}this._asyncFocus={source:r,callback:l,timeout:s.setTimeout(()=>{this._asyncFocus=void 0,l()},i)}}cancelAsyncFocus(r){const l=this._asyncFocus;(l==null?void 0:l.source)===r&&(this._tabster.getWindow().clearTimeout(l.timeout),this._asyncFocus=void 0)}_setOrRemoveAttribute(r,l,i){i===null?r.removeAttribute(l):r.setAttribute(l,i)}_setFocusedElement(r,l,i){var s,f;if(this._tabster._noop)return;const v={relatedTarget:l};if(r){const g=(s=$e._lastResetElement)===null||s===void 0?void 0:s.get();if($e._lastResetElement=void 0,g===r||f1(r))return;v.isFocusedProgrammatically=i;const h=We.getTabsterContext(this._tabster,r),y=(f=h==null?void 0:h.modalizer)===null||f===void 0?void 0:f.userId;y&&(v.modalizerId=y)}const m=this._nextVal={element:r?new oo(this._win,r):void 0,detail:v};r&&r!==this._val&&this._validateFocusedElement(r),this._nextVal===m&&this.setVal(r,v),this._nextVal=void 0}setVal(r,l){super.setVal(r,l),r&&(this._lastVal=new oo(this._win,r))}static findNextTabbable(r,l,i,s,f,v,m){const g=i||l.root.getElement();if(!g)return null;let h=null;const y=$e._isTabbingTimer,p=r.getWindow();y&&p.clearTimeout(y),$e.isTabbing=!0,$e._isTabbingTimer=p.setTimeout(()=>{delete $e._isTabbingTimer,$e.isTabbing=!1},0);const x=l.modalizer,_=l.groupper,z=l.mover,k=O=>{if(h=O.findNextTabbable(s,f,v,m),s&&!(h!=null&&h.element)){const D=O!==x&&I.getParentElement(O.getElement());if(D){const U=We.getTabsterContext(r,s,{referenceElement:D});if(U){const R=O.getElement(),V=v?R:R&&v1(R)||R;V&&(h=$e.findNextTabbable(r,U,i,V,D,v,m),h&&(h.outOfDOMOrder=!0))}}}};if(_&&z)k(l.groupperBeforeMover?_:z);else if(_)k(_);else if(z)k(z);else if(x)k(x);else{const O={container:g,currentElement:s,referenceElement:f,ignoreAccessibility:m,useActiveModalizer:!0},D={};h={element:r.focusable[v?"findPrev":"findNext"](O,D),outOfDOMOrder:D.outOfDOMOrder,uncontrolled:D.uncontrolled}}return h}}$e.isTabbing=!1;/*! - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - */class cx extends m1{constructor(r){super(),this._onChange=l=>{this.setVal(l,void 0)},this._keyborg=n1(r()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),a1(this._keyborg),delete this._keyborg)}setNavigatingWithKeyboard(r){var l;(l=this._keyborg)===null||l===void 0||l.setVal(r)}isNavigatingWithKeyboard(){var r;return!!(!((r=this._keyborg)===null||r===void 0)&&r.isNavigatingWithKeyboard())}}/*! - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - */let sx=0;const os="aria-hidden";class fx extends di{constructor(r,l,i){super(l,r,d1.Modalizer,i),this._setHandlers((s,f)=>{var v,m;const g=r.get(),h=g&&((v=We.getRoot(l,g))===null||v===void 0?void 0:v.getElement()),y=s.input;let p;if(h&&y){const x=Ds(y),_=We.getTabsterContext(l,x||y);_&&(p=(m=$e.findNextTabbable(l,_,h,y,void 0,f,!0))===null||m===void 0?void 0:m.element),p&&jn(p)}})}}class dx extends Ns{constructor(r,l,i,s,f,v){super(r,l,s),this._wasFocused=0,this.userId=s.id,this._onDispose=i,this._activeElements=v,r.controlTab||(this.dummyManager=new fx(this._element,r,f))}makeActive(r){if(this._isActive!==r){this._isActive=r;const l=this.getElement();if(l){const i=this._activeElements,s=i.map(f=>f.get()).indexOf(l);r?s<0&&i.push(new oo(this._tabster.getWindow,l)):s>=0&&i.splice(s,1)}this._dispatchEvent(r)}}focused(r){return r||(this._wasFocused=++sx),this._wasFocused}setProps(r){r.id&&(this.userId=r.id),this._props={...r}}dispose(){var r;this.makeActive(!1),this._onDispose(this),(r=this.dummyManager)===null||r===void 0||r.dispose(),delete this.dummyManager,this._activeElements=[],this._remove()}isActive(){return!!this._isActive}contains(r){return I.nodeContains(this.getElement(),r)}findNextTabbable(r,l,i,s){var f,v;if(!this.getElement())return null;const g=this._tabster;let h=null,y=!1,p;const x=r&&((f=We.getRoot(g,r))===null||f===void 0?void 0:f.getElement());if(x){const _={container:x,currentElement:r,referenceElement:l,ignoreAccessibility:s,useActiveModalizer:!0},z={};h=g.focusable[i?"findPrev":"findNext"](_,z),!h&&this._props.isTrapped&&(!((v=g.modalizer)===null||v===void 0)&&v.activeId)?(h=g.focusable[i?"findLast":"findFirst"]({container:x,ignoreAccessibility:s,useActiveModalizer:!0},z),h===null&&(h=r),y=!0):y=!!z.outOfDOMOrder,p=z.uncontrolled}return{element:h,uncontrolled:p,outOfDOMOrder:y}}_dispatchEvent(r,l){const i=this.getElement();let s=!1;if(i){const f=l?this._activeElements.map(v=>v.get()):[i];for(const v of f)if(v){const m={id:this.userId,element:i},g=r?new b5(m):new p5(m);v.dispatchEvent(g),g.defaultPrevented&&(s=!0)}}return s}_remove(){}}class vx{constructor(r,l,i){this._onModalizerDispose=f=>{const v=f.id,m=f.userId,g=this._parts[m];if(delete this._modalizers[v],g&&(delete g[v],Object.keys(g).length===0)){delete this._parts[m];const h=this._activationHistory,y=[];let p;for(let x=h.length;x--;){const _=h[x];_!==m&&_!==p&&(p=_,(_||y.length>0)&&y.unshift(_))}if(this._activationHistory=y,this.activeId===m){const x=y[0],_=x?Object.values(this._parts[x])[0]:void 0;this.setActive(_)}}},this._onKeyDown=f=>{var v;if(f.key!==g1.Escape)return;const m=this._tabster,g=m.focusedElement.getFocusedElement();if(g){const h=We.getTabsterContext(m,g),y=h==null?void 0:h.modalizer;if(h&&!h.groupper&&(y!=null&&y.isActive())&&!h.ignoreKeydown(f)){const p=y.userId;if(p){const x=this._parts[p];if(x){const _=Object.keys(x).map(z=>{var k;const O=x[z],D=O.getElement();let U;return D&&(U=(k=Wt(m,D))===null||k===void 0?void 0:k.groupper),O&&D&&U?{el:D,focusedSince:O.focused(!0)}:{focusedSince:0}}).filter(z=>z.focusedSince>0).sort((z,k)=>z.focusedSince>k.focusedSince?-1:z.focusedSince{var m;const g=this._tabster,h=f&&We.getTabsterContext(g,f);if(!h||!f)return;const y=this._augMap;for(let z=f;z;z=I.getParentElement(z))y.has(z)&&(y.delete(z),ts(g,z,os));let p=h.modalizer;const x=Wt(g,f),_=x==null?void 0:x.modalizer;if(_&&(_.focused(),_.userId===this.activeId&&x.groupper)){const z=g.getParent(f),k=z&&((m=We.getTabsterContext(g,z))===null||m===void 0?void 0:m.modalizer);if(k)p=k;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(v.isFocusedProgrammatically||this.currentIsOthersAccessible||p!=null&&p.getProps().isAlwaysAccessible)this.setActive(p);else{const z=this._win();z.clearTimeout(this._restoreModalizerFocusTimer),this._restoreModalizerFocusTimer=z.setTimeout(()=>this._restoreModalizerFocus(f),100)}},this._tabster=r,this._win=r.getWindow,this._modalizers={},this._parts={},this._augMap=new WeakMap,this._aug=[],this._alwaysAccessibleSelector=l,this._accessibleCheck=i,this._activationHistory=[],this.activeElements=[],r.controlTab||r.root.addDummyInputs(),this._win().addEventListener("keydown",this._onKeyDown,!0),r.queueInit(()=>{this._tabster.focusedElement.subscribe(this._onFocus)})}dispose(){const r=this._win();r.removeEventListener("keydown",this._onKeyDown,!0),Object.keys(this._modalizers).forEach(l=>{this._modalizers[l]&&(this._modalizers[l].dispose(),delete this._modalizers[l])}),r.clearTimeout(this._restoreModalizerFocusTimer),r.clearTimeout(this._hiddenUpdateTimer),this._parts={},delete this.activeId,this.activeElements=[],this._augMap=new WeakMap,this._aug=[],this._tabster.focusedElement.unsubscribe(this._onFocus)}createModalizer(r,l,i){var s;const f=new dx(this._tabster,r,this._onModalizerDispose,l,i,this.activeElements),v=f.id,m=l.id;this._modalizers[v]=f;let g=this._parts[m];g||(g=this._parts[m]={}),g[v]=f;const h=(s=this._tabster.focusedElement.getFocusedElement())!==null&&s!==void 0?s:null;return r!==h&&I.nodeContains(r,h)&&(m!==this.activeId?this.setActive(f):f.makeActive(!0)),f}isAugmented(r){return this._augMap.has(r)}hiddenUpdate(){this._hiddenUpdateTimer||(this._hiddenUpdateTimer=this._win().setTimeout(()=>{delete this._hiddenUpdateTimer,this._hiddenUpdate()},250))}setActive(r){const l=r==null?void 0:r.userId,i=this.activeId;if(i===l)return;if(this.activeId=l,i){const f=this._parts[i];if(f)for(const v of Object.keys(f))f[v].makeActive(!1)}if(l){const f=this._parts[l];if(f)for(const v of Object.keys(f))f[v].makeActive(!0)}this.currentIsOthersAccessible=r==null?void 0:r.getProps().isOthersAccessible,this.hiddenUpdate();const s=this._activationHistory;s[0]!==l&&(l!==void 0||s.length>0)&&s.unshift(l)}focus(r,l,i){const s=this._tabster,f=We.getTabsterContext(s,r),v=f==null?void 0:f.modalizer;if(v){this.setActive(v);const m=v.getProps(),g=v.getElement();if(g){if(l===void 0&&(l=m.isNoFocusFirst),!l&&s.keyboardNavigation.isNavigatingWithKeyboard()&&s.focusedElement.focusFirst({container:g})||(i===void 0&&(i=m.isNoFocusDefault),!i&&s.focusedElement.focusDefault(g)))return!0;s.focusedElement.resetFocus(g)}}return!1}activate(r){var l;const i=r?(l=We.getTabsterContext(this._tabster,r))===null||l===void 0?void 0:l.modalizer:void 0;return!r||i?(this.setActive(i),!0):!1}acceptElement(r,l){var i;const s=l.modalizerUserId,f=(i=l.currentCtx)===null||i===void 0?void 0:i.modalizer;if(s)for(const m of this.activeElements){const g=m.get();if(g&&(I.nodeContains(r,g)||g===r))return NodeFilter.FILTER_SKIP}const v=s===(f==null?void 0:f.userId)||!s&&(f!=null&&f.getProps().isAlwaysAccessible)?void 0:NodeFilter.FILTER_SKIP;return v!==void 0&&(l.skippedFocusable=!0),v}_hiddenUpdate(){var r;const l=this._tabster,i=l.getWindow().document.body,s=this.activeId,f=this._parts,v=[],m=[],g=this._alwaysAccessibleSelector,h=g?Array.from(I.querySelectorAll(i,g)):[],y=[];for(const D of Object.keys(f)){const U=f[D];for(const R of Object.keys(U)){const V=U[R],X=V.getElement(),G=V.getProps().isAlwaysAccessible;X&&(D===s?(y.push(X),this.currentIsOthersAccessible||v.push(X)):G?h.push(X):m.push(X))}}const p=this._augMap,x=v.length>0?[...v,...h]:void 0,_=[],z=new WeakMap,k=(D,U)=>{var R;const V=D.tagName;if(V==="SCRIPT"||V==="STYLE")return;let X=!1;p.has(D)?U?X=!0:(p.delete(D),ts(l,D,os)):U&&!(!((R=this._accessibleCheck)===null||R===void 0)&&R.call(this,D,y))&&ts(l,D,os,"true")&&(p.set(D,!0),X=!0),X&&(_.push(new oo(l.getWindow,D)),z.set(D,!0))},O=D=>{var U;for(let R=I.getFirstElementChild(D);R;R=I.getNextElementSibling(R)){let V=!1,X=!1,Y=!1;if(x){const G=l.getParent(R);for(const le of x){if(R===le){V=!0;break}if(I.nodeContains(R,le)){X=!0;break}else I.nodeContains(le,G)&&(Y=!0)}X||!((U=R.__tabsterElementFlags)===null||U===void 0)&&U.noDirectAriaHidden?O(R):!V&&!Y&&k(R,!0)}else k(R,!1)}};x||h.forEach(D=>k(D,!1)),m.forEach(D=>k(D,!0)),i&&O(i),(r=this._aug)===null||r===void 0||r.map(D=>D.get()).forEach(D=>{D&&!z.get(D)&&k(D,!1)}),this._aug=_,this._augMap=z}_restoreModalizerFocus(r){var l;const i=r==null?void 0:r.ownerDocument;if(!r||!i)return;const s=this._tabster.focusedElement.getFocusedElement(),f=s&&((l=We.getTabsterContext(this._tabster,s))===null||l===void 0?void 0:l.modalizer);if(!s||s&&(f==null?void 0:f.userId)===this.activeId)return;const v=this._tabster,m=We.getTabsterContext(v,r),g=m==null?void 0:m.modalizer,h=this.activeId;if(!g&&!h||g&&h===g.userId)return;const y=m==null?void 0:m.root.getElement();if(y){let p=v.focusable.findFirst({container:y,useActiveModalizer:!0});if(p){if(r.compareDocumentPosition(p)&document.DOCUMENT_POSITION_PRECEDING&&(p=v.focusable.findLast({container:y,useActiveModalizer:!0}),!p))throw new Error("Something went wrong.");v.focusedElement.focus(p);return}}r.blur()}}/*! - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - */function hx(n,r,l,i){if(typeof MutationObserver>"u")return()=>{};const s=r.getWindow;let f;const v=y=>{var p,x,_,z,k;const O=new Set;for(const D of y){const U=D.target,R=D.removedNodes,V=D.addedNodes;if(D.type==="attributes")D.attributeName===nn&&(O.has(U)||l(r,U));else{for(let X=0;Xg(_,p));if(x)for(;x.nextNode(););}function g(y,p){var x;if(!y.getAttribute)return NodeFilter.FILTER_SKIP;const _=y.__tabsterElementUID;return _&&f&&(p?delete f[_]:(x=f[_])!==null&&x!==void 0||(f[_]=new oo(s,y))),(Wt(r,y)||y.hasAttribute(nn))&&l(r,y,p),NodeFilter.FILTER_SKIP}const h=I.createMutationObserver(v);return i&&m(s().document.body),h.observe(n,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[nn]}),()=>{h.disconnect()}}/*! - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - */class mx{constructor(r){this._isUncontrolledCompletely=r}isUncontrolledCompletely(r,l){var i;const s=(i=this._isUncontrolledCompletely)===null||i===void 0?void 0:i.call(this,r,l);return s===void 0?l:s}}/*! - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - */class gx extends Ns{constructor(r,l,i){var s;if(super(r,l,i),this._hasFocus=!1,this._onFocusOut=f=>{var v;const m=(v=this._element)===null||v===void 0?void 0:v.get();m&&f.relatedTarget===null&&m.dispatchEvent(new Sh),m&&!I.nodeContains(m,f.relatedTarget)&&(this._hasFocus=!1)},this._onFocusIn=()=>{this._hasFocus=!0},this._props.type===za.Source){const f=(s=this._element)===null||s===void 0?void 0:s.get();f==null||f.addEventListener("focusout",this._onFocusOut),f==null||f.addEventListener("focusin",this._onFocusIn),this._hasFocus=I.nodeContains(f,f&&I.getActiveElement(f.ownerDocument))}}dispose(){var r;if(this._props.type===za.Source){const l=(r=this._element)===null||r===void 0?void 0:r.get();l==null||l.removeEventListener("focusout",this._onFocusOut),l==null||l.removeEventListener("focusin",this._onFocusIn),this._hasFocus&&this._tabster.getWindow().document.body.dispatchEvent(new Sh)}}}class xi{constructor(r){this._stack=[],this._getWindow=r}push(r){var l;((l=this._stack[this._stack.length-1])===null||l===void 0?void 0:l.get())!==r&&(this._stack.length>xi.DEPTH&&this._stack.shift(),this._stack.push(new oo(this._getWindow,r)))}pop(r=()=>!0){var l;const i=this._getWindow().document;for(let s=this._stack.length-1;s>=0;s--){const f=(l=this._stack.pop())===null||l===void 0?void 0:l.get();if(f&&I.nodeContains(i.body,I.getParentElement(f))&&r(f))return f}}}xi.DEPTH=10;class bx{constructor(r){this._onRestoreFocus=l=>{var i,s;this._focusedElementState.cancelAsyncFocus(ba.Restorer);const f=l.composedPath()[0];if(f){const v=(s=(i=Wt(this._tabster,f))===null||i===void 0?void 0:i.restorer)===null||s===void 0?void 0:s.getProps().id;this._focusedElementState.requestAsyncFocus(ba.Restorer,()=>this._restoreFocus(f,v),0)}},this._onFocusIn=l=>{var i;if(!l)return;const s=Wt(this._tabster,l);((i=s==null?void 0:s.restorer)===null||i===void 0?void 0:i.getProps().type)===za.Target&&this._history.push(l)},this._restoreFocus=(l,i)=>{var s;const f=this._getWindow().document;if(I.getActiveElement(f)!==f.body||!this._keyboardNavState.isNavigatingWithKeyboard()&&I.nodeContains(f.body,l))return;const v=m=>{var g,h;const y=(h=(g=Wt(this._tabster,m))===null||g===void 0?void 0:g.restorer)===null||h===void 0?void 0:h.getProps();return y?y.id:null};(s=this._history.pop(m=>i===v(m)))===null||s===void 0||s.focus()},this._tabster=r,this._getWindow=r.getWindow,this._getWindow().addEventListener(ms,this._onRestoreFocus),this._history=new xi(this._getWindow),this._keyboardNavState=r.keyboardNavigation,this._focusedElementState=r.focusedElement,this._focusedElementState.subscribe(this._onFocusIn)}dispose(){const r=this._getWindow();this._focusedElementState.unsubscribe(this._onFocusIn),this._focusedElementState.cancelAsyncFocus(ba.Restorer),r.removeEventListener(ms,this._onRestoreFocus)}createRestorer(r,l){const i=new gx(this._tabster,r,l);return l.type===za.Target&&I.getActiveElement(r.ownerDocument)===r&&this._history.push(r),i}}/*! - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - */class px{constructor(r){this.keyboardNavigation=r.keyboardNavigation,this.focusedElement=r.focusedElement,this.focusable=r.focusable,this.root=r.root,this.uncontrolled=r.uncontrolled,this.core=r}}class yx{constructor(r,l){var i,s;this._forgetMemorizedElements=[],this._wrappers=new Set,this._initQueue=[],this._version="8.7.0",this._noop=!1,this.getWindow=()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win},this._storage=X5(r),this._win=r;const f=this.getWindow;l!=null&&l.DOMAPI&&G5({...l.DOMAPI}),this.keyboardNavigation=new cx(f),this.focusedElement=new $e(this,f),this.focusable=new ix(this),this.root=new We(this,l==null?void 0:l.autoRoot),this.uncontrolled=new mx((l==null?void 0:l.checkUncontrolledCompletely)||(l==null?void 0:l.checkUncontrolledTrappingFocus)),this.controlTab=(i=l==null?void 0:l.controlTab)!==null&&i!==void 0?i:!0,this.rootDummyInputs=!!(l!=null&&l.rootDummyInputs),this._dummyObserver=new ex(f),this.getParent=(s=l==null?void 0:l.getParent)!==null&&s!==void 0?s:I.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:v=>{if(!this._unobserve){const m=f().document;this._unobserve=hx(m,this,l1,v)}}},c1(f),this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(r){var l;r&&(this.getParent=(l=r.getParent)!==null&&l!==void 0?l:this.getParent)}createTabster(r,l){const i=new px(this);return r||this._wrappers.add(i),this._mergeProps(l),i}disposeTabster(r,l){l?this._wrappers.clear():this._wrappers.delete(r),this._wrappers.size===0&&this.dispose()}dispose(){var r,l,i,s,f,v,m,g;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),(r=this.outline)===null||r===void 0||r.dispose(),(l=this.crossOrigin)===null||l===void 0||l.dispose(),(i=this.deloser)===null||i===void 0||i.dispose(),(s=this.groupper)===null||s===void 0||s.dispose(),(f=this.mover)===null||f===void 0||f.dispose(),(v=this.modalizer)===null||v===void 0||v.dispose(),(m=this.observedElement)===null||m===void 0||m.dispose(),(g=this.restorer)===null||g===void 0||g.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),Y5(this.getWindow),_h(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),h&&(Z5(h),delete h.__tabsterInstance,delete this._win)}storageEntry(r,l){const i=this._storage;let s=i.get(r);return s?l===!1&&Object.keys(s).length===0&&i.delete(r):l===!0&&(s={},i.set(r,s)),s}forceCleanup(){this._win&&(this._forgetMemorizedElements.push(this._win.document.body),!this._forgetMemorizedTimer&&(this._forgetMemorizedTimer=this._win.setTimeout(()=>{delete this._forgetMemorizedTimer;for(let r=this._forgetMemorizedElements.shift();r;r=this._forgetMemorizedElements.shift())_h(this.getWindow,r),$e.forgetMemorized(this.focusedElement,r)},0),u1(this.getWindow,!0)))}queueInit(r){var l;this._win&&(this._initQueue.push(r),this._initTimer||(this._initTimer=(l=this._win)===null||l===void 0?void 0:l.setTimeout(()=>{delete this._initTimer,this.drainInitQueue()},0)))}drainInitQueue(){if(!this._win)return;const r=this._initQueue;this._initQueue=[],r.forEach(l=>l())}}function xx(n,r){let l=zx(n);return l?l.createTabster(!1,r):(l=new yx(n,r),n.__tabsterInstance=l,l.createTabster())}function Sx(n,r,l){const i=n.core;return i.modalizer||(i.modalizer=new vx(i,r,l)),i.modalizer}function _x(n){const r=n.core;return r.restorer||(r.restorer=new bx(r)),r.restorer}function wx(n,r){n.core.disposeTabster(n,r)}function zx(n){return n.__tabsterInstance}const kx=n=>n;function Bx(n){const r=(n==null?void 0:n.defaultView)||void 0,l=r==null?void 0:r.__tabsterShadowDOMAPI;if(r)return xx(r,{autoRoot:{},controlTab:!1,getParent:Y2,checkUncontrolledCompletely:i=>{var s;return((s=i.firstElementChild)===null||s===void 0?void 0:s.hasAttribute("data-is-focus-trap-zone-bumper"))===!0||void 0},DOMAPI:l})}function Rs(n=kx){const{targetDocument:r}=no(),l=A.useRef(null);return uo(()=>{const i=Bx(r);if(i)return l.current=n(i),()=>{wx(i),l.current=null}},[r,n]),l}const kh=n=>{Rs();const r=h1(n);return A.useMemo(()=>({[nn]:r}),[r])},Tx=()=>{const n=Rs(),{targetDocument:r}=no(),l=A.useCallback((m,g)=>{var h;return m&&((h=n.current)===null||h===void 0?void 0:h.focusable.findAll({container:m,acceptCondition:g}))||[]},[n]),i=A.useCallback(m=>{var g;return m&&((g=n.current)===null||g===void 0?void 0:g.focusable.findFirst({container:m}))},[n]),s=A.useCallback(m=>{var g;return m&&((g=n.current)===null||g===void 0?void 0:g.focusable.findLast({container:m}))},[n]),f=A.useCallback((m,g={})=>{if(!n.current||!r||!m)return null;const{container:h=r.body}=g;return n.current.focusable.findNext({currentElement:m,container:h})},[n,r]),v=A.useCallback((m,g={})=>{if(!n.current||!r||!m)return null;const{container:h=r.body}=g;return n.current.focusable.findPrev({currentElement:m,container:h})},[n,r]);return{findAllFocusable:l,findFirstFocusable:i,findLastFocusable:s,findNextFocusable:f,findPrevFocusable:v}},Bh="data-fui-focus-visible";function Ex(n,r){if(b1(n))return()=>{};const l={current:void 0},i=n1(r);function s(g){i.isNavigatingWithKeyboard()&&hs(g)&&(l.current=g,g.setAttribute(Bh,""))}function f(){l.current&&(l.current.removeAttribute(Bh),l.current=void 0)}i.subscribe(g=>{g?s(r.document.activeElement):f()});const v=g=>{f();const h=g.composedPath()[0];s(h)},m=g=>{(!g.relatedTarget||hs(g.relatedTarget)&&!n.contains(g.relatedTarget))&&f()};return n.addEventListener(jo,v),n.addEventListener("focusout",m),n.focusVisible=!0,n.contains(r.document.activeElement)&&s(r.document.activeElement),()=>{f(),n.removeEventListener(jo,v),n.removeEventListener("focusout",m),n.focusVisible=void 0,a1(i)}}function b1(n){return n?n.focusVisible?!0:b1(n==null?void 0:n.parentElement):!1}function jx(n={}){const r=no(),l=A.useRef(null);var i;const s=(i=n.targetDocument)!==null&&i!==void 0?i:r.targetDocument;return A.useEffect(()=>{if(s!=null&&s.defaultView&&l.current)return Ex(l.current,s.defaultView)},[l,s]),l}const Ax="data-tabster-never-hide",Cx=n=>n.hasAttribute(Ax);function Nx(n){Sx(n,void 0,Cx),_x(n)}const Dx=(n={})=>{const{trapFocus:r,alwaysFocusable:l,legacyTrapFocus:i}=n;Rs(Nx);const s=Er("modal-",n.id),f=kh({restorer:{type:za.Source},...r&&{modalizer:{id:s,isOthersAccessible:!r,isAlwaysAccessible:l,isTrapped:i&&r}}}),v=kh({restorer:{type:za.Target}});return{modalAttributes:f,triggerAttributes:v}},ae={colorNeutralForeground1:"var(--colorNeutralForeground1)",colorNeutralForeground2:"var(--colorNeutralForeground2)",colorNeutralForeground3:"var(--colorNeutralForeground3)",colorNeutralForegroundInverted:"var(--colorNeutralForegroundInverted)",colorBrandForeground1:"var(--colorBrandForeground1)",colorNeutralBackground1:"var(--colorNeutralBackground1)",colorNeutralBackground2:"var(--colorNeutralBackground2)",colorNeutralBackground4:"var(--colorNeutralBackground4)",colorBrandBackground:"var(--colorBrandBackground)",colorBrandBackground2:"var(--colorBrandBackground2)",colorNeutralStroke2:"var(--colorNeutralStroke2)"};var Th=vm();const Rx=n=>l=>{const i=A.useRef(l.value),s=A.useRef(0),f=A.useRef(null);return f.current||(f.current={value:i,version:s,listeners:[]}),uo(()=>{i.current=l.value,s.current+=1,Th.unstable_runWithPriority(Th.unstable_NormalPriority,()=>{f.current.listeners.forEach(v=>{v([s.current,l.value])})})},[l.value]),A.createElement(n,{value:f.current},l.children)},qx=n=>{const r=A.createContext({value:{current:n},version:{current:-1},listeners:[]});return r.Provider=Rx(r.Provider),delete r.Consumer,r},Mx=(n,r)=>{const l=A.useContext(n),{value:{current:i},version:{current:s},listeners:f}=l,v=r(i),[m,g]=A.useState([i,v]),h=p=>{g(x=>{if(!p)return[i,v];if(p[0]<=s)return Object.is(x[1],v)?x:[i,v];try{if(Object.is(x[0],p[1]))return x;const _=r(p[1]);return Object.is(x[1],_)?x:[p[1],_]}catch{}return[x[0],x[1]]})};Object.is(m[1],v)||h(void 0);const y=gt(h);return uo(()=>(f.push(y),()=>{const p=f.indexOf(y);f.splice(p,1)}),[y,f]),m[1]};function Ox(n){const r=A.useContext(n);return r.version?r.version.current!==-1:!1}const ns="Enter",Il=" ",Hx="Escape";function Fx(n,r){const{disabled:l,disabledFocusable:i=!1,["aria-disabled"]:s,onClick:f,onKeyDown:v,onKeyUp:m,...g}=r??{},h=typeof s=="string"?s==="true":s,y=l||i||h,p=gt(z=>{y?(z.preventDefault(),z.stopPropagation()):f==null||f(z)}),x=gt(z=>{if(v==null||v(z),z.isDefaultPrevented())return;const k=z.key;if(y&&(k===ns||k===Il)){z.preventDefault(),z.stopPropagation();return}if(k===Il){z.preventDefault();return}else k===ns&&(z.preventDefault(),z.currentTarget.click())}),_=gt(z=>{if(m==null||m(z),z.isDefaultPrevented())return;const k=z.key;if(y&&(k===ns||k===Il)){z.preventDefault(),z.stopPropagation();return}k===Il&&(z.preventDefault(),z.currentTarget.click())});if(n==="button"||n===void 0)return{...g,disabled:l&&!i,"aria-disabled":i?!0:h,onClick:i?void 0:p,onKeyUp:i?void 0:m,onKeyDown:i?void 0:v};{const z=!!g.href;let k=z?void 0:"button";!k&&y&&(k="link");const O={role:k,tabIndex:i||!z&&!l?0:void 0,...g,onClick:p,onKeyUp:_,onKeyDown:x,"aria-disabled":y};return n==="a"&&y&&(O.href=void 0),O}}const Ux=ke({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{transform:scaleX(-1);}"]}),Lx=(n,r)=>{const{filled:l,title:i,primaryFill:s="currentColor",...f}=n,v={...f,fill:s},m=Ux(),g=J2();return v.className=be(m.root,(r==null?void 0:r.flipInRtl)&&(g==null?void 0:g.textDirection)==="rtl"&&m.rtl,v.className),i&&(v["aria-label"]=i),!v["aria-label"]&&!v["aria-labelledby"]?v["aria-hidden"]=!0:v.role="img",v},Gx=ke({root:{B8gzw0y:"f1dd5bof"}},{m:[["@media (forced-colors: active){.f1dd5bof{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]]}),Px="fui-Icon",re=(n,r,l,i)=>{const s=r==="1em"?"20":r,f=A.forwardRef((v,m)=>{const g=Gx(),h=Lx(v,{flipInRtl:i==null?void 0:i.flipInRtl}),y={...h,className:be(Px,h.className,g.root),ref:m,width:r,height:r,viewBox:`0 0 ${s} ${s}`,xmlns:"http://www.w3.org/2000/svg"};return typeof l=="string"?A.createElement("svg",{...y,dangerouslySetInnerHTML:{__html:l}}):A.createElement("svg",y,...l.map(p=>A.createElement("path",{d:p,fill:y.fill})))});return f.displayName=n,f},Zx=re("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"]),as=re("Compose24Regular","24",["M13.25 4a.75.75 0 0 1 0 1.5h-7c-.97 0-1.75.78-1.75 1.75v10.5c0 .97.78 1.75 1.75 1.75h10.5c.97 0 1.75-.78 1.75-1.75v-7a.75.75 0 0 1 1.5 0v7c0 1.8-1.46 3.25-3.25 3.25H6.25A3.25 3.25 0 0 1 3 17.75V7.25C3 5.45 4.46 4 6.25 4h7Zm6.47-.78a.75.75 0 1 1 1.06 1.06L10.59 14.47 9 15l.53-1.6L19.72 3.23Z"]),Xx=re("Mail24Filled","24",["M22 8.6v8.15a3.25 3.25 0 0 1-3.07 3.24l-.18.01H5.25a3.25 3.25 0 0 1-3.24-3.07L2 16.75V8.61l9.65 5.05c.22.12.48.12.7 0L22 8.61ZM5.25 4h13.5a3.25 3.25 0 0 1 3.23 2.92L12 12.15 2.02 6.92a3.25 3.25 0 0 1 3.04-2.91L5.25 4h13.5-13.5Z"]),Eh=re("Mail24Regular","24",["M5.25 4h13.5a3.25 3.25 0 0 1 3.24 3.07l.01.18v9.5a3.25 3.25 0 0 1-3.07 3.24l-.18.01H5.25a3.25 3.25 0 0 1-3.24-3.07L2 16.75v-9.5a3.25 3.25 0 0 1 3.07-3.24L5.25 4h13.5-13.5ZM20.5 9.37l-8.15 4.3c-.19.1-.4.1-.6.04l-.1-.05L3.5 9.37v7.38c0 .92.7 1.67 1.6 1.74l.15.01h13.5c.92 0 1.67-.7 1.74-1.6l.01-.15V9.37ZM18.75 5.5H5.25c-.92 0-1.67.7-1.74 1.6l-.01.15v.43l8.5 4.47 8.5-4.47v-.43c0-.92-.7-1.67-1.6-1.74l-.15-.01Z"]),Vx=re("MailInbox24Regular","24",["M6.25 3h11.5a3.25 3.25 0 0 1 3.24 3.07l.01.18v11.5a3.25 3.25 0 0 1-3.07 3.24l-.18.01H6.25a3.25 3.25 0 0 1-3.24-3.07L3 17.75V6.25a3.25 3.25 0 0 1 3.07-3.24L6.25 3h11.5-11.5ZM4.5 14.5v3.25c0 .92.7 1.67 1.6 1.74l.15.01h11.5c.92 0 1.67-.7 1.74-1.6l.01-.15V14.5h-3.82a3.75 3.75 0 0 1-3.48 3H12a3.75 3.75 0 0 1-3.63-2.81l-.04-.19H4.5v3.25-3.25Zm13.25-10H6.25c-.92 0-1.67.7-1.74 1.6l-.01.15V13H9c.38 0 .7.28.74.65l.01.1a2.25 2.25 0 0 0 4.5.15v-.15c0-.38.28-.7.65-.74L15 13h4.5V6.25c0-.92-.7-1.67-1.6-1.74l-.15-.01Z"]),Yx=re("Search24Regular","24",["M16.1 17.16a8 8 0 1 1 1.06-1.06l4.62 4.62a.75.75 0 1 1-1.06 1.06l-4.62-4.62ZM17.5 11a6.5 6.5 0 1 0-13 0 6.5 6.5 0 0 0 13 0Z"]),Qx=re("ArrowSync24Regular","24",["M16.25 5.18c-.25.33-.19.8.14 1.05a7.24 7.24 0 0 1-3.6 12.98l.68-.68a.75.75 0 0 0-.98-1.13l-.08.07-2 2a.75.75 0 0 0-.07.98l.07.08 2 2a.75.75 0 0 0 1.13-.98l-.07-.08-.75-.75A8.75 8.75 0 0 0 17.3 5.04a.75.75 0 0 0-1.05.14Zm-5.72-3.71c-.3.3-.3.77 0 1.06l.75.75a8.75 8.75 0 0 0-4.85 15.47.75.75 0 1 0 .96-1.16A7.23 7.23 0 0 1 11.2 4.8l-.68.68a.75.75 0 1 0 1.06 1.06l2-2c.3-.3.3-.77 0-1.06l-2-2a.75.75 0 0 0-1.06 0Z"],{flipInRtl:!0}),Jl=re("Send24Regular","24",["M5.7 12 2.3 3.27a.75.75 0 0 1 .94-.98l.1.04 18 9c.51.26.54.97.1 1.28l-.1.06-18 9a.75.75 0 0 1-1.07-.85l.03-.1L5.7 12 2.3 3.27 5.7 12ZM4.4 4.54l2.61 6.7 6.63.01c.38 0 .7.28.74.65v.1c0 .38-.27.7-.64.74l-.1.01H7l-2.6 6.7L19.31 12 4.4 4.54Z"],{flipInRtl:!0}),jh=re("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"]),Ah=re("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"]),Kx=re("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"]),Wx=re("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"]),Ix=re("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"]),Jx=re("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"]),Ch=re("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"]),Nh=re("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"]),Dh=re("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"]),$x=re("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"]),e3=re("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"]),Rh=re("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"]),qh=re("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"]),t3=re("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"]),o3=re("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"]),Mh=re("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"]),Oh=re("PresenceBusy10Filled","10",["M10 5A5 5 0 1 1 0 5a5 5 0 0 1 10 0Z"]),n3=re("PresenceBusy12Filled","12",["M12 6A6 6 0 1 1 0 6a6 6 0 0 1 12 0Z"]),a3=re("PresenceBusy16Filled","16",["M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Z"]),Hh=re("PresenceBusy20Filled","20",["M20 10a10 10 0 1 1-20 0 10 10 0 0 1 20 0Z"]),Fh=re("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"]),Uh=re("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"]),r3=re("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"]),l3=re("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"]),i3=re("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"]),u3=re("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"]),Lh=re("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"]),Gh=re("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"]),Ph=re("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"]),c3=re("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"]),s3=re("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"]),Zh=re("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"]),Xh=re("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"]),f3=re("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"]),d3=re("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"]),Vh=re("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"]),Yh=re("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"]),v3=re("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"]),h3=re("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"]),Qh=re("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"]),m3=re("Archive24Regular","24",["M10.25 11a.75.75 0 0 0 0 1.5h3.5a.75.75 0 0 0 0-1.5h-3.5ZM3 5.25C3 4.01 4 3 5.25 3h13.5C19.99 3 21 4 21 5.25v1.5c0 .78-.4 1.47-1 1.87v8.63A3.75 3.75 0 0 1 16.25 21h-8.5A3.75 3.75 0 0 1 4 17.25V8.62c-.6-.4-1-1.09-1-1.87v-1.5ZM5.5 9v8.25c0 1.24 1 2.25 2.25 2.25h8.5c1.24 0 2.25-1 2.25-2.25V9h-13Zm-.25-4.5a.75.75 0 0 0-.75.75v1.5c0 .41.34.75.75.75h13.5c.41 0 .75-.34.75-.75v-1.5a.75.75 0 0 0-.75-.75H5.25Z"]),g3={durationUltraFast:50,durationFaster:100,durationFast:150,durationNormal:200,durationGentle:250,durationSlow:300,durationSlower:400,durationUltraSlow:500},b3={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)"},nt={...g3,...b3};function p3(n){if(n.playState==="running"){var r;if(n.overallProgress!==void 0){var l;const m=(l=n.overallProgress)!==null&&l!==void 0?l:0;return m>0&&m<1}var i;const f=Number((i=n.currentTime)!==null&&i!==void 0?i:0);var s;const v=Number((s=(r=n.effect)===null||r===void 0?void 0:r.getTiming().duration)!==null&&s!==void 0?s:0);return f>0&&f{l.playbackRate=r})},setMotionEndCallbacks(r,l){const i=n.map(s=>new Promise((f,v)=>{s.onfinish=()=>f(),s.oncancel=()=>v()}));Promise.all(i).then(()=>{r()}).catch(()=>{l()})},isRunning(){return n.some(r=>p3(r))},dispose:()=>{n.length=0},cancel:()=>{n.forEach(r=>{r.cancel()})},pause:()=>{n.forEach(r=>{r.pause()})},play:()=>{n.forEach(r=>{r.play()})},finish:()=>{n.forEach(r=>{r.finish()})},reverse:()=>{n.forEach(r=>{r.reverse()})}}}function _3(){var n;const r=typeof window<"u"&&typeof((n=window.Animation)===null||n===void 0?void 0:n.prototype.persist)=="function";return A.useCallback((l,i,s)=>{const f=Array.isArray(i)?i:[i],{isReducedMotion:v}=s,m=f.map(g=>{const{keyframes:h,reducedMotion:y=x3,...p}=g,{keyframes:x=h,..._}=y,z=v?x:h,k={...y3,...p,...v&&_};try{const D=l.animate(z,k);if(r)D==null||D.persist();else{const U=z[z.length-1];var O;Object.assign((O=l.style)!==null&&O!==void 0?O:{},U)}return D}catch{return null}}).filter(g=>!!g);return S3(m)},[r])}function p1(){"use no memo";return _3()}function y1(n){const r=A.useRef(void 0);return A.useImperativeHandle(n,()=>({setPlayState:l=>{if(l==="running"){var i;(i=r.current)===null||i===void 0||i.play()}if(l==="paused"){var s;(s=r.current)===null||s===void 0||s.pause()}},setPlaybackRate:l=>{r.current&&(r.current.playbackRate=l)}})),r}const w3="screen and (prefers-reduced-motion: reduce)";function x1(){const{targetDocument:n}=no();var r;const l=(r=n==null?void 0:n.defaultView)!==null&&r!==void 0?r:null,i=A.useRef(!1),s=A.useCallback(()=>i.current,[]);return uo(()=>{if(l===null||typeof l.matchMedia!="function")return;const f=l.matchMedia(w3);f.matches&&(i.current=!0);const v=m=>{i.current=m.matches};return f.addEventListener("change",v),()=>{f.removeEventListener("change",v)}},[l]),s}const z3=["@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 S1(n,r=!0){const l=A.useRef(null);A.useEffect(()=>{},[r]);try{const i=A.Children.only(n);if(A.isValidElement(i))return[A.cloneElement(i,{ref:Im(l,Z2(i))}),l]}catch{}throw new Error(z3)}const _1=A.createContext(void 0);_1.Provider;const w1=()=>{var n;return(n=A.useContext(_1))!==null&&n!==void 0?n:"default"},k3=Symbol("MOTION_DEFINITION");function Kh(n){return Object.assign(l=>{"use no memo";const{children:i,imperativeRef:s,onMotionFinish:f,onMotionStart:v,onMotionCancel:m,...g}=l,h=g,[y,p]=S1(i),x=y1(s),_=w1()==="skip",z=A.useRef({skipMotions:_,params:h}),k=p1(),O=x1(),D=gt(()=>{v==null||v(null)}),U=gt(()=>{f==null||f(null)}),R=gt(()=>{m==null||m(null)});return uo(()=>{z.current={skipMotions:_,params:h}}),uo(()=>{const V=p.current;if(V){const X=typeof n=="function"?n({element:V,...z.current.params}):n;D();const Y=k(V,X,{isReducedMotion:O()});return x.current=Y,Y.setMotionEndCallbacks(U,R),z.current.skipMotions&&Y.finish(),()=>{Y.cancel()}}},[k,p,x,O,U,D,R]),y},{[k3]:typeof n=="function"?n:()=>n})}const z1=A.createContext(void 0);z1.Provider;function B3(n=!1,r=!1){const l=A.useRef(r?n:!0),i=H2(),s=A.useCallback(f=>{l.current!==f&&(l.current=f,i())},[i]);return A.useEffect(()=>{n&&(l.current=n)}),[n||l.current,s]}const k1=Symbol("PRESENCE_MOTION_DEFINITION"),T3=Symbol.for("interruptablePresence");function qs(n){return Object.assign(r=>{"use no memo";const i={...A.useContext(z1),...r},s=w1()==="skip",{appear:f,children:v,imperativeRef:m,onExit:g,onMotionFinish:h,onMotionStart:y,onMotionCancel:p,visible:x,unmountOnExit:_,...z}=i,k=z,[O,D]=B3(x,_),[U,R]=S1(v,O),V=y1(m),X=A.useRef({appear:f,params:k,skipMotions:s}),Y=p1(),G=O2(),le=x1(),Xe=gt(W=>{y==null||y(null,{direction:W})}),Ue=gt(W=>{h==null||h(null,{direction:W}),W==="exit"&&_&&(D(!1),g==null||g())}),et=gt(W=>{p==null||p(null,{direction:W})});return uo(()=>{X.current={appear:f,params:k,skipMotions:s}}),uo(()=>{const W=R.current;if(!W)return;let pe;function at(){pe&&(M&&pe.isRunning()||(pe.cancel(),V.current=void 0))}const vt=typeof n=="function"?n({element:W,...X.current.params}):n,M=vt[T3];if(M&&(pe=V.current,pe&&pe.isRunning()))return pe.reverse(),at;const Q=x?vt.enter:vt.exit,oe=x?"enter":"exit",Se=!X.current.appear&&G,Be=X.current.skipMotions;return Se||Xe(oe),pe=Y(W,Q,{isReducedMotion:le()}),Se?(pe.finish(),at):(V.current=pe,pe.setMotionEndCallbacks(()=>Ue(oe),()=>et(oe)),Be&&pe.finish(),at)},[Y,R,V,le,Ue,Xe,et,x]),A.useEffect(()=>{if(_&&!O){var W;(W=V.current)===null||W===void 0||W.dispose()}},[V,_,O]),O?U:null},{[k1]:typeof n=="function"?n:()=>n},{In:Kh(typeof n=="function"?(...r)=>n(...r).enter:n.enter),Out:Kh(typeof n=="function"?(...r)=>n(...r).exit:n.exit)})}function E3(n,r){return i=>n({...r,...i})}function jr(n,r){const l=n[k1],i=E3(l,r);return qs(i)}const Ms=A.createContext(void 0);function j3(){return A.useContext(Ms)}const B1=A.forwardRef((n,r)=>A.createElement(Ms.Provider,{value:r},n.children));B1.displayName="MotionRefForwarder";const T1=n=>A.createElement(Ms.Provider,{value:void 0},n.children);T1.displayName="MotionRefForwarderReset";function E1(n,r){const{as:l,children:i,...s}=n??{};if(n===null){const v=!r.defaultProps.visible&&r.defaultProps.unmountOnExit,m=(g,h)=>v?null:A.createElement(A.Fragment,null,h.children);return{[si]:m,[wa]:r.elementType}}const f={...r.defaultProps,...s,[wa]:r.elementType};return typeof i=="function"&&(f[si]=i),f}const vi=({direction:n,duration:r,easing:l=nt.curveLinear,delay:i=0,outOpacity:s=0,inOpacity:f=1})=>{const v=[{opacity:s},{opacity:f}];return n==="exit"&&v.reverse(),{keyframes:v,duration:r,easing:l,delay:i,fill:"both"}},A3=({duration:n=nt.durationNormal,easing:r=nt.curveEasyEase,delay:l=0,exitDuration:i=n,exitEasing:s=r,exitDelay:f=l,outOpacity:v=0,inOpacity:m=1})=>({enter:vi({direction:"enter",duration:n,easing:r,delay:l,outOpacity:v,inOpacity:m}),exit:vi({direction:"exit",duration:i,easing:s,delay:f,outOpacity:v,inOpacity:m})}),j1=qs(A3);jr(j1,{duration:nt.durationFast});const C3=jr(j1,{duration:nt.durationGentle}),Wh=({direction:n,duration:r,easing:l=nt.curveLinear,delay:i=0,outScale:s=.9,inScale:f=1})=>{const v=[{scale:s},{scale:f}];return n==="exit"&&v.reverse(),{keyframes:v,duration:r,easing:l,delay:i}},N3=({duration:n=nt.durationGentle,easing:r=nt.curveDecelerateMax,delay:l=0,exitDuration:i=nt.durationNormal,exitEasing:s=nt.curveAccelerateMax,exitDelay:f=l,outScale:v=.9,inScale:m=1,animateOpacity:g=!0})=>{const h=[Wh({direction:"enter",duration:n,easing:r,delay:l,outScale:v,inScale:m})],y=[Wh({direction:"exit",duration:i,easing:s,delay:f,outScale:v,inScale:m})];return g&&(h.push(vi({direction:"enter",duration:n,easing:r,delay:l})),y.push(vi({direction:"exit",duration:i,easing:s,delay:f}))),{enter:h,exit:y}},Os=qs(N3);jr(Os,{duration:nt.durationNormal,exitDuration:nt.durationFast});jr(Os,{duration:nt.durationSlow,exitDuration:nt.durationGentle});const D3=n=>an(n.root,{children:[n.initials&&we(n.initials,{}),n.icon&&we(n.icon,{}),n.image&&we(n.image,{}),n.badge&&we(n.badge,{}),n.activeAriaLabelElement]}),R3=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,q3=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uE000-\uFFFF]/g,M3=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,O3=/\s+/g,H3=/[\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]/;function li(n){if(!n)return"";const r=n.codePointAt(0);return r===void 0?"":String.fromCodePoint(r)}function F3(n,r,l){let i="";const s=n.split(" ");if(s.length!==0&&(i+=li(s[0]).toUpperCase()),l||(s.length===2?i+=li(s[1]).toUpperCase():s.length===3&&(i+=li(s[2]).toUpperCase())),r&&[...i].length>1){const f=[...i];return f[1]+f[0]}return i}function U3(n){return n=n.replace(R3,""),n=n.replace(q3,""),n=n.replace(O3," "),n=n.trim(),n}function A1(n,r,l){if(!n)return"";n=U3(n);const i=li(n);return H3.test(i)||!(l!=null&&l.allowPhoneInitials)&&M3.test(n)?"":F3(n,r,l==null?void 0:l.firstInitialOnly)}const L3=(n,r)=>{const{shape:l="circular",size:i="medium",appearance:s="filled",color:f="brand",...v}=n;return{...C1(v,r),shape:l,size:i,appearance:s,color:f}},C1=(n,r)=>{const{iconPosition:l="before"}=n;return{iconPosition:l,components:{root:"div",icon:"span"},root:st(An("div",{ref:r,...n}),{elementType:"div"}),icon:kt(n.icon,{elementType:"span"})}},Ih={root:"fui-Badge",icon:"fui-Badge__icon"},G3=Ze("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;}']),P3=ke({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);}"]}),Z3=Ze("rttl5z0",null,[".rttl5z0{display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}"]),X3=ke({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;}"]}),V3=n=>{"use no memo";const r=G3(),l=P3(),i=n.size==="small"||n.size==="extra-small"||n.size==="tiny";n.root.className=be(Ih.root,r,i&&l.fontSmallToTiny,l[n.size],l[n.shape],n.shape==="rounded"&&i&&l.roundedSmallToTiny,n.appearance==="ghost"&&l.borderGhost,l[n.appearance],l[`${n.appearance}-${n.color}`],n.root.className);const s=Z3(),f=X3();if(n.icon){let v;A.Children.toArray(n.root.children).length>0&&(n.size==="extra-large"?v=n.iconPosition==="after"?f.afterTextXL:f.beforeTextXL:v=n.iconPosition==="after"?f.afterText:f.beforeText),n.icon.className=be(Ih.icon,s,v,f[n.size],n.icon.className)}return n},N1=n=>an(n.root,{children:[n.iconPosition==="before"&&n.icon&&we(n.icon,{}),n.root.children,n.iconPosition==="after"&&n.icon&&we(n.icon,{})]}),Hs=A.forwardRef((n,r)=>{const l=L3(n,r);return V3(l),Ot("useBadgeStyles_unstable")(l),N1(l)});Hs.displayName="Badge";const Y3={tiny:Dh,"extra-small":Dh,small:$x,medium:e3,large:Rh,"extra-large":Rh},Q3={tiny:Ah,"extra-small":Ah,small:Wx,medium:Jx,large:Nh,"extra-large":Nh},K3={tiny:jh,"extra-small":jh,small:Kx,medium:Ix,large:Ch,"extra-large":Ch},W3={tiny:qh,"extra-small":qh,small:t3,medium:o3,large:Mh,"extra-large":Mh},I3={tiny:Oh,"extra-small":Oh,small:n3,medium:a3,large:Hh,"extra-large":Hh},J3={tiny:Fh,"extra-small":Fh,small:r3,medium:i3,large:Lh,"extra-large":Lh},$3={tiny:Uh,"extra-small":Uh,small:l3,medium:u3,large:Gh,"extra-large":Gh},rs={tiny:Xh,"extra-small":Xh,small:f3,medium:d3,large:Vh,"extra-large":Vh},eS={tiny:Ph,"extra-small":Ph,small:c3,medium:s3,large:Zh,"extra-large":Zh},Jh={tiny:Yh,"extra-small":Yh,small:v3,medium:h3,large:Qh,"extra-large":Qh},tS=(n,r,l)=>{switch(n){case"available":return r?Q3[l]:K3[l];case"away":return r?rs[l]:Y3[l];case"blocked":return W3[l];case"busy":return r?Jh[l]:I3[l];case"do-not-disturb":return r?$3[l]:J3[l];case"offline":return r?rs[l]:eS[l];case"out-of-office":return rs[l];case"unknown":return Jh[l]}},$h={busy:"busy","out-of-office":"out of office",away:"away",available:"available",offline:"offline","do-not-disturb":"do not disturb",unknown:"unknown",blocked:"blocked"},oS=(n,r)=>{const{size:l="medium",outOfOffice:i=!1,...s}=n;var f;const v=(f=n.status)!==null&&f!==void 0?f:"available",m=tS(v,i,l),g={...nS(s,r),appearance:"filled",color:"brand",shape:"circular",size:l,outOfOffice:i};if(g.icon){var h,y;(y=(h=g.icon).children)!==null&&y!==void 0||(h.children=A.createElement(m,null))}return g},nS=(n,r)=>{const{status:l="available",outOfOffice:i=!1}=n,s=$h[l],f=n.outOfOffice&&n.status!=="out-of-office"?` ${$h["out-of-office"]}`:"";return{...C1({"aria-label":s+f,role:"img",...n,icon:kt(n.icon,{renderByDefault:!0,elementType:"span"})},r),status:l,outOfOffice:i}},em={root:"fui-PresenceBadge",icon:"fui-PresenceBadge__icon"},aS=n=>n==="busy"||n==="do-not-disturb"||n==="blocked",rS=Ze("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;}"]),lS=Ze("r11ag4qr",null,[".r11ag4qr{display:flex;margin:-1px;}"]),iS=ke({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;}"]}),uS=n=>{"use no memo";const r=rS(),l=lS(),i=iS(),s=aS(n.status);return n.root.className=be(em.root,r,s&&i.statusBusy,n.status==="away"&&i.statusAway,n.status==="available"&&i.statusAvailable,n.status==="offline"&&i.statusOffline,n.status==="out-of-office"&&i.statusOutOfOffice,n.status==="unknown"&&i.statusUnknown,n.outOfOffice&&i.outOfOffice,n.outOfOffice&&n.status==="available"&&i.outOfOfficeAvailable,n.outOfOffice&&s&&i.outOfOfficeBusy,n.outOfOffice&&(n.status==="out-of-office"||n.status==="away"||n.status==="offline")&&i.statusOutOfOffice,n.outOfOffice&&n.status==="unknown"&&i.outOfOfficeUnknown,n.size==="tiny"&&i.tiny,n.size==="large"&&i.large,n.size==="extra-large"&&i.extraLarge,n.root.className),n.icon&&(n.icon.className=be(em.icon,l,n.icon.className)),n},ps=A.forwardRef((n,r)=>{const l=oS(n,r);return uS(l),Ot("usePresenceBadgeStyles_unstable")(l),N1(l)});ps.displayName="PresenceBadge";const D1=A.createContext(void 0),cS={};D1.Provider;const sS=()=>{var n;return(n=A.useContext(D1))!==null&&n!==void 0?n:cS},fS={active:"active",inactive:"inactive"},dS=(n,r)=>{const{dir:l}=no(),{shape:i,size:s}=sS(),{size:f=s??32,shape:v=i??"circular",active:m="unset",activeAppearance:g="ring",idForColor:h,color:y="neutral",...p}=n,x=vS(p,r);var _;const z=y==="colorful"?tm[mS((_=h??n.name)!==null&&_!==void 0?_:"")%tm.length]:y;if(x.initials){var k;x.initials=kt(n.initials,{renderByDefault:!0,defaultProps:{children:A1(n.name,l==="rtl",{firstInitialOnly:f<=16}),id:(k=x.initials)===null||k===void 0?void 0:k.id},elementType:"span"})}if(x.icon){var O,D;(D=(O=x.icon).children)!==null&&D!==void 0||(O.children=A.createElement(Zx,null))}const U=kt(n.badge,{defaultProps:{size:hS(f),id:x.root.id+"__badge"},elementType:ps});let R=x.activeAriaLabelElement;const V=n["aria-label"]!==void 0,X=n["aria-labelledby"]!==void 0;if(!V&&!X&&(n.name?U&&(x.root["aria-labelledby"]=x.root.id+" "+U.id):x.initials&&(x.root["aria-labelledby"]=x.initials.id+(U?" "+U.id:""),delete x.root["aria-label"]),m==="active"||m==="inactive")){const Y=fS[m];if(x.root["aria-labelledby"]){const G=x.root.id+"__active";x.root["aria-labelledby"]+=" "+G,R=A.createElement("span",{hidden:!0,id:G},Y)}else x.root["aria-label"]&&(x.root["aria-label"]+=" "+Y)}return{...x,size:f,shape:v,active:m,activeAppearance:g,activeAriaLabelElement:R,color:z,badge:U,components:{...x.components,badge:ps}}},vS=(n,r)=>{const{dir:l}=no(),{name:i,...s}=n,f=Er("avatar-"),v=st({role:"img",id:f,ref:r,...s},{elementType:"span"}),[m,g]=A.useState(void 0);let h=kt(n.image,{defaultProps:{alt:"",role:"presentation","aria-hidden":!0,hidden:m},elementType:"img"});h!=null&&h.src||(h=void 0),h&&(h.onError=ph(h.onError,()=>g(!0)),h.onLoad=ph(h.onLoad,()=>g(void 0)));let y=kt(n.initials,{renderByDefault:!0,defaultProps:{children:A1(i,l==="rtl"),id:f+"__initials"},elementType:"span"});y!=null&&y.children||(y=void 0);let p;!y&&(!h||m)&&(p=kt(n.icon,{renderByDefault:!0,defaultProps:{"aria-hidden":!0},elementType:"span"}));let x;return!v["aria-label"]&&!v["aria-labelledby"]&&(i?v["aria-label"]=i:y&&(v["aria-labelledby"]=y.id)),{activeAriaLabelElement:x,components:{root:"span",initials:"span",icon:"span",image:"img"},root:v,initials:y,icon:p,image:h}},hS=n=>n>=96?"extra-large":n>=64?"large":n>=56?"medium":n>=40?"small":n>=28?"extra-small":"tiny",tm=["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"],mS=n=>{let r=0;for(let l=n.length-1;l>=0;l--){const i=n.charCodeAt(l),s=l%8;r^=(i<>8-s)}return r},Sr={root:"fui-Avatar",image:"fui-Avatar__image",initials:"fui-Avatar__initials",icon:"fui-Avatar__icon",badge:"fui-Avatar__badge"},gS=Ze("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;}}"]}),bS=Ze("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;}"]),pS=Ze("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;}"]),yS=ke({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",Bg24rqe:"f9ttr0w"},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){.f9ttr0w{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),xS=ke({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;}"]}),SS=ke({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);}"]}),_S=ke({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);}"]}),wS=n=>{"use no memo";const{size:r,shape:l,active:i,activeAppearance:s,color:f}=n,v=gS(),m=bS(),g=pS(),h=yS(),y=xS(),p=SS(),x=_S(),_=[v,r!==32&&y[r]];if(n.badge&&_.push(h.badgeAlign,h[n.badge.size||"medium"]),r<=24?_.push(h.textCaption2Strong):r<=28?_.push(h.textCaption1Strong):r<=40||(r<=56?_.push(h.textSubtitle2):r<=96?_.push(h.textSubtitle1):_.push(h.textTitle3)),l==="square"&&(r<=24?_.push(h.squareSmall):r<=48?_.push(h.squareMedium):r<=72?_.push(h.squareLarge):_.push(h.squareXLarge)),(i==="active"||i==="inactive")&&(_.push(h.activeOrInactive),(s==="ring"||s==="ring-shadow")&&(_.push(h.ring,x[f]),n.badge&&_.push(h.ringBadgeCutout),r<=48?_.push(h.ringThick):r<=64?_.push(h.ringThicker):_.push(h.ringThickest)),(s==="shadow"||s==="ring-shadow")&&(_.push(h.shadow),r<=28?_.push(h.shadow4):r<=48?_.push(h.shadow8):r<=64?_.push(h.shadow16):_.push(h.shadow28)),i==="inactive"&&_.push(h.inactive)),n.root.className=be(Sr.root,..._,n.root.className),n.badge&&(n.badge.className=be(Sr.badge,h.badge,n.badge.className)),n.image&&(n.image.className=be(Sr.image,m,p[f],n.badge&&h.badgeCutout,n.image.className)),n.initials&&(n.initials.className=be(Sr.initials,g,p[f],n.badge&&h.badgeCutout,n.initials.className)),n.icon){let z;r<=16?z=h.icon12:r<=24?z=h.icon16:r<=40?z=h.icon20:r<=48?z=h.icon24:r<=56?z=h.icon28:r<=72?z=h.icon32:z=h.icon48,n.icon.className=be(Sr.icon,g,z,p[f],n.badge&&h.badgeCutout,n.icon.className)}return n},ys=A.forwardRef((n,r)=>{const l=dS(n,r);return wS(l),Ot("useAvatarStyles_unstable")(l),D3(l)});ys.displayName="Avatar";function zS(n){return hs(n)?{element:n}:typeof n=="object"?n===null?{element:null}:n:{}}const kS=ke({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;}"]}),R1=ui.useInsertionEffect,BS=n=>{"use no memo";const{className:r,dir:l,focusVisibleRef:i,targetNode:s}=n,f=A.useMemo(()=>{if(s===void 0||n.disabled)return null;const v=s.ownerDocument.createElement("div");return s.appendChild(v),v},[s,n.disabled]);return A.useMemo(()=>{f&&(f.className=r,f.setAttribute("dir",l),f.setAttribute("data-portal-node","true"),i.current=f)},[r,l,f,i]),A.useEffect(()=>()=>{f==null||f.remove()},[f]),f},TS=()=>{let n;function r(i,s){return n||(s&&(n=i.ownerDocument.createElement("div"),i.appendChild(n)),n)}function l(){n&&(n.remove(),n=void 0)}return{get:r,dispose:l}},ES=n=>{"use no memo";const{className:r,dir:l,focusVisibleRef:i,targetNode:s}=n,[f]=A.useState(TS),v=A.useMemo(()=>s===void 0||n.disabled?null:new Proxy({},{get(m,g){if(g==="nodeType")return 1;if(g==="remove"){const p=f.get(s,!1);return p&&p.childNodes.length===0&&f.dispose(),()=>{}}const h=f.get(s,!0),y=h?h[g]:void 0;return typeof y=="function"?y.bind(h):y},set(m,g,h){const y=g==="_virtual"||g==="focusVisible",p=y?f.get(s,!1):f.get(s,!0);return y&&!p?!0:p?(Object.assign(p,{[g]:h}),!0):!1}}),[f,s,n.disabled]);return R1(()=>{if(!v)return;const m=r.split(" ").filter(Boolean);return v.classList.add(...m),v.setAttribute("dir",l),v.setAttribute("data-portal-node","true"),i.current=v,()=>{v.classList.remove(...m),v.removeAttribute("dir")}},[r,l,v,i]),A.useEffect(()=>()=>{v==null||v.remove()},[v]),v},jS=R1?ES:BS,AS=n=>{"use no memo";const{targetDocument:r,dir:l}=no(),i=j2(),s=jx(),f=kS(),v=B2(),m={dir:l,disabled:n.disabled,focusVisibleRef:s,className:be(v,f.root,n.className),targetNode:i??(r==null?void 0:r.body)};return jS(m)},CS=n=>{const{element:r,className:l}=zS(n.mountNode),i=A.useRef(null),s=AS({disabled:!!r,className:l}),f=r??s,v={children:n.children,mountNode:f,virtualParentRootRef:i};return A.useEffect(()=>{if(!f)return;const m=i.current,g=f.contains(m);if(m&&!g)return yh(f,m),()=>{yh(f,void 0)}},[i,f]),v};var NS=hm();const DS=n=>A.createElement("span",{hidden:!0,ref:n.virtualParentRootRef},n.mountNode&&NS.createPortal(A.createElement(A.Fragment,null,n.children,A.createElement("span",{hidden:!0})),n.mountNode)),q1=n=>{const r=CS(n);return DS(r)};q1.displayName="Portal";const RS=n=>{const{iconOnly:r,iconPosition:l}=n;return an(n.root,{children:[l!=="after"&&n.icon&&we(n.icon,{}),!r&&n.root.children,l==="after"&&n.icon&&we(n.icon,{})]})},M1=A.createContext(void 0),qS={};M1.Provider;const MS=()=>{var n;return(n=A.useContext(M1))!==null&&n!==void 0?n:qS},OS=(n,r)=>{const{size:l}=MS(),{appearance:i="secondary",shape:s="rounded",size:f=l??"medium",...v}=n,m=HS(v,r);return{appearance:i,shape:s,size:f,...m}},HS=(n,r)=>{const{icon:l,iconPosition:i="before",...s}=n,f=kt(l,{elementType:"span"});var v,m;return{disabled:(v=n.disabled)!==null&&v!==void 0?v:!1,disabledFocusable:(m=n.disabledFocusable)!==null&&m!==void 0?m:!1,iconPosition:i,iconOnly:!!(f!=null&&f.children&&!n.children),components:{root:"button",icon:"span"},root:st(Fx(s.as,s),{elementType:"button",defaultProps:{ref:r,type:n.as!=="a"?"button":void 0}}),icon:f}},om={root:"fui-Button",icon:"fui-Button__icon"},FS=Ze("r1f29ykk",null,{r:[".r1f29ykk{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);}",".r1f29ykk:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}",".r1f29ykk:hover:active,.r1f29ykk:active:focus-visible{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}",".r1f29ykk[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){.r1f29ykk{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1f29ykk:focus{border-color:ButtonText;}.r1f29ykk:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1f29ykk:hover:active,.r1f29ykk:active:focus-visible{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}","@supports (-moz-appearance:button){.r1f29ykk[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),US=Ze("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);}"]),LS=ke({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",Bpjbzib:"fkoldzo"},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",Bpjbzib:"f1ksv2xa",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1d6mv4x",By8wz76:"f1nz3ub2",Bcq6wej:"fag2qd2",Jcjdmf:["fmvhcg7","f14bpyus"],sc4o1m:"f1o3dhpw",Bosien3:["f14bpyus","fmvhcg7"],B7iucu3:"fqc85l4",B8gzw0y:"f1h3a8gf",Bbkh6qg:"fkiggi6",F230oe:"f8gmj8i",Bdw8ktp:["f1ap8nzx","fjag8bx"],Bj1xduy:"f1igan7k",Bhh2cfd:["fjag8bx","f1ap8nzx"],Bahaeuw:"f1v3eptx",Bv2bamp:"f1ysmecq",vxuvv6:"faulsx",Bli9q98:["f79t15f","f8qmx7k"],Bx2tt8t:"fbtzoaq",yad0b3:["f8qmx7k","f79t15f"],j2fop7:"fd4bjan"},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",Bpjbzib:"f1q1yqic",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"fwga7ee",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",wsxvnf:"f1xxsver",Bahaeuw:"f1v3eptx",Buhizc3:"fivsta0",j2fop7:"fd4bjan",Bqabnb4:"f3m6zum"},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",Bpjbzib:"fkoldzo",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1l983o9",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",Bbkh6qg:"fxoo9op",Bahaeuw:"f1v3eptx",Bv2bamp:"f1i0gk12",j2fop7:"fd4bjan"},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);}",".fkoldzo:hover:active,.fkoldzo:active:focus-visible{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);}",".f1ksv2xa:hover:active,.f1ksv2xa:active:focus-visible{background-color:var(--colorBrandBackgroundPressed);}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}",".f1d6mv4x:hover:active,.f1d6mv4x:active:focus-visible{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);}",".f1q1yqic:hover:active,.f1q1yqic:active:focus-visible{background-color:var(--colorSubtleBackgroundPressed);}",".fwga7ee:hover:active,.fwga7ee:active:focus-visible{color:var(--colorNeutralForeground2Pressed);}",".f1nhwcv0:hover:active .fui-Icon-filled,.f1nhwcv0:active:focus-visible .fui-Icon-filled{display:inline;}",".f1gm6xmp:hover:active .fui-Icon-regular,.f1gm6xmp:active:focus-visible .fui-Icon-regular{display:none;}",".f1xxsver:hover:active .fui-Button__icon,.f1xxsver:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1l983o9:hover:active,.f1l983o9:active:focus-visible{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1nz3ub2{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fag2qd2{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14bpyus{border-left-color:HighlightText;}.fmvhcg7{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o3dhpw{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fqc85l4{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1h3a8gf{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkiggi6:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f8gmj8i:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ap8nzx:hover{border-right-color:Highlight;}.fjag8bx:hover{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1igan7k:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1v3eptx:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ysmecq:hover:active,.f1ysmecq:active:focus-visible{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.faulsx:hover:active,.faulsx:active:focus-visible{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f79t15f:hover:active,.f79t15f:active:focus-visible{border-right-color:Highlight;}.f8qmx7k:hover:active,.f8qmx7k:active:focus-visible{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbtzoaq:hover:active,.fbtzoaq:active:focus-visible{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fd4bjan:hover:active,.fd4bjan:active:focus-visible{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fivsta0:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3m6zum:hover:active .fui-Button__icon,.f3m6zum:active:focus-visible .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fxoo9op:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1i0gk12:hover:active,.f1i0gk12:active:focus-visible{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),GS=ke({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",Bpjbzib:"f1jct5ie",im15vp:"f13txml0",Hjvxdg:["f1ncddno","f1axfvow"],Gpfmf1:"f1z04ada",ustxxc:["f1axfvow","f1ncddno"],Brsut9c:"f1uhomfy",Bses4qk:"fy9mucy",Bqou3pl:"f1g9va8i",Bsnehw8:"fwgvudy",wsxvnf:"fom6jww"},highContrast:{By8wz76:"f14ptb23",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],B7iucu3:"f1cyfu5x",Grqk0h:"f127ot8j",h3ptyc:"f19etb0b",Buw724y:["f4f984j","fw441p0"],Buk7464:"f3d22hf",Hwei09:["fw441p0","f4f984j"],Bbkh6qg:"fj8k9ua",F230oe:"fifrq0d",Bdw8ktp:["f196mwp7","fnekfq"],Bj1xduy:"f1l6uprw",Bhh2cfd:["fnekfq","f196mwp7"],Bahaeuw:"fa9u7a5",Buhizc3:"f1m71e0y",Bv2bamp:"fw24f3",vxuvv6:"f1nznrny",Bli9q98:["fq8nxuu","f1ao3jkc"],Bx2tt8t:"ftoixeo",yad0b3:["f1ao3jkc","fq8nxuu"],j2fop7:"fpmuzpx",Bqabnb4:"f168odog"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",Bpjbzib:"f9r0db0"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},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"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},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"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]}},{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);}",".f1jct5ie:hover:active,.f1jct5ie:active:focus-visible{background-color:var(--colorNeutralBackgroundDisabled);}",".f13txml0:hover:active,.f13txml0:active:focus-visible{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ncddno:hover:active,.f1ncddno:active:focus-visible{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1axfvow:hover:active,.f1axfvow:active:focus-visible{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1z04ada:hover:active,.f1z04ada:active:focus-visible{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1uhomfy:hover:active,.f1uhomfy:active:focus-visible{color:var(--colorNeutralForegroundDisabled);}",".fy9mucy:hover:active,.fy9mucy:active:focus-visible{cursor:not-allowed;}",".f1g9va8i:hover:active .fui-Icon-filled,.f1g9va8i:active:focus-visible .fui-Icon-filled{display:none;}",".fwgvudy:hover:active .fui-Icon-regular,.fwgvudy:active:focus-visible .fui-Icon-regular{display:inline;}",".fom6jww:hover:active .fui-Button__icon,.fom6jww:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f9r0db0:hover:active,.f9r0db0:active:focus-visible{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;}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.f14ptb23{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f127ot8j .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f19etb0b:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4f984j:focus{border-right-color:GrayText;}.fw441p0:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3d22hf:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fj8k9ua:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fifrq0d:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f196mwp7:hover{border-right-color:GrayText;}.fnekfq:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1l6uprw:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fa9u7a5:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1m71e0y:hover .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fw24f3:hover:active,.fw24f3:active:focus-visible{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1nznrny:hover:active,.f1nznrny:active:focus-visible{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ao3jkc:hover:active,.f1ao3jkc:active:focus-visible{border-left-color:GrayText;}.fq8nxuu:hover:active,.fq8nxuu:active:focus-visible{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ftoixeo:hover:active,.ftoixeo:active:focus-visible{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fpmuzpx:hover:active,.fpmuzpx:active:focus-visible{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f168odog:hover:active .fui-Button__icon,.f168odog:active:focus-visible .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),PS=ke({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"],Bqsb82s:["fixhny3","f18mfu3r"],jg1oma:"feygou5"},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){.f18mfu3r[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;}.fixhny3[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){.feygou5[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),ZS=ke({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;}"]}),XS=ke({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);}"]}),VS=n=>{"use no memo";const r=FS(),l=US(),i=LS(),s=GS(),f=PS(),v=ZS(),m=XS(),{appearance:g,disabled:h,disabledFocusable:y,icon:p,iconOnly:x,iconPosition:_,shape:z,size:k}=n;return n.root.className=be(om.root,r,g&&i[g],i[k],p&&k==="small"&&i.smallWithIcon,p&&k==="large"&&i.largeWithIcon,i[z],(h||y)&&s.base,(h||y)&&s.highContrast,g&&(h||y)&&s[g],g==="primary"&&f.primary,f[k],f[z],x&&v[k],n.root.className),n.icon&&(n.icon.className=be(om.icon,l,!!n.root.children&&m[_],m[k],n.icon.className)),n},Bn=A.forwardRef((n,r)=>{const l=OS(n,r);return VS(l),Ot("useButtonStyles_unstable")(l),RS(l)});Bn.displayName="Button";const O1=A.createContext(void 0);O1.Provider;const YS=()=>A.useContext(O1);function H1(n,r){return QS(YS(),n,r)}function QS(n,r,l){if(!n)return r;r={...r};const{generatedControlId:i,hintId:s,labelFor:f,labelId:v,required:m,validationMessageId:g,validationState:h}=n;if(i){var y,p;(p=(y=r).id)!==null&&p!==void 0||(y.id=i)}if(v&&(!(l!=null&&l.supportsLabelFor)||f!==r.id)){var x,_,z;(z=(x=r)[_="aria-labelledby"])!==null&&z!==void 0||(x[_]=v)}if((g||s)&&(r["aria-describedby"]=[g,s,r==null?void 0:r["aria-describedby"]].filter(Boolean).join(" ")),h==="error"){var k,O,D;(D=(k=r)[O="aria-invalid"])!==null&&D!==void 0||(k[O]=!0)}if(m)if(l!=null&&l.supportsRequired){var U,R;(R=(U=r).required)!==null&&R!==void 0||(U.required=!0)}else{var V,X,Y;(Y=(V=r)[X="aria-required"])!==null&&Y!==void 0||(V[X]=!0)}if(l!=null&&l.supportsSize){var G,le;(le=(G=r).size)!==null&&le!==void 0||(G.size=n.size)}return r}const KS=(n,r)=>{const{weight:l="regular",size:i="medium",...s}=n,f=WS(s,r);return{weight:l,size:i,...f}},WS=(n,r)=>{const{disabled:l=!1,required:i=!1,...s}=n;return{disabled:l,required:kt(i===!0?"*":i||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),components:{root:"label",required:"span"},root:st(An("label",{ref:r,...s}),{elementType:"label"})}},IS=n=>an(n.root,{children:[n.root.children,n.required&&we(n.required,{})]}),nm={root:"fui-Label",required:"fui-Label__required"},JS=ke({root:{Bahqtrf:"fk6fouc",sj55zd:"f19n0e5"},disabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},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){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),$S=n=>{"use no memo";const r=JS();return n.root.className=be(nm.root,r.root,n.disabled&&r.disabled,r[n.size],n.weight==="semibold"&&r.semibold,n.root.className),n.required&&(n.required.className=be(nm.required,r.required,n.disabled&&r.disabled,n.required.className)),n},pa=A.forwardRef((n,r)=>{const l=KS(n,r);return $S(l),Ot("useLabelStyles_unstable")(l),IS(l)});pa.displayName="Label";const e_=n=>we(n.root,{children:n.root.children!==void 0&&we(n.wrapper,{children:n.root.children})}),t_=(n,r)=>{const{alignContent:l="center",appearance:i="default",inset:s=!1,...f}=n,v=o_(f,r);return{alignContent:l,appearance:i,inset:s,...v}},o_=(n,r)=>{const{vertical:l=!1,wrapper:i,...s}=n,f=Er("divider-");return{vertical:l,components:{root:"div",wrapper:"div"},root:st({role:"separator","aria-orientation":l?"vertical":"horizontal","aria-labelledby":n.children?f:void 0,ref:r,...s},{elementType:"div"}),wrapper:st(i,{defaultProps:{id:f,children:n.children},elementType:"div"})}},am={root:"fui-Divider",wrapper:"fui-Divider__wrapper"},n_=ke({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);}"]}),a_=ke({base:{a9b677:"fly5x3f",Bdkvgpv:"f163fonl",B0qfbqy:"f51yk4v",pbipgd:"f13rof3u",Bm2nyyq:"f8rth92",xrcqlc:"f6czdpx",i5u598:"f1iyka9k"},inset:{uwmqm3:["fjlbh76","f11qrl6u"],z189sj:["f11qrl6u","fjlbh76"]},start:{fsow6f:["f1o700av","fes3tcz"],Ftih45:"f1wl9k8s",Bicfajf:["f1ojjlep","fk1kexq"],Bxwl2t9:"f1he2m4d",jwcpgy:["f12w1bnb","f1558wlj"]},center:{fsow6f:"f17mccla",Bicfajf:["f1ojjlep","fk1kexq"],jwcpgy:["f12w1bnb","f1558wlj"]},end:{fsow6f:["fes3tcz","f1o700av"],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;}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",'.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;}",".f17mccla{text-align:center;}",'.f13zj6fq::after{content:"";}',".f1ayce8x::after{max-width:8px;}"]}),r_=ke({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;}"]}),l_=n=>{"use no memo";const r=n_(),l=a_(),i=r_(),{alignContent:s,appearance:f,inset:v,vertical:m}=n;return n.root.className=be(am.root,r.base,r[s],f&&r[f],!m&&l.base,!m&&v&&l.inset,!m&&l[s],m&&i.base,m&&v&&i.inset,m&&i[s],m&&n.root.children!==void 0&&i.withChildren,n.root.children===void 0&&r.childless,n.root.className),n.wrapper&&(n.wrapper.className=be(am.wrapper,n.wrapper.className)),n},Fs=A.forwardRef((n,r)=>{const l=t_(n,r);return l_(l),Ot("useDividerStyles_unstable")(l),e_(l)});Fs.displayName="Divider";const i_=(n,r)=>{n=H1(n,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const l=Ym();var i;const{size:s="medium",appearance:f=(i=l.inputDefaultAppearance)!==null&&i!==void 0?i:"outline",...v}=n,m=u_(v,r);return{size:s,appearance:f,...m}},u_=(n,r)=>{const{onChange:l}=n,[i,s]=js({state:n.value,defaultState:n.defaultValue,initialState:""}),f=Pm({props:n,primarySlotTagName:"input",excludedPropNames:["onChange","value","defaultValue"]}),v={components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:st(n.input,{defaultProps:{type:"text",ref:r,...f.primary},elementType:"input"}),contentAfter:kt(n.contentAfter,{elementType:"span"}),contentBefore:kt(n.contentBefore,{elementType:"span"}),root:st(n.root,{defaultProps:f.root,elementType:"span"})};return v.input.value=i,v.input.onChange=gt(m=>{const g=m.target.value;l==null||l(m,{value:g}),s(g)}),v},c_=n=>an(n.root,{children:[n.contentBefore&&we(n.contentBefore,{}),we(n.input,{}),n.contentAfter&&we(n.contentAfter,{})]}),$l={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"},s_=Ze("r1oeeo9n","r9sxh5",{r:[".r1oeeo9n{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r1oeeo9n::after{box-sizing:border-box;content:"";position:absolute;left:-1px;bottom:-1px;right:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-left-radius:var(--borderRadiusMedium);border-bottom-right-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r1oeeo9n:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r1oeeo9n:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r1oeeo9n:focus-within{outline:2px solid transparent;}",".r9sxh5{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r9sxh5::after{box-sizing:border-box;content:"";position:absolute;right:-1px;bottom:-1px;left:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-right-radius:var(--borderRadiusMedium);border-bottom-left-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r9sxh5:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r9sxh5:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r9sxh5:focus-within{outline:2px solid transparent;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}"]}),f_=ke({small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{},large:{sshi5w:"f1w5jphr",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",i8kkvl:0,Belr9w4:0,rmohyg:"f1eyhf9v"},outline:{},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],Drbcw7:"f8vnjqi",udz0bu:["fz1etlk","f1hc16gm"],Be8ivqh:"f1klwx88",ofdepl:["f1hc16gm","fz1etlk"]},underline:{De3pzq:"f1c21dwh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779",icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],wvpqe5:["f1deefiw","f1n71otn"],Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},underlineInteractive:{oetu4i:"f1l4zc64",Be8ivqh:"f1klwx88",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"f2ale1x"},filled:{g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},filledInteractive:{q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",E5pizo:"fyed02w"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],Bsft5z2:"fhr9occ",Bduesf4:"f99w1ws"},smallWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},smallWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},mediumWithContentBefore:{uwmqm3:["f1ng84yb","f11gcy0p"]},mediumWithContentAfter:{z189sj:["f11gcy0p","f1ng84yb"]},largeWithContentBefore:{uwmqm3:["f1uw59to","fw5db7e"]},largeWithContentAfter:{z189sj:["fw5db7e","f1uw59to"]}},{d:[".f1pha7fy{min-height:24px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1w5jphr{min-height:40px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1eyhf9v{gap:var(--spacingHorizontalSNudge);}",{p:-1}],".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".fokr779{border-radius:0;}",{p:-1}],".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",[".f2ale1x::after{border-radius:0;}",{p:-1}],".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".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);}",".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".fyed02w{box-shadow:var(--shadow2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fhr9occ::after{content:unset;}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}",".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);}"],a:[".f8vnjqi:active,.f8vnjqi:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".fz1etlk:active,.fz1etlk:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".f1hc16gm:active,.f1hc16gm:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1klwx88:active,.f1klwx88:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],w:[".f99w1ws:focus-within{outline-style:none;}"]}),d_=Ze("r12stul0",null,[".r12stul0{align-self:stretch;box-sizing:border-box;flex-grow:1;min-width:0;border-style:none;padding:0 var(--spacingHorizontalM);color:var(--colorNeutralForeground1);background-color:transparent;outline-style:none;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;}",".r12stul0::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::placeholder{color:var(--colorNeutralForeground4);opacity:1;}"]),v_=ke({small:{uwmqm3:["f1f5gg8d","f1vdfbxk"],z189sj:["f1vdfbxk","f1f5gg8d"]},medium:{},large:{uwmqm3:["fnphzt9","flt1dlf"],z189sj:["flt1dlf","fnphzt9"]},smallWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},smallWithContentAfter:{z189sj:["ffczdla","fgiv446"]},mediumWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},mediumWithContentAfter:{z189sj:["ffczdla","fgiv446"]},largeWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},largeWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".fnphzt9{padding-left:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".flt1dlf{padding-right:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"]}),h_=Ze("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),m_=ke({disabled:{sj55zd:"f1s2aq7o"},small:{Duoase:"f3qv9w"},medium:{},large:{Duoase:"f16u2scb"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f3qv9w>svg{font-size:16px;}",".f16u2scb>svg{font-size:24px;}"]}),g_=n=>{"use no memo";const{size:r,appearance:l}=n,i=n.input.disabled,s=`${n.input["aria-invalid"]}`=="true",f=l.startsWith("filled"),v=f_(),m=v_(),g=m_();n.root.className=be($l.root,s_(),v[r],n.contentBefore&&v[`${r}WithContentBefore`],n.contentAfter&&v[`${r}WithContentAfter`],v[l],!i&&l==="outline"&&v.outlineInteractive,!i&&l==="underline"&&v.underlineInteractive,!i&&f&&v.filledInteractive,f&&v.filled,!i&&s&&v.invalid,i&&v.disabled,n.root.className),n.input.className=be($l.input,d_(),m[r],n.contentBefore&&m[`${r}WithContentBefore`],n.contentAfter&&m[`${r}WithContentAfter`],i&&m.disabled,n.input.className);const h=[h_(),i&&g.disabled,g[r]];return n.contentBefore&&(n.contentBefore.className=be($l.contentBefore,...h,n.contentBefore.className)),n.contentAfter&&(n.contentAfter.className=be($l.contentAfter,...h,n.contentAfter.className)),n},ii=A.forwardRef((n,r)=>{const l=i_(n,r);return g_(l),Ot("useInputStyles_unstable")(l),c_(l)});ii.displayName="Input";const F1=A.createContext(void 0),b_={};F1.Provider;const p_=()=>{var n;return(n=A.useContext(F1))!==null&&n!==void 0?n:b_},y_=(n,r)=>{const{size:l}=p_(),{appearance:i="primary",size:s=l??"medium",...f}=n;return{...x_(f,r),appearance:i,size:s}},x_=(n,r)=>{const{delay:l=0,labelPosition:i="after"}=n,s=Er("spinner"),{role:f="progressbar",...v}=n,m=st(An("div",{ref:r,role:f,...v}),{elementType:"div"}),[g,h]=A.useState(!1),[y,p]=G2();A.useEffect(()=>{if(!(l<=0))return y(()=>{h(!0)},l),()=>{p()}},[y,p,l]);const x=kt(n.label,{defaultProps:{id:s},renderByDefault:!1,elementType:pa}),_=kt(n.spinner,{renderByDefault:!0,elementType:"span"});return x&&m&&!m["aria-labelledby"]&&(m["aria-labelledby"]=x.id),{delay:l,labelPosition:i,shouldRenderSpinner:!l||g,components:{root:"div",spinner:"span",spinnerTail:"span",label:pa},root:m,spinner:_,spinnerTail:st(n.spinnerTail,{elementType:"span"}),label:x}},S_=n=>{const{labelPosition:r,shouldRenderSpinner:l}=n;return an(n.root,{children:[n.label&&l&&(r==="above"||r==="before")&&we(n.label,{}),n.spinner&&l&&we(n.spinner,{children:n.spinnerTail&&we(n.spinnerTail,{})}),n.label&&l&&(r==="below"||r==="after")&&we(n.label,{})]})},ei={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"},__=Ze("rpp59a7",null,[".rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}"]),w_=ke({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),z_=Ze("rvgcg50","r15nd2jo",{r:[".rvgcg50{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:rb7n1on;}","@keyframes rb7n1on{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}",".r15nd2jo{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:r1gx3jof;}","@keyframes r1gx3jof{0%{transform:rotate(0deg);}100%{transform:rotate(-360deg);}}"],s:["@media screen and (forced-colors: active){.rvgcg50{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.rvgcg50{animation-duration:1.8s;}}","@media screen and (forced-colors: active){.r15nd2jo{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r15nd2jo{animation-duration:1.8s;}}"]}),k_=Ze("rxov3xa","r1o544mv",{r:[".rxov3xa{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r15mim6k;}",'.rxov3xa::before,.rxov3xa::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r15mim6k{0%{transform:rotate(-135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(225deg);}}",".rxov3xa::before{animation-name:r18vhmn8;}","@keyframes r18vhmn8{0%{transform:rotate(0deg);}50%{transform:rotate(105deg);}100%{transform:rotate(0deg);}}",".rxov3xa::after{animation-name:rkgrvoi;}","@keyframes rkgrvoi{0%{transform:rotate(0deg);}50%{transform:rotate(225deg);}100%{transform:rotate(0deg);}}",".r1o544mv{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r109gmi5;}",'.r1o544mv::before,.r1o544mv::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r109gmi5{0%{transform:rotate(135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(-225deg);}}",".r1o544mv::before{animation-name:r17whflh;}","@keyframes r17whflh{0%{transform:rotate(0deg);}50%{transform:rotate(-105deg);}100%{transform:rotate(0deg);}}",".r1o544mv::after{animation-name:re4odhl;}","@keyframes re4odhl{0%{transform:rotate(0deg);}50%{transform:rotate(-225deg);}100%{transform:rotate(0deg);}}"],s:["@media screen and (prefers-reduced-motion: reduce){.rxov3xa{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.rxov3xa::before,.rxov3xa::after{content:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1o544mv{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.r1o544mv::before,.r1o544mv::after{content:none;}}"]}),B_=ke({inverted:{De3pzq:"fr407j0",sj55zd:"f1f7voed"},rtlTail:{btxmck:"f179dep3",gb5jj2:"fbz9ihp",Bdya8wy:"f1pme1qz"},"extra-tiny":{Bqenvij:"fd461yt",a9b677:"fjw5fx7",qmp6fs:"f1v3ph3m"},tiny:{Bqenvij:"fjamq6b",a9b677:"f64fuq3",qmp6fs:"f1v3ph3m"},"extra-small":{Bqenvij:"frvgh55",a9b677:"fq4mcun",qmp6fs:"f1v3ph3m"},small:{Bqenvij:"fxldao9",a9b677:"f1w9dchk",qmp6fs:"f1v3ph3m"},medium:{Bqenvij:"f1d2rq10",a9b677:"f1szoe96",qmp6fs:"fb52u90"},large:{Bqenvij:"f8ljn23",a9b677:"fpdz1er",qmp6fs:"fb52u90"},"extra-large":{Bqenvij:"fbhnoac",a9b677:"feqmc2u",qmp6fs:"fb52u90"},huge:{Bqenvij:"f1ft4266",a9b677:"fksc0bp",qmp6fs:"fa3u9ii"}},{d:[".fr407j0{background-color:var(--colorNeutralStrokeAlpha2);}",".f1f7voed{color:var(--colorNeutralStrokeOnBrand2);}",".f179dep3{-webkit-mask-image:conic-gradient(white 255deg, transparent 255deg);mask-image:conic-gradient(white 255deg, transparent 255deg);}",".fbz9ihp::before,.fbz9ihp::after{background-image:conic-gradient(transparent 225deg, currentcolor 225deg);}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".f1v3ph3m{--fui-Spinner--strokeWidth:var(--strokeWidthThick);}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".fxldao9{height:28px;}",".f1w9dchk{width:28px;}",".f1d2rq10{height:32px;}",".f1szoe96{width:32px;}",".fb52u90{--fui-Spinner--strokeWidth:var(--strokeWidthThicker);}",".f8ljn23{height:36px;}",".fpdz1er{width:36px;}",".fbhnoac{height:40px;}",".feqmc2u{width:40px;}",".f1ft4266{height:44px;}",".fksc0bp{width:44px;}",".fa3u9ii{--fui-Spinner--strokeWidth:var(--strokeWidthThickest);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1pme1qz{background-image:conic-gradient(currentcolor 0deg, transparent 240deg);}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),T_=ke({inverted:{sj55zd:"fonrgv7"},"extra-tiny":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},tiny:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},"extra-small":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},"extra-large":{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},huge:{Bahqtrf:"fk6fouc",Be2twd7:"f1pp30po",Bhrd7zp:"fl43uef",Bg96gwp:"f106mvju"}},{d:[".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}"]}),E_=n=>{"use no memo";const{labelPosition:r,size:l,appearance:i}=n,{dir:s}=no(),f=__(),v=w_(),m=z_(),g=B_(),h=k_(),y=T_();return n.root.className=be(ei.root,f,(r==="above"||r==="below")&&v.vertical,n.root.className),n.spinner&&(n.spinner.className=be(ei.spinner,m,g[l],i==="inverted"&&g.inverted,n.spinner.className)),n.spinnerTail&&(n.spinnerTail.className=be(ei.spinnerTail,h,s==="rtl"&&g.rtlTail,n.spinnerTail.className)),n.label&&(n.label.className=be(ei.label,y[l],i==="inverted"&&y.inverted,n.label.className)),n},U1=A.forwardRef((n,r)=>{const l=y_(n,r);return E_(l),Ot("useSpinnerStyles_unstable")(l),S_(l)});U1.displayName="Spinner";const j_=(n,r)=>{const{wrap:l,truncate:i,block:s,italic:f,underline:v,strikethrough:m,size:g,font:h,weight:y,align:p}=n;return{align:p??"start",block:s??!1,font:h??"base",italic:f??!1,size:g??300,strikethrough:m??!1,truncate:i??!1,underline:v??!1,weight:y??"regular",wrap:l??!0,components:{root:"span"},root:st(An("span",{ref:r,...n}),{elementType:"span"})}},A_=n=>we(n.root,{}),C_={root:"fui-Text"},N_=ke({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;}"]}),D_=n=>{"use no memo";const r=N_();return n.root.className=be(C_.root,r.root,n.wrap===!1&&r.nowrap,n.truncate&&r.truncate,n.block&&r.block,n.italic&&r.italic,n.underline&&r.underline,n.strikethrough&&r.strikethrough,n.underline&&n.strikethrough&&r.strikethroughUnderline,n.size===100&&r.base100,n.size===200&&r.base200,n.size===400&&r.base400,n.size===500&&r.base500,n.size===600&&r.base600,n.size===700&&r.hero700,n.size===800&&r.hero800,n.size===900&&r.hero900,n.size===1e3&&r.hero1000,n.font==="monospace"&&r.monospace,n.font==="numeric"&&r.numeric,n.weight==="medium"&&r.weightMedium,n.weight==="semibold"&&r.weightSemibold,n.weight==="bold"&&r.weightBold,n.align==="center"&&r.alignCenter,n.align==="end"&&r.alignEnd,n.align==="justify"&&r.alignJustify,n.root.className),n},Qt=A.forwardRef((n,r)=>{const l=j_(n,r);return D_(l),Ot("useTextStyles_unstable")(l),A_(l)});Qt.displayName="Text";const R_=n=>we(n.root,{children:we(n.textarea,{})}),q_=(n,r)=>{const l=Ym();var i;const{size:s="medium",appearance:f=(i=l.inputDefaultAppearance)!==null&&i!==void 0?i:"outline",...v}=n;return{...M_(v,r),size:s,appearance:f}},M_=(n,r)=>{n=H1(n,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const{resize:l="none",onChange:i}=n,[s,f]=js({state:n.value,defaultState:n.defaultValue,initialState:void 0}),v=Pm({props:n,primarySlotTagName:"textarea",excludedPropNames:["onChange","value","defaultValue"]}),m={resize:l,components:{root:"span",textarea:"textarea"},textarea:st(n.textarea,{defaultProps:{ref:r,...v.primary},elementType:"textarea"}),root:st(n.root,{defaultProps:v.root,elementType:"span"})};return m.textarea.value=s,m.textarea.onChange=gt(g=>{const h=g.target.value;i==null||i(g,{value:h}),f(h)}),m},rm={root:"fui-Textarea",textarea:"fui-Textarea__textarea"},O_=ke({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",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]},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",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40",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){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1c7in40: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);}"]}),H_=ke({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",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;}",".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);}"]}),F_=ke({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;}"]}),U_=n=>{"use no memo";const{size:r,appearance:l,resize:i}=n,s=n.textarea.disabled,f=`${n.textarea["aria-invalid"]}`=="true",v=l.startsWith("filled"),m=O_();n.root.className=be(rm.root,m.base,s&&m.disabled,!s&&v&&m.filled,!s&&m[l],!s&&m.interactive,!s&&l==="outline"&&m.outlineInteractive,!s&&f&&m.invalid,n.root.className);const g=H_(),h=F_();return n.textarea.className=be(rm.textarea,g.base,g[r],h[i],s&&g.disabled,n.textarea.className),n},L1=A.forwardRef((n,r)=>{const l=q_(n,r);return U_(l),Ot("useTextareaStyles_unstable")(l),R_(l)});L1.displayName="Textarea";const L_=Ze("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),G_=Ze("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function P_(){const n=L_(),r=G_(),{targetDocument:l}=no(),i=A.useCallback(()=>{var f;if(!l)return;var v;Math.floor(l.body.getBoundingClientRect().height)>((v=(f=l.defaultView)===null||f===void 0?void 0:f.innerHeight)!==null&&v!==void 0?v:0)&&(l.documentElement.classList.add(n),l.body.classList.add(r))},[l,n,r]),s=A.useCallback(()=>{l&&(l.documentElement.classList.remove(n),l.body.classList.remove(r))},[l,n,r]);return{disableBodyScroll:i,enableBodyScroll:s}}function Z_(n,r){const{findFirstFocusable:l}=Tx(),{targetDocument:i}=no(),s=A.useRef(null);return A.useEffect(()=>{if(!n)return;const f=s.current&&l(s.current);if(f)f.focus();else{var v;(v=s.current)===null||v===void 0||v.focus()}},[l,n,r,i]),s}const X_={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,unmountOnClose:!0,dialogRef:{current:null},requestOpenChange(){}},Us=qx(void 0),V_=Us.Provider,tn=n=>Mx(Us,(r=X_)=>n(r)),Y_=A.createContext(void 0),G1=Y_.Provider,P1=A.createContext(void 0);P1.Provider;const Q_=()=>A.useContext(P1),lm=jr(Os,{outScale:.85,easing:nt.curveDecelerateMid,duration:nt.durationGentle,exitEasing:nt.curveAccelerateMin,exitDuration:nt.durationGentle}),K_=n=>{const{children:r,modalType:l="modal",onOpenChange:i,inertTrapFocus:s=!1,unmountOnClose:f=!0}=n,v=Er("dialog-title-"),[m,g]=W_(r),[h,y]=js({state:n.open,defaultState:n.defaultOpen,initialState:!1}),p=gt(O=>{i==null||i(O.event,O),O.event.isDefaultPrevented()||y(O.open)}),x=Z_(h,l),{modalAttributes:_,triggerAttributes:z}=Dx({trapFocus:l!=="non-modal",legacyTrapFocus:!s}),k=Ox(Us);return{components:{surfaceMotion:lm},inertTrapFocus:s,open:h,modalType:l,content:g,trigger:m,requestOpenChange:p,dialogTitleId:v,isNestedDialog:k,unmountOnClose:f,dialogRef:x,modalAttributes:_,triggerAttributes:z,surfaceMotion:E1(n.surfaceMotion,{elementType:lm,defaultProps:{visible:h,appear:f,unmountOnExit:f}})}};function W_(n){const r=A.Children.toArray(n);switch(r.length){case 2:return r;case 1:return[void 0,r[0]];default:return[void 0,void 0]}}const I_=(n,r)=>we(V_,{value:r.dialog,children:an(G1,{value:r.dialogSurface,children:[n.trigger,n.content&&we(n.surfaceMotion,{children:we(B1,{children:n.content})})]})});function J_(n){const{modalType:r,open:l,dialogRef:i,dialogTitleId:s,isNestedDialog:f,inertTrapFocus:v,requestOpenChange:m,modalAttributes:g,triggerAttributes:h,unmountOnClose:y}=n;return{dialog:{open:l,modalType:r,dialogRef:i,dialogTitleId:s,isNestedDialog:f,inertTrapFocus:v,modalAttributes:g,triggerAttributes:h,unmountOnClose:y,requestOpenChange:m},dialogSurface:!1}}const Z1=A.memo(n=>{const r=K_(n),l=J_(r);return I_(r,l)});Z1.displayName="Dialog";const $_=(n,r)=>{var l;return{components:{root:"div"},root:st(An((l=n.as)!==null&&l!==void 0?l:"div",{ref:r,...n}),{elementType:"div"})}},ew=n=>we(n.root,{}),tw={root:"fui-DialogBody"},ow=Ze("rhwx3p8",null,{r:[".rhwx3p8{overflow:unset;gap:8px;display:grid;max-height:calc(100vh - 2 * 24px);max-height:calc(100dvh - 2 * 24px);box-sizing:border-box;grid-template-rows:auto 1fr;grid-template-columns:1fr 1fr auto;}"],s:["@media screen and (max-width: 480px){.rhwx3p8{max-width:100vw;grid-template-rows:auto 1fr auto;}}","@media screen and (max-height: 359px){.rhwx3p8{max-height:unset;}}"]}),nw=n=>{"use no memo";const r=ow();return n.root.className=be(tw.root,r,n.root.className),n},X1=A.forwardRef((n,r)=>{const l=$_(n,r);return nw(l),Ot("useDialogBodyStyles_unstable")(l),ew(l)});X1.displayName="DialogBody";const im=C3,aw=(n,r)=>{const l=j3(),i=tn(R=>R.modalType),s=tn(R=>R.isNestedDialog),f=Q_(),v=f??s,m=tn(R=>R.modalAttributes),g=tn(R=>R.dialogRef),h=tn(R=>R.requestOpenChange),y=tn(R=>R.dialogTitleId),p=tn(R=>R.open),x=tn(R=>R.unmountOnClose),_=gt(R=>{if(Iy(n.backdrop)){var V,X;(V=(X=n.backdrop).onClick)===null||V===void 0||V.call(X,R)}i==="modal"&&!R.isDefaultPrevented()&&h({event:R,open:!1,type:"backdropClick"})}),z=gt(R=>{var V;(V=n.onKeyDown)===null||V===void 0||V.call(n,R),R.key===Hx&&!R.isDefaultPrevented()&&(h({event:R,open:!1,type:"escapeKeyDown"}),R.preventDefault())}),k=kt(n.backdrop,{renderByDefault:i!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"}),O=k==null?void 0:k.appearance;k&&(k.onClick=_,delete k.appearance);const{disableBodyScroll:D,enableBodyScroll:U}=P_();return uo(()=>{if(!p){U();return}if(!(s||i==="non-modal"))return D(),()=>U()},[p,i,s,D,U]),{components:{backdrop:"div",root:"div",backdropMotion:im},open:p,backdrop:k,isNestedDialog:s,treatBackdropAsNested:v,backdropAppearance:O,unmountOnClose:x,mountNode:n.mountNode,root:st(An("div",{tabIndex:-1,role:i==="alert"?"alertdialog":"dialog","aria-modal":i!=="non-modal","aria-labelledby":n["aria-label"]?void 0:y,"aria-hidden":!x&&!p?!0:void 0,...n,...m,onKeyDown:z,ref:Im(r,l,g)}),{elementType:"div"}),backdropMotion:E1(n.backdropMotion,{elementType:im,defaultProps:{appear:x,visible:p}}),transitionStatus:void 0}},rw=(n,r)=>an(q1,{mountNode:n.mountNode,children:[n.backdrop&&n.backdropMotion&&we(n.backdropMotion,{children:we(n.backdrop,{})}),we(T1,{children:we(G1,{value:r.dialogSurface,children:we(n.root,{})})})]}),um={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},lw=Ze("r1u3t6p6","r5coedp",{r:[".r1u3t6p6{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;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r1u3t6p6:focus{outline-style:none;}",".r1u3t6p6:focus-visible{outline-style:none;}",".r1u3t6p6[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1u3t6p6[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);}',".r5coedp{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;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r5coedp:focus{outline-style:none;}",".r5coedp:focus-visible{outline-style:none;}",".r5coedp[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r5coedp[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){.r1u3t6p6[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){.r1u3t6p6{max-width:100vw;}}","@media screen and (max-height: 359px){.r1u3t6p6{overflow-y:auto;padding-right:calc(24px - 4px);border-right-width:4px;border-top-width:4px;border-bottom-width:4px;}}","@media (forced-colors: active){.r5coedp[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){.r5coedp{max-width:100vw;}}","@media screen and (max-height: 359px){.r5coedp{overflow-y:auto;padding-left:calc(24px - 4px);border-left-width:4px;border-top-width:4px;border-bottom-width:4px;}}"]}),iw=Ze("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),uw=ke({nestedDialogBackdrop:{De3pzq:"f1c21dwh"},dialogHidden:{Bkecrkj:"f1aehjj5"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1aehjj5{pointer-events:none;}"]}),cw=n=>{"use no memo";const{root:r,backdrop:l,open:i,unmountOnClose:s,treatBackdropAsNested:f,backdropAppearance:v}=n,m=lw(),g=iw(),h=uw(),y=v?v==="transparent":f,p=!s&&!i;return r.className=be(um.root,m,p&&h.dialogHidden,r.className),l&&(l.className=be(um.backdrop,g,p&&h.dialogHidden,y&&h.nestedDialogBackdrop,l.className)),n};function sw(n){return{dialogSurface:!0}}const V1=A.forwardRef((n,r)=>{const l=aw(n,r),i=sw();return cw(l),Ot("useDialogSurfaceStyles_unstable")(l),rw(l,i)});V1.displayName="DialogSurface";const fw=(n,r)=>{var l;return{components:{root:"div"},root:st(An((l=n.as)!==null&&l!==void 0?l:"div",{ref:r,...n}),{elementType:"div"})}},dw=n=>we(n.root,{}),vw={root:"fui-DialogContent"},hw=Ze("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;}}"]}),mw=n=>{"use no memo";const r=hw();return n.root.className=be(vw.root,r,n.root.className),n},Y1=A.forwardRef((n,r)=>{const l=fw(n,r);return mw(l),Ot("useDialogContentStyles_unstable")(l),dw(l)});Y1.displayName="DialogContent";const ls={displayName:"Lago",email:"jose@lago.dev"},ti=[{id:"1",from:"jose@lago.dev",fromName:"Lago",to:"lago@example.com",subject:"Sprint planning — Thursday 10:00",body:`Hola, - -Vamos a planificar el sprint del mes que viene el jueves a las 10:00. Necesito que reviseis los temas pendientes del backlog. - -Un saludo`,receivedAt:new Date(Date.now()-1e3*60*30).toISOString(),isRead:!1,folder:"inbox"},{id:"2",from:"maria@partner.com",fromName:"María García",to:"lago@example.com",subject:"RE: Presupuesto proyecto digital 2026",body:`Hola Lago, - -Gracias por la información. He revisado el presupuesto y parece correcto. Adjunto la propuesta final. - -¿Podemos hablar mañana por teléfono? - -Saludos`,receivedAt:new Date(Date.now()-1e3*60*60*2).toISOString(),isRead:!1,folder:"inbox"},{id:"3",from:"devops@company.com",fromName:"DevOps Team",to:"lago@example.com",subject:"[Alert] Production deployment failed — pipeline #4821",body:`Pipeline #4821 failed at stage: build - -Error: npm ERR! code ETARGET -npm ERR! notarget No valid target for react@19.0.1 - -View logs: https://devops.company.com/pipelines/4821`,receivedAt:new Date(Date.now()-1e3*60*60*5).toISOString(),isRead:!0,folder:"inbox"},{id:"4",from:"lago@example.com",fromName:"Lago",to:"equipo@company.com",subject:"Resumen semanal — Power Platform",body:`Equipo, - -Aquí va el resumen de lo hecho esta semana: - -• Demo de code apps publicada en el blog -• Connector de Outlook integrado -• Migración del backlog a Dataverse completada - -Para la semana que viene: -• Terminar la integración con Teams -• Revisar los permisos de producción - -Saludos`,receivedAt:new Date(Date.now()-1e3*60*60*24).toISOString(),isRead:!0,folder:"sent"},{id:"5",from:"newsletter@techweekly.com",fromName:"Tech Weekly",to:"lago@example.com",subject:"This Week in AI & Power Platform — Issue #47",body:`Top stories this week: - -1. Microsoft announces GPT-5 integration for Copilot Studio -2. Power Apps code apps reach 1,400+ connectors milestone -3. Dataverse 2026 Wave 1 features now generally available - -Read more inside...`,receivedAt:new Date(Date.now()-1e3*60*60*48).toISOString(),isRead:!0,folder:"inbox"},{id:"6",from:"noreply@linkedin.com",fromName:"LinkedIn",to:"lago@example.com",subject:"5 people viewed your profile this week",body:`Your profile got noticed! - -5 people in Austria viewed your profile in the past week, including recruiters and hiring managers. - -View who they are →`,receivedAt:new Date(Date.now()-1e3*60*60*72).toISOString(),isRead:!0,folder:"inbox"},{id:"7",from:"lago@example.com",fromName:"Lago",to:"draft",subject:"Borrador: Propuesta reunión trimestral",body:"Borrador de la propuesta para la reunión trimestral con dirección...",receivedAt:new Date(Date.now()-1e3*60*60*6).toISOString(),isRead:!0,folder:"drafts"}];class gw{delay(r){return new Promise(l=>setTimeout(l,r))}async getProfile(){return await this.delay(300),ls}async getMessages(r="inbox"){return await this.delay(600),ti.filter(l=>l.folder===r)}async getMessage(r){return await this.delay(200),ti.find(l=>l.id===r)}async sendMessage(r){await this.delay(800);const l={id:Date.now().toString(),from:ls.email,fromName:ls.displayName,to:r.to||"",subject:r.subject||"(Sin asunto)",body:r.body||"",receivedAt:new Date().toISOString(),isRead:!0,folder:"sent"};return ti.push(l),l}async markAsRead(r){await this.delay(100);const l=ti.find(i=>i.id===r);l&&(l.isRead=!0)}}const is=new gw,Q1=Qy({appShell:{display:"flex",height:"100vh",width:"100vw",overflow:"hidden"},navRail:{width:"64px",backgroundColor:ae.colorNeutralBackground2,display:"flex",flexDirection:"column",alignItems:"center",paddingTop:"12px",paddingBottom:"12px",gap:"8px",borderRight:`1px solid ${ae.colorNeutralStroke2}`,flexShrink:0},navIcon:{width:"40px",height:"40px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"8px",cursor:"pointer",color:ae.colorNeutralForeground2,transition:"all 150ms ease",border:"none",background:"transparent",fontSize:"0"},navIconActive:{backgroundColor:ae.colorBrandBackground,color:ae.colorNeutralForegroundInverted},toolbar:{display:"flex",alignItems:"center",gap:"8px",padding:"8px 16px",borderBottom:`1px solid ${ae.colorNeutralStroke2}`,backgroundColor:ae.colorNeutralBackground2,flexShrink:0},toolbarSpacer:{flex:1},contentArea:{flex:1,display:"flex",overflow:"hidden"},folderPanel:{width:"220px",borderRight:`1px solid ${ae.colorNeutralStroke2}`,backgroundColor:ae.colorNeutralBackground2,overflowY:"auto",padding:"8px 0",flexShrink:0},folderItem:{display:"flex",alignItems:"center",gap:"10px",padding:"8px 16px",cursor:"pointer",fontSize:"14px",color:ae.colorNeutralForeground2,transition:"all 100ms",border:"none",background:"transparent",width:"100%",textAlign:"left",borderRadius:"0"},folderItemActive:{backgroundColor:ae.colorBrandBackground2,color:ae.colorBrandForeground1,borderRight:`3px solid ${ae.colorBrandForeground1}`},folderBadge:{marginLeft:"auto"},emailListPanel:{width:"340px",borderRight:`1px solid ${ae.colorNeutralStroke2}`,overflowY:"auto",flexShrink:0,backgroundColor:ae.colorNeutralBackground1},emailItem:{padding:"12px 16px",borderBottom:`1px solid ${ae.colorNeutralStroke2}`,cursor:"pointer",transition:"background 100ms",backgroundColor:ae.colorNeutralBackground1},emailItemUnread:{borderLeft:`3px solid ${ae.colorBrandForeground1}`},emailItemSelected:{backgroundColor:ae.colorBrandBackground2},emailFrom:{fontSize:"14px",fontWeight:"600",color:ae.colorNeutralForeground1,display:"flex",alignItems:"center",gap:"6px"},emailSubject:{fontSize:"13px",color:ae.colorNeutralForeground1,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",marginTop:"2px"},emailPreview:{fontSize:"12px",color:ae.colorNeutralForeground3,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",marginTop:"2px"},emailTime:{fontSize:"11px",color:ae.colorNeutralForeground3,marginLeft:"auto",flexShrink:0},detailPanel:{flex:1,overflowY:"auto",padding:"24px 32px",backgroundColor:ae.colorNeutralBackground1},detailHeader:{display:"flex",gap:"14px",alignItems:"flex-start",marginBottom:"20px"},detailMeta:{flex:1},detailSubject:{fontSize:"18px",fontWeight:"700",color:ae.colorNeutralForeground1,marginTop:"4px"},detailBody:{fontSize:"14px",lineHeight:"1.7",color:ae.colorNeutralForeground1,whiteSpace:"pre-wrap",marginTop:"16px"},detailActions:{display:"flex",gap:"8px",marginTop:"24px"},emptyState:{flex:1,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"12px",color:ae.colorNeutralForeground3,backgroundColor:ae.colorNeutralBackground1},composeField:{display:"flex",flexDirection:"column",gap:"4px",padding:"8px 0"},composeFooter:{display:"flex",gap:"8px",paddingTop:"16px"},connectionsPanel:{flex:1,overflowY:"auto",padding:"32px",backgroundColor:ae.colorNeutralBackground1},connCard:{backgroundColor:ae.colorNeutralBackground2,border:`1px solid ${ae.colorNeutralStroke2}`,borderRadius:"8px",padding:"16px",transition:"all 150ms"},connCode:{background:"#1a1a2e",borderRadius:"6px",padding:"16px 20px",fontFamily:"monospace",fontSize:"13px",color:"#a0a0b0",lineHeight:1.8}}),cm=[{id:"inbox",name:"Bandeja de entrada",icon:"📥",unreadCount:4},{id:"sent",name:"Enviados",icon:"📤",unreadCount:0},{id:"drafts",name:"Borradores",icon:"📝",unreadCount:1},{id:"trash",name:"Papelera",icon:"🗑️",unreadCount:0}];function bw(n){const r=new Date(n),i=new Date().getTime()-r.getTime(),s=Math.floor(i/6e4);if(s<1)return"Ahora";if(s<60)return`${s}m`;const f=Math.floor(s/60);return f<24?`${f}h`:r.toLocaleDateString("es-ES",{day:"numeric",month:"short"})}function sm(n){return n.split(" ").map(r=>r[0]).slice(0,2).join("").toUpperCase()}function fm(n){const r=["#D83B01","#A43751","#498205","#008272","#005CC5","#5C2D91","#004078","#B4009E"];let l=0;for(let i=0;i{y(!0);try{const W=await is.getMessages(i);v(W),g(null)}finally{y(!1)}},[i]);A.useEffect(()=>{r==="mail"&&G()},[r,i,G]);const le=async W=>{g(W),W.isRead||(await is.markAsRead(W.id),v(pe=>pe.map(at=>at.id===W.id?{...at,isRead:!0}:at)))},Xe=async()=>{if(!(!k||!D)){Y(!0);try{await is.sendMessage({to:k,subject:D,body:R}),z(!1),O(""),U(""),V("")}finally{Y(!1)}}},Ue=f.filter(W=>W.subject.toLowerCase().includes(p.toLowerCase())||W.fromName.toLowerCase().includes(p.toLowerCase())),et=cm.find(W=>W.id===i);return H.jsxs("div",{className:n.appShell,children:[H.jsxs("div",{className:n.navRail,children:[H.jsx("button",{className:`${n.navIcon} ${r==="mail"?n.navIconActive:""}`,onClick:()=>l("mail"),title:"Correo",children:H.jsx(Eh,{fontSize:20})}),H.jsx("button",{className:`${n.navIcon} ${r==="connections"?n.navIconActive:""}`,onClick:()=>l("connections"),title:"Conexiones",children:H.jsx(m3,{fontSize:20})}),H.jsx("div",{style:{flex:1}}),H.jsx("button",{className:n.navIcon,onClick:()=>z(!0),title:"Redactar",children:H.jsx(as,{fontSize:20})})]}),H.jsxs("div",{style:{flex:1,display:"flex",flexDirection:"column",overflow:"hidden"},children:[H.jsxs("div",{className:n.toolbar,children:[H.jsx(Bn,{appearance:"primary",icon:H.jsx(as,{}),onClick:()=>z(!0),children:"Redactar"}),H.jsx(Bn,{appearance:"subtle",icon:H.jsx(Qx,{}),onClick:G,children:"Recargar"}),H.jsxs("div",{style:{flex:1,position:"relative"},children:[H.jsx(Yx,{style:{position:"absolute",left:10,top:10,color:ae.colorNeutralForeground3,pointerEvents:"none"}}),H.jsx(ii,{placeholder:"Buscar correos...",value:p,onChange:(W,pe)=>x(pe.value),style:{width:"100%",paddingLeft:"32px"}})]})]}),H.jsx("div",{className:n.contentArea,children:r==="mail"?H.jsxs(H.Fragment,{children:[H.jsx("div",{className:n.folderPanel,children:cm.map(W=>H.jsxs("button",{className:`${n.folderItem} ${i===W.id?n.folderItemActive:""}`,onClick:()=>s(W.id),children:[H.jsx("span",{style:{fontSize:"16px"},children:W.id==="inbox"?H.jsx(Vx,{fontSize:16}):W.id==="sent"?H.jsx(Jl,{fontSize:16}):W.id==="drafts"?H.jsx(as,{fontSize:16}):"🗑️"}),H.jsx("span",{children:W.name}),W.unreadCount>0&&H.jsx(Hs,{className:n.folderBadge,appearance:"filled",color:"brand",size:"small",children:W.unreadCount})]},W.id))}),H.jsx("div",{className:n.emailListPanel,children:h?H.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:"40px"},children:H.jsx(U1,{})}):Ue.length===0?H.jsxs("div",{className:n.emptyState,children:[H.jsx(Eh,{fontSize:40,style:{opacity:.4}}),H.jsxs(Qt,{children:["No hay correos en ",et.name]})]}):Ue.map(W=>H.jsxs("div",{className:`${n.emailItem} ${W.isRead?"":n.emailItemUnread} ${(m==null?void 0:m.id)===W.id?n.emailItemSelected:""}`,onClick:()=>le(W),children:[H.jsxs("div",{className:n.emailFrom,children:[H.jsx(ys,{name:W.fromName,initials:sm(W.fromName),size:28,badge:W.isRead?void 0:{status:"available"},style:{backgroundColor:fm(W.fromName)}}),H.jsx("span",{children:W.fromName}),H.jsx("span",{className:n.emailTime,children:bw(W.receivedAt)})]}),H.jsx("div",{className:n.emailSubject,children:W.subject}),H.jsxs("div",{className:n.emailPreview,children:[W.body.substring(0,60),"…"]})]},W.id))}),m?H.jsxs("div",{className:n.detailPanel,children:[H.jsxs("div",{className:n.detailHeader,children:[H.jsx(ys,{name:m.fromName,initials:sm(m.fromName),size:40,style:{backgroundColor:fm(m.fromName)}}),H.jsxs("div",{className:n.detailMeta,children:[H.jsx(Qt,{weight:"semibold",size:300,children:m.fromName}),H.jsx(Qt,{className:n.detailSubject,children:m.subject}),H.jsx(Qt,{size:200,style:{color:ae.colorNeutralForeground3,marginTop:"2px"},children:new Date(m.receivedAt).toLocaleString("es-ES",{day:"numeric",month:"long",year:"numeric",hour:"2-digit",minute:"2-digit"})})]})]}),H.jsx(Fs,{}),H.jsx("div",{className:n.detailBody,children:m.body}),H.jsxs("div",{className:n.detailActions,children:[H.jsx(Bn,{appearance:"primary",icon:H.jsx(Jl,{}),onClick:()=>{O(m.from),U("Re: "+m.subject),z(!0)},children:"Responder"}),H.jsx(Bn,{appearance:"subtle",icon:H.jsx(Jl,{}),onClick:()=>{O(m.from),U(m.subject),z(!0)},children:"Reenviar"})]})]}):H.jsxs("div",{className:n.emptyState,children:[H.jsx(Xx,{fontSize:48,style:{opacity:.25,color:ae.colorNeutralForeground3}}),H.jsx(Qt,{size:400,style:{opacity:.5},children:"Selecciona un correo para leerlo"})]})]}):H.jsx(yw,{})})]}),H.jsx(Z1,{open:_,onOpenChange:(W,pe)=>z(pe.open),children:H.jsx(V1,{children:H.jsx(X1,{children:H.jsxs(Y1,{children:[H.jsxs("div",{style:{padding:"8px 0",display:"flex",flexDirection:"column",gap:"4px"},children:[H.jsxs("div",{className:n.composeField,children:[H.jsx(pa,{htmlFor:"compose-to",children:"Para"}),H.jsx(ii,{id:"compose-to",placeholder:"destinatario@ejemplo.com",value:k,onChange:(W,pe)=>O(pe.value)})]}),H.jsxs("div",{className:n.composeField,children:[H.jsx(pa,{htmlFor:"compose-subject",children:"Asunto"}),H.jsx(ii,{id:"compose-subject",placeholder:"Asunto del mensaje",value:D,onChange:(W,pe)=>U(pe.value)})]}),H.jsxs("div",{className:n.composeField,children:[H.jsx(pa,{htmlFor:"compose-body",children:"Mensaje"}),H.jsx(L1,{id:"compose-body",placeholder:"Escribe tu mensaje aquí...",value:R,onChange:(W,pe)=>V(pe.value),style:{minHeight:"160px"}})]})]}),H.jsxs("div",{className:n.composeFooter,children:[H.jsx(Bn,{appearance:"primary",icon:H.jsx(Jl,{}),onClick:Xe,disabled:X||!k||!D,children:X?"Enviando…":"Enviar"}),H.jsx(Bn,{appearance:"subtle",onClick:()=>z(!1),children:"Descartar"})]})]})})})})]})}function yw(){const n=Q1(),r=[{id:"1",name:"shared_outlook",displayName:"Outlook",connector:"Microsoft Outlook",status:"connected",color:"#0078D4"},{id:"2",name:"shared_office365",displayName:"Office 365 Users",connector:"Office 365 Users",status:"connected",color:"#D83B01"},{id:"3",name:"shared_dataverse",displayName:"Dataverse",connector:"Microsoft Dataverse",status:"connected",color:"#7719BA"},{id:"4",name:"shared_azuresql",displayName:"Azure SQL",connector:"Azure SQL Database",status:"disconnected",color:"#0078D4"}];return H.jsxs("div",{className:n.connectionsPanel,children:[H.jsx(Qt,{size:600,style:{marginBottom:"4px",display:"block",fontWeight:"700"},children:"Connection references"}),H.jsx(Qt,{size:300,style:{color:ae.colorNeutralForeground3,marginBottom:"24px",display:"block"},children:"Connection references are solution components that point to specific connections. Bind your code app to a reference instead of a direct connection to enable environment promotion."}),H.jsx("div",{style:{background:ae.colorNeutralBackground2,border:`1px solid ${ae.colorNeutralStroke2}`,borderRadius:"8px",padding:"20px 24px",marginBottom:"24px",display:"flex",alignItems:"center",gap:"12px",flexWrap:"wrap"},children:[{label:"Tu Code App",bg:ae.colorBrandBackground,color:ae.colorBrandForeground1},{label:"PAC Client",bg:ae.colorNeutralBackground4,color:ae.colorNeutralForeground1},{label:"Connection Ref",bg:ae.colorNeutralBackground4,color:ae.colorNeutralForeground1},{label:"Connection",bg:ae.colorNeutralBackground4,color:ae.colorNeutralForeground1},{label:"Outlook / Dataverse",bg:"#7719BA",color:"#fff"}].map((l,i)=>H.jsxs(_s.Fragment,{children:[H.jsx("div",{style:{background:l.bg,color:l.color,padding:"8px 14px",borderRadius:"6px",fontSize:"13px",fontWeight:"600",whiteSpace:"nowrap"},children:l.label}),i<4&&H.jsx("div",{style:{color:ae.colorNeutralForeground3,fontSize:"16px"},children:"→"})]},i))}),H.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(280px, 1fr))",gap:"12px",marginBottom:"32px"},children:r.map(l=>H.jsxs("div",{style:{background:ae.colorNeutralBackground2,border:`1px solid ${ae.colorNeutralStroke2}`,borderRadius:"8px",padding:"16px",opacity:l.status==="connected"?1:.55},children:[H.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px",marginBottom:"8px"},children:[H.jsx("div",{style:{width:"36px",height:"36px",borderRadius:"6px",background:l.color,display:"flex",alignItems:"center",justifyContent:"center",color:"white",fontSize:"16px",fontWeight:"700"},children:l.displayName[0]}),H.jsxs("div",{style:{flex:1},children:[H.jsx(Qt,{weight:"semibold",size:300,children:l.displayName}),H.jsx(Qt,{size:200,style:{color:ae.colorNeutralForeground3},children:l.connector})]}),H.jsx(Hs,{appearance:"filled",color:l.status==="connected"?"success":"danger",size:"small",children:l.status==="connected"?"Conectado":"Desconectado"})]}),H.jsx(Qt,{size:200,style:{color:ae.colorNeutralForeground3,fontFamily:"monospace"},children:l.name})]},l.id))}),H.jsx(Fs,{style:{margin:"0 0 24px"}}),H.jsx(Qt,{size:400,style:{marginBottom:"12px",display:"block",fontWeight:"600"},children:"PAC CLI commands"}),H.jsxs("div",{className:n.connCode,children:[H.jsx("div",{children:H.jsx("span",{style:{color:"#6b9fff"},children:"# Listar conexiones disponibles"})}),H.jsx("div",{children:H.jsx("span",{style:{color:"#e0e0e0"},children:"pac connection list"})}),H.jsx("br",{}),H.jsx("div",{children:H.jsx("span",{style:{color:"#6b9fff"},children:"# Añadir Outlook como data source"})}),H.jsx("div",{children:H.jsx("span",{style:{color:"#e0e0e0"},children:"pac code add-data-source -a shared_outlook ^"})}),H.jsx("div",{children:H.jsx("span",{style:{color:"#e0e0e0",paddingLeft:"24px"},children:"-c aaaaaaaa-0000-1111-bbbb-cccccccccccc"})}),H.jsx("br",{}),H.jsx("div",{children:H.jsx("span",{style:{color:"#6b9fff"},children:"# Añadir Dataverse (tabular)"})}),H.jsx("div",{children:H.jsx("span",{style:{color:"#e0e0e0"},children:"pac code add-data-source -a shared_dataverse ^"})}),H.jsx("div",{children:H.jsx("span",{style:{color:"#e0e0e0",paddingLeft:"24px"},children:"-c bbbbbbbb-2222-3333-cccc-dddddddddddd ^"})}),H.jsx("div",{children:H.jsx("span",{style:{color:"#e0e0e0",paddingLeft:"24px"},children:"-t accounts -d default"})})]})]})}Ep.createRoot(document.getElementById("root")).render(H.jsx(_s.StrictMode,{children:H.jsx(pw,{})})); diff --git a/dist/assets/index-DQ2nyFq4.js b/dist/assets/index-DQ2nyFq4.js new file mode 100644 index 00000000..c72cf45b --- /dev/null +++ b/dist/assets/index-DQ2nyFq4.js @@ -0,0 +1,145 @@ +function nv(o,n){for(var a=0;al[s]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))l(s);new MutationObserver(s=>{for(const f of s)if(f.type==="childList")for(const d of f.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&l(d)}).observe(document,{childList:!0,subtree:!0});function a(s){const f={};return s.integrity&&(f.integrity=s.integrity),s.referrerPolicy&&(f.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?f.credentials="include":s.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function l(s){if(s.ep)return;s.ep=!0;const f=a(s);fetch(s.href,f)}})();function Rf(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var Hu={exports:{}},Ja={};/** + * @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 m1;function d5(){if(m1)return Ja;m1=1;var o=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function a(l,s,f){var d=null;if(f!==void 0&&(d=""+f),s.key!==void 0&&(d=""+s.key),"key"in s){f={};for(var g in s)g!=="key"&&(f[g]=s[g])}else f=s;return s=f.ref,{$$typeof:o,type:l,key:d,ref:s!==void 0?s:null,props:f}}return Ja.Fragment=n,Ja.jsx=a,Ja.jsxs=a,Ja}var v1;function g5(){return v1||(v1=1,Hu.exports=d5()),Hu.exports}var P=g5();const h5=Rf(P),m5=nv({__proto__:null,default:h5},[P]);var Lu={exports:{}},he={};/** + * @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 p1;function v5(){if(p1)return he;p1=1;var o=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),d=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),x=Symbol.iterator;function S(T){return T===null||typeof T!="object"?null:(T=x&&T[x]||T["@@iterator"],typeof T=="function"?T:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},B=Object.assign,A={};function N(T,G,K){this.props=T,this.context=G,this.refs=A,this.updater=K||w}N.prototype.isReactComponent={},N.prototype.setState=function(T,G){if(typeof T!="object"&&typeof T!="function"&&T!=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,T,G,"setState")},N.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};function D(){}D.prototype=N.prototype;function j(T,G,K){this.props=T,this.context=G,this.refs=A,this.updater=K||w}var L=j.prototype=new D;L.constructor=j,B(L,N.prototype),L.isPureReactComponent=!0;var Z=Array.isArray;function H(){}var U={H:null,A:null,T:null,S:null},ie=Object.prototype.hasOwnProperty;function Be(T,G,K){var J=K.ref;return{$$typeof:o,type:T,key:G,ref:J!==void 0?J:null,props:K}}function be(T,G){return Be(T.type,G,T.props)}function ye(T){return typeof T=="object"&&T!==null&&T.$$typeof===o}function ce(T){var G={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function(K){return G[K]})}var pe=/\/+/g;function Q(T,G){return typeof T=="object"&&T!==null&&T.key!=null?ce(""+T.key):G.toString(36)}function Ee(T){switch(T.status){case"fulfilled":return T.value;case"rejected":throw T.reason;default:switch(typeof T.status=="string"?T.then(H,H):(T.status="pending",T.then(function(G){T.status==="pending"&&(T.status="fulfilled",T.value=G)},function(G){T.status==="pending"&&(T.status="rejected",T.reason=G)})),T.status){case"fulfilled":return T.value;case"rejected":throw T.reason}}throw T}function q(T,G,K,J,se){var xe=typeof T;(xe==="undefined"||xe==="boolean")&&(T=null);var Oe=!1;if(T===null)Oe=!0;else switch(xe){case"bigint":case"string":case"number":Oe=!0;break;case"object":switch(T.$$typeof){case o:case n:Oe=!0;break;case b:return Oe=T._init,q(Oe(T._payload),G,K,J,se)}}if(Oe)return se=se(T),Oe=J===""?"."+Q(T,0):J,Z(se)?(K="",Oe!=null&&(K=Oe.replace(pe,"$&/")+"/"),q(se,G,K,"",function(aa){return aa})):se!=null&&(ye(se)&&(se=be(se,K+(se.key==null||T&&T.key===se.key?"":(""+se.key).replace(pe,"$&/")+"/")+Oe)),G.push(se)),1;Oe=0;var kt=J===""?".":J+":";if(Z(T))for(var Je=0;Je>>1,ke=q[oe];if(0>>1;oes(K,ee))Js(se,K)?(q[oe]=se,q[J]=ee,oe=J):(q[oe]=K,q[G]=ee,oe=G);else if(Js(se,ee))q[oe]=se,q[J]=ee,oe=J;else break e}}return W}function s(q,W){var ee=q.sortIndex-W.sortIndex;return ee!==0?ee:q.id-W.id}if(o.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;o.unstable_now=function(){return f.now()}}else{var d=Date,g=d.now();o.unstable_now=function(){return d.now()-g}}var v=[],h=[],b=1,p=null,x=3,S=!1,w=!1,B=!1,A=!1,N=typeof setTimeout=="function"?setTimeout:null,D=typeof clearTimeout=="function"?clearTimeout:null,j=typeof setImmediate<"u"?setImmediate:null;function L(q){for(var W=a(h);W!==null;){if(W.callback===null)l(h);else if(W.startTime<=q)l(h),W.sortIndex=W.expirationTime,n(v,W);else break;W=a(h)}}function Z(q){if(B=!1,L(q),!w)if(a(v)!==null)w=!0,H||(H=!0,ce());else{var W=a(h);W!==null&&Ee(Z,W.startTime-q)}}var H=!1,U=-1,ie=5,Be=-1;function be(){return A?!0:!(o.unstable_now()-Beq&&be());){var oe=p.callback;if(typeof oe=="function"){p.callback=null,x=p.priorityLevel;var ke=oe(p.expirationTime<=q);if(q=o.unstable_now(),typeof ke=="function"){p.callback=ke,L(q),W=!0;break t}p===a(v)&&l(v),L(q)}else l(v);p=a(v)}if(p!==null)W=!0;else{var T=a(h);T!==null&&Ee(Z,T.startTime-q),W=!1}}break e}finally{p=null,x=ee,S=!1}W=void 0}}finally{W?ce():H=!1}}}var ce;if(typeof j=="function")ce=function(){j(ye)};else if(typeof MessageChannel<"u"){var pe=new MessageChannel,Q=pe.port2;pe.port1.onmessage=ye,ce=function(){Q.postMessage(null)}}else ce=function(){N(ye,0)};function Ee(q,W){U=N(function(){q(o.unstable_now())},W)}o.unstable_IdlePriority=5,o.unstable_ImmediatePriority=1,o.unstable_LowPriority=4,o.unstable_NormalPriority=3,o.unstable_Profiling=null,o.unstable_UserBlockingPriority=2,o.unstable_cancelCallback=function(q){q.callback=null},o.unstable_forceFrameRate=function(q){0>q||125oe?(q.sortIndex=ee,n(h,q),a(v)===null&&q===a(h)&&(B?(D(U),U=-1):B=!0,Ee(Z,ee-oe))):(q.sortIndex=ke,n(v,q),w||S||(w=!0,H||(H=!0,ce()))),q},o.unstable_shouldYield=be,o.unstable_wrapCallback=function(q){var W=x;return function(){var ee=x;x=W;try{return q.apply(this,arguments)}finally{x=ee}}}})(Gu)),Gu}var x1;function av(){return x1||(x1=1,Uu.exports=p5()),Uu.exports}var Vu={exports:{}},xt={};/** + * @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 S1;function b5(){if(S1)return xt;S1=1;var o=Df();function n(v){var h="https://react.dev/errors/"+v;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(o)}catch(n){console.error(n)}}return o(),Vu.exports=b5(),Vu.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 B1;function y5(){if(B1)return $a;B1=1;var o=av(),n=Df(),a=iv();function l(e){var t="https://react.dev/errors/"+e;if(1ke||(e.current=oe[ke],oe[ke]=null,ke--)}function K(e,t){ke++,oe[ke]=e.current,e.current=t}var J=T(null),se=T(null),xe=T(null),Oe=T(null);function kt(e,t){switch(K(xe,t),K(se,e),K(J,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Fh(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Fh(t),e=Hh(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}G(J),K(J,e)}function Je(){G(J),G(se),G(xe)}function aa(e){e.memoizedState!==null&&K(Oe,e);var t=J.current,r=Hh(t,e.type);t!==r&&(K(se,e),K(J,r))}function pi(e){se.current===e&&(G(J),G(se)),Oe.current===e&&(G(Oe),Ya._currentValue=ee)}var Sc,hd;function Cr(e){if(Sc===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);Sc=t&&t[1]||"",hd=-1)":-1c||k[i]!==R[c]){var V=` +`+k[i].replace(" at new "," at ");return e.displayName&&V.includes("")&&(V=V.replace("",e.displayName)),V}while(1<=i&&0<=c);break}}}finally{wc=!1,Error.prepareStackTrace=r}return(r=e?e.displayName||e.name:"")?Cr(r):""}function Gb(e,t){switch(e.tag){case 26:case 27:case 5:return Cr(e.type);case 16:return Cr("Lazy");case 13:return e.child!==t&&t!==null?Cr("Suspense Fallback"):Cr("Suspense");case 19:return Cr("SuspenseList");case 0:case 15:return Bc(e.type,!1);case 11:return Bc(e.type.render,!1);case 1:return Bc(e.type,!0);case 31:return Cr("Activity");default:return""}}function md(e){try{var t="",r=null;do t+=Gb(e,r),r=e,e=e.return;while(e);return t}catch(i){return` +Error generating stack: `+i.message+` +`+i.stack}}var kc=Object.prototype.hasOwnProperty,_c=o.unstable_scheduleCallback,zc=o.unstable_cancelCallback,Vb=o.unstable_shouldYield,Zb=o.unstable_requestPaint,Ft=o.unstable_now,Xb=o.unstable_getCurrentPriorityLevel,vd=o.unstable_ImmediatePriority,pd=o.unstable_UserBlockingPriority,bi=o.unstable_NormalPriority,Ib=o.unstable_LowPriority,bd=o.unstable_IdlePriority,Yb=o.log,Wb=o.unstable_setDisableYieldValue,ia=null,Ht=null;function er(e){if(typeof Yb=="function"&&Wb(e),Ht&&typeof Ht.setStrictMode=="function")try{Ht.setStrictMode(ia,e)}catch{}}var Lt=Math.clz32?Math.clz32:Jb,Kb=Math.log,Qb=Math.LN2;function Jb(e){return e>>>=0,e===0?32:31-(Kb(e)/Qb|0)|0}var yi=256,xi=262144,Si=4194304;function Rr(e){var t=e&42;if(t!==0)return t;switch(e&-e){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 e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function wi(e,t,r){var i=e.pendingLanes;if(i===0)return 0;var c=0,u=e.suspendedLanes,m=e.pingedLanes;e=e.warmLanes;var y=i&134217727;return y!==0?(i=y&~u,i!==0?c=Rr(i):(m&=y,m!==0?c=Rr(m):r||(r=y&~e,r!==0&&(c=Rr(r))))):(y=i&~u,y!==0?c=Rr(y):m!==0?c=Rr(m):r||(r=i&~e,r!==0&&(c=Rr(r)))),c===0?0:t!==0&&t!==c&&(t&u)===0&&(u=c&-c,r=t&-t,u>=r||u===32&&(r&4194048)!==0)?t:c}function la(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function $b(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+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 t+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 yd(){var e=Si;return Si<<=1,(Si&62914560)===0&&(Si=4194304),e}function Tc(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function ca(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ey(e,t,r,i,c,u){var m=e.pendingLanes;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=r,e.entangledLanes&=r,e.errorRecoveryDisabledLanes&=r,e.shellSuspendCounter=0;var y=e.entanglements,k=e.expirationTimes,R=e.hiddenUpdates;for(r=m&~r;0"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var iy=/[\n"\\]/g;function Qt(e){return e.replace(iy,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Rc(e,t,r,i,c,u,m,y){e.name="",m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?e.type=m:e.removeAttribute("type"),t!=null?m==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Kt(t)):e.value!==""+Kt(t)&&(e.value=""+Kt(t)):m!=="submit"&&m!=="reset"||e.removeAttribute("value"),t!=null?Dc(e,m,Kt(t)):r!=null?Dc(e,m,Kt(r)):i!=null&&e.removeAttribute("value"),c==null&&u!=null&&(e.defaultChecked=!!u),c!=null&&(e.checked=c&&typeof c!="function"&&typeof c!="symbol"),y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?e.name=""+Kt(y):e.removeAttribute("name")}function Cd(e,t,r,i,c,u,m,y){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(e.type=u),t!=null||r!=null){if(!(u!=="submit"&&u!=="reset"||t!=null)){Cc(e);return}r=r!=null?""+Kt(r):"",t=t!=null?""+Kt(t):r,y||t===e.value||(e.value=t),e.defaultValue=t}i=i??c,i=typeof i!="function"&&typeof i!="symbol"&&!!i,e.checked=y?e.checked:!!i,e.defaultChecked=!!i,m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(e.name=m),Cc(e)}function Dc(e,t,r){t==="number"&&_i(e.ownerDocument)===e||e.defaultValue===""+r||(e.defaultValue=""+r)}function un(e,t,r,i){if(e=e.options,t){t={};for(var c=0;c"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Hc=!1;if(Ro)try{var da={};Object.defineProperty(da,"passive",{get:function(){Hc=!0}}),window.addEventListener("test",da,da),window.removeEventListener("test",da,da)}catch{Hc=!1}var or=null,Lc=null,Ti=null;function Hd(){if(Ti)return Ti;var e,t=Lc,r=t.length,i,c="value"in or?or.value:or.textContent,u=c.length;for(e=0;e=ma),Zd=" ",Xd=!1;function Id(e,t){switch(e){case"keyup":return Dy.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Yd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var hn=!1;function My(e,t){switch(e){case"compositionend":return Yd(t);case"keypress":return t.which!==32?null:(Xd=!0,Zd);case"textInput":return e=t.data,e===Zd&&Xd?null:e;default:return null}}function qy(e,t){if(hn)return e==="compositionend"||!Zc&&Id(e,t)?(e=Hd(),Ti=Lc=or=null,hn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=i}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=o0(r)}}function n0(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?n0(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function a0(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=_i(e.document);t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=_i(e.document)}return t}function Yc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var Zy=Ro&&"documentMode"in document&&11>=document.documentMode,mn=null,Wc=null,ya=null,Kc=!1;function i0(e,t,r){var i=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Kc||mn==null||mn!==_i(i)||(i=mn,"selectionStart"in i&&Yc(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),ya&&ba(ya,i)||(ya=i,i=xl(Wc,"onSelect"),0>=m,c-=m,wo=1<<32-Lt(t)+c|r<ve?(ze=ne,ne=null):ze=ne.sibling;var je=O(E,ne,C[ve],X);if(je===null){ne===null&&(ne=ze);break}e&&ne&&je.alternate===null&&t(E,ne),z=u(je,z,ve),Ae===null?le=je:Ae.sibling=je,Ae=je,ne=ze}if(ve===C.length)return r(E,ne),Ne&&Oo(E,ve),le;if(ne===null){for(;veve?(ze=ne,ne=null):ze=ne.sibling;var kr=O(E,ne,je.value,X);if(kr===null){ne===null&&(ne=ze);break}e&&ne&&kr.alternate===null&&t(E,ne),z=u(kr,z,ve),Ae===null?le=kr:Ae.sibling=kr,Ae=kr,ne=ze}if(je.done)return r(E,ne),Ne&&Oo(E,ve),le;if(ne===null){for(;!je.done;ve++,je=C.next())je=I(E,je.value,X),je!==null&&(z=u(je,z,ve),Ae===null?le=je:Ae.sibling=je,Ae=je);return Ne&&Oo(E,ve),le}for(ne=i(ne);!je.done;ve++,je=C.next())je=F(ne,E,ve,je.value,X),je!==null&&(e&&je.alternate!==null&&ne.delete(je.key===null?ve:je.key),z=u(je,z,ve),Ae===null?le=je:Ae.sibling=je,Ae=je);return e&&ne.forEach(function(f5){return t(E,f5)}),Ne&&Oo(E,ve),le}function Le(E,z,C,X){if(typeof C=="object"&&C!==null&&C.type===B&&C.key===null&&(C=C.props.children),typeof C=="object"&&C!==null){switch(C.$$typeof){case S:e:{for(var le=C.key;z!==null;){if(z.key===le){if(le=C.type,le===B){if(z.tag===7){r(E,z.sibling),X=c(z,C.props.children),X.return=E,E=X;break e}}else if(z.elementType===le||typeof le=="object"&&le!==null&&le.$$typeof===ie&&Vr(le)===z.type){r(E,z.sibling),X=c(z,C.props),_a(X,C),X.return=E,E=X;break e}r(E,z);break}else t(E,z);z=z.sibling}C.type===B?(X=Hr(C.props.children,E.mode,X,C.key),X.return=E,E=X):(X=qi(C.type,C.key,C.props,null,E.mode,X),_a(X,C),X.return=E,E=X)}return m(E);case w:e:{for(le=C.key;z!==null;){if(z.key===le)if(z.tag===4&&z.stateNode.containerInfo===C.containerInfo&&z.stateNode.implementation===C.implementation){r(E,z.sibling),X=c(z,C.children||[]),X.return=E,E=X;break e}else{r(E,z);break}else t(E,z);z=z.sibling}X=rs(C,E.mode,X),X.return=E,E=X}return m(E);case ie:return C=Vr(C),Le(E,z,C,X)}if(Ee(C))return re(E,z,C,X);if(ce(C)){if(le=ce(C),typeof le!="function")throw Error(l(150));return C=le.call(C),ue(E,z,C,X)}if(typeof C.then=="function")return Le(E,z,Vi(C),X);if(C.$$typeof===j)return Le(E,z,Li(E,C),X);Zi(E,C)}return typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint"?(C=""+C,z!==null&&z.tag===6?(r(E,z.sibling),X=c(z,C),X.return=E,E=X):(r(E,z),X=os(C,E.mode,X),X.return=E,E=X),m(E)):r(E,z)}return function(E,z,C,X){try{ka=0;var le=Le(E,z,C,X);return zn=null,le}catch(ne){if(ne===_n||ne===Ui)throw ne;var Ae=Ut(29,ne,null,E.mode);return Ae.lanes=X,Ae.return=E,Ae}finally{}}}var Xr=E0(!0),A0=E0(!1),lr=!1;function ms(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function vs(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function cr(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function sr(e,t,r){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,(Re&2)!==0){var c=i.pending;return c===null?t.next=t:(t.next=c.next,c.next=t),i.pending=t,t=Mi(e),g0(e,null,r),t}return Oi(e,i,t,r),Mi(e)}function za(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194048)!==0)){var i=t.lanes;i&=e.pendingLanes,r|=i,t.lanes=r,Sd(e,r)}}function ps(e,t){var r=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,r===i)){var c=null,u=null;if(r=r.firstBaseUpdate,r!==null){do{var m={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};u===null?c=u=m:u=u.next=m,r=r.next}while(r!==null);u===null?c=u=t:u=u.next=t}else c=u=t;r={baseState:i.baseState,firstBaseUpdate:c,lastBaseUpdate:u,shared:i.shared,callbacks:i.callbacks},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}var bs=!1;function Ta(){if(bs){var e=kn;if(e!==null)throw e}}function Na(e,t,r,i){bs=!1;var c=e.updateQueue;lr=!1;var u=c.firstBaseUpdate,m=c.lastBaseUpdate,y=c.shared.pending;if(y!==null){c.shared.pending=null;var k=y,R=k.next;k.next=null,m===null?u=R:m.next=R,m=k;var V=e.alternate;V!==null&&(V=V.updateQueue,y=V.lastBaseUpdate,y!==m&&(y===null?V.firstBaseUpdate=R:y.next=R,V.lastBaseUpdate=k))}if(u!==null){var I=c.baseState;m=0,V=R=k=null,y=u;do{var O=y.lane&-536870913,F=O!==y.lane;if(F?(_e&O)===O:(i&O)===O){O!==0&&O===Bn&&(bs=!0),V!==null&&(V=V.next={lane:0,tag:y.tag,payload:y.payload,callback:null,next:null});e:{var re=e,ue=y;O=t;var Le=r;switch(ue.tag){case 1:if(re=ue.payload,typeof re=="function"){I=re.call(Le,I,O);break e}I=re;break e;case 3:re.flags=re.flags&-65537|128;case 0:if(re=ue.payload,O=typeof re=="function"?re.call(Le,I,O):re,O==null)break e;I=p({},I,O);break e;case 2:lr=!0}}O=y.callback,O!==null&&(e.flags|=64,F&&(e.flags|=8192),F=c.callbacks,F===null?c.callbacks=[O]:F.push(O))}else F={lane:O,tag:y.tag,payload:y.payload,callback:y.callback,next:null},V===null?(R=V=F,k=I):V=V.next=F,m|=O;if(y=y.next,y===null){if(y=c.shared.pending,y===null)break;F=y,y=F.next,F.next=null,c.lastBaseUpdate=F,c.shared.pending=null}}while(!0);V===null&&(k=I),c.baseState=k,c.firstBaseUpdate=R,c.lastBaseUpdate=V,u===null&&(c.shared.lanes=0),hr|=m,e.lanes=m,e.memoizedState=I}}function j0(e,t){if(typeof e!="function")throw Error(l(191,e));e.call(t)}function C0(e,t){var r=e.callbacks;if(r!==null)for(e.callbacks=null,e=0;eu?u:8;var m=q.T,y={};q.T=y,qs(e,!1,t,r);try{var k=c(),R=q.S;if(R!==null&&R(y,k),k!==null&&typeof k=="object"&&typeof k.then=="function"){var V=e2(k,i);ja(e,t,V,It(e))}else ja(e,t,i,It(e))}catch(I){ja(e,t,{then:function(){},status:"rejected",reason:I},It())}finally{W.p=u,m!==null&&y.types!==null&&(m.types=y.types),q.T=m}}function i2(){}function Os(e,t,r,i){if(e.tag!==5)throw Error(l(476));var c=ug(e).queue;sg(e,c,t,ee,r===null?i2:function(){return fg(e),r(i)})}function ug(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ee,baseState:ee,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ho,lastRenderedState:ee},next:null};var r={};return t.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ho,lastRenderedState:r},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function fg(e){var t=ug(e);t.next===null&&(t=e.alternate.memoizedState),ja(e,t.next.queue,{},It())}function Ms(){return pt(Ya)}function dg(){return et().memoizedState}function gg(){return et().memoizedState}function l2(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var r=It();e=cr(r);var i=sr(t,e,r);i!==null&&(Dt(i,t,r),za(i,t,r)),t={cache:fs()},e.payload=t;return}t=t.return}}function c2(e,t,r){var i=It();r={lane:i,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},tl(e)?mg(t,r):(r=es(e,t,r,i),r!==null&&(Dt(r,e,i),vg(r,t,i)))}function hg(e,t,r){var i=It();ja(e,t,r,i)}function ja(e,t,r,i){var c={lane:i,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null};if(tl(e))mg(t,c);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var m=t.lastRenderedState,y=u(m,r);if(c.hasEagerState=!0,c.eagerState=y,Pt(y,m))return Oi(e,t,c,0),Pe===null&&Di(),!1}catch{}finally{}if(r=es(e,t,c,i),r!==null)return Dt(r,e,i),vg(r,t,i),!0}return!1}function qs(e,t,r,i){if(i={lane:2,revertLane:mu(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},tl(e)){if(t)throw Error(l(479))}else t=es(e,r,i,2),t!==null&&Dt(t,e,2)}function tl(e){var t=e.alternate;return e===me||t!==null&&t===me}function mg(e,t){Nn=Yi=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function vg(e,t,r){if((r&4194048)!==0){var i=t.lanes;i&=e.pendingLanes,r|=i,t.lanes=r,Sd(e,r)}}var Ca={readContext:pt,use:Qi,useCallback:Ye,useContext:Ye,useEffect:Ye,useImperativeHandle:Ye,useLayoutEffect:Ye,useInsertionEffect:Ye,useMemo:Ye,useReducer:Ye,useRef:Ye,useState:Ye,useDebugValue:Ye,useDeferredValue:Ye,useTransition:Ye,useSyncExternalStore:Ye,useId:Ye,useHostTransitionStatus:Ye,useFormState:Ye,useActionState:Ye,useOptimistic:Ye,useMemoCache:Ye,useCacheRefresh:Ye};Ca.useEffectEvent=Ye;var pg={readContext:pt,use:Qi,useCallback:function(e,t){return _t().memoizedState=[e,t===void 0?null:t],e},useContext:pt,useEffect:eg,useImperativeHandle:function(e,t,r){r=r!=null?r.concat([e]):null,$i(4194308,4,ng.bind(null,t,e),r)},useLayoutEffect:function(e,t){return $i(4194308,4,e,t)},useInsertionEffect:function(e,t){$i(4,2,e,t)},useMemo:function(e,t){var r=_t();t=t===void 0?null:t;var i=e();if(Ir){er(!0);try{e()}finally{er(!1)}}return r.memoizedState=[i,t],i},useReducer:function(e,t,r){var i=_t();if(r!==void 0){var c=r(t);if(Ir){er(!0);try{r(t)}finally{er(!1)}}}else c=t;return i.memoizedState=i.baseState=c,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:c},i.queue=e,e=e.dispatch=c2.bind(null,me,e),[i.memoizedState,e]},useRef:function(e){var t=_t();return e={current:e},t.memoizedState=e},useState:function(e){e=As(e);var t=e.queue,r=hg.bind(null,me,t);return t.dispatch=r,[e.memoizedState,r]},useDebugValue:Rs,useDeferredValue:function(e,t){var r=_t();return Ds(r,e,t)},useTransition:function(){var e=As(!1);return e=sg.bind(null,me,e.queue,!0,!1),_t().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,r){var i=me,c=_t();if(Ne){if(r===void 0)throw Error(l(407));r=r()}else{if(r=t(),Pe===null)throw Error(l(349));(_e&127)!==0||F0(i,t,r)}c.memoizedState=r;var u={value:r,getSnapshot:t};return c.queue=u,eg(L0.bind(null,i,u,e),[e]),i.flags|=2048,An(9,{destroy:void 0},H0.bind(null,i,u,r,t),null),r},useId:function(){var e=_t(),t=Pe.identifierPrefix;if(Ne){var r=Bo,i=wo;r=(i&~(1<<32-Lt(i)-1)).toString(32)+r,t="_"+t+"R_"+r,r=Wi++,0<\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof i.is=="string"?m.createElement("select",{is:i.is}):m.createElement("select"),i.multiple?u.multiple=!0:i.size&&(u.size=i.size);break;default:u=typeof i.is=="string"?m.createElement(c,{is:i.is}):m.createElement(c)}}u[mt]=t,u[Nt]=i;e:for(m=t.child;m!==null;){if(m.tag===5||m.tag===6)u.appendChild(m.stateNode);else if(m.tag!==4&&m.tag!==27&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===t)break e;for(;m.sibling===null;){if(m.return===null||m.return===t)break e;m=m.return}m.sibling.return=m.return,m=m.sibling}t.stateNode=u;e:switch(yt(u,c,i),c){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&Po(t)}}return Ve(t),Qs(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,r),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==i&&Po(t);else{if(typeof i!="string"&&t.stateNode===null)throw Error(l(166));if(e=xe.current,Sn(t)){if(e=t.stateNode,r=t.memoizedProps,i=null,c=vt,c!==null)switch(c.tag){case 27:case 5:i=c.memoizedProps}e[mt]=t,e=!!(e.nodeValue===r||i!==null&&i.suppressHydrationWarning===!0||Mh(e.nodeValue,r)),e||ar(t,!0)}else e=Sl(e).createTextNode(i),e[mt]=t,t.stateNode=e}return Ve(t),null;case 31:if(r=t.memoizedState,e===null||e.memoizedState!==null){if(i=Sn(t),r!==null){if(e===null){if(!i)throw Error(l(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(l(557));e[mt]=t}else Lr(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ve(t),e=!1}else r=ls(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),e=!0;if(!e)return t.flags&256?(Vt(t),t):(Vt(t),null);if((t.flags&128)!==0)throw Error(l(558))}return Ve(t),null;case 13:if(i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(c=Sn(t),i!==null&&i.dehydrated!==null){if(e===null){if(!c)throw Error(l(318));if(c=t.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error(l(317));c[mt]=t}else Lr(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ve(t),c=!1}else c=ls(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=c),c=!0;if(!c)return t.flags&256?(Vt(t),t):(Vt(t),null)}return Vt(t),(t.flags&128)!==0?(t.lanes=r,t):(r=i!==null,e=e!==null&&e.memoizedState!==null,r&&(i=t.child,c=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(c=i.alternate.memoizedState.cachePool.pool),u=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(u=i.memoizedState.cachePool.pool),u!==c&&(i.flags|=2048)),r!==e&&r&&(t.child.flags|=8192),il(t,t.updateQueue),Ve(t),null);case 4:return Je(),e===null&&yu(t.stateNode.containerInfo),Ve(t),null;case 10:return qo(t.type),Ve(t),null;case 19:if(G($e),i=t.memoizedState,i===null)return Ve(t),null;if(c=(t.flags&128)!==0,u=i.rendering,u===null)if(c)Da(i,!1);else{if(We!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=Ii(e),u!==null){for(t.flags|=128,Da(i,!1),e=u.updateQueue,t.updateQueue=e,il(t,e),t.subtreeFlags=0,e=r,r=t.child;r!==null;)h0(r,e),r=r.sibling;return K($e,$e.current&1|2),Ne&&Oo(t,i.treeForkCount),t.child}e=e.sibling}i.tail!==null&&Ft()>fl&&(t.flags|=128,c=!0,Da(i,!1),t.lanes=4194304)}else{if(!c)if(e=Ii(u),e!==null){if(t.flags|=128,c=!0,e=e.updateQueue,t.updateQueue=e,il(t,e),Da(i,!0),i.tail===null&&i.tailMode==="hidden"&&!u.alternate&&!Ne)return Ve(t),null}else 2*Ft()-i.renderingStartTime>fl&&r!==536870912&&(t.flags|=128,c=!0,Da(i,!1),t.lanes=4194304);i.isBackwards?(u.sibling=t.child,t.child=u):(e=i.last,e!==null?e.sibling=u:t.child=u,i.last=u)}return i.tail!==null?(e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=Ft(),e.sibling=null,r=$e.current,K($e,c?r&1|2:r&1),Ne&&Oo(t,i.treeForkCount),e):(Ve(t),null);case 22:case 23:return Vt(t),xs(),i=t.memoizedState!==null,e!==null?e.memoizedState!==null!==i&&(t.flags|=8192):i&&(t.flags|=8192),i?(r&536870912)!==0&&(t.flags&128)===0&&(Ve(t),t.subtreeFlags&6&&(t.flags|=8192)):Ve(t),r=t.updateQueue,r!==null&&il(t,r.retryQueue),r=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),i=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),i!==r&&(t.flags|=2048),e!==null&&G(Gr),null;case 24:return r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),qo(ot),Ve(t),null;case 25:return null;case 30:return null}throw Error(l(156,t.tag))}function g2(e,t){switch(as(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return qo(ot),Je(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return pi(t),null;case 31:if(t.memoizedState!==null){if(Vt(t),t.alternate===null)throw Error(l(340));Lr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Vt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(l(340));Lr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return G($e),null;case 4:return Je(),null;case 10:return qo(t.type),null;case 22:case 23:return Vt(t),xs(),e!==null&&G(Gr),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return qo(ot),null;case 25:return null;default:return null}}function Pg(e,t){switch(as(t),t.tag){case 3:qo(ot),Je();break;case 26:case 27:case 5:pi(t);break;case 4:Je();break;case 31:t.memoizedState!==null&&Vt(t);break;case 13:Vt(t);break;case 19:G($e);break;case 10:qo(t.type);break;case 22:case 23:Vt(t),xs(),e!==null&&G(Gr);break;case 24:qo(ot)}}function Oa(e,t){try{var r=t.updateQueue,i=r!==null?r.lastEffect:null;if(i!==null){var c=i.next;r=c;do{if((r.tag&e)===e){i=void 0;var u=r.create,m=r.inst;i=u(),m.destroy=i}r=r.next}while(r!==c)}}catch(y){qe(t,t.return,y)}}function dr(e,t,r){try{var i=t.updateQueue,c=i!==null?i.lastEffect:null;if(c!==null){var u=c.next;i=u;do{if((i.tag&e)===e){var m=i.inst,y=m.destroy;if(y!==void 0){m.destroy=void 0,c=t;var k=r,R=y;try{R()}catch(V){qe(c,k,V)}}}i=i.next}while(i!==u)}}catch(V){qe(t,t.return,V)}}function Ug(e){var t=e.updateQueue;if(t!==null){var r=e.stateNode;try{C0(t,r)}catch(i){qe(e,e.return,i)}}}function Gg(e,t,r){r.props=Yr(e.type,e.memoizedProps),r.state=e.memoizedState;try{r.componentWillUnmount()}catch(i){qe(e,t,i)}}function Ma(e,t){try{var r=e.ref;if(r!==null){switch(e.tag){case 26:case 27:case 5:var i=e.stateNode;break;case 30:i=e.stateNode;break;default:i=e.stateNode}typeof r=="function"?e.refCleanup=r(i):r.current=i}}catch(c){qe(e,t,c)}}function ko(e,t){var r=e.ref,i=e.refCleanup;if(r!==null)if(typeof i=="function")try{i()}catch(c){qe(e,t,c)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof r=="function")try{r(null)}catch(c){qe(e,t,c)}else r.current=null}function Vg(e){var t=e.type,r=e.memoizedProps,i=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":r.autoFocus&&i.focus();break e;case"img":r.src?i.src=r.src:r.srcSet&&(i.srcset=r.srcSet)}}catch(c){qe(e,e.return,c)}}function Js(e,t,r){try{var i=e.stateNode;O2(i,e.type,r,t),i[Nt]=t}catch(c){qe(e,e.return,c)}}function Zg(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&yr(e.type)||e.tag===4}function $s(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Zg(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&yr(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function eu(e,t,r){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).insertBefore(e,t):(t=r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,t.appendChild(e),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Co));else if(i!==4&&(i===27&&yr(e.type)&&(r=e.stateNode,t=null),e=e.child,e!==null))for(eu(e,t,r),e=e.sibling;e!==null;)eu(e,t,r),e=e.sibling}function ll(e,t,r){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(i!==4&&(i===27&&yr(e.type)&&(r=e.stateNode),e=e.child,e!==null))for(ll(e,t,r),e=e.sibling;e!==null;)ll(e,t,r),e=e.sibling}function Xg(e){var t=e.stateNode,r=e.memoizedProps;try{for(var i=e.type,c=t.attributes;c.length;)t.removeAttributeNode(c[0]);yt(t,i,r),t[mt]=e,t[Nt]=r}catch(u){qe(e,e.return,u)}}var Uo=!1,at=!1,tu=!1,Ig=typeof WeakSet=="function"?WeakSet:Set,gt=null;function h2(e,t){if(e=e.containerInfo,wu=Nl,e=a0(e),Yc(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var i=r.getSelection&&r.getSelection();if(i&&i.rangeCount!==0){r=i.anchorNode;var c=i.anchorOffset,u=i.focusNode;i=i.focusOffset;try{r.nodeType,u.nodeType}catch{r=null;break e}var m=0,y=-1,k=-1,R=0,V=0,I=e,O=null;t:for(;;){for(var F;I!==r||c!==0&&I.nodeType!==3||(y=m+c),I!==u||i!==0&&I.nodeType!==3||(k=m+i),I.nodeType===3&&(m+=I.nodeValue.length),(F=I.firstChild)!==null;)O=I,I=F;for(;;){if(I===e)break t;if(O===r&&++R===c&&(y=m),O===u&&++V===i&&(k=m),(F=I.nextSibling)!==null)break;I=O,O=I.parentNode}I=F}r=y===-1||k===-1?null:{start:y,end:k}}else r=null}r=r||{start:0,end:0}}else r=null;for(Bu={focusedElem:e,selectionRange:r},Nl=!1,gt=t;gt!==null;)if(t=gt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,gt=e;else for(;gt!==null;){switch(t=gt,u=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(r=0;r title"))),yt(u,i,r),u[mt]=e,dt(u),i=u;break e;case"link":var m=$h("link","href",c).get(i+(r.href||""));if(m){for(var y=0;yLe&&(m=Le,Le=ue,ue=m);var E=r0(y,ue),z=r0(y,Le);if(E&&z&&(F.rangeCount!==1||F.anchorNode!==E.node||F.anchorOffset!==E.offset||F.focusNode!==z.node||F.focusOffset!==z.offset)){var C=I.createRange();C.setStart(E.node,E.offset),F.removeAllRanges(),ue>Le?(F.addRange(C),F.extend(z.node,z.offset)):(C.setEnd(z.node,z.offset),F.addRange(C))}}}}for(I=[],F=y;F=F.parentNode;)F.nodeType===1&&I.push({element:F,left:F.scrollLeft,top:F.scrollTop});for(typeof y.focus=="function"&&y.focus(),y=0;yr?32:r,q.T=null,r=cu,cu=null;var u=vr,m=Io;if(ct=0,On=vr=null,Io=0,(Re&6)!==0)throw Error(l(331));var y=Re;if(Re|=4,nh(u.current),th(u,u.current,m,r),Re=y,Ua(0,!1),Ht&&typeof Ht.onPostCommitFiberRoot=="function")try{Ht.onPostCommitFiberRoot(ia,u)}catch{}return!0}finally{W.p=c,q.T=i,wh(e,t)}}function kh(e,t,r){t=$t(r,t),t=Ps(e.stateNode,t,2),e=sr(e,t,2),e!==null&&(ca(e,2),_o(e))}function qe(e,t,r){if(e.tag===3)kh(e,e,r);else for(;t!==null;){if(t.tag===3){kh(t,e,r);break}else if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(mr===null||!mr.has(i))){e=$t(r,e),r=_g(2),i=sr(t,r,2),i!==null&&(zg(r,i,t,e),ca(i,2),_o(i));break}}t=t.return}}function du(e,t,r){var i=e.pingCache;if(i===null){i=e.pingCache=new p2;var c=new Set;i.set(t,c)}else c=i.get(t),c===void 0&&(c=new Set,i.set(t,c));c.has(r)||(nu=!0,c.add(r),e=w2.bind(null,e,t,r),t.then(e,e))}function w2(e,t,r){var i=e.pingCache;i!==null&&i.delete(t),e.pingedLanes|=e.suspendedLanes&r,e.warmLanes&=~r,Pe===e&&(_e&r)===r&&(We===4||We===3&&(_e&62914560)===_e&&300>Ft()-ul?(Re&2)===0&&Mn(e,0):au|=r,Dn===_e&&(Dn=0)),_o(e)}function _h(e,t){t===0&&(t=yd()),e=Fr(e,t),e!==null&&(ca(e,t),_o(e))}function B2(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),_h(e,r)}function k2(e,t){var r=0;switch(e.tag){case 31:case 13:var i=e.stateNode,c=e.memoizedState;c!==null&&(r=c.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error(l(314))}i!==null&&i.delete(t),_h(e,r)}function _2(e,t){return _c(e,t)}var pl=null,Fn=null,gu=!1,bl=!1,hu=!1,br=0;function _o(e){e!==Fn&&e.next===null&&(Fn===null?pl=Fn=e:Fn=Fn.next=e),bl=!0,gu||(gu=!0,T2())}function Ua(e,t){if(!hu&&bl){hu=!0;do for(var r=!1,i=pl;i!==null;){if(e!==0){var c=i.pendingLanes;if(c===0)var u=0;else{var m=i.suspendedLanes,y=i.pingedLanes;u=(1<<31-Lt(42|e)+1)-1,u&=c&~(m&~y),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(r=!0,Eh(i,u))}else u=_e,u=wi(i,i===Pe?u:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(u&3)===0||la(i,u)||(r=!0,Eh(i,u));i=i.next}while(r);hu=!1}}function z2(){zh()}function zh(){bl=gu=!1;var e=0;br!==0&&q2()&&(e=br);for(var t=Ft(),r=null,i=pl;i!==null;){var c=i.next,u=Th(i,t);u===0?(i.next=null,r===null?pl=c:r.next=c,c===null&&(Fn=r)):(r=i,(e!==0||(u&3)!==0)&&(bl=!0)),i=c}ct!==0&&ct!==5||Ua(e),br!==0&&(br=0)}function Th(e,t){for(var r=e.suspendedLanes,i=e.pingedLanes,c=e.expirationTimes,u=e.pendingLanes&-62914561;0y)break;var V=k.transferSize,I=k.initiatorType;V&&qh(I)&&(k=k.responseEnd,m+=V*(k"u"?null:document;function Wh(e,t,r){var i=Hn;if(i&&typeof t=="string"&&t){var c=Qt(t);c='link[rel="'+e+'"][href="'+c+'"]',typeof r=="string"&&(c+='[crossorigin="'+r+'"]'),Yh.has(c)||(Yh.add(c),e={rel:e,crossOrigin:r,href:t},i.querySelector(c)===null&&(t=i.createElement("link"),yt(t,"link",e),dt(t),i.head.appendChild(t)))}}function X2(e){Yo.D(e),Wh("dns-prefetch",e,null)}function I2(e,t){Yo.C(e,t),Wh("preconnect",e,t)}function Y2(e,t,r){Yo.L(e,t,r);var i=Hn;if(i&&e&&t){var c='link[rel="preload"][as="'+Qt(t)+'"]';t==="image"&&r&&r.imageSrcSet?(c+='[imagesrcset="'+Qt(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(c+='[imagesizes="'+Qt(r.imageSizes)+'"]')):c+='[href="'+Qt(e)+'"]';var u=c;switch(t){case"style":u=Ln(e);break;case"script":u=Pn(e)}ao.has(u)||(e=p({rel:"preload",href:t==="image"&&r&&r.imageSrcSet?void 0:e,as:t},r),ao.set(u,e),i.querySelector(c)!==null||t==="style"&&i.querySelector(Xa(u))||t==="script"&&i.querySelector(Ia(u))||(t=i.createElement("link"),yt(t,"link",e),dt(t),i.head.appendChild(t)))}}function W2(e,t){Yo.m(e,t);var r=Hn;if(r&&e){var i=t&&typeof t.as=="string"?t.as:"script",c='link[rel="modulepreload"][as="'+Qt(i)+'"][href="'+Qt(e)+'"]',u=c;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Pn(e)}if(!ao.has(u)&&(e=p({rel:"modulepreload",href:e},t),ao.set(u,e),r.querySelector(c)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(Ia(u)))return}i=r.createElement("link"),yt(i,"link",e),dt(i),r.head.appendChild(i)}}}function K2(e,t,r){Yo.S(e,t,r);var i=Hn;if(i&&e){var c=cn(i).hoistableStyles,u=Ln(e);t=t||"default";var m=c.get(u);if(!m){var y={loading:0,preload:null};if(m=i.querySelector(Xa(u)))y.loading=5;else{e=p({rel:"stylesheet",href:e,"data-precedence":t},r),(r=ao.get(u))&&Au(e,r);var k=m=i.createElement("link");dt(k),yt(k,"link",e),k._p=new Promise(function(R,V){k.onload=R,k.onerror=V}),k.addEventListener("load",function(){y.loading|=1}),k.addEventListener("error",function(){y.loading|=2}),y.loading|=4,Bl(m,t,i)}m={type:"stylesheet",instance:m,count:1,state:y},c.set(u,m)}}}function Q2(e,t){Yo.X(e,t);var r=Hn;if(r&&e){var i=cn(r).hoistableScripts,c=Pn(e),u=i.get(c);u||(u=r.querySelector(Ia(c)),u||(e=p({src:e,async:!0},t),(t=ao.get(c))&&ju(e,t),u=r.createElement("script"),dt(u),yt(u,"link",e),r.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},i.set(c,u))}}function J2(e,t){Yo.M(e,t);var r=Hn;if(r&&e){var i=cn(r).hoistableScripts,c=Pn(e),u=i.get(c);u||(u=r.querySelector(Ia(c)),u||(e=p({src:e,async:!0,type:"module"},t),(t=ao.get(c))&&ju(e,t),u=r.createElement("script"),dt(u),yt(u,"link",e),r.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},i.set(c,u))}}function Kh(e,t,r,i){var c=(c=xe.current)?wl(c):null;if(!c)throw Error(l(446));switch(e){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(t=Ln(r.href),r=cn(c).hoistableStyles,i=r.get(t),i||(i={type:"style",instance:null,count:0,state:null},r.set(t,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){e=Ln(r.href);var u=cn(c).hoistableStyles,m=u.get(e);if(m||(c=c.ownerDocument||c,m={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,m),(u=c.querySelector(Xa(e)))&&!u._p&&(m.instance=u,m.state.loading=5),ao.has(e)||(r={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy},ao.set(e,r),u||$2(c,e,r,m.state))),t&&i===null)throw Error(l(528,""));return m}if(t&&i!==null)throw Error(l(529,""));return null;case"script":return t=r.async,r=r.src,typeof r=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Pn(r),r=cn(c).hoistableScripts,i=r.get(t),i||(i={type:"script",instance:null,count:0,state:null},r.set(t,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(l(444,e))}}function Ln(e){return'href="'+Qt(e)+'"'}function Xa(e){return'link[rel="stylesheet"]['+e+"]"}function Qh(e){return p({},e,{"data-precedence":e.precedence,precedence:null})}function $2(e,t,r,i){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?i.loading=1:(t=e.createElement("link"),i.preload=t,t.addEventListener("load",function(){return i.loading|=1}),t.addEventListener("error",function(){return i.loading|=2}),yt(t,"link",r),dt(t),e.head.appendChild(t))}function Pn(e){return'[src="'+Qt(e)+'"]'}function Ia(e){return"script[async]"+e}function Jh(e,t,r){if(t.count++,t.instance===null)switch(t.type){case"style":var i=e.querySelector('style[data-href~="'+Qt(r.href)+'"]');if(i)return t.instance=i,dt(i),i;var c=p({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),dt(i),yt(i,"style",c),Bl(i,r.precedence,e),t.instance=i;case"stylesheet":c=Ln(r.href);var u=e.querySelector(Xa(c));if(u)return t.state.loading|=4,t.instance=u,dt(u),u;i=Qh(r),(c=ao.get(c))&&Au(i,c),u=(e.ownerDocument||e).createElement("link"),dt(u);var m=u;return m._p=new Promise(function(y,k){m.onload=y,m.onerror=k}),yt(u,"link",i),t.state.loading|=4,Bl(u,r.precedence,e),t.instance=u;case"script":return u=Pn(r.src),(c=e.querySelector(Ia(u)))?(t.instance=c,dt(c),c):(i=r,(c=ao.get(u))&&(i=p({},r),ju(i,c)),e=e.ownerDocument||e,c=e.createElement("script"),dt(c),yt(c,"link",i),e.head.appendChild(c),t.instance=c);case"void":return null;default:throw Error(l(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(i=t.instance,t.state.loading|=4,Bl(i,r.precedence,e));return t.instance}function Bl(e,t,r){for(var i=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=i.length?i[i.length-1]:null,u=c,m=0;m title"):null)}function e5(e,t,r){if(r===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function t1(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function t5(e,t,r,i){if(r.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&(r.state.loading&4)===0){if(r.instance===null){var c=Ln(i.href),u=t.querySelector(Xa(c));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=_l.bind(e),t.then(e,e)),r.state.loading|=4,r.instance=u,dt(u);return}u=t.ownerDocument||t,i=Qh(i),(c=ao.get(c))&&Au(i,c),u=u.createElement("link"),dt(u);var m=u;m._p=new Promise(function(y,k){m.onload=y,m.onerror=k}),yt(u,"link",i),r.instance=u}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(r,t),(t=r.state.preload)&&(r.state.loading&3)===0&&(e.count++,r=_l.bind(e),t.addEventListener("load",r),t.addEventListener("error",r))}}var Cu=0;function o5(e,t){return e.stylesheets&&e.count===0&&Tl(e,e.stylesheets),0Cu?50:800)+t);return e.unsuspend=r,function(){e.unsuspend=null,clearTimeout(i),clearTimeout(c)}}:null}function _l(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Tl(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var zl=null;function Tl(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,zl=new Map,t.forEach(r5,e),zl=null,_l.call(e))}function r5(e,t){if(!(t.state.loading&4)){var r=zl.get(e);if(r)var i=r.get(null);else{r=new Map,zl.set(e,r);for(var c=e.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(o)}catch(n){console.error(n)}}return o(),Pu.exports=y5(),Pu.exports}var S5=x5();const w5=Rf(S5),B5=["Top","Right","Bottom","Left"];function fi(o,n,...a){const[l,s=l,f=l,d=s]=a,g=[l,s,f,d],v={};for(let h=0;htypeof o=="string"&&/(\d+(\w+|%))/.test(o),Ol=o=>typeof o=="number"&&!Number.isNaN(o),C5=o=>o==="initial",_1=o=>o==="auto",R5=o=>o==="none",D5=["content","fit-content","max-content","min-content"],Zu=o=>D5.some(n=>o===n)||j5(o);function O5(...o){const n=o.length===1,a=o.length===2,l=o.length===3;if(n){const[s]=o;if(C5(s))return{flexGrow:0,flexShrink:1,flexBasis:"auto"};if(_1(s))return{flexGrow:1,flexShrink:1,flexBasis:"auto"};if(R5(s))return{flexGrow:0,flexShrink:0,flexBasis:"auto"};if(Ol(s))return{flexGrow:s,flexShrink:1,flexBasis:0};if(Zu(s))return{flexGrow:1,flexShrink:1,flexBasis:s}}if(a){const[s,f]=o;if(Ol(f))return{flexGrow:s,flexShrink:f,flexBasis:0};if(Zu(f))return{flexGrow:s,flexShrink:1,flexBasis:f}}if(l){const[s,f,d]=o;if(Ol(s)&&Ol(f)&&(_1(d)||Zu(d)))return{flexGrow:s,flexShrink:f,flexBasis:d}}return{}}function M5(o,n=o){return{columnGap:o,rowGap:n}}const q5=/var\(.*\)/gi;function F5(o){return o===void 0||typeof o=="number"||typeof o=="string"&&!q5.test(o)}const H5=/^[a-zA-Z0-9\-_\\#;]+$/,L5=/^-moz-initial$|^auto$|^initial$|^inherit$|^revert$|^unset$|^span \d+$|^\d.*/;function Xu(o){return o!==void 0&&typeof o=="string"&&H5.test(o)&&!L5.test(o)}function P5(...o){if(o.some(f=>!F5(f)))return{};const n=o[0]!==void 0?o[0]:"auto",a=o[1]!==void 0?o[1]:Xu(n)?n:"auto",l=o[2]!==void 0?o[2]:Xu(n)?n:"auto",s=o[3]!==void 0?o[3]:Xu(a)?a:"auto";return{gridRowStart:n,gridColumnStart:a,gridRowEnd:l,gridColumnEnd:s}}function U5(...o){return fi("margin","",...o)}function G5(o,n=o){return{marginBlockStart:o,marginBlockEnd:n}}function V5(o,n=o){return{marginInlineStart:o,marginInlineEnd:n}}function Z5(...o){return fi("padding","",...o)}function X5(o,n=o){return{paddingBlockStart:o,paddingBlockEnd:n}}function I5(o,n=o){return{paddingInlineStart:o,paddingInlineEnd:n}}function Y5(o,n=o){return{overflowX:o,overflowY:n}}function W5(...o){const[n,a=n,l=n,s=a]=o;return{top:n,right:a,bottom:l,left:s}}function K5(o,n,a){return Object.assign({outlineWidth:o},n&&{outlineStyle:n},a&&{outlineColor:a})}function Q5(...o){return $5(o)?{transitionDelay:o[0],transitionDuration:o[0],transitionProperty:o[0],transitionTimingFunction:o[0]}:ex(o).reduce((a,[l,s="0s",f="0s",d="ease"],g)=>(g===0?(a.transitionProperty=l,a.transitionDuration=s,a.transitionDelay=f,a.transitionTimingFunction=d):(a.transitionProperty+=`, ${l}`,a.transitionDuration+=`, ${s}`,a.transitionDelay+=`, ${f}`,a.transitionTimingFunction+=`, ${d}`),a),{})}const J5=["-moz-initial","inherit","initial","revert","unset"];function $5(o){return o.length===1&&J5.includes(o[0])}function ex(o){return o.length===1&&Array.isArray(o[0])?o[0]:[o]}function tx(o,...n){if(n.length===0)return rx(o)?{textDecorationStyle:o}:{textDecorationLine:o};const[a,l,s]=n;return Object.assign({textDecorationLine:o},a&&{textDecorationStyle:a},l&&{textDecorationColor:l},s&&{textDecorationThickness:s})}const ox=["dashed","dotted","double","solid","wavy"];function rx(o){return ox.includes(o)}const Iu=typeof window>"u"?global:window,Yu="@griffel/";function nx(o,n){return Iu[Symbol.for(Yu+o)]||(Iu[Symbol.for(Yu+o)]=n),Iu[Symbol.for(Yu+o)]}const bf=nx("DEFINITION_LOOKUP_TABLE",{}),oi="data-make-styles-bucket",ax="data-priority",yf="f",xf=7,Mf="___",ix=Mf.length+xf,lx=0,cx=1,sx={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},Sf="DO_NOT_USE_DIRECTLY: @griffel/reset-value";function ii(o){for(var n=0,a,l=0,s=o.length;s>=4;++l,s-=4)a=o.charCodeAt(l)&255|(o.charCodeAt(++l)&255)<<8|(o.charCodeAt(++l)&255)<<16|(o.charCodeAt(++l)&255)<<24,a=(a&65535)*1540483477+((a>>>16)*59797<<16),a^=a>>>24,n=(a&65535)*1540483477+((a>>>16)*59797<<16)^(n&65535)*1540483477+((n>>>16)*59797<<16);switch(s){case 3:n^=(o.charCodeAt(l+2)&255)<<16;case 2:n^=(o.charCodeAt(l+1)&255)<<8;case 1:n^=o.charCodeAt(l)&255,n=(n&65535)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,n=(n&65535)*1540483477+((n>>>16)*59797<<16),((n^n>>>15)>>>0).toString(36)}function ux(o){const n=o.length;if(n===xf)return o;for(let a=n;a0&&(n+=x.slice(0,S)),a+=w,l[p]=w}}}if(a==="")return n.slice(0,-1);const s=z1[a];if(s!==void 0)return n+s;const f=[];for(let p=0;pd.cssText):s}}}const gx=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"],T1=gx.reduce((o,n,a)=>(o[n]=a,o),{});function hx(o,n,a){return(o==="m"?o+n:o)+a}function mx(o,n,a,l,s={}){var f,d;const g=o==="m",v=(f=s.m)!==null&&f!==void 0?f:"0",h=(d=s.p)!==null&&d!==void 0?d:0,b=hx(o,v,h);if(!l.stylesheets[b]){const p=n&&n.createElement("style"),x=dx(p,o,h,Object.assign({},l.styleElementAttributes,g&&{media:v}));l.stylesheets[b]=x,n!=null&&n.head&&p&&n.head.insertBefore(p,px(n,a,o,l,s))}return l.stylesheets[b]}function vx(o,n,a){var l,s;const f=n+((l=a.m)!==null&&l!==void 0?l:""),d=o.getAttribute(oi)+((s=o.media)!==null&&s!==void 0?s:"");return f===d}function px(o,n,a,l,s={}){var f,d;const g=T1[a],v=(f=s.m)!==null&&f!==void 0?f:"",h=(d=s.p)!==null&&d!==void 0?d:0;let b=B=>g-T1[B.getAttribute(oi)],p=o.head.querySelectorAll(`[${oi}]`);if(a==="m"){const B=o.head.querySelectorAll(`[${oi}="${a}"]`);B.length&&(p=B,b=A=>l.compareMediaQueries(v,A.media))}const x=B=>vx(B,a,s)?h-Number(B.getAttribute("data-priority")):b(B),S=p.length;let w=S-1;for(;w>=0;){const B=p.item(w);if(x(B)>0)return B.nextSibling;w--}return S>0?p.item(0):n?n.nextSibling:null}function N1(o,n){try{o.insertRule(n)}catch{}}let bx=0;const yx=(o,n)=>on?1:0;function xx(o=typeof document>"u"?void 0:document,n={}){const{classNameHashSalt:a,unstable_filterCSSRule:l,insertionPoint:s,styleElementAttributes:f,compareMediaQueries:d=yx}=n,g={classNameHashSalt:a,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(f),compareMediaQueries:d,id:`d${bx++}`,insertCSSRules(v){for(const h in v){const b=v[h];for(let p=0,x=b.length;p{const o={};return function(a,l){o[a.id]===void 0&&(a.insertCSSRules(l),o[a.id]=!0)}};function sv(o){return o.reduce(function(n,a){var l=a[0],s=a[1];return n[l]=s,n[s]=l,n},{})}function Sx(o){return typeof o=="boolean"}function wx(o){return typeof o=="function"}function ti(o){return typeof o=="number"}function Bx(o){return o===null||typeof o>"u"}function kx(o){return o&&typeof o=="object"}function _x(o){return typeof o=="string"}function Gl(o,n){return o.indexOf(n)!==-1}function zx(o){return parseFloat(o)===0?o:o[0]==="-"?o.slice(1):"-"+o}function Ml(o,n,a,l){return n+zx(a)+l}function Tx(o){var n=o.indexOf(".");if(n===-1)o=100-parseFloat(o)+"%";else{var a=o.length-n-2;o=100-parseFloat(o),o=o.toFixed(a)+"%"}return o}function uv(o){return o.replace(/ +/g," ").split(" ").map(function(n){return n.trim()}).filter(Boolean).reduce(function(n,a){var l=n.list,s=n.state,f=(a.match(/\(/g)||[]).length,d=(a.match(/\)/g)||[]).length;return s.parensDepth>0?l[l.length-1]=l[l.length-1]+" "+a:l.push(a),s.parensDepth+=f-d,{list:l,state:s}},{list:[],state:{parensDepth:0}}).list}function E1(o){var n=uv(o);if(n.length<=3||n.length>4)return o;var a=n[0],l=n[1],s=n[2],f=n[3];return[a,f,s,l].join(" ")}function Nx(o){return!Sx(o)&&!Bx(o)}function Ex(o){for(var n=[],a=0,l=0,s=!1;l0?wt(ta,--Wt):0,Wn--,Ie===10&&(Wn=1,sc--),Ie}function co(){return Ie=Wt2||Kn(Ie)>3?"":" "}function Kx(o){for(;co();)switch(Kn(Ie)){case 0:Jr(kv(Wt-1),o);break;case 2:Jr(Zl(Ie),o);break;default:Jr(cc(Ie),o)}return o}function Qx(o,n){for(;--n&&co()&&!(Ie<48||Ie>102||Ie>57&&Ie<65||Ie>70&&Ie<97););return fc(o,Vl()+(n<6&&zr()==32&&co()==32))}function Bf(o){for(;co();)switch(Ie){case o:return Wt;case 34:case 39:o!==34&&o!==39&&Bf(Ie);break;case 40:o===41&&Bf(o);break;case 92:co();break}return Wt}function Jx(o,n){for(;co()&&o+Ie!==57;)if(o+Ie===84&&zr()===47)break;return"/*"+fc(n,Wt-1)+"*"+cc(o===47?o:co())}function kv(o){for(;!Kn(zr());)co();return fc(o,Wt)}function _v(o){return Bv(Xl("",null,null,null,[""],o=wv(o),0,[0],o))}function Xl(o,n,a,l,s,f,d,g,v){for(var h=0,b=0,p=d,x=0,S=0,w=0,B=1,A=1,N=1,D=0,j="",L=s,Z=f,H=l,U=j;A;)switch(w=D,D=co()){case 40:if(w!=108&&wt(U,p-1)==58){yv(U+=Ot(Zl(D),"&","&\f"),"&\f",vv(h?g[h-1]:0))!=-1&&(N=-1);break}case 34:case 39:case 91:U+=Zl(D);break;case 9:case 10:case 13:case 32:U+=Wx(w);break;case 92:U+=Qx(Vl()-1,7);continue;case 47:switch(zr()){case 42:case 47:Jr($x(Jx(co(),Vl()),n,a,v),v),(Kn(w||1)==5||Kn(zr()||1)==5)&&po(U)&&Yn(U,-1,void 0)!==" "&&(U+=" ");break;default:U+="/"}break;case 123*B:g[h++]=po(U)*N;case 125*B:case 59:case 0:switch(D){case 0:case 125:A=0;case 59+b:N==-1&&(U=Ot(U,/\f/g,"")),S>0&&(po(U)-p||B===0&&w===47)&&Jr(S>32?C1(U+";",l,a,p-1,v):C1(Ot(U," ","")+";",l,a,p-2,v),v);break;case 59:U+=";";default:if(Jr(H=j1(U,n,a,h,b,s,g,j,L=[],Z=[],p,f),f),D===123)if(b===0)Xl(U,n,H,H,L,f,p,g,Z);else{switch(x){case 99:if(wt(U,3)===110)break;case 108:if(wt(U,2)===97)break;default:b=0;case 100:case 109:case 115:}b?Xl(o,H,H,l&&Jr(j1(o,H,H,0,0,s,g,j,s,L=[],p,Z),Z),s,Z,p,g,l?L:Z):Xl(U,H,H,H,[""],Z,0,g,Z)}}h=b=S=0,B=N=1,j=U="",p=d;break;case 58:p=1+po(U),S=w;default:if(B<1){if(D==123)--B;else if(D==125&&B++==0&&Ix()==125)continue}switch(U+=cc(D),D*B){case 38:N=b>0?1:(U+="\f",-1);break;case 44:g[h++]=(po(U)-1)*N,N=1;break;case 64:zr()===45&&(U+=Zl(co())),x=zr(),b=p=po(j=U+=kv(Vl())),D++;break;case 45:w===45&&po(U)==2&&(B=0)}}return f}function j1(o,n,a,l,s,f,d,g,v,h,b,p){for(var x=s-1,S=s===0?f:[""],w=xv(S),B=0,A=0,N=0;B0?S[D]+" "+j:Ot(j,/&\f/g,S[D])))&&(v[N++]=L);return uc(o,n,a,s===0?lc:g,v,h,b,p)}function $x(o,n,a,l){return uc(o,n,a,hv,cc(Xx()),Yn(o,2,-2),0,l)}function C1(o,n,a,l,s){return uc(o,n,a,Ff,Yn(o,0,l),Yn(o,l+1,-1),l,s)}function Qn(o,n){for(var a="",l=0;l{switch(o.type){case lc:if(typeof o.props=="string")return;o.props=o.props.map(n=>n.indexOf(":global(")===-1?n:Yx(n).reduce((a,l,s,f)=>{if(l==="")return a;if(l===":"&&f[s+1]==="global"){const d=f[s+2].slice(1,-1)+" ";return a.unshift(d),f[s+1]="",f[s+2]="",a}return a.push(l),a},[]).join(""))}};function Ev(o,n,a){switch(Vx(o,n)){case 5103:return mo+"print-"+o+o;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return mo+o+o;case 4215:if(wt(o,9)===102||wt(o,n+1)===116)return mo+o+o;break;case 4789:return ri+o+o;case 5349:case 4246:case 6968:return mo+o+ri+o+o;case 6187:if(!bv(o,/grab/))return Ot(Ot(Ot(o,/(zoom-|grab)/,mo+"$1"),/(image-set)/,mo+"$1"),o,"")+o;case 5495:case 3959:return Ot(o,/(image-set\([^]*)/,mo+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return Ot(o,/(.+)-inline(.+)/,mo+"$1$2")+o;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(po(o)-1-n>6)switch(wt(o,n+1)){case 102:if(wt(o,n+3)===108)return Ot(o,/(.+:)(.+)-([^]+)/,"$1"+mo+"$2-$3$1"+ri+(wt(o,n+3)==108?"$3":"$2-$3"))+o;case 115:return~yv(o,"stretch")?Ev(Ot(o,"stretch","fill-available"),n)+o:o}break}return o}function Av(o,n,a,l){if(o.length>-1&&!o.return)switch(o.type){case Ff:o.return=Ev(o.value,o.length);return;case lc:if(o.length)return Zx(o.props,function(s){switch(bv(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Qn([Ku(o,{props:[Ot(s,/:(read-\w+)/,":"+ri+"$1")]})],l);case"::placeholder":return Qn([Ku(o,{props:[Ot(s,/:(plac\w+)/,":"+mo+"input-$1")]}),Ku(o,{props:[Ot(s,/:(plac\w+)/,":"+ri+"$1")]})],l)}return""})}}function t3(o){switch(o.type){case"@container":case Fx:case Lx:case mv:return!0}return!1}const o3=o=>{t3(o)&&Array.isArray(o.children)&&o.children.sort((n,a)=>n.props[0]>a.props[0]?1:-1)};function r3(o,n){const a=[];return Qn(_v(o),Tv([e3,o3,Av,zv,Nv(l=>a.push(l))])),a}const n3=/,( *[^ &])/g;function a3(o){return"&"+gv(o.replace(n3,",&$1"))}function R1(o,n,a){let l=n;return a.length>0&&(l=a.reduceRight((s,f)=>`${a3(f)} { ${s} }`,n)),`${o}{${l}}`}function D1(o,n){const{className:a,selectors:l,property:s,rtlClassName:f,rtlProperty:d,rtlValue:g,value:v}=o,{container:h,layer:b,media:p,supports:x}=n,S=`.${a}`,w=Array.isArray(v)?`${v.map(A=>`${Gn(s)}: ${A}`).join(";")};`:`${Gn(s)}: ${v};`;let B=R1(S,w,l);if(d&&f){const A=`.${f}`,N=Array.isArray(g)?`${g.map(D=>`${Gn(d)}: ${D}`).join(";")};`:`${Gn(d)}: ${g};`;B+=R1(A,N,l)}return p&&(B=`@media ${p} { ${B} }`),b&&(B=`@layer ${b} { ${B} }`),x&&(B=`@supports ${x} { ${B} }`),h&&(B=`@container ${h} { ${B} }`),r3(B)}function i3(o){let n="";for(const a in o){const l=o[a];if(typeof l=="string"||typeof l=="number"){n+=Gn(a)+":"+l+";";continue}if(Array.isArray(l))for(const s of l)n+=Gn(a)+":"+s+";"}return n}function O1(o){let n="";for(const a in o)n+=`${a}{${i3(o[a])}}`;return n}function M1(o,n){const a=`@keyframes ${o} {${n}}`,l=[];return Qn(_v(a),Tv([zv,Av,Nv(s=>l.push(s))])),l}const l3={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 q1(o,n){return o.length===0?n:`${o} and ${n}`}function c3(o){return o.substr(0,6)==="@media"}function s3(o){return o.substr(0,6)==="@layer"}const u3=/^(:|\[|>|&)/;function f3(o){return u3.test(o)}function d3(o){return o.substr(0,9)==="@supports"}function g3(o){return o.substring(0,10)==="@container"}function h3(o){return o!=null&&typeof o=="object"&&Array.isArray(o)===!1}const F1={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function H1(o,n){if(n.media)return"m";if(n.layer||n.supports)return"t";if(n.container)return"c";if(o.length>0){const a=o[0].trim();if(a.charCodeAt(0)===58)return F1[a.slice(4,8)]||F1[a.slice(3,5)]||"d"}return"d"}function ql(o,n){return o&&n+o}function jv(o){return ql(o.container,"c")+ql(o.media,"m")+ql(o.layer,"l")+ql(o.supports,"s")}function Qu(o,n,a){const l=o+jv(a)+n,s=ii(l),f=s.charCodeAt(0);return f>=48&&f<=57?String.fromCharCode(f+17)+s.slice(1):s}function Fl({property:o,selector:n,salt:a,value:l},s){return yf+ii(a+n+jv(s)+o+l.trim())}function m3(o){return o===Sf}function Ju(o){return o.replace(/>\s+/g,">")}function L1(o){return l3[o]}function P1(o){var n;return(n=o==null?void 0:o[0])!==null&&n!==void 0?n:0}function $u(o,n,a,l){o[n]=l?[a,l]:a}function U1(o,n){return n.length>0?[o,Object.fromEntries(n)]:o}function ef(o,n,a,l,s,f){var d;const g=[];f!==0&&g.push(["p",f]),n==="m"&&s&&g.push(["m",s]),(d=o[n])!==null&&d!==void 0||(o[n]=[]),a&&o[n].push(U1(a,g)),l&&o[n].push(U1(l,g))}function Wo(o,n="",a=[],l={container:"",layer:"",media:"",supports:""},s={},f={},d){for(const g in o){if(sx.hasOwnProperty(g)){o[g];continue}const v=o[g];if(v!=null){if(m3(v)){const h=Ju(a.join("")),b=Qu(h,g,l);$u(s,b,0,void 0);continue}if(typeof v=="string"||typeof v=="number"){const h=Ju(a.join("")),b=L1(g);if(b){const L=b[1],Z=Object.fromEntries(L.map(H=>[H,Sf]));Wo(Z,n,a,l,s,f)}const p=Qu(h,g,l),x=Fl({value:v.toString(),salt:n,selector:h,property:g},l),S=d&&{key:g,value:d}||wf(g,v),w=S.key!==g||S.value!==v,B=w?Fl({value:S.value.toString(),property:S.key,salt:n,selector:h},l):void 0,A=w?{rtlClassName:B,rtlProperty:S.key,rtlValue:S.value}:void 0,N=H1(a,l),[D,j]=D1(Object.assign({className:x,selectors:a,property:g,value:v},A),l);$u(s,p,x,B),ef(f,N,D,j,l.media,P1(b))}else if(g==="animationName"){const h=Array.isArray(v)?v:[v],b=[],p=[];for(const x of h){const S=O1(x),w=O1(dv(x)),B=yf+ii(S);let A;const N=M1(B,S);let D=[];S===w?A=B:(A=yf+ii(w),D=M1(A,w));for(let j=0;j[U,Sf]));Wo(H,n,a,l,s,f)}const p=Qu(h,g,l),x=Fl({value:v.map(Z=>(Z??"").toString()).join(";"),salt:n,selector:h,property:g},l),S=v.map(Z=>wf(g,Z));if(!!S.some(Z=>Z.key!==S[0].key))continue;const B=S[0].key!==g||S.some((Z,H)=>Z.value!==v[H]),A=B?Fl({value:S.map(Z=>{var H;return((H=Z==null?void 0:Z.value)!==null&&H!==void 0?H:"").toString()}).join(";"),salt:n,property:S[0].key,selector:h},l):void 0,N=B?{rtlClassName:A,rtlProperty:S[0].key,rtlValue:S.map(Z=>Z.value)}:void 0,D=H1(a,l),[j,L]=D1(Object.assign({className:x,selectors:a,property:g,value:v},N),l);$u(s,p,x,A),ef(f,D,j,L,l.media,P1(b))}else if(h3(v)){if(f3(g))Wo(v,n,a.concat(gv(g)),l,s,f);else if(c3(g)){const h=q1(l.media,g.slice(6).trim());Wo(v,n,a,Object.assign({},l,{media:h}),s,f)}else if(s3(g)){const h=(l.layer?`${l.layer}.`:"")+g.slice(6).trim();Wo(v,n,a,Object.assign({},l,{layer:h}),s,f)}else if(d3(g)){const h=q1(l.supports,g.slice(9).trim());Wo(v,n,a,Object.assign({},l,{supports:h}),s,f)}else if(g3(g)){const h=g.slice(10).trim();Wo(v,n,a,Object.assign({},l,{container:h}),s,f)}}}}return[s,f]}function v3(o,n=""){const a={},l={};for(const s in o){const f=o[s],[d,g]=Wo(f,n);a[s]=d,Object.keys(g).forEach(v=>{l[v]=(l[v]||[]).concat(g[v])})}return[a,l]}function p3(o,n=qf){const a=n();let l=null,s=null,f=null,d=null;function g(v){const{dir:h,renderer:b}=v;l===null&&([l,s]=v3(o,b.classNameHashSalt));const p=h==="ltr";return p?f===null&&(f=Ql(l,h)):d===null&&(d=Ql(l,h)),a(b,s),p?f:d}return g}function Cv(o,n,a=qf){const l=a();let s=null,f=null;function d(g){const{dir:v,renderer:h}=g,b=v==="ltr";return b?s===null&&(s=Ql(o,v)):f===null&&(f=Ql(o,v)),l(h,n),b?s:f}return d}function b3(o,n,a,l=qf){const s=l();function f(d){const{dir:g,renderer:v}=d,h=g==="ltr"?o:n||o;return s(v,Array.isArray(a)?{r:a}:a),h}return f}const st={border:_5,borderLeft:z5,borderBottom:T5,borderRight:N5,borderTop:E5,borderColor:pf,borderStyle:vf,borderRadius:A5,borderWidth:mf,flex:O5,gap:M5,gridArea:P5,margin:U5,marginBlock:G5,marginInline:V5,padding:Z5,paddingBlock:X5,paddingInline:I5,overflow:Y5,inset:W5,outline:K5,transition:Q5,textDecoration:tx};function y3(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const G1=Kl.useInsertionEffect?Kl.useInsertionEffect:void 0,Hf=()=>{const o={};return function(a,l){if(G1&&y3()){G1(()=>{a.insertCSSRules(l)},[a,l]);return}o[a.id]===void 0&&(a.insertCSSRules(l),o[a.id]=!0)}},x3=_.createContext(xx());function gi(){return _.useContext(x3)}const Rv=_.createContext("ltr"),S3=({children:o,dir:n})=>_.createElement(Rv.Provider,{value:n},o);function Lf(){return _.useContext(Rv)}function w3(o){const n=p3(o,Hf);return function(){const l=Lf(),s=gi();return n({dir:l,renderer:s})}}function Te(o,n){const a=Cv(o,n,Hf);return function(){const s=Lf(),f=gi();return a({dir:s,renderer:f})}}function Ze(o,n,a){const l=b3(o,n,a,Hf);return function(){const f=Lf(),d=gi();return l({dir:f,renderer:d})}}const B3={"<":"\\3C ",">":"\\3E "};function k3(o){return o.replace(/[<>]/g,n=>B3[n])}function _3(o,n){if(n){const a=Object.keys(n).reduce((l,s)=>`${l}--${s}: ${n[s]}; `,"");return`${o} { ${k3(a)} }`}return`${o} {}`}const Jl=Symbol.for("fui.slotRenderFunction"),Jn=Symbol.for("fui.slotElementType"),Dv=Symbol.for("fui.slotClassNameProp");function tt(o,n){const{defaultProps:a,elementType:l}=n,s=z3(o),f={...a,...s,[Jn]:l,[Dv]:(s==null?void 0:s.className)||(a==null?void 0:a.className)};return s&&typeof s.children=="function"&&(f[Jl]=s.children,f.children=a==null?void 0:a.children),f}function zt(o,n){if(!(o===null||o===void 0&&!n.renderByDefault))return tt(o,n)}function z3(o){return typeof o=="string"||typeof o=="number"||T3(o)||_.isValidElement(o)?{children:o}:o}const T3=o=>typeof o=="object"&&o!==null&&Symbol.iterator in o;function N3(o){return o!==null&&typeof o=="object"&&!Array.isArray(o)&&!_.isValidElement(o)}function V1(o){return!!(o!=null&&o.hasOwnProperty(Jn))}const Ue=(...o)=>{const n={};for(const a of o){const l=Array.isArray(a)?a:Object.keys(a);for(const s of l)n[s]=1}return n},E3=Ue(["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"]),A3=Ue(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","popover","focusgroup","ref","role","style","tabIndex","title","translate","spellCheck","name"]),j3=Ue(["itemID","itemProp","itemRef","itemScope","itemType"]),lt=Ue(A3,E3,j3),C3=Ue(lt,["form"]),Ov=Ue(lt,["height","loop","muted","preload","src","width"]),R3=Ue(Ov,["poster"]),D3=Ue(lt,["start"]),O3=Ue(lt,["value"]),M3=Ue(lt,["download","href","hrefLang","media","referrerPolicy","rel","target","type"]),q3=Ue(lt,["dateTime"]),dc=Ue(lt,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","popoverTarget","popoverTargetAction","type","value"]),F3=Ue(dc,["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"]),H3=Ue(dc,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),L3=Ue(dc,["form","multiple","required"]),P3=Ue(lt,["selected","value"]),U3=Ue(lt,["cellPadding","cellSpacing"]),G3=lt,V3=Ue(lt,["colSpan","rowSpan","scope"]),Z3=Ue(lt,["colSpan","headers","rowSpan","scope"]),X3=Ue(lt,["span"]),I3=Ue(lt,["span"]),Y3=Ue(lt,["disabled","form"]),W3=Ue(lt,["acceptCharset","action","encType","encType","method","noValidate","target"]),K3=Ue(lt,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),Q3=Ue(lt,["alt","crossOrigin","height","src","srcSet","useMap","width"]),J3=Ue(lt,["open","onCancel","onClose"]);function $3(o,n,a){const l=Array.isArray(n),s={},f=Object.keys(o);for(const d of f)(!l&&n[d]||l&&n.indexOf(d)>=0||d.indexOf("data-")===0||d.indexOf("aria-")===0)&&(!a||(a==null?void 0:a.indexOf(d))===-1)&&(s[d]=o[d]);return s}const eS={label:C3,audio:Ov,video:R3,ol:D3,li:O3,a:M3,button:dc,input:F3,textarea:H3,select:L3,option:P3,table:U3,tr:G3,th:V3,td:Z3,colGroup:X3,col:I3,fieldset:Y3,form:W3,iframe:K3,img:Q3,time:q3,dialog:J3};function Mv(o,n,a){const l=o&&eS[o]||lt;return l.as=1,$3(n,l,a)}const qv=({primarySlotTagName:o,props:n,excludedPropNames:a})=>({root:{style:n.style,className:n.className},primary:Mv(o,n,[...a||[],"style","className"])}),Eo=(o,n,a)=>{var l;return Mv((l=n.as)!==null&&l!==void 0?l:o,n,a)};function tS(o,n){const a=_.useRef(void 0),l=_.useCallback((f,d)=>(a.current!==void 0&&n(a.current),a.current=o(f,d),a.current),[n,o]),s=_.useCallback(()=>{a.current!==void 0&&(n(a.current),a.current=void 0)},[n]);return _.useEffect(()=>s,[s]),[l,s]}const Fv=_.createContext(void 0),oS=Fv.Provider,Hv=_.createContext(void 0),rS="",nS=Hv.Provider;function aS(){var o;return(o=_.useContext(Hv))!==null&&o!==void 0?o:rS}const Lv=_.createContext(void 0),iS={},lS=Lv.Provider;function cS(){var o;return(o=_.useContext(Lv))!==null&&o!==void 0?o:iS}const Pv=_.createContext(void 0),sS={targetDocument:typeof document=="object"?document:void 0,dir:"ltr"},uS=Pv.Provider;function Bt(){var o;return(o=_.useContext(Pv))!==null&&o!==void 0?o:sS}const Uv=_.createContext(void 0),fS=Uv.Provider;function Pf(){var o;return(o=_.useContext(Uv))!==null&&o!==void 0?o:{}}const Uf=_.createContext(void 0),dS=()=>{},gS=Uf.Provider,ft=o=>{var n,a;return(a=(n=_.useContext(Uf))===null||n===void 0?void 0:n[o])!==null&&a!==void 0?a:dS},Gv=_.createContext(void 0);Gv.Provider;function hS(){return _.useContext(Gv)}function mS(o){return typeof o=="function"}const gc=o=>{"use no memo";const[n,a]=_.useState(()=>o.defaultState===void 0?o.initialState:vS(o.defaultState)?o.defaultState():o.defaultState),l=_.useRef(o.state);_.useEffect(()=>{l.current=o.state},[o.state]);const s=_.useCallback(f=>{mS(f)&&f(l.current)},[]);return pS(o.state)?[o.state,s]:[n,a]};function vS(o){return typeof o=="function"}const pS=o=>{"use no memo";const[n]=_.useState(()=>o!==void 0);return n};function hc(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const Vv={current:0},bS=_.createContext(void 0);function Zv(){var o;return(o=_.useContext(bS))!==null&&o!==void 0?o:Vv}function yS(){const o=Zv()!==Vv,[n,a]=_.useState(o);return hc()&&o&&_.useLayoutEffect(()=>{a(!1)},[]),n}const Tt=hc()?_.useLayoutEffect:_.useEffect,Qe=o=>{const n=_.useRef(()=>{throw new Error("Cannot call an event handler while rendering")});return Tt(()=>{n.current=o},[o]),_.useCallback((...a)=>{const l=n.current;return l(...a)},[n])};function xS(){const o=_.useRef(!0);return _.useEffect(()=>{o.current&&(o.current=!1)},[]),o.current}function SS(){return _.useReducer(o=>o+1,0)[1]}const Xv=_.createContext(void 0);Xv.Provider;function wS(){return _.useContext(Xv)||""}function on(o="fui-",n){"use no memo";const a=Zv(),l=wS(),s=Kl.useId;if(s){const f=s(),d=_.useMemo(()=>f.replace(/:/g,""),[f]);return n||`${l}${o}${d}`}return _.useMemo(()=>n||`${l}${o}${++a.current}`,[l,o,n,a])}function li(...o){"use no memo";const n=_.useCallback(a=>{n.current=a;for(const l of o)typeof l=="function"?l(a):l&&(l.current=a)},[...o]);return n}const BS=o=>-1,kS=o=>{};function _S(){const{targetDocument:o}=Bt(),n=o==null?void 0:o.defaultView,a=n?n.setTimeout:BS,l=n?n.clearTimeout:kS;return tS(a,l)}const zS=parseInt(_.version,10)>=19;function Gf(o){if(o)return zS?o.props.ref:o.ref}function zo(o,n){return(...a)=>{o==null||o(...a),n==null||n(...a)}}function ci(o,n){var a;const l=o;var s;return!!(!(l==null||(a=l.ownerDocument)===null||a===void 0)&&a.defaultView&&l instanceof l.ownerDocument.defaultView[(s=void 0)!==null&&s!==void 0?s:"HTMLElement"])}function Iv(o){return!!o.type.isFluentTriggerComponent}function Yv(o,n){return typeof o=="function"?o(n):o?Wv(o,n):o||null}function Wv(o,n){if(!_.isValidElement(o)||o.type===_.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(Iv(o)){const a=Wv(o.props.children,n);return _.cloneElement(o,void 0,a)}else return _.cloneElement(o,n)}function Vf(o){return _.isValidElement(o)?Iv(o)?Vf(o.props.children):o:null}function TS(o){return o&&!!o._virtual}function NS(o){return TS(o)&&o._virtual.parent||null}function ES(o,n={}){if(!o)return null;if(!n.skipVirtual){const l=NS(o);if(l)return l}const a=o.parentNode;return a&&a.nodeType===11?a.host:a}function Z1(o,n){o&&Object.assign(o,{_virtual:{parent:n}})}function AS(o,n){return{...n,[Jn]:o}}function Kv(o,n){return function(l,s,f,d,g){return V1(s)?n(AS(l,s),null,f,d,g):V1(l)?n(l,s,f,d,g):o(l,s,f,d,g)}}function Qv(o){const{as:n,[Dv]:a,[Jn]:l,[Jl]:s,...f}=o,d=f,g=typeof l=="string"?n??l:l;return typeof g!="string"&&n&&(d.as=n),{elementType:g,props:d,renderFunction:s}}const $r=m5,jS=(o,n,a)=>{const{elementType:l,renderFunction:s,props:f}=Qv(o),d={...f,...n};return s?$r.jsx(_.Fragment,{children:s(l,d)},a):$r.jsx(l,d,a)},CS=(o,n,a)=>{const{elementType:l,renderFunction:s,props:f}=Qv(o),d={...f,...n};return s?$r.jsx(_.Fragment,{children:s(l,{...d,children:$r.jsxs(_.Fragment,{children:d.children},void 0)})},a):$r.jsxs(l,d,a)},ge=Kv($r.jsx,jS),uo=Kv($r.jsxs,CS),Jv=_.createContext(void 0),RS={},DS=Jv.Provider,OS=()=>{const o=_.useContext(Jv);return o??RS},MS=(o,n)=>ge(uS,{value:n.provider,children:ge(oS,{value:n.theme,children:ge(nS,{value:n.themeClassName,children:ge(gS,{value:n.customStyleHooks_unstable,children:ge(lS,{value:n.tooltip,children:ge(S3,{dir:n.textDirection,children:ge(DS,{value:n.iconDirection,children:ge(fS,{value:n.overrides_unstable,children:uo(o.root,{children:[hc()?null:ge("style",{dangerouslySetInnerHTML:{__html:o.serverStyleProps.cssRule},...o.serverStyleProps.attributes}),o.root.children]})})})})})})})})});var qS=typeof WeakRef<"u",X1=class{constructor(o){qS&&typeof o=="object"?this._weakRef=new WeakRef(o):this._instance=o}deref(){var o,n;let a;return this._weakRef?(a=(o=this._weakRef)==null?void 0:o.deref(),a||delete this._weakRef):(a=this._instance,(n=a==null?void 0:a.isDisposed)!=null&&n.call(a)&&delete this._instance),a}},yo="keyborg:focusin",si="keyborg:focusout";function FS(o){const n=o.HTMLElement,a=n.prototype.focus;let l=!1;return n.prototype.focus=function(){l=!0},o.document.createElement("button").focus(),n.prototype.focus=a,l}var tf=!1;function en(o){const n=o.focus;n.__keyborgNativeFocus?n.__keyborgNativeFocus.call(o):o.focus()}function HS(o){const n=o;tf||(tf=FS(n));const a=n.HTMLElement.prototype.focus;if(a.__keyborgNativeFocus)return;n.HTMLElement.prototype.focus=v;const l=new Set,s=b=>{const p=b.target;if(!p)return;const x=new CustomEvent(si,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:b}});p.dispatchEvent(x)},f=b=>{const p=b.target;if(!p)return;let x=b.composedPath()[0];const S=new Set;for(;x;)x.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(S.add(x),x=x.host):x=x.parentNode;for(const w of l){const B=w.deref();(!B||!S.has(B))&&(l.delete(w),B&&(B.removeEventListener("focusin",f,!0),B.removeEventListener("focusout",s,!0)))}d(p,b.relatedTarget||void 0)},d=(b,p,x)=>{var S;const w=b.shadowRoot;if(w){for(const N of l)if(N.deref()===w)return;w.addEventListener("focusin",f,!0),w.addEventListener("focusout",s,!0),l.add(new X1(w));return}const B={relatedTarget:p,originalEvent:x},A=new CustomEvent(yo,{cancelable:!0,bubbles:!0,composed:!0,detail:B});A.details=B,(tf||g.lastFocusedProgrammatically)&&(B.isFocusedProgrammatically=b===((S=g.lastFocusedProgrammatically)==null?void 0:S.deref()),g.lastFocusedProgrammatically=void 0),b.dispatchEvent(A)},g=n.__keyborgData={focusInHandler:f,focusOutHandler:s,shadowTargets:l};n.document.addEventListener("focusin",n.__keyborgData.focusInHandler,!0),n.document.addEventListener("focusout",n.__keyborgData.focusOutHandler,!0);function v(){const b=n.__keyborgData;return b&&(b.lastFocusedProgrammatically=new X1(this)),a.apply(this,arguments)}let h=n.document.activeElement;for(;h&&h.shadowRoot;)d(h),h=h.shadowRoot.activeElement;v.__keyborgNativeFocus=a}function LS(o){const n=o,a=n.HTMLElement.prototype,l=a.focus.__keyborgNativeFocus,s=n.__keyborgData;if(s){n.document.removeEventListener("focusin",s.focusInHandler,!0),n.document.removeEventListener("focusout",s.focusOutHandler,!0);for(const f of s.shadowTargets){const d=f.deref();d&&(d.removeEventListener("focusin",s.focusInHandler,!0),d.removeEventListener("focusout",s.focusOutHandler,!0))}s.shadowTargets.clear(),delete n.__keyborgData}l&&(a.focus=l)}var PS=500,$v=0,US=class{constructor(o,n){this._isNavigatingWithKeyboard_DO_NOT_USE=!1,this._onFocusIn=l=>{if(this._isMouseOrTouchUsedTimer||this.isNavigatingWithKeyboard)return;const s=l.detail;s.relatedTarget&&(s.isFocusedProgrammatically||s.isFocusedProgrammatically===void 0||(this.isNavigatingWithKeyboard=!0))},this._onMouseDown=l=>{l.buttons===0||l.clientX===0&&l.clientY===0&&l.screenX===0&&l.screenY===0||this._onMouseOrTouch()},this._onMouseOrTouch=()=>{const l=this._win;l&&(this._isMouseOrTouchUsedTimer&&l.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=l.setTimeout(()=>{delete this._isMouseOrTouchUsedTimer},1e3)),this.isNavigatingWithKeyboard=!1},this._onKeyDown=l=>{this.isNavigatingWithKeyboard?this._shouldDismissKeyboardNavigation(l)&&this._scheduleDismiss():this._shouldTriggerKeyboardNavigation(l)&&(this.isNavigatingWithKeyboard=!0)},this.id="c"+ ++$v,this._win=o;const a=o.document;if(n){const l=n.triggerKeys,s=n.dismissKeys;l!=null&&l.length&&(this._triggerKeys=new Set(l)),s!=null&&s.length&&(this._dismissKeys=new Set(s))}a.addEventListener(yo,this._onFocusIn,!0),a.addEventListener("mousedown",this._onMouseDown,!0),o.addEventListener("keydown",this._onKeyDown,!0),a.addEventListener("touchstart",this._onMouseOrTouch,!0),a.addEventListener("touchend",this._onMouseOrTouch,!0),a.addEventListener("touchcancel",this._onMouseOrTouch,!0),HS(o)}get isNavigatingWithKeyboard(){return this._isNavigatingWithKeyboard_DO_NOT_USE}set isNavigatingWithKeyboard(o){this._isNavigatingWithKeyboard_DO_NOT_USE!==o&&(this._isNavigatingWithKeyboard_DO_NOT_USE=o,this.update())}dispose(){const o=this._win;if(o){this._isMouseOrTouchUsedTimer&&(o.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=void 0),this._dismissTimer&&(o.clearTimeout(this._dismissTimer),this._dismissTimer=void 0),LS(o);const n=o.document;n.removeEventListener(yo,this._onFocusIn,!0),n.removeEventListener("mousedown",this._onMouseDown,!0),o.removeEventListener("keydown",this._onKeyDown,!0),n.removeEventListener("touchstart",this._onMouseOrTouch,!0),n.removeEventListener("touchend",this._onMouseOrTouch,!0),n.removeEventListener("touchcancel",this._onMouseOrTouch,!0),delete this._win}}isDisposed(){return!!this._win}update(){var o,n;const a=(n=(o=this._win)==null?void 0:o.__keyborg)==null?void 0:n.refs;if(a)for(const l of Object.keys(a))Zf.update(a[l],this.isNavigatingWithKeyboard)}_shouldTriggerKeyboardNavigation(o){var n;if(o.key==="Tab")return!0;const a=(n=this._win)==null?void 0:n.document.activeElement,l=!this._triggerKeys||this._triggerKeys.has(o.keyCode),s=a&&(a.tagName==="INPUT"||a.tagName==="TEXTAREA"||a.isContentEditable);return l&&!s}_shouldDismissKeyboardNavigation(o){var n;return(n=this._dismissKeys)==null?void 0:n.has(o.keyCode)}_scheduleDismiss(){const o=this._win;if(o){this._dismissTimer&&(o.clearTimeout(this._dismissTimer),this._dismissTimer=void 0);const n=o.document.activeElement;this._dismissTimer=o.setTimeout(()=>{this._dismissTimer=void 0;const a=o.document.activeElement;n&&a&&n===a&&(this.isNavigatingWithKeyboard=!1)},PS)}}},Zf=class ep{constructor(n,a){this._cb=[],this._id="k"+ ++$v,this._win=n;const l=n.__keyborg;l?(this._core=l.core,l.refs[this._id]=this):(this._core=new US(n,a),n.__keyborg={core:this._core,refs:{[this._id]:this}})}static create(n,a){return new ep(n,a)}static dispose(n){n.dispose()}static update(n,a){n._cb.forEach(l=>l(a))}dispose(){var n;const a=(n=this._win)==null?void 0:n.__keyborg;a!=null&&a.refs[this._id]&&(delete a.refs[this._id],Object.keys(a.refs).length===0&&(a.core.dispose(),delete this._win.__keyborg)),this._cb=[],delete this._core,delete this._win}isNavigatingWithKeyboard(){var n;return!!((n=this._core)!=null&&n.isNavigatingWithKeyboard)}subscribe(n){this._cb.push(n)}unsubscribe(n){const a=this._cb.indexOf(n);a>=0&&this._cb.splice(a,1)}setVal(n){this._core&&(this._core.isNavigatingWithKeyboard=n)}};function Xf(o,n){return Zf.create(o,n)}function If(o){Zf.dispose(o)}/*! + * 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 Tr="data-tabster",GS="data-tabster-dummy",tp=`:is(${["a[href]","button","input","select","textarea","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", ")}):not(:disabled)`,Zn={EscapeGroupper:1,Restorer:2,Deloser:3},$n={Source:0,Target:1},VS={Outside:2};/*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */function so(o,n){var a;return(a=o.storageEntry(n))===null||a===void 0?void 0:a.tabster}function op(o,n,a){var l,s,f;const d=a||o._noop?void 0:n.getAttribute(Tr);let g=o.storageEntry(n),v;if(d)if(d!==((l=g==null?void 0:g.attr)===null||l===void 0?void 0:l.string))try{const x=JSON.parse(d);if(typeof x!="object")throw new Error(`Value is not a JSON object, got '${d}'.`);v={string:d,object:x}}catch{}else return;else if(!g)return;g||(g=o.storageEntry(n,!0)),g.tabster||(g.tabster={});const h=g.tabster||{},b=((s=g.attr)===null||s===void 0?void 0:s.object)||{},p=(v==null?void 0:v.object)||{};for(const x of Object.keys(b))if(!p[x]){if(x==="root"){const S=h[x];S&&o.root.onRoot(S,!0)}switch(x){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const S=h[x];S&&(S.dispose(),delete h[x]);break;case"observed":delete h[x],o.observedElement&&o.observedElement.onObservedElementUpdate(n);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete h[x];break}}for(const x of Object.keys(p)){const S=p.sys;switch(x){case"deloser":h.deloser?h.deloser.setProps(p.deloser):o.deloser&&(h.deloser=o.deloser.createDeloser(n,p.deloser));break;case"root":h.root?h.root.setProps(p.root):h.root=o.root.createRoot(n,p.root,S),o.root.onRoot(h.root);break;case"modalizer":{let w;const B=o.modalizer;if(h.modalizer){const A=p.modalizer,N=A.id;N&&((f=b==null?void 0:b.modalizer)===null||f===void 0?void 0:f.id)!==N?(h.modalizer.dispose(),w=A):h.modalizer.setProps(A)}else B&&(w=p.modalizer);B&&w&&(h.modalizer=B.createModalizer(n,w,S))}break;case"restorer":h.restorer?h.restorer.setProps(p.restorer):o.restorer&&p.restorer&&(h.restorer=o.restorer.createRestorer(n,p.restorer));break;case"focusable":h.focusable=p.focusable;break;case"groupper":h.groupper?h.groupper.setProps(p.groupper):o.groupper&&(h.groupper=o.groupper.createGroupper(n,p.groupper,S));break;case"mover":h.mover?h.mover.setProps(p.mover):o.mover&&(h.mover=o.mover.createMover(n,p.mover,S));break;case"observed":o.observedElement&&(h.observed=p.observed,o.observedElement.onObservedElementUpdate(n));break;case"uncontrolled":h.uncontrolled=p.uncontrolled;break;case"outline":o.outline&&(h.outline=p.outline);break;case"sys":h.sys=p.sys;break;default:console.error(`Unknown key '${x}' in data-tabster attribute value.`)}}v?g.attr=v:(Object.keys(h).length===0&&(delete g.tabster,delete g.attr),o.storageEntry(n,!1))}/*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */const ZS="tabster:focusin",XS="tabster:focusout",IS="tabster:movefocus",YS="tabster:modalizer:active",WS="tabster:modalizer:inactive",kf="tabster:restorer:restore-focus",KS="tabster:root:focus",QS="tabster:root:blur",JS=typeof CustomEvent<"u"?CustomEvent:function(){};class Ar extends JS{constructor(n,a){super(n,{bubbles:!0,cancelable:!0,composed:!0,detail:a}),this.details=a}}class $S extends Ar{constructor(n){super(ZS,n)}}class ew extends Ar{constructor(n){super(XS,n)}}class ni extends Ar{constructor(n){super(IS,n)}}class tw extends Ar{constructor(n){super(YS,n)}}class ow extends Ar{constructor(n){super(WS,n)}}class I1 extends Ar{constructor(){super(kf)}}class rw extends Ar{constructor(n){super(KS,n)}}class nw extends Ar{constructor(n){super(QS,n)}}/*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */const aw=o=>new MutationObserver(o),iw=(o,n,a,l)=>o.createTreeWalker(n,a,l),lw=o=>o?o.parentNode:null,cw=o=>o?o.parentElement:null,sw=(o,n)=>!!(n&&(o!=null&&o.contains(n))),uw=o=>o.activeElement,fw=(o,n)=>o.querySelector(n),dw=(o,n)=>Array.prototype.slice.call(o.querySelectorAll(n),0),gw=(o,n)=>o.getElementById(n),hw=o=>(o==null?void 0:o.firstChild)||null,mw=o=>(o==null?void 0:o.lastChild)||null,vw=o=>(o==null?void 0:o.nextSibling)||null,pw=o=>(o==null?void 0:o.previousSibling)||null,bw=o=>(o==null?void 0:o.firstElementChild)||null,yw=o=>(o==null?void 0:o.lastElementChild)||null,xw=o=>(o==null?void 0:o.nextElementSibling)||null,Sw=o=>(o==null?void 0:o.previousElementSibling)||null,ww=(o,n)=>o.appendChild(n),Bw=(o,n,a)=>o.insertBefore(n,a),kw=o=>{var n;return((n=o.ownerDocument)===null||n===void 0?void 0:n.getSelection())||null},_w=(o,n)=>o.ownerDocument.getElementsByName(n),te={createMutationObserver:aw,createTreeWalker:iw,getParentNode:lw,getParentElement:cw,nodeContains:sw,getActiveElement:uw,querySelector:fw,querySelectorAll:dw,getElementById:gw,getFirstChild:hw,getLastChild:mw,getNextSibling:vw,getPreviousSibling:pw,getFirstElementChild:bw,getLastElementChild:yw,getNextElementSibling:xw,getPreviousElementSibling:Sw,appendChild:ww,insertBefore:Bw,getSelection:kw,getElementsByName:_w};function zw(o){for(const n of Object.keys(o))te[n]=o[n]}/*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */let _f,Tw=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),_f=!1}catch{_f=!0}const of=100;function rn(o){const n=o();let a=n.__tabsterInstanceContext;return a||(a={elementByUId:{},basics:{Promise:n.Promise||void 0,WeakRef:n.WeakRef||void 0},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0,fakeWeakRefs:[],fakeWeakRefsStarted:!1},n.__tabsterInstanceContext=a),a}function Nw(o){const n=o.__tabsterInstanceContext;n&&(n.elementByUId={},delete n.WeakRef,n.containerBoundingRectCache={},n.containerBoundingRectCacheTimer&&o.clearTimeout(n.containerBoundingRectCacheTimer),n.fakeWeakRefsTimer&&o.clearTimeout(n.fakeWeakRefsTimer),n.fakeWeakRefs=[],delete o.__tabsterInstanceContext)}function Ew(o){const n=o.__tabsterInstanceContext;return new((n==null?void 0:n.basics.WeakMap)||WeakMap)}function Aw(o){return!!o.querySelector(tp)}class rp{constructor(n){this._target=n}deref(){return this._target}static cleanup(n,a){return n._target?a||!Yf(n._target.ownerDocument,n._target)?(delete n._target,!0):!1:!0}}class bo{constructor(n,a,l){const s=rn(n);let f;s.WeakRef?f=new s.WeakRef(a):(f=new rp(a),s.fakeWeakRefs.push(f)),this._ref=f,this._data=l}get(){const n=this._ref;let a;return n&&(a=n.deref(),a||delete this._ref),a}getData(){return this._data}}function np(o,n){const a=rn(o);a.fakeWeakRefs=a.fakeWeakRefs.filter(l=>!rp.cleanup(l,n))}function ap(o){const n=rn(o);n.fakeWeakRefsStarted||(n.fakeWeakRefsStarted=!0,n.WeakRef=Mw(n)),n.fakeWeakRefsTimer||(n.fakeWeakRefsTimer=o().setTimeout(()=>{n.fakeWeakRefsTimer=void 0,np(o),ap(o)},120*1e3))}function jw(o){const n=rn(o);n.fakeWeakRefsStarted=!1,n.fakeWeakRefsTimer&&(o().clearTimeout(n.fakeWeakRefsTimer),n.fakeWeakRefsTimer=void 0,n.fakeWeakRefs=[])}function ip(o,n,a){if(n.nodeType!==Node.ELEMENT_NODE)return;const l=_f?a:{acceptNode:a};return te.createTreeWalker(o,n,NodeFilter.SHOW_ELEMENT,l,!1)}function Cw(o){o.__shouldIgnoreFocus=!0}function lp(o){return!!o.__shouldIgnoreFocus}function Rw(o){const n=new Uint32Array(4);if(o.crypto&&o.crypto.getRandomValues)o.crypto.getRandomValues(n);else if(o.msCrypto&&o.msCrypto.getRandomValues)o.msCrypto.getRandomValues(n);else for(let l=0;l{if(this._fixedTarget){const x=this._fixedTarget.get();x&&en(x);return}const p=this.input;if(this.onFocusIn&&p){const x=b.relatedTarget;this.onFocusIn(this,this._isBackward(!0,p,x),x)}},this._focusOut=b=>{if(this._fixedTarget)return;this.useDefaultAction=!1;const p=this.input;if(this.onFocusOut&&p){const x=b.relatedTarget;this.onFocusOut(this,this._isBackward(!1,p,x),x)}};const g=n(),v=g.document.createElement("i");v.tabIndex=0,v.setAttribute("role","none"),v.setAttribute(GS,""),v.setAttribute("aria-hidden","true");const h=v.style;h.position="fixed",h.width=h.height="1px",h.opacity="0.001",h.zIndex="-1",h.setProperty("content-visibility","hidden"),Cw(v),this.input=v,this.isFirst=l.isFirst,this.isOutside=a,this._isPhantom=(d=l.isPhantom)!==null&&d!==void 0?d:!1,this._fixedTarget=f,v.addEventListener("focusin",this._focusIn),v.addEventListener("focusout",this._focusOut),v.__tabsterDummyContainer=s,this._isPhantom&&(this._disposeTimer=g.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{this._disposeTimer&&(g.clearTimeout(this._disposeTimer),delete this._disposeTimer),delete this._clearDisposeTimeout})}dispose(){var n;this._clearDisposeTimeout&&this._clearDisposeTimeout();const a=this.input;a&&(delete this._fixedTarget,delete this.onFocusIn,delete this.onFocusOut,delete this.input,a.removeEventListener("focusin",this._focusIn),a.removeEventListener("focusout",this._focusOut),delete a.__tabsterDummyContainer,(n=te.getParentNode(a))===null||n===void 0||n.removeChild(a))}setTopLeft(n,a){var l;const s=(l=this.input)===null||l===void 0?void 0:l.style;s&&(s.top=`${n}px`,s.left=`${a}px`)}_isBackward(n,a,l){return n&&!l?!this.isFirst:!!(l&&a.compareDocumentPosition(l)&Node.DOCUMENT_POSITION_FOLLOWING)}}const cp={Root:1,Modalizer:2};class ec{constructor(n,a,l,s,f,d){this._element=a,this._instance=new Hw(n,a,this,l,s,f,d)}_setHandlers(n,a){this._onFocusIn=n,this._onFocusOut=a}moveOut(n){var a;(a=this._instance)===null||a===void 0||a.moveOut(n)}moveOutWithDefaultAction(n,a){var l;(l=this._instance)===null||l===void 0||l.moveOutWithDefaultAction(n,a)}getHandler(n){return n?this._onFocusIn:this._onFocusOut}setTabbable(n){var a;(a=this._instance)===null||a===void 0||a.setTabbable(this,n)}dispose(){this._instance&&(this._instance.dispose(this),delete this._instance),delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(n,a,l,s,f){const g=new $l(n.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(g){let v,h;if(a.tagName==="BODY")v=a,h=l&&s||!l&&!s?te.getFirstElementChild(a):null;else{l&&(!s||s&&!n.focusable.isFocusable(a,!1,!0,!0))?(v=a,h=s?a.firstElementChild:null):(v=te.getParentElement(a),h=l&&s||!l&&!s?a:te.getNextElementSibling(a));let b,p;do b=l&&s||!l&&!s?te.getPreviousElementSibling(h):h,p=Kf(b),p===a?h=l&&s||!l&&!s?b:te.getNextElementSibling(b):p=null;while(p)}v!=null&&v.dispatchEvent(new ni({by:"root",owner:v,next:null,relatedEvent:f}))&&(te.insertBefore(v,g,h),en(g))}}static addPhantomDummyWithTarget(n,a,l,s){const d=new $l(n.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new bo(n.getWindow,s)).input;if(d){let g,v;Aw(a)&&!l?(g=a,v=te.getFirstElementChild(a)):(g=te.getParentElement(a),v=l?a:te.getNextElementSibling(a)),g&&te.insertBefore(g,d,v)}}}class Fw{constructor(n){this._updateQueue=new Set,this._lastUpdateQueueTime=0,this._changedParents=new WeakSet,this._dummyElements=[],this._dummyCallbacks=new WeakMap,this._domChanged=a=>{var l;this._changedParents.has(a)||(this._changedParents.add(a),!this._updateDummyInputsTimer&&(this._updateDummyInputsTimer=(l=this._win)===null||l===void 0?void 0:l.call(this).setTimeout(()=>{delete this._updateDummyInputsTimer;for(const s of this._dummyElements){const f=s.get();if(f){const d=this._dummyCallbacks.get(f);if(d){const g=te.getParentNode(f);(!g||this._changedParents.has(g))&&d()}}}this._changedParents=new WeakSet},of)))},this._win=n}add(n,a){!this._dummyCallbacks.has(n)&&this._win&&(this._dummyElements.push(new bo(this._win,n)),this._dummyCallbacks.set(n,a),this.domChanged=this._domChanged)}remove(n){this._dummyElements=this._dummyElements.filter(a=>{const l=a.get();return l&&l!==n}),this._dummyCallbacks.delete(n),this._dummyElements.length===0&&delete this.domChanged}dispose(){var n;const a=(n=this._win)===null||n===void 0?void 0:n.call(this);this._updateTimer&&(a==null||a.clearTimeout(this._updateTimer),delete this._updateTimer),this._updateDummyInputsTimer&&(a==null||a.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(n){this._win&&(this._updateQueue.add(n),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions())}_scheduledUpdatePositions(){var n;this._updateTimer||(this._updateTimer=(n=this._win)===null||n===void 0?void 0:n.call(this).setTimeout(()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+of<=Date.now()){const a=new Map,l=[];for(const s of this._updateQueue)l.push(s(a));this._updateQueue.clear();for(const s of l)s();a.clear()}else this._scheduledUpdatePositions()},of))}}class Hw{constructor(n,a,l,s,f,d,g){this._wrappers=[],this._isOutside=!1,this._transformElements=new Set,this._onFocusIn=(S,w,B)=>{this._onFocus(!0,S,w,B)},this._onFocusOut=(S,w,B)=>{this._onFocus(!1,S,w,B)},this.moveOut=S=>{var w;const B=this._firstDummy,A=this._lastDummy;if(B&&A){this._ensurePosition();const N=B.input,D=A.input,j=(w=this._element)===null||w===void 0?void 0:w.get();if(N&&D&&j){let L;S?(N.tabIndex=0,L=N):(D.tabIndex=0,L=D),L&&en(L)}}},this.moveOutWithDefaultAction=(S,w)=>{var B;const A=this._firstDummy,N=this._lastDummy;if(A&&N){this._ensurePosition();const D=A.input,j=N.input,L=(B=this._element)===null||B===void 0?void 0:B.get();if(D&&j&&L){let Z;S?!A.isOutside&&this._tabster.focusable.isFocusable(L,!0,!0,!0)?Z=L:(A.useDefaultAction=!0,D.tabIndex=0,Z=D):(N.useDefaultAction=!0,j.tabIndex=0,Z=j),Z&&L.dispatchEvent(new ni({by:"root",owner:L,next:null,relatedEvent:w}))&&en(Z)}}},this.setTabbable=(S,w)=>{var B,A;for(const D of this._wrappers)if(D.manager===S){D.tabbable=w;break}const N=this._getCurrent();if(N){const D=N.tabbable?0:-1;let j=(B=this._firstDummy)===null||B===void 0?void 0:B.input;j&&(j.tabIndex=D),j=(A=this._lastDummy)===null||A===void 0?void 0:A.input,j&&(j.tabIndex=D)}},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=S=>{var w,B;const A=((w=this._firstDummy)===null||w===void 0?void 0:w.input)||((B=this._lastDummy)===null||B===void 0?void 0:B.input),N=this._transformElements,D=new Set;let j=0,L=0;const Z=this._getWindow();for(let H=A;H&&H.nodeType===Node.ELEMENT_NODE;H=te.getParentElement(H)){let U=S.get(H);if(U===void 0){const ie=Z.getComputedStyle(H).transform;ie&&ie!=="none"&&(U={scrollTop:H.scrollTop,scrollLeft:H.scrollLeft}),S.set(H,U||null)}U&&(D.add(H),N.has(H)||H.addEventListener("scroll",this._addTransformOffsets),j+=U.scrollTop,L+=U.scrollLeft)}for(const H of N)D.has(H)||H.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=D,()=>{var H,U;(H=this._firstDummy)===null||H===void 0||H.setTopLeft(j,L),(U=this._lastDummy)===null||U===void 0||U.setTopLeft(j,L)}};const v=a.get();if(!v)throw new Error("No element");this._tabster=n,this._getWindow=n.getWindow,this._callForDefaultAction=g;const h=v.__tabsterDummy;if((h||this)._wrappers.push({manager:l,priority:s,tabbable:!0}),h)return h;v.__tabsterDummy=this;const b=f==null?void 0:f.dummyInputsPosition,p=v.tagName;this._isOutside=b?b===VS.Outside:(d||p==="UL"||p==="OL"||p==="TABLE")&&!(p==="LI"||p==="TD"||p==="TH"),this._firstDummy=new $l(this._getWindow,this._isOutside,{isFirst:!0},a),this._lastDummy=new $l(this._getWindow,this._isOutside,{isFirst:!1},a);const x=this._firstDummy.input;x&&n._dummyObserver.add(x,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=a,this._addDummyInputs()}dispose(n,a){var l,s,f,d;if((this._wrappers=this._wrappers.filter(v=>v.manager!==n&&!a)).length===0){delete((l=this._element)===null||l===void 0?void 0:l.get()).__tabsterDummy;for(const b of this._transformElements)b.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();const v=this._getWindow();this._addTimer&&(v.clearTimeout(this._addTimer),delete this._addTimer);const h=(s=this._firstDummy)===null||s===void 0?void 0:s.input;h&&this._tabster._dummyObserver.remove(h),(f=this._firstDummy)===null||f===void 0||f.dispose(),(d=this._lastDummy)===null||d===void 0||d.dispose()}}_onFocus(n,a,l,s){var f;const d=this._getCurrent();d&&(!a.useDefaultAction||this._callForDefaultAction)&&((f=d.manager.getHandler(n))===null||f===void 0||f(a,l,s))}_getCurrent(){return this._wrappers.sort((n,a)=>n.tabbable!==a.tabbable?n.tabbable?-1:1:n.priority-a.priority),this._wrappers[0]}_ensurePosition(){var n,a,l;const s=(n=this._element)===null||n===void 0?void 0:n.get(),f=(a=this._firstDummy)===null||a===void 0?void 0:a.input,d=(l=this._lastDummy)===null||l===void 0?void 0:l.input;if(!(!s||!f||!d))if(this._isOutside){const g=te.getParentNode(s);if(g){const v=te.getNextSibling(s);v!==d&&te.insertBefore(g,d,v),te.getPreviousElementSibling(s)!==f&&te.insertBefore(g,f,s)}}else{te.getLastElementChild(s)!==d&&te.appendChild(s,d);const g=te.getFirstElementChild(s);g&&g!==f&&g.parentNode&&te.insertBefore(g.parentNode,f,g)}}}function sp(o){let n=null;for(let a=te.getLastElementChild(o);a;a=te.getLastElementChild(a))n=a;return n||void 0}function rf(o,n,a,l){const s=o.storageEntry(n,!0);let f=!1;if(!s.aug){if(l===void 0)return f;s.aug={}}if(l===void 0){if(a in s.aug){const d=s.aug[a];delete s.aug[a],d===null?n.removeAttribute(a):n.setAttribute(a,d),f=!0}}else{let d;a in s.aug||(d=n.getAttribute(a)),d!==void 0&&d!==l&&(s.aug[a]=d,l===null?n.removeAttribute(a):n.setAttribute(a,l),f=!0)}return l===void 0&&Object.keys(s.aug).length===0&&(delete s.aug,o.storageEntry(n,!1)),f}function Lw(o){var n,a;const l=o.ownerDocument,s=(n=l.defaultView)===null||n===void 0?void 0:n.getComputedStyle(o);return o.offsetParent===null&&l.body!==o&&(s==null?void 0:s.position)!=="fixed"||(s==null?void 0:s.visibility)==="hidden"||(s==null?void 0:s.position)==="fixed"&&(s.display==="none"||((a=o.parentElement)===null||a===void 0?void 0:a.offsetParent)===null&&l.body!==o.parentElement)}function zf(o){return o.tagName==="INPUT"&&!!o.name&&o.type==="radio"}function Pw(o){if(!zf(o))return;const n=o.name;let a=Array.from(te.getElementsByName(o,n)),l;return a=a.filter(s=>zf(s)?(s.checked&&(l=s),!0):!1),{name:n,buttons:new Set(a),checked:l}}function Kf(o){var n;return((n=o==null?void 0:o.__tabsterDummyContainer)===null||n===void 0?void 0:n.get())||null}/*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */function up(o,n){return JSON.stringify(o)}function Uw(o,n){for(const a of Object.keys(n)){const l=n[a];l?o[a]=l:delete o[a]}}function Gw(o,n,a){let l;{const s=o.getAttribute(Tr);if(s)try{l=JSON.parse(s)}catch{}}l||(l={}),Uw(l,n),Object.keys(l).length>0?o.setAttribute(Tr,up(l)):o.removeAttribute(Tr)}class W1 extends ec{constructor(n,a,l,s){super(n,a,cp.Root,s,void 0,!0),this._onDummyInputFocus=f=>{var d;if(f.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);const g=this._element.get();if(g){this._setFocused(!0);const v=this._tabster.focusedElement.getFirstOrLastTabbable(f.isFirst,{container:g,ignoreAccessibility:!0});if(v){en(v);return}}(d=f.input)===null||d===void 0||d.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=n,this._setFocused=l}}class Vw extends Wf{constructor(n,a,l,s,f){super(n,a,s),this._isFocused=!1,this._setFocused=h=>{var b;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,(b=this._dummyManager)===null||b===void 0||b.setTabbable(!1),p.dispatchEvent(new rw({element:p}))):this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{var x;delete this._setFocusedTimer,this._isFocused=!1,(x=this._dummyManager)===null||x===void 0||x.setTabbable(!0),p.dispatchEvent(new nw({element:p}))},0))},this._onFocusIn=h=>{const b=this._tabster.getParent,p=this._element.get();let x=h.composedPath()[0];do{if(x===p){this._setFocused(!0);return}x=x&&b(x)}while(x)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=l;const d=n.getWindow;this.uid=Dw(d,a),this._sys=f,(n.controlTab||n.rootDummyInputs)&&this.addDummyInputs();const v=d().document;v.addEventListener(yo,this._onFocusIn),v.addEventListener(si,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new W1(this._tabster,this._element,this._setFocused,this._sys))}dispose(){var n;this._onDispose(this);const a=this._tabster.getWindow(),l=a.document;l.removeEventListener(yo,this._onFocusIn),l.removeEventListener(si,this._onFocusOut),this._setFocusedTimer&&(a.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),(n=this._dummyManager)===null||n===void 0||n.dispose(),this._remove()}moveOutWithDefaultAction(n,a){const l=this._dummyManager;if(l)l.moveOutWithDefaultAction(n,a);else{const s=this.getElement();s&&W1.moveWithPhantomDummy(this._tabster,s,!0,n,a)}}_add(){}_remove(){}}class it{constructor(n,a){this._autoRootWaiting=!1,this._roots={},this._forceDummy=!1,this.rootById={},this._autoRootCreate=()=>{var l;const s=this._win().document,f=s.body;if(f){this._autoRootUnwait(s);const d=this._autoRoot;if(d)return Gw(f,{root:d}),op(this._tabster,f),(l=so(this._tabster,f))===null||l===void 0?void 0:l.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,s.addEventListener("readystatechange",this._autoRootCreate))},this._onRootDispose=l=>{delete this._roots[l.id]},this._tabster=n,this._win=n.getWindow,this._autoRoot=a,n.queueInit(()=>{this._autoRoot&&this._autoRootCreate()})}_autoRootUnwait(n){n.removeEventListener("readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){const n=this._win();this._autoRootUnwait(n.document),delete this._autoRoot,Object.keys(this._roots).forEach(a=>{this._roots[a]&&(this._roots[a].dispose(),delete this._roots[a])}),this.rootById={}}createRoot(n,a,l){const s=new Vw(this._tabster,n,this._onRootDispose,a,l);return this._roots[s.id]=s,this._forceDummy&&s.addDummyInputs(),s}addDummyInputs(){this._forceDummy=!0;const n=this._roots;for(const a of Object.keys(n))n[a].addDummyInputs()}static getRootByUId(n,a){const l=n().__tabsterInstance;return l&&l.root.rootById[a]}static getTabsterContext(n,a,l={}){var s,f,d,g;if(!a.ownerDocument)return;const{checkRtl:v,referenceElement:h}=l,b=n.getParent;n.drainInitQueue();let p,x,S,w,B=!1,A,N,D,j,L=h||a;const Z={};for(;L&&(!p||v);){const U=so(n,L);if(v&&D===void 0){const ce=L.dir;ce&&(D=ce.toLowerCase()==="rtl")}if(!U){L=b(L);continue}const ie=L.tagName;(U.uncontrolled||ie==="IFRAME"||ie==="WEBVIEW")&&n.focusable.isVisible(L)&&(j=L),!w&&(!((s=U.focusable)===null||s===void 0)&&s.excludeFromMover)&&!S&&(B=!0);const Be=U.modalizer,be=U.groupper,ye=U.mover;!x&&Be&&(x=Be),!S&&be&&(!x||Be)&&(x?(!be.isActive()&&be.getProps().tabbability&&x.userId!==((f=n.modalizer)===null||f===void 0?void 0:f.activeId)&&(x=void 0,S=be),N=be):S=be),!w&&ye&&(!x||Be)&&(!be||L!==a)&&L.contains(a)&&(w=ye,A=!!S&&S!==be),U.root&&(p=U.root),!((d=U.focusable)===null||d===void 0)&&d.ignoreKeydown&&Object.assign(Z,U.focusable.ignoreKeydown),L=b(L)}if(!p){const U=n.root;U._autoRoot&&!((g=a.ownerDocument)===null||g===void 0)&&g.body&&(p=U._autoRootCreate())}return S&&!w&&(A=!0),p?{root:p,modalizer:x,groupper:S,mover:w,groupperBeforeMover:A,modalizerInGroupper:N,rtl:v?!!D:void 0,uncontrolled:j,excludedFromMover:B,ignoreKeydown:U=>!!Z[U.key]}:void 0}static getRoot(n,a){var l;const s=n.getParent;for(let f=a;f;f=s(f)){const d=(l=so(n,f))===null||l===void 0?void 0:l.root;if(d)return d}}onRoot(n,a){a?delete this.rootById[n.uid]:this.rootById[n.uid]=n}}/*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */class fp{constructor(){this._callbacks=[]}dispose(){this._callbacks=[],delete this._val}subscribe(n){const a=this._callbacks;a.indexOf(n)<0&&a.push(n)}subscribeFirst(n){const a=this._callbacks,l=a.indexOf(n);l>=0&&a.splice(l,1),a.unshift(n)}unsubscribe(n){const a=this._callbacks.indexOf(n);a>=0&&this._callbacks.splice(a,1)}setVal(n,a){this._val!==n&&(this._val=n,this._callCallbacks(n,a))}getVal(){return this._val}trigger(n,a){this._callCallbacks(n,a)}_callCallbacks(n,a){this._callbacks.forEach(l=>l(n,a))}}/*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */class Zw{constructor(n){this._tabster=n}dispose(){}getProps(n){const a=so(this._tabster,n);return a&&a.focusable||{}}isFocusable(n,a,l,s){return Ow(n,tp)&&(a||n.tabIndex!==-1)?(l||this.isVisible(n))&&(s||this.isAccessible(n)):!1}isVisible(n){if(!n.ownerDocument||n.nodeType!==Node.ELEMENT_NODE||Lw(n))return!1;const a=n.ownerDocument.body.getBoundingClientRect();return!(a.width===0&&a.height===0)}isAccessible(n){var a;for(let l=n;l;l=te.getParentElement(l)){const s=so(this._tabster,l);if(this._isHidden(l)||!((a=s==null?void 0:s.focusable)===null||a===void 0?void 0:a.ignoreAriaDisabled)&&this._isDisabled(l))return!1}return!0}_isDisabled(n){return n.hasAttribute("disabled")}_isHidden(n){var a;const l=n.getAttribute("aria-hidden");return!!(l&&l.toLowerCase()==="true"&&!(!((a=this._tabster.modalizer)===null||a===void 0)&&a.isAugmented(n)))}findFirst(n,a){return this.findElement({...n},a)}findLast(n,a){return this.findElement({isBackward:!0,...n},a)}findNext(n,a){return this.findElement({...n},a)}findPrev(n,a){return this.findElement({...n,isBackward:!0},a)}findDefault(n,a){return this.findElement({...n,acceptCondition:l=>this.isFocusable(l,n.includeProgrammaticallyFocusable)&&!!this.getProps(l).isDefault},a)||null}findAll(n){return this._findElements(!0,n)||[]}findElement(n,a){const l=this._findElements(!1,n,a);return l&&l[0]}_findElements(n,a,l){var s,f,d;const{container:g,currentElement:v=null,includeProgrammaticallyFocusable:h,useActiveModalizer:b,ignoreAccessibility:p,modalizerId:x,isBackward:S,onElement:w}=a;l||(l={});const B=[];let{acceptCondition:A}=a;const N=!!A;if(!g)return null;A||(A=Z=>this.isFocusable(Z,h,!1,p));const D={container:g,modalizerUserId:x===void 0&&b?(s=this._tabster.modalizer)===null||s===void 0?void 0:s.activeId:x||((d=(f=it.getTabsterContext(this._tabster,g))===null||f===void 0?void 0:f.modalizer)===null||d===void 0?void 0:d.userId),from:v||g,isBackward:S,isFindAll:n,acceptCondition:A,hasCustomCondition:N,includeProgrammaticallyFocusable:h,ignoreAccessibility:p,cachedGrouppers:{},cachedRadioGroups:{}},j=ip(g.ownerDocument,g,Z=>this._acceptElement(Z,D));if(!j)return null;const L=Z=>{var H,U;const ie=(H=D.foundElement)!==null&&H!==void 0?H:D.foundBackward;return ie&&B.push(ie),n?ie&&(D.found=!1,delete D.foundElement,delete D.foundBackward,delete D.fromCtx,D.from=ie,w&&!w(ie))?!1:!!(ie||Z):(ie&&l&&(l.uncontrolled=(U=it.getTabsterContext(this._tabster,ie))===null||U===void 0?void 0:U.uncontrolled),!!(Z&&!ie))};if(v||(l.outOfDOMOrder=!0),v&&te.nodeContains(g,v))j.currentNode=v;else if(S){const Z=sp(g);if(!Z)return null;if(this._acceptElement(Z,D)===NodeFilter.FILTER_ACCEPT&&!L(!0))return D.skippedFocusable&&(l.outOfDOMOrder=!0),B;j.currentNode=Z}do S?j.previousNode():j.nextNode();while(L());return D.skippedFocusable&&(l.outOfDOMOrder=!0),B.length?B:null}_acceptElement(n,a){var l,s,f;if(a.found)return NodeFilter.FILTER_ACCEPT;const d=a.foundBackward;if(d&&(n===d||!te.nodeContains(d,n)))return a.found=!0,a.foundElement=d,NodeFilter.FILTER_ACCEPT;const g=a.container;if(n===g)return NodeFilter.FILTER_SKIP;if(!te.nodeContains(g,n)||Kf(n)||te.nodeContains(a.rejectElementsFrom,n))return NodeFilter.FILTER_REJECT;const v=a.currentCtx=it.getTabsterContext(this._tabster,n);if(!v)return NodeFilter.FILTER_SKIP;if(lp(n))return this.isFocusable(n,void 0,!0,!0)&&(a.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!a.hasCustomCondition&&(n.tagName==="IFRAME"||n.tagName==="WEBVIEW"))return this.isVisible(n)&&((l=v.modalizer)===null||l===void 0?void 0:l.userId)===((s=this._tabster.modalizer)===null||s===void 0?void 0:s.activeId)?(a.found=!0,a.rejectElementsFrom=a.foundElement=n,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT;if(!a.ignoreAccessibility&&!this.isAccessible(n))return this.isFocusable(n,!1,!0,!0)&&(a.skippedFocusable=!0),NodeFilter.FILTER_REJECT;let h,b=a.fromCtx;b||(b=a.fromCtx=it.getTabsterContext(this._tabster,a.from));const p=b==null?void 0:b.mover;let x=v.groupper,S=v.mover;if(h=(f=this._tabster.modalizer)===null||f===void 0?void 0:f.acceptElement(n,a),h!==void 0&&(a.skippedFocusable=!0),h===void 0&&(x||S||p)){const w=x==null?void 0:x.getElement(),B=p==null?void 0:p.getElement();let A=S==null?void 0:S.getElement();if(A&&te.nodeContains(B,A)&&te.nodeContains(g,B)&&(!w||!S||te.nodeContains(B,w))&&(S=p,A=B),w){if(w===g||!te.nodeContains(g,w))x=void 0;else if(!te.nodeContains(w,n))return NodeFilter.FILTER_REJECT}if(A){if(!te.nodeContains(g,A))S=void 0;else if(!te.nodeContains(A,n))return NodeFilter.FILTER_REJECT}x&&S&&(A&&w&&!te.nodeContains(w,A)?S=void 0:x=void 0),x&&(h=x.acceptElement(n,a)),S&&(h=S.acceptElement(n,a))}if(h===void 0&&(h=a.acceptCondition(n)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,h===NodeFilter.FILTER_SKIP&&this.isFocusable(n,!1,!0,!0)&&(a.skippedFocusable=!0)),h===NodeFilter.FILTER_ACCEPT&&!a.found){if(!a.isFindAll&&zf(n)&&!n.checked){const w=n.name;let B=a.cachedRadioGroups[w];if(B||(B=Pw(n),B&&(a.cachedRadioGroups[w]=B)),B!=null&&B.checked&&B.checked!==n)return NodeFilter.FILTER_SKIP}a.isBackward?(a.foundBackward=n,h=NodeFilter.FILTER_SKIP):(a.found=!0,a.foundElement=n)}return h}}/*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */const dp={Tab:"Tab",Escape:"Escape"};/*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */function Xw(o,n){var a;const l=o.getParent;let s=n;do{const f=(a=so(o,s))===null||a===void 0?void 0:a.uncontrolled;if(f&&o.uncontrolled.isUncontrolledCompletely(s,!!f.completely))return s;s=l(s)}while(s)}const K1={[Zn.Restorer]:0,[Zn.Deloser]:1,[Zn.EscapeGroupper]:2};class ut extends fp{constructor(n,a){super(),this._init=()=>{const l=this._win(),s=l.document;s.addEventListener(yo,this._onFocusIn,!0),s.addEventListener(si,this._onFocusOut,!0),l.addEventListener("keydown",this._onKeyDown,!0);const f=te.getActiveElement(s);f&&f!==s.body&&this._setFocusedElement(f),this.subscribe(this._onChanged)},this._onFocusIn=l=>{const s=l.composedPath()[0];s&&this._setFocusedElement(s,l.detail.relatedTarget,l.detail.isFocusedProgrammatically)},this._onFocusOut=l=>{var s;this._setFocusedElement(void 0,(s=l.detail)===null||s===void 0?void 0:s.originalEvent.relatedTarget)},this._validateFocusedElement=l=>{},this._onKeyDown=l=>{if(l.key!==dp.Tab||l.ctrlKey)return;const s=this.getVal();if(!s||!s.ownerDocument||s.contentEditable==="true")return;const f=this._tabster,d=f.controlTab,g=it.getTabsterContext(f,s);if(!g||g.ignoreKeydown(l))return;const v=l.shiftKey,h=ut.findNextTabbable(f,g,void 0,s,void 0,v,!0),b=g.root.getElement();if(!b)return;const p=h==null?void 0:h.element,x=Xw(f,s);if(p){const S=h.uncontrolled;if(g.uncontrolled||te.nodeContains(S,s)){if(!h.outOfDOMOrder&&S===g.uncontrolled||x&&!te.nodeContains(x,p))return;ec.addPhantomDummyWithTarget(f,s,v,p);return}if(S&&f.focusable.isVisible(S)||p.tagName==="IFRAME"&&f.focusable.isVisible(p)){b.dispatchEvent(new ni({by:"root",owner:b,next:p,relatedEvent:l}))&&ec.moveWithPhantomDummy(f,S??p,!1,v,l);return}(d||h!=null&&h.outOfDOMOrder)&&b.dispatchEvent(new ni({by:"root",owner:b,next:p,relatedEvent:l}))&&(l.preventDefault(),l.stopImmediatePropagation(),en(p))}else!x&&b.dispatchEvent(new ni({by:"root",owner:b,next:null,relatedEvent:l}))&&g.root.moveOutWithDefaultAction(v,l)},this._onChanged=(l,s)=>{var f,d;if(l)l.dispatchEvent(new $S(s));else{const g=(f=this._lastVal)===null||f===void 0?void 0:f.get();if(g){const v={...s},h=it.getTabsterContext(this._tabster,g),b=(d=h==null?void 0:h.modalizer)===null||d===void 0?void 0:d.userId;b&&(v.modalizerId=b),g.dispatchEvent(new ew(v))}}},this._tabster=n,this._win=a,n.queueInit(this._init)}dispose(){super.dispose();const n=this._win(),a=n.document;a.removeEventListener(yo,this._onFocusIn,!0),a.removeEventListener(si,this._onFocusOut,!0),n.removeEventListener("keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged);const l=this._asyncFocus;l&&(n.clearTimeout(l.timeout),delete this._asyncFocus),delete ut._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(n,a){var l,s;let f=ut._lastResetElement,d=f&&f.get();d&&te.nodeContains(a,d)&&delete ut._lastResetElement,d=(s=(l=n._nextVal)===null||l===void 0?void 0:l.element)===null||s===void 0?void 0:s.get(),d&&te.nodeContains(a,d)&&delete n._nextVal,f=n._lastVal,d=f&&f.get(),d&&te.nodeContains(a,d)&&delete n._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){var n;let a=(n=this._lastVal)===null||n===void 0?void 0:n.get();return(!a||a&&!Yf(a.ownerDocument,a))&&(this._lastVal=a=void 0),a}focus(n,a,l,s){return this._tabster.focusable.isFocusable(n,a,!1,l)?(n.focus({preventScroll:s}),!0):!1}focusDefault(n){const a=this._tabster.focusable.findDefault({container:n});return a?(this._tabster.focusedElement.focus(a),!0):!1}getFirstOrLastTabbable(n,a){var l;const{container:s,ignoreAccessibility:f}=a;let d;if(s){const g=it.getTabsterContext(this._tabster,s);g&&(d=(l=ut.findNextTabbable(this._tabster,g,s,void 0,void 0,!n,f))===null||l===void 0?void 0:l.element)}return d&&!te.nodeContains(s,d)&&(d=void 0),d||void 0}_focusFirstOrLast(n,a){const l=this.getFirstOrLastTabbable(n,a);return l?(this.focus(l,!1,!0),!0):!1}focusFirst(n){return this._focusFirstOrLast(!0,n)}focusLast(n){return this._focusFirstOrLast(!1,n)}resetFocus(n){if(!this._tabster.focusable.isVisible(n))return!1;if(this._tabster.focusable.isFocusable(n,!0,!0,!0))this.focus(n);else{const a=n.getAttribute("tabindex"),l=n.getAttribute("aria-hidden");n.tabIndex=-1,n.setAttribute("aria-hidden","true"),ut._lastResetElement=new bo(this._win,n),this.focus(n,!0,!0),this._setOrRemoveAttribute(n,"tabindex",a),this._setOrRemoveAttribute(n,"aria-hidden",l)}return!0}requestAsyncFocus(n,a,l){const s=this._tabster.getWindow(),f=this._asyncFocus;if(f){if(K1[n]>K1[f.source])return;s.clearTimeout(f.timeout)}this._asyncFocus={source:n,callback:a,timeout:s.setTimeout(()=>{this._asyncFocus=void 0,a()},l)}}cancelAsyncFocus(n){const a=this._asyncFocus;(a==null?void 0:a.source)===n&&(this._tabster.getWindow().clearTimeout(a.timeout),this._asyncFocus=void 0)}_setOrRemoveAttribute(n,a,l){l===null?n.removeAttribute(a):n.setAttribute(a,l)}_setFocusedElement(n,a,l){var s,f;if(this._tabster._noop)return;const d={relatedTarget:a};if(n){const v=(s=ut._lastResetElement)===null||s===void 0?void 0:s.get();if(ut._lastResetElement=void 0,v===n||lp(n))return;d.isFocusedProgrammatically=l;const h=it.getTabsterContext(this._tabster,n),b=(f=h==null?void 0:h.modalizer)===null||f===void 0?void 0:f.userId;b&&(d.modalizerId=b)}const g=this._nextVal={element:n?new bo(this._win,n):void 0,detail:d};n&&n!==this._val&&this._validateFocusedElement(n),this._nextVal===g&&this.setVal(n,d),this._nextVal=void 0}setVal(n,a){super.setVal(n,a),n&&(this._lastVal=new bo(this._win,n))}static findNextTabbable(n,a,l,s,f,d,g){const v=l||a.root.getElement();if(!v)return null;let h=null;const b=ut._isTabbingTimer,p=n.getWindow();b&&p.clearTimeout(b),ut.isTabbing=!0,ut._isTabbingTimer=p.setTimeout(()=>{delete ut._isTabbingTimer,ut.isTabbing=!1},0);const x=a.modalizer,S=a.groupper,w=a.mover,B=A=>{if(h=A.findNextTabbable(s,f,d,g),s&&!(h!=null&&h.element)){const N=A!==x&&te.getParentElement(A.getElement());if(N){const D=it.getTabsterContext(n,s,{referenceElement:N});if(D){const j=A.getElement(),L=d?j:j&&sp(j)||j;L&&(h=ut.findNextTabbable(n,D,l,L,N,d,g),h&&(h.outOfDOMOrder=!0))}}}};if(S&&w)B(a.groupperBeforeMover?S:w);else if(S)B(S);else if(w)B(w);else if(x)B(x);else{const A={container:v,currentElement:s,referenceElement:f,ignoreAccessibility:g,useActiveModalizer:!0},N={};h={element:n.focusable[d?"findPrev":"findNext"](A,N),outOfDOMOrder:N.outOfDOMOrder,uncontrolled:N.uncontrolled}}return h}}ut.isTabbing=!1;/*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */class Iw extends fp{constructor(n){super(),this._onChange=a=>{this.setVal(a,void 0)},this._keyborg=Xf(n()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),If(this._keyborg),delete this._keyborg)}setNavigatingWithKeyboard(n){var a;(a=this._keyborg)===null||a===void 0||a.setVal(n)}isNavigatingWithKeyboard(){var n;return!!(!((n=this._keyborg)===null||n===void 0)&&n.isNavigatingWithKeyboard())}}/*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */let Yw=0;const nf="aria-hidden";class Ww extends ec{constructor(n,a,l){super(a,n,cp.Modalizer,l),this._setHandlers((s,f)=>{var d,g;const v=n.get(),h=v&&((d=it.getRoot(a,v))===null||d===void 0?void 0:d.getElement()),b=s.input;let p;if(h&&b){const x=Kf(b),S=it.getTabsterContext(a,x||b);S&&(p=(g=ut.findNextTabbable(a,S,h,b,void 0,f,!0))===null||g===void 0?void 0:g.element),p&&en(p)}})}}class Kw extends Wf{constructor(n,a,l,s,f,d){super(n,a,s),this._wasFocused=0,this.userId=s.id,this._onDispose=l,this._activeElements=d,n.controlTab||(this.dummyManager=new Ww(this._element,n,f))}makeActive(n){if(this._isActive!==n){this._isActive=n;const a=this.getElement();if(a){const l=this._activeElements,s=l.map(f=>f.get()).indexOf(a);n?s<0&&l.push(new bo(this._tabster.getWindow,a)):s>=0&&l.splice(s,1)}this._dispatchEvent(n)}}focused(n){return n||(this._wasFocused=++Yw),this._wasFocused}setProps(n){n.id&&(this.userId=n.id),this._props={...n}}dispose(){var n;this.makeActive(!1),this._onDispose(this),(n=this.dummyManager)===null||n===void 0||n.dispose(),delete this.dummyManager,this._activeElements=[],this._remove()}isActive(){return!!this._isActive}contains(n){return te.nodeContains(this.getElement(),n)}findNextTabbable(n,a,l,s){var f,d;if(!this.getElement())return null;const v=this._tabster;let h=null,b=!1,p;const x=n&&((f=it.getRoot(v,n))===null||f===void 0?void 0:f.getElement());if(x){const S={container:x,currentElement:n,referenceElement:a,ignoreAccessibility:s,useActiveModalizer:!0},w={};h=v.focusable[l?"findPrev":"findNext"](S,w),!h&&this._props.isTrapped&&(!((d=v.modalizer)===null||d===void 0)&&d.activeId)?(h=v.focusable[l?"findLast":"findFirst"]({container:x,ignoreAccessibility:s,useActiveModalizer:!0},w),h===null&&(h=n),b=!0):b=!!w.outOfDOMOrder,p=w.uncontrolled}return{element:h,uncontrolled:p,outOfDOMOrder:b}}_dispatchEvent(n,a){const l=this.getElement();let s=!1;if(l){const f=a?this._activeElements.map(d=>d.get()):[l];for(const d of f)if(d){const g={id:this.userId,element:l},v=n?new tw(g):new ow(g);d.dispatchEvent(v),v.defaultPrevented&&(s=!0)}}return s}_remove(){}}class Qw{constructor(n,a,l){this._onModalizerDispose=f=>{const d=f.id,g=f.userId,v=this._parts[g];if(delete this._modalizers[d],v&&(delete v[d],Object.keys(v).length===0)){delete this._parts[g];const h=this._activationHistory,b=[];let p;for(let x=h.length;x--;){const S=h[x];S!==g&&S!==p&&(p=S,(S||b.length>0)&&b.unshift(S))}if(this._activationHistory=b,this.activeId===g){const x=b[0],S=x?Object.values(this._parts[x])[0]:void 0;this.setActive(S)}}},this._onKeyDown=f=>{var d;if(f.key!==dp.Escape)return;const g=this._tabster,v=g.focusedElement.getFocusedElement();if(v){const h=it.getTabsterContext(g,v),b=h==null?void 0:h.modalizer;if(h&&!h.groupper&&(b!=null&&b.isActive())&&!h.ignoreKeydown(f)){const p=b.userId;if(p){const x=this._parts[p];if(x){const S=Object.keys(x).map(w=>{var B;const A=x[w],N=A.getElement();let D;return N&&(D=(B=so(g,N))===null||B===void 0?void 0:B.groupper),A&&N&&D?{el:N,focusedSince:A.focused(!0)}:{focusedSince:0}}).filter(w=>w.focusedSince>0).sort((w,B)=>w.focusedSince>B.focusedSince?-1:w.focusedSince{var g;const v=this._tabster,h=f&&it.getTabsterContext(v,f);if(!h||!f)return;const b=this._augMap;for(let w=f;w;w=te.getParentElement(w))b.has(w)&&(b.delete(w),rf(v,w,nf));let p=h.modalizer;const x=so(v,f),S=x==null?void 0:x.modalizer;if(S&&(S.focused(),S.userId===this.activeId&&x.groupper)){const w=v.getParent(f),B=w&&((g=it.getTabsterContext(v,w))===null||g===void 0?void 0:g.modalizer);if(B)p=B;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(d.isFocusedProgrammatically||this.currentIsOthersAccessible||p!=null&&p.getProps().isAlwaysAccessible)this.setActive(p);else{const w=this._win();w.clearTimeout(this._restoreModalizerFocusTimer),this._restoreModalizerFocusTimer=w.setTimeout(()=>this._restoreModalizerFocus(f),100)}},this._tabster=n,this._win=n.getWindow,this._modalizers={},this._parts={},this._augMap=new WeakMap,this._aug=[],this._alwaysAccessibleSelector=a,this._accessibleCheck=l,this._activationHistory=[],this.activeElements=[],n.controlTab||n.root.addDummyInputs(),this._win().addEventListener("keydown",this._onKeyDown,!0),n.queueInit(()=>{this._tabster.focusedElement.subscribe(this._onFocus)})}dispose(){const n=this._win();n.removeEventListener("keydown",this._onKeyDown,!0),Object.keys(this._modalizers).forEach(a=>{this._modalizers[a]&&(this._modalizers[a].dispose(),delete this._modalizers[a])}),n.clearTimeout(this._restoreModalizerFocusTimer),n.clearTimeout(this._hiddenUpdateTimer),this._parts={},delete this.activeId,this.activeElements=[],this._augMap=new WeakMap,this._aug=[],this._tabster.focusedElement.unsubscribe(this._onFocus)}createModalizer(n,a,l){var s;const f=new Kw(this._tabster,n,this._onModalizerDispose,a,l,this.activeElements),d=f.id,g=a.id;this._modalizers[d]=f;let v=this._parts[g];v||(v=this._parts[g]={}),v[d]=f;const h=(s=this._tabster.focusedElement.getFocusedElement())!==null&&s!==void 0?s:null;return n!==h&&te.nodeContains(n,h)&&(g!==this.activeId?this.setActive(f):f.makeActive(!0)),f}isAugmented(n){return this._augMap.has(n)}hiddenUpdate(){this._hiddenUpdateTimer||(this._hiddenUpdateTimer=this._win().setTimeout(()=>{delete this._hiddenUpdateTimer,this._hiddenUpdate()},250))}setActive(n){const a=n==null?void 0:n.userId,l=this.activeId;if(l===a)return;if(this.activeId=a,l){const f=this._parts[l];if(f)for(const d of Object.keys(f))f[d].makeActive(!1)}if(a){const f=this._parts[a];if(f)for(const d of Object.keys(f))f[d].makeActive(!0)}this.currentIsOthersAccessible=n==null?void 0:n.getProps().isOthersAccessible,this.hiddenUpdate();const s=this._activationHistory;s[0]!==a&&(a!==void 0||s.length>0)&&s.unshift(a)}focus(n,a,l){const s=this._tabster,f=it.getTabsterContext(s,n),d=f==null?void 0:f.modalizer;if(d){this.setActive(d);const g=d.getProps(),v=d.getElement();if(v){if(a===void 0&&(a=g.isNoFocusFirst),!a&&s.keyboardNavigation.isNavigatingWithKeyboard()&&s.focusedElement.focusFirst({container:v})||(l===void 0&&(l=g.isNoFocusDefault),!l&&s.focusedElement.focusDefault(v)))return!0;s.focusedElement.resetFocus(v)}}return!1}activate(n){var a;const l=n?(a=it.getTabsterContext(this._tabster,n))===null||a===void 0?void 0:a.modalizer:void 0;return!n||l?(this.setActive(l),!0):!1}acceptElement(n,a){var l;const s=a.modalizerUserId,f=(l=a.currentCtx)===null||l===void 0?void 0:l.modalizer;if(s)for(const g of this.activeElements){const v=g.get();if(v&&(te.nodeContains(n,v)||v===n))return NodeFilter.FILTER_SKIP}const d=s===(f==null?void 0:f.userId)||!s&&(f!=null&&f.getProps().isAlwaysAccessible)?void 0:NodeFilter.FILTER_SKIP;return d!==void 0&&(a.skippedFocusable=!0),d}_hiddenUpdate(){var n;const a=this._tabster,l=a.getWindow().document.body,s=this.activeId,f=this._parts,d=[],g=[],v=this._alwaysAccessibleSelector,h=v?Array.from(te.querySelectorAll(l,v)):[],b=[];for(const N of Object.keys(f)){const D=f[N];for(const j of Object.keys(D)){const L=D[j],Z=L.getElement(),U=L.getProps().isAlwaysAccessible;Z&&(N===s?(b.push(Z),this.currentIsOthersAccessible||d.push(Z)):U?h.push(Z):g.push(Z))}}const p=this._augMap,x=d.length>0?[...d,...h]:void 0,S=[],w=new WeakMap,B=(N,D)=>{var j;const L=N.tagName;if(L==="SCRIPT"||L==="STYLE")return;let Z=!1;p.has(N)?D?Z=!0:(p.delete(N),rf(a,N,nf)):D&&!(!((j=this._accessibleCheck)===null||j===void 0)&&j.call(this,N,b))&&rf(a,N,nf,"true")&&(p.set(N,!0),Z=!0),Z&&(S.push(new bo(a.getWindow,N)),w.set(N,!0))},A=N=>{var D;for(let j=te.getFirstElementChild(N);j;j=te.getNextElementSibling(j)){let L=!1,Z=!1,H=!1;if(x){const U=a.getParent(j);for(const ie of x){if(j===ie){L=!0;break}if(te.nodeContains(j,ie)){Z=!0;break}else te.nodeContains(ie,U)&&(H=!0)}Z||!((D=j.__tabsterElementFlags)===null||D===void 0)&&D.noDirectAriaHidden?A(j):!L&&!H&&B(j,!0)}else B(j,!1)}};x||h.forEach(N=>B(N,!1)),g.forEach(N=>B(N,!0)),l&&A(l),(n=this._aug)===null||n===void 0||n.map(N=>N.get()).forEach(N=>{N&&!w.get(N)&&B(N,!1)}),this._aug=S,this._augMap=w}_restoreModalizerFocus(n){var a;const l=n==null?void 0:n.ownerDocument;if(!n||!l)return;const s=this._tabster.focusedElement.getFocusedElement(),f=s&&((a=it.getTabsterContext(this._tabster,s))===null||a===void 0?void 0:a.modalizer);if(!s||s&&(f==null?void 0:f.userId)===this.activeId)return;const d=this._tabster,g=it.getTabsterContext(d,n),v=g==null?void 0:g.modalizer,h=this.activeId;if(!v&&!h||v&&h===v.userId)return;const b=g==null?void 0:g.root.getElement();if(b){let p=d.focusable.findFirst({container:b,useActiveModalizer:!0});if(p){if(n.compareDocumentPosition(p)&document.DOCUMENT_POSITION_PRECEDING&&(p=d.focusable.findLast({container:b,useActiveModalizer:!0}),!p))throw new Error("Something went wrong.");d.focusedElement.focus(p);return}}n.blur()}}/*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */function Jw(o,n,a,l){if(typeof MutationObserver>"u")return()=>{};const s=n.getWindow;let f;const d=b=>{var p,x,S,w,B;const A=new Set;for(const N of b){const D=N.target,j=N.removedNodes,L=N.addedNodes;if(N.type==="attributes")N.attributeName===Tr&&(A.has(D)||a(n,D));else{for(let Z=0;Zv(S,p));if(x)for(;x.nextNode(););}function v(b,p){var x;if(!b.getAttribute)return NodeFilter.FILTER_SKIP;const S=b.__tabsterElementUID;return S&&f&&(p?delete f[S]:(x=f[S])!==null&&x!==void 0||(f[S]=new bo(s,b))),(so(n,b)||b.hasAttribute(Tr))&&a(n,b,p),NodeFilter.FILTER_SKIP}const h=te.createMutationObserver(d);return l&&g(s().document.body),h.observe(o,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[Tr]}),()=>{h.disconnect()}}/*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */class $w{constructor(n){this._isUncontrolledCompletely=n}isUncontrolledCompletely(n,a){var l;const s=(l=this._isUncontrolledCompletely)===null||l===void 0?void 0:l.call(this,n,a);return s===void 0?a:s}}/*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */class e4 extends Wf{constructor(n,a,l){var s;if(super(n,a,l),this._hasFocus=!1,this._onFocusOut=f=>{var d;const g=(d=this._element)===null||d===void 0?void 0:d.get();g&&f.relatedTarget===null&&g.dispatchEvent(new I1),g&&!te.nodeContains(g,f.relatedTarget)&&(this._hasFocus=!1)},this._onFocusIn=()=>{this._hasFocus=!0},this._props.type===$n.Source){const f=(s=this._element)===null||s===void 0?void 0:s.get();f==null||f.addEventListener("focusout",this._onFocusOut),f==null||f.addEventListener("focusin",this._onFocusIn),this._hasFocus=te.nodeContains(f,f&&te.getActiveElement(f.ownerDocument))}}dispose(){var n;if(this._props.type===$n.Source){const a=(n=this._element)===null||n===void 0?void 0:n.get();a==null||a.removeEventListener("focusout",this._onFocusOut),a==null||a.removeEventListener("focusin",this._onFocusIn),this._hasFocus&&this._tabster.getWindow().document.body.dispatchEvent(new I1)}}}class mc{constructor(n){this._stack=[],this._getWindow=n}push(n){var a;((a=this._stack[this._stack.length-1])===null||a===void 0?void 0:a.get())!==n&&(this._stack.length>mc.DEPTH&&this._stack.shift(),this._stack.push(new bo(this._getWindow,n)))}pop(n=()=>!0){var a;const l=this._getWindow().document;for(let s=this._stack.length-1;s>=0;s--){const f=(a=this._stack.pop())===null||a===void 0?void 0:a.get();if(f&&te.nodeContains(l.body,te.getParentElement(f))&&n(f))return f}}}mc.DEPTH=10;class t4{constructor(n){this._onRestoreFocus=a=>{var l,s;this._focusedElementState.cancelAsyncFocus(Zn.Restorer);const f=a.composedPath()[0];if(f){const d=(s=(l=so(this._tabster,f))===null||l===void 0?void 0:l.restorer)===null||s===void 0?void 0:s.getProps().id;this._focusedElementState.requestAsyncFocus(Zn.Restorer,()=>this._restoreFocus(f,d),0)}},this._onFocusIn=a=>{var l;if(!a)return;const s=so(this._tabster,a);((l=s==null?void 0:s.restorer)===null||l===void 0?void 0:l.getProps().type)===$n.Target&&this._history.push(a)},this._restoreFocus=(a,l)=>{var s;const f=this._getWindow().document;if(te.getActiveElement(f)!==f.body||!this._keyboardNavState.isNavigatingWithKeyboard()&&te.nodeContains(f.body,a))return;const d=g=>{var v,h;const b=(h=(v=so(this._tabster,g))===null||v===void 0?void 0:v.restorer)===null||h===void 0?void 0:h.getProps();return b?b.id:null};(s=this._history.pop(g=>l===d(g)))===null||s===void 0||s.focus()},this._tabster=n,this._getWindow=n.getWindow,this._getWindow().addEventListener(kf,this._onRestoreFocus),this._history=new mc(this._getWindow),this._keyboardNavState=n.keyboardNavigation,this._focusedElementState=n.focusedElement,this._focusedElementState.subscribe(this._onFocusIn)}dispose(){const n=this._getWindow();this._focusedElementState.unsubscribe(this._onFocusIn),this._focusedElementState.cancelAsyncFocus(Zn.Restorer),n.removeEventListener(kf,this._onRestoreFocus)}createRestorer(n,a){const l=new e4(this._tabster,n,a);return a.type===$n.Target&&te.getActiveElement(n.ownerDocument)===n&&this._history.push(n),l}}/*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */class o4{constructor(n){this.keyboardNavigation=n.keyboardNavigation,this.focusedElement=n.focusedElement,this.focusable=n.focusable,this.root=n.root,this.uncontrolled=n.uncontrolled,this.core=n}}class r4{constructor(n,a){var l,s;this._forgetMemorizedElements=[],this._wrappers=new Set,this._initQueue=[],this._version="8.7.0",this._noop=!1,this.getWindow=()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win},this._storage=Ew(n),this._win=n;const f=this.getWindow;a!=null&&a.DOMAPI&&zw({...a.DOMAPI}),this.keyboardNavigation=new Iw(f),this.focusedElement=new ut(this,f),this.focusable=new Zw(this),this.root=new it(this,a==null?void 0:a.autoRoot),this.uncontrolled=new $w((a==null?void 0:a.checkUncontrolledCompletely)||(a==null?void 0:a.checkUncontrolledTrappingFocus)),this.controlTab=(l=a==null?void 0:a.controlTab)!==null&&l!==void 0?l:!0,this.rootDummyInputs=!!(a!=null&&a.rootDummyInputs),this._dummyObserver=new Fw(f),this.getParent=(s=a==null?void 0:a.getParent)!==null&&s!==void 0?s:te.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:d=>{if(!this._unobserve){const g=f().document;this._unobserve=Jw(g,this,op,d)}}},ap(f),this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(n){var a;n&&(this.getParent=(a=n.getParent)!==null&&a!==void 0?a:this.getParent)}createTabster(n,a){const l=new o4(this);return n||this._wrappers.add(l),this._mergeProps(a),l}disposeTabster(n,a){a?this._wrappers.clear():this._wrappers.delete(n),this._wrappers.size===0&&this.dispose()}dispose(){var n,a,l,s,f,d,g,v;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),(n=this.outline)===null||n===void 0||n.dispose(),(a=this.crossOrigin)===null||a===void 0||a.dispose(),(l=this.deloser)===null||l===void 0||l.dispose(),(s=this.groupper)===null||s===void 0||s.dispose(),(f=this.mover)===null||f===void 0||f.dispose(),(d=this.modalizer)===null||d===void 0||d.dispose(),(g=this.observedElement)===null||g===void 0||g.dispose(),(v=this.restorer)===null||v===void 0||v.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),jw(this.getWindow),Y1(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),h&&(Nw(h),delete h.__tabsterInstance,delete this._win)}storageEntry(n,a){const l=this._storage;let s=l.get(n);return s?a===!1&&Object.keys(s).length===0&&l.delete(n):a===!0&&(s={},l.set(n,s)),s}forceCleanup(){this._win&&(this._forgetMemorizedElements.push(this._win.document.body),!this._forgetMemorizedTimer&&(this._forgetMemorizedTimer=this._win.setTimeout(()=>{delete this._forgetMemorizedTimer;for(let n=this._forgetMemorizedElements.shift();n;n=this._forgetMemorizedElements.shift())Y1(this.getWindow,n),ut.forgetMemorized(this.focusedElement,n)},0),np(this.getWindow,!0)))}queueInit(n){var a;this._win&&(this._initQueue.push(n),this._initTimer||(this._initTimer=(a=this._win)===null||a===void 0?void 0:a.setTimeout(()=>{delete this._initTimer,this.drainInitQueue()},0)))}drainInitQueue(){if(!this._win)return;const n=this._initQueue;this._initQueue=[],n.forEach(a=>a())}}function n4(o,n){let a=c4(o);return a?a.createTabster(!1,n):(a=new r4(o,n),o.__tabsterInstance=a,a.createTabster())}function a4(o,n,a){const l=o.core;return l.modalizer||(l.modalizer=new Qw(l,n,a)),l.modalizer}function i4(o){const n=o.core;return n.restorer||(n.restorer=new t4(n)),n.restorer}function l4(o,n){o.core.disposeTabster(o,n)}function c4(o){return o.__tabsterInstance}const s4=o=>o;function u4(o){const n=(o==null?void 0:o.defaultView)||void 0,a=n==null?void 0:n.__tabsterShadowDOMAPI;if(n)return n4(n,{autoRoot:{},controlTab:!1,getParent:ES,checkUncontrolledCompletely:l=>{var s;return((s=l.firstElementChild)===null||s===void 0?void 0:s.hasAttribute("data-is-focus-trap-zone-bumper"))===!0||void 0},DOMAPI:a})}function Qf(o=s4){const{targetDocument:n}=Bt(),a=_.useRef(null);return Tt(()=>{const l=u4(n);if(l)return a.current=o(l),()=>{l4(l),a.current=null}},[n,o]),a}const Q1=o=>{Qf();const n=up(o);return _.useMemo(()=>({[Tr]:n}),[n])},f4=()=>{const o=Qf(),{targetDocument:n}=Bt(),a=_.useCallback((g,v)=>{var h;return g&&((h=o.current)===null||h===void 0?void 0:h.focusable.findAll({container:g,acceptCondition:v}))||[]},[o]),l=_.useCallback(g=>{var v;return g&&((v=o.current)===null||v===void 0?void 0:v.focusable.findFirst({container:g}))},[o]),s=_.useCallback(g=>{var v;return g&&((v=o.current)===null||v===void 0?void 0:v.focusable.findLast({container:g}))},[o]),f=_.useCallback((g,v={})=>{if(!o.current||!n||!g)return null;const{container:h=n.body}=v;return o.current.focusable.findNext({currentElement:g,container:h})},[o,n]),d=_.useCallback((g,v={})=>{if(!o.current||!n||!g)return null;const{container:h=n.body}=v;return o.current.focusable.findPrev({currentElement:g,container:h})},[o,n]);return{findAllFocusable:a,findFirstFocusable:l,findLastFocusable:s,findNextFocusable:f,findPrevFocusable:d}},J1="data-fui-focus-visible";function d4(o,n){if(gp(o))return()=>{};const a={current:void 0},l=Xf(n);function s(v){l.isNavigatingWithKeyboard()&&ci(v)&&(a.current=v,v.setAttribute(J1,""))}function f(){a.current&&(a.current.removeAttribute(J1),a.current=void 0)}l.subscribe(v=>{v?s(n.document.activeElement):f()});const d=v=>{f();const h=v.composedPath()[0];s(h)},g=v=>{(!v.relatedTarget||ci(v.relatedTarget)&&!o.contains(v.relatedTarget))&&f()};return o.addEventListener(yo,d),o.addEventListener("focusout",g),o.focusVisible=!0,o.contains(n.document.activeElement)&&s(n.document.activeElement),()=>{f(),o.removeEventListener(yo,d),o.removeEventListener("focusout",g),o.focusVisible=void 0,If(l)}}function gp(o){return o?o.focusVisible?!0:gp(o==null?void 0:o.parentElement):!1}function hp(o={}){const n=Bt(),a=_.useRef(null);var l;const s=(l=o.targetDocument)!==null&&l!==void 0?l:n.targetDocument;return _.useEffect(()=>{if(s!=null&&s.defaultView&&a.current)return d4(a.current,s.defaultView)},[a,s]),a}function g4(){const{targetDocument:o}=Bt(),n=_.useRef(null);return _.useEffect(()=>{const a=o==null?void 0:o.defaultView;if(a){const l=Xf(a);return n.current=l,()=>{If(l),n.current=null}}},[o]),n}const h4="data-tabster-never-hide",m4=o=>o.hasAttribute(h4);function v4(o){a4(o,void 0,m4),i4(o)}const mp=(o={})=>{const{trapFocus:n,alwaysFocusable:a,legacyTrapFocus:l}=o;Qf(v4);const s=on("modal-",o.id),f=Q1({restorer:{type:$n.Source},...n&&{modalizer:{id:s,isOthersAccessible:!n,isAlwaysAccessible:a,isTrapped:l&&n}}}),d=Q1({restorer:{type:$n.Target}});return{modalAttributes:f,triggerAttributes:d}};function p4(){const o=g4();return _.useCallback(()=>{var n,a;return(a=(n=o.current)===null||n===void 0?void 0:n.isNavigatingWithKeyboard())!==null&&a!==void 0?a:!1},[o])}const M={2:"#050505",4:"#0a0a0a",6:"#0f0f0f",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",99:"#fcfcfc"},St={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)"},io={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)"},b4={50:"rgba(26, 26, 26, 0.5)"},y4={70:"rgba(31, 31, 31, 0.7)"},$1={50:"rgba(36, 36, 36, 0.5)",80:"rgba(36, 36, 36, 0.8)"},fe="#ffffff",Il="#000000",x4={shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"},vp={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},S4={shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},w4={shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"},B4={shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},k4={shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},_4={shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},z4={shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},T4={shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},N4={shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},E4={shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},A4={shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"},j4={shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},C4={shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},R4={shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},pp={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},D4={shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},O4={shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},M4={shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"},q4={shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"},F4={shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},H4={shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"},L4={shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},P4={shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},U4={shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},G4={shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"},V4={shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},Z4={shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},X4={shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},I4={shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"},Y4={shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},W4={shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},K4={shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},Q4={shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"},J4={shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},$4={shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"},De={red:S4,green:pp,darkOrange:w4,yellow:T4,berry:Z4,lightGreen:R4,marigold:z4},Nr={darkRed:x4,cranberry:vp,pumpkin:B4,peach:_4,gold:N4,brass:E4,brown:A4,forest:j4,seafoam:C4,darkGreen:D4,lightTeal:O4,teal:M4,steel:q4,blue:F4,royalBlue:H4,cornflower:L4,navy:P4,lavender:U4,purple:G4,grape:V4,lilac:X4,pink:I4,magenta:Y4,plum:W4,beige:K4,mink:Q4,platinum:J4,anchor:$4},Ce={cranberry:vp,green:pp,orange:k4},bp=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],yp=["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"],qt={success:"green",warning:"orange",danger:"cranberry"},hi=bp.reduce((o,n)=>{const a=n.slice(0,1).toUpperCase()+n.slice(1),l={[`colorPalette${a}Background1`]:De[n].tint60,[`colorPalette${a}Background2`]:De[n].tint40,[`colorPalette${a}Background3`]:De[n].primary,[`colorPalette${a}Foreground1`]:De[n].shade10,[`colorPalette${a}Foreground2`]:De[n].shade30,[`colorPalette${a}Foreground3`]:De[n].primary,[`colorPalette${a}BorderActive`]:De[n].primary,[`colorPalette${a}Border1`]:De[n].tint40,[`colorPalette${a}Border2`]:De[n].primary};return Object.assign(o,l)},{});hi.colorPaletteYellowForeground1=De.yellow.shade30;hi.colorPaletteRedForegroundInverted=De.red.tint20;hi.colorPaletteGreenForegroundInverted=De.green.tint20;hi.colorPaletteYellowForegroundInverted=De.yellow.tint40;const eB=yp.reduce((o,n)=>{const a=n.slice(0,1).toUpperCase()+n.slice(1),l={[`colorPalette${a}Background2`]:Nr[n].tint40,[`colorPalette${a}Foreground2`]:Nr[n].shade30,[`colorPalette${a}BorderActive`]:Nr[n].primary};return Object.assign(o,l)},{}),tB={...hi,...eB},oa=Object.entries(qt).reduce((o,[n,a])=>{const l=n.slice(0,1).toUpperCase()+n.slice(1),s={[`colorStatus${l}Background1`]:Ce[a].tint60,[`colorStatus${l}Background2`]:Ce[a].tint40,[`colorStatus${l}Background3`]:Ce[a].primary,[`colorStatus${l}Foreground1`]:Ce[a].shade10,[`colorStatus${l}Foreground2`]:Ce[a].shade30,[`colorStatus${l}Foreground3`]:Ce[a].primary,[`colorStatus${l}ForegroundInverted`]:Ce[a].tint30,[`colorStatus${l}BorderActive`]:Ce[a].primary,[`colorStatus${l}Border1`]:Ce[a].tint40,[`colorStatus${l}Border2`]:Ce[a].primary};return Object.assign(o,s)},{});oa.colorStatusDangerBackground3Hover=Ce[qt.danger].shade10;oa.colorStatusDangerBackground3Pressed=Ce[qt.danger].shade20;oa.colorStatusWarningForeground1=Ce[qt.warning].shade20;oa.colorStatusWarningForeground3=Ce[qt.warning].shade20;oa.colorStatusWarningBorder2=Ce[qt.warning].shade20;const oB=o=>({colorNeutralForeground1:M[14],colorNeutralForeground1Hover:M[14],colorNeutralForeground1Pressed:M[14],colorNeutralForeground1Selected:M[14],colorNeutralForeground2:M[26],colorNeutralForeground2Hover:M[14],colorNeutralForeground2Pressed:M[14],colorNeutralForeground2Selected:M[14],colorNeutralForeground2BrandHover:o[80],colorNeutralForeground2BrandPressed:o[70],colorNeutralForeground2BrandSelected:o[80],colorNeutralForeground3:M[38],colorNeutralForeground3Hover:M[26],colorNeutralForeground3Pressed:M[26],colorNeutralForeground3Selected:M[26],colorNeutralForeground3BrandHover:o[80],colorNeutralForeground3BrandPressed:o[70],colorNeutralForeground3BrandSelected:o[80],colorNeutralForeground4:M[44],colorNeutralForeground5:M[38],colorNeutralForeground5Hover:M[14],colorNeutralForeground5Pressed:M[14],colorNeutralForeground5Selected:M[14],colorNeutralForegroundDisabled:M[74],colorNeutralForegroundInvertedDisabled:St[40],colorBrandForegroundLink:o[70],colorBrandForegroundLinkHover:o[60],colorBrandForegroundLinkPressed:o[40],colorBrandForegroundLinkSelected:o[70],colorNeutralForeground2Link:M[26],colorNeutralForeground2LinkHover:M[14],colorNeutralForeground2LinkPressed:M[14],colorNeutralForeground2LinkSelected:M[14],colorCompoundBrandForeground1:o[80],colorCompoundBrandForeground1Hover:o[70],colorCompoundBrandForeground1Pressed:o[60],colorBrandForeground1:o[80],colorBrandForeground2:o[70],colorBrandForeground2Hover:o[60],colorBrandForeground2Pressed:o[30],colorNeutralForeground1Static:M[14],colorNeutralForegroundStaticInverted:fe,colorNeutralForegroundInverted:fe,colorNeutralForegroundInvertedHover:fe,colorNeutralForegroundInvertedPressed:fe,colorNeutralForegroundInvertedSelected:fe,colorNeutralForegroundInverted2:fe,colorNeutralForegroundOnBrand:fe,colorNeutralForegroundInvertedLink:fe,colorNeutralForegroundInvertedLinkHover:fe,colorNeutralForegroundInvertedLinkPressed:fe,colorNeutralForegroundInvertedLinkSelected:fe,colorBrandForegroundInverted:o[100],colorBrandForegroundInvertedHover:o[110],colorBrandForegroundInvertedPressed:o[100],colorBrandForegroundOnLight:o[80],colorBrandForegroundOnLightHover:o[70],colorBrandForegroundOnLightPressed:o[50],colorBrandForegroundOnLightSelected:o[60],colorNeutralBackground1:fe,colorNeutralBackground1Hover:M[96],colorNeutralBackground1Pressed:M[88],colorNeutralBackground1Selected:M[92],colorNeutralBackground2:M[98],colorNeutralBackground2Hover:M[94],colorNeutralBackground2Pressed:M[86],colorNeutralBackground2Selected:M[90],colorNeutralBackground3:M[96],colorNeutralBackground3Hover:M[92],colorNeutralBackground3Pressed:M[84],colorNeutralBackground3Selected:M[88],colorNeutralBackground4:M[94],colorNeutralBackground4Hover:M[98],colorNeutralBackground4Pressed:M[96],colorNeutralBackground4Selected:fe,colorNeutralBackground5:M[92],colorNeutralBackground5Hover:M[96],colorNeutralBackground5Pressed:M[94],colorNeutralBackground5Selected:M[98],colorNeutralBackground6:M[90],colorNeutralBackground7:"#00000000",colorNeutralBackground7Hover:M[92],colorNeutralBackground7Pressed:M[84],colorNeutralBackground7Selected:"#00000000",colorNeutralBackground8:M[99],colorNeutralBackgroundInverted:M[16],colorNeutralBackgroundInvertedHover:M[24],colorNeutralBackgroundInvertedPressed:M[12],colorNeutralBackgroundInvertedSelected:M[22],colorNeutralBackgroundStatic:M[20],colorNeutralBackgroundAlpha:St[50],colorNeutralBackgroundAlpha2:St[80],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:M[96],colorSubtleBackgroundPressed:M[88],colorSubtleBackgroundSelected:M[92],colorSubtleBackgroundLightAlphaHover:St[70],colorSubtleBackgroundLightAlphaPressed:St[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:io[10],colorSubtleBackgroundInvertedPressed:io[30],colorSubtleBackgroundInvertedSelected:io[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:M[94],colorNeutralBackgroundDisabled2:fe,colorNeutralBackgroundInvertedDisabled:St[10],colorNeutralStencil1:M[90],colorNeutralStencil2:M[98],colorNeutralStencil1Alpha:io[10],colorNeutralStencil2Alpha:io[5],colorBackgroundOverlay:io[40],colorScrollbarOverlay:io[50],colorBrandBackground:o[80],colorBrandBackgroundHover:o[70],colorBrandBackgroundPressed:o[40],colorBrandBackgroundSelected:o[60],colorCompoundBrandBackground:o[80],colorCompoundBrandBackgroundHover:o[70],colorCompoundBrandBackgroundPressed:o[60],colorBrandBackgroundStatic:o[80],colorBrandBackground2:o[160],colorBrandBackground2Hover:o[150],colorBrandBackground2Pressed:o[130],colorBrandBackground3Static:o[60],colorBrandBackground4Static:o[40],colorBrandBackgroundInverted:fe,colorBrandBackgroundInvertedHover:o[160],colorBrandBackgroundInvertedPressed:o[140],colorBrandBackgroundInvertedSelected:o[150],colorNeutralCardBackground:M[98],colorNeutralCardBackgroundHover:fe,colorNeutralCardBackgroundPressed:M[96],colorNeutralCardBackgroundSelected:M[92],colorNeutralCardBackgroundDisabled:M[94],colorNeutralStrokeAccessible:M[38],colorNeutralStrokeAccessibleHover:M[34],colorNeutralStrokeAccessiblePressed:M[30],colorNeutralStrokeAccessibleSelected:o[80],colorNeutralStroke1:M[82],colorNeutralStroke1Hover:M[78],colorNeutralStroke1Pressed:M[70],colorNeutralStroke1Selected:M[74],colorNeutralStroke2:M[88],colorNeutralStroke3:M[94],colorNeutralStroke4:M[92],colorNeutralStroke4Hover:M[88],colorNeutralStroke4Pressed:M[84],colorNeutralStroke4Selected:M[92],colorNeutralStrokeSubtle:M[88],colorNeutralStrokeOnBrand:fe,colorNeutralStrokeOnBrand2:fe,colorNeutralStrokeOnBrand2Hover:fe,colorNeutralStrokeOnBrand2Pressed:fe,colorNeutralStrokeOnBrand2Selected:fe,colorBrandStroke1:o[80],colorBrandStroke2:o[140],colorBrandStroke2Hover:o[120],colorBrandStroke2Pressed:o[80],colorBrandStroke2Contrast:o[140],colorCompoundBrandStroke:o[80],colorCompoundBrandStrokeHover:o[70],colorCompoundBrandStrokePressed:o[60],colorNeutralStrokeDisabled:M[88],colorNeutralStrokeDisabled2:M[92],colorNeutralStrokeInvertedDisabled:St[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:io[5],colorNeutralStrokeAlpha2:St[20],colorStrokeFocus1:fe,colorStrokeFocus2:Il,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)"}),xp={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadius2XLarge:"12px",borderRadius3XLarge:"16px",borderRadius4XLarge:"24px",borderRadius5XLarge:"32px",borderRadius6XLarge:"40px",borderRadiusCircular:"10000px"},Sp={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)"},wp={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"},Bp={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},kp={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},_p={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},zp={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"},Ke={none:"0",xxs:"2px",xs:"4px",sNudge:"6px",s:"8px",mNudge:"10px",m:"12px",l:"16px",xl:"20px",xxl:"24px",xxxl:"32px"},Tp={spacingHorizontalNone:Ke.none,spacingHorizontalXXS:Ke.xxs,spacingHorizontalXS:Ke.xs,spacingHorizontalSNudge:Ke.sNudge,spacingHorizontalS:Ke.s,spacingHorizontalMNudge:Ke.mNudge,spacingHorizontalM:Ke.m,spacingHorizontalL:Ke.l,spacingHorizontalXL:Ke.xl,spacingHorizontalXXL:Ke.xxl,spacingHorizontalXXXL:Ke.xxxl},Np={spacingVerticalNone:Ke.none,spacingVerticalXXS:Ke.xxs,spacingVerticalXS:Ke.xs,spacingVerticalSNudge:Ke.sNudge,spacingVerticalS:Ke.s,spacingVerticalMNudge:Ke.mNudge,spacingVerticalM:Ke.m,spacingVerticalL:Ke.l,spacingVerticalXL:Ke.xl,spacingVerticalXXL:Ke.xxl,spacingVerticalXXXL:Ke.xxxl},Ep={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"},$={colorNeutralForeground1:"var(--colorNeutralForeground1)",colorNeutralForeground2:"var(--colorNeutralForeground2)",colorNeutralForeground3:"var(--colorNeutralForeground3)",colorBrandForeground1:"var(--colorBrandForeground1)",colorNeutralBackground1:"var(--colorNeutralBackground1)",colorNeutralBackground1Hover:"var(--colorNeutralBackground1Hover)",colorNeutralBackground2:"var(--colorNeutralBackground2)",colorNeutralBackground2Hover:"var(--colorNeutralBackground2Hover)",colorNeutralBackground4:"var(--colorNeutralBackground4)",colorBrandBackground:"var(--colorBrandBackground)",colorBrandBackground2:"var(--colorBrandBackground2)",colorNeutralStroke2:"var(--colorNeutralStroke2)",borderRadiusMedium:"var(--borderRadiusMedium)",fontFamilyMonospace:"var(--fontFamilyMonospace)",fontSizeBase200:"var(--fontSizeBase200)",fontSizeBase300:"var(--fontSizeBase300)",fontSizeBase500:"var(--fontSizeBase500)",fontWeightSemibold:"var(--fontWeightSemibold)",fontWeightBold:"var(--fontWeightBold)",lineHeightBase400:"var(--lineHeightBase400)",lineHeightBase500:"var(--lineHeightBase500)",shadow4:"var(--shadow4)"};function tc(o,n,a=""){return{[`shadow2${a}`]:`0 0 2px ${o}, 0 1px 2px ${n}`,[`shadow4${a}`]:`0 0 2px ${o}, 0 2px 4px ${n}`,[`shadow8${a}`]:`0 0 2px ${o}, 0 4px 8px ${n}`,[`shadow16${a}`]:`0 0 2px ${o}, 0 8px 16px ${n}`,[`shadow28${a}`]:`0 0 8px ${o}, 0 14px 28px ${n}`,[`shadow64${a}`]:`0 0 8px ${o}, 0 32px 64px ${n}`}}const rB=o=>{const n=oB(o);return{...xp,...Bp,...kp,...zp,..._p,...Ep,...Tp,...Np,...wp,...Sp,...n,...tB,...oa,...tc(n.colorNeutralShadowAmbient,n.colorNeutralShadowKey),...tc(n.colorBrandShadowAmbient,n.colorBrandShadowKey,"Brand")}},Ap={10:"#061724",20:"#082338",30:"#0a2e4a",40:"#0c3b5e",50:"#0e4775",60:"#0f548c",70:"#115ea3",80:"#0f6cbd",90:"#2886de",100:"#479ef5",110:"#62abf5",120:"#77b7f7",130:"#96c6fa",140:"#b4d6fa",150:"#cfe4fa",160:"#ebf3fc"},Ao=bp.reduce((o,n)=>{const a=n.slice(0,1).toUpperCase()+n.slice(1),l={[`colorPalette${a}Background1`]:De[n].shade40,[`colorPalette${a}Background2`]:De[n].shade30,[`colorPalette${a}Background3`]:De[n].primary,[`colorPalette${a}Foreground1`]:De[n].tint30,[`colorPalette${a}Foreground2`]:De[n].tint40,[`colorPalette${a}Foreground3`]:De[n].tint20,[`colorPalette${a}BorderActive`]:De[n].tint30,[`colorPalette${a}Border1`]:De[n].primary,[`colorPalette${a}Border2`]:De[n].tint20};return Object.assign(o,l)},{});Ao.colorPaletteRedForeground3=De.red.tint30;Ao.colorPaletteRedBorder2=De.red.tint30;Ao.colorPaletteGreenForeground3=De.green.tint40;Ao.colorPaletteGreenBorder2=De.green.tint40;Ao.colorPaletteDarkOrangeForeground3=De.darkOrange.tint30;Ao.colorPaletteDarkOrangeBorder2=De.darkOrange.tint30;Ao.colorPaletteRedForegroundInverted=De.red.primary;Ao.colorPaletteGreenForegroundInverted=De.green.primary;Ao.colorPaletteYellowForegroundInverted=De.yellow.shade30;const Jf=yp.reduce((o,n)=>{const a=n.slice(0,1).toUpperCase()+n.slice(1),l={[`colorPalette${a}Background2`]:Nr[n].shade30,[`colorPalette${a}Foreground2`]:Nr[n].tint40,[`colorPalette${a}BorderActive`]:Nr[n].tint30};return Object.assign(o,l)},{});Jf.colorPaletteDarkRedBackground2=Nr.darkRed.shade20;Jf.colorPalettePlumBackground2=Nr.plum.shade20;const nB={...Ao,...Jf},jr=Object.entries(qt).reduce((o,[n,a])=>{const l=n.slice(0,1).toUpperCase()+n.slice(1),s={[`colorStatus${l}Background1`]:Ce[a].shade40,[`colorStatus${l}Background2`]:Ce[a].shade30,[`colorStatus${l}Background3`]:Ce[a].primary,[`colorStatus${l}Foreground1`]:Ce[a].tint30,[`colorStatus${l}Foreground2`]:Ce[a].tint40,[`colorStatus${l}Foreground3`]:Ce[a].tint20,[`colorStatus${l}BorderActive`]:Ce[a].tint30,[`colorStatus${l}ForegroundInverted`]:Ce[a].shade10,[`colorStatus${l}Border1`]:Ce[a].primary,[`colorStatus${l}Border2`]:Ce[a].tint20};return Object.assign(o,s)},{});jr.colorStatusDangerBackground3Hover=Ce[qt.danger].shade10;jr.colorStatusDangerBackground3Pressed=Ce[qt.danger].shade20;jr.colorStatusDangerForeground3=Ce[qt.danger].tint40;jr.colorStatusDangerBorder2=Ce[qt.danger].tint30;jr.colorStatusSuccessForeground3=Ce[qt.success].tint40;jr.colorStatusSuccessBorder2=Ce[qt.success].tint40;jr.colorStatusWarningForegroundInverted=Ce[qt.warning].shade20;const aB=rB(Ap),iB=o=>({colorNeutralForeground1:fe,colorNeutralForeground1Hover:fe,colorNeutralForeground1Pressed:fe,colorNeutralForeground1Selected:fe,colorNeutralForeground2:M[84],colorNeutralForeground2Hover:fe,colorNeutralForeground2Pressed:fe,colorNeutralForeground2Selected:fe,colorNeutralForeground2BrandHover:o[100],colorNeutralForeground2BrandPressed:o[90],colorNeutralForeground2BrandSelected:o[100],colorNeutralForeground3:M[68],colorNeutralForeground3Hover:M[84],colorNeutralForeground3Pressed:M[84],colorNeutralForeground3Selected:M[84],colorNeutralForeground3BrandHover:o[100],colorNeutralForeground3BrandPressed:o[90],colorNeutralForeground3BrandSelected:o[100],colorNeutralForeground4:M[60],colorNeutralForeground5:M[68],colorNeutralForeground5Hover:fe,colorNeutralForeground5Pressed:fe,colorNeutralForeground5Selected:fe,colorNeutralForegroundDisabled:M[36],colorNeutralForegroundInvertedDisabled:St[40],colorBrandForegroundLink:o[100],colorBrandForegroundLinkHover:o[110],colorBrandForegroundLinkPressed:o[90],colorBrandForegroundLinkSelected:o[100],colorNeutralForeground2Link:M[84],colorNeutralForeground2LinkHover:fe,colorNeutralForeground2LinkPressed:fe,colorNeutralForeground2LinkSelected:fe,colorCompoundBrandForeground1:o[100],colorCompoundBrandForeground1Hover:o[110],colorCompoundBrandForeground1Pressed:o[90],colorBrandForeground1:o[100],colorBrandForeground2:o[110],colorBrandForeground2Hover:o[130],colorBrandForeground2Pressed:o[160],colorNeutralForeground1Static:M[14],colorNeutralForegroundStaticInverted:fe,colorNeutralForegroundInverted:M[14],colorNeutralForegroundInvertedHover:M[14],colorNeutralForegroundInvertedPressed:M[14],colorNeutralForegroundInvertedSelected:M[14],colorNeutralForegroundInverted2:M[14],colorNeutralForegroundOnBrand:fe,colorNeutralForegroundInvertedLink:fe,colorNeutralForegroundInvertedLinkHover:fe,colorNeutralForegroundInvertedLinkPressed:fe,colorNeutralForegroundInvertedLinkSelected:fe,colorBrandForegroundInverted:o[80],colorBrandForegroundInvertedHover:o[70],colorBrandForegroundInvertedPressed:o[60],colorBrandForegroundOnLight:o[80],colorBrandForegroundOnLightHover:o[70],colorBrandForegroundOnLightPressed:o[50],colorBrandForegroundOnLightSelected:o[60],colorNeutralBackground1:M[16],colorNeutralBackground1Hover:M[24],colorNeutralBackground1Pressed:M[12],colorNeutralBackground1Selected:M[22],colorNeutralBackground2:M[12],colorNeutralBackground2Hover:M[20],colorNeutralBackground2Pressed:M[8],colorNeutralBackground2Selected:M[18],colorNeutralBackground3:M[8],colorNeutralBackground3Hover:M[16],colorNeutralBackground3Pressed:M[4],colorNeutralBackground3Selected:M[14],colorNeutralBackground4:M[4],colorNeutralBackground4Hover:M[12],colorNeutralBackground4Pressed:Il,colorNeutralBackground4Selected:M[10],colorNeutralBackground5:Il,colorNeutralBackground5Hover:M[8],colorNeutralBackground5Pressed:M[2],colorNeutralBackground5Selected:M[6],colorNeutralBackground6:M[20],colorNeutralBackground7:"#00000000",colorNeutralBackground7Hover:M[10],colorNeutralBackground7Pressed:M[4],colorNeutralBackground7Selected:"#00000000",colorNeutralBackground8:M[16],colorNeutralBackgroundInverted:fe,colorNeutralBackgroundInvertedHover:M[96],colorNeutralBackgroundInvertedPressed:M[88],colorNeutralBackgroundInvertedSelected:M[92],colorNeutralBackgroundStatic:M[24],colorNeutralBackgroundAlpha:b4[50],colorNeutralBackgroundAlpha2:y4[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:M[22],colorSubtleBackgroundPressed:M[18],colorSubtleBackgroundSelected:M[20],colorSubtleBackgroundLightAlphaHover:$1[80],colorSubtleBackgroundLightAlphaPressed:$1[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:io[10],colorSubtleBackgroundInvertedPressed:io[30],colorSubtleBackgroundInvertedSelected:io[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:M[8],colorNeutralBackgroundDisabled2:M[16],colorNeutralBackgroundInvertedDisabled:St[10],colorNeutralStencil1:M[34],colorNeutralStencil2:M[20],colorNeutralStencil1Alpha:St[10],colorNeutralStencil2Alpha:St[5],colorBackgroundOverlay:io[50],colorScrollbarOverlay:St[60],colorBrandBackground:o[70],colorBrandBackgroundHover:o[80],colorBrandBackgroundPressed:o[40],colorBrandBackgroundSelected:o[60],colorCompoundBrandBackground:o[100],colorCompoundBrandBackgroundHover:o[110],colorCompoundBrandBackgroundPressed:o[90],colorBrandBackgroundStatic:o[80],colorBrandBackground2:o[20],colorBrandBackground2Hover:o[40],colorBrandBackground2Pressed:o[10],colorBrandBackground3Static:o[60],colorBrandBackground4Static:o[40],colorBrandBackgroundInverted:fe,colorBrandBackgroundInvertedHover:o[160],colorBrandBackgroundInvertedPressed:o[140],colorBrandBackgroundInvertedSelected:o[150],colorNeutralCardBackground:M[20],colorNeutralCardBackgroundHover:M[24],colorNeutralCardBackgroundPressed:M[18],colorNeutralCardBackgroundSelected:M[22],colorNeutralCardBackgroundDisabled:M[8],colorNeutralStrokeAccessible:M[68],colorNeutralStrokeAccessibleHover:M[74],colorNeutralStrokeAccessiblePressed:M[70],colorNeutralStrokeAccessibleSelected:o[100],colorNeutralStroke1:M[40],colorNeutralStroke1Hover:M[46],colorNeutralStroke1Pressed:M[42],colorNeutralStroke1Selected:M[44],colorNeutralStroke2:M[32],colorNeutralStroke3:M[24],colorNeutralStroke4:M[24],colorNeutralStroke4Hover:M[18],colorNeutralStroke4Pressed:M[14],colorNeutralStroke4Selected:M[24],colorNeutralStrokeSubtle:M[4],colorNeutralStrokeOnBrand:M[16],colorNeutralStrokeOnBrand2:fe,colorNeutralStrokeOnBrand2Hover:fe,colorNeutralStrokeOnBrand2Pressed:fe,colorNeutralStrokeOnBrand2Selected:fe,colorBrandStroke1:o[100],colorBrandStroke2:o[50],colorBrandStroke2Hover:o[50],colorBrandStroke2Pressed:o[30],colorBrandStroke2Contrast:o[50],colorCompoundBrandStroke:o[100],colorCompoundBrandStrokeHover:o[110],colorCompoundBrandStrokePressed:o[90],colorNeutralStrokeDisabled:M[26],colorNeutralStrokeDisabled2:M[24],colorNeutralStrokeInvertedDisabled:St[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:St[10],colorNeutralStrokeAlpha2:St[20],colorStrokeFocus1:Il,colorStrokeFocus2:fe,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)"}),lB=o=>{const n=iB(o);return{...xp,...Bp,...kp,...zp,..._p,...Ep,...Tp,...Np,...wp,...Sp,...n,...nB,...jr,...tc(n.colorNeutralShadowAmbient,n.colorNeutralShadowKey),...tc(n.colorBrandShadowAmbient,n.colorBrandShadowKey,"Brand")}},cB=lB(Ap),jp={root:"fui-FluentProvider"},sB=Cv({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);}"]}),uB=o=>{"use no memo";const n=gi(),a=sB({dir:o.dir,renderer:n});return o.root.className=de(jp.root,o.themeClassName,a.root,o.root.className),o},fB=_.useInsertionEffect?_.useInsertionEffect:Tt,dB=(o,n)=>{if(!(o!=null&&o.head))return;const a=o.createElement("style");return Object.keys(n).forEach(l=>{a.setAttribute(l,n[l])}),o.head.appendChild(a),a},gB=(o,n)=>{const a=o.sheet;a&&(a.cssRules.length>0&&a.deleteRule(0),a.insertRule(n,0))},hB=o=>{"use no memo";const{targetDocument:n,theme:a,rendererAttributes:l}=o,s=_.useRef(void 0),f=on(jp.root),d=l,g=_.useMemo(()=>_3(`.${f}`,a),[a,f]);return mB(n,f),fB(()=>{const v=n==null?void 0:n.getElementById(f);return v?s.current=v:(s.current=dB(n,{...d,id:f}),s.current&&gB(s.current,g)),()=>{var h;(h=s.current)===null||h===void 0||h.remove()}},[f,n,g,d]),{styleTagId:f,rule:g}};function mB(o,n){_.useState(()=>{if(!o)return;const a=o.getElementById(n);a&&o.head.append(a)})}const vB={},pB={},bB=(o,n)=>{"use no memo";const a=Bt(),l=yB(),s=Pf(),f=_.useContext(Uf)||vB,{applyStylesToPortals:d=!0,customStyleHooks_unstable:g,dir:v=a.dir,targetDocument:h=a.targetDocument,theme:b,overrides_unstable:p={}}=o,x=af(l,b),S=af(s,p),w=af(f,g),B=gi();var A;const{styleTagId:N,rule:D}=hB({theme:x,targetDocument:h,rendererAttributes:(A=B.styleElementAttributes)!==null&&A!==void 0?A:pB});return{applyStylesToPortals:d,customStyleHooks_unstable:w,dir:v,targetDocument:h,theme:x,overrides_unstable:S,themeClassName:N,components:{root:"div"},root:tt(Eo("div",{...o,dir:v,ref:li(n,hp({targetDocument:h}))}),{elementType:"div"}),serverStyleProps:{cssRule:D,attributes:{...B.styleElementAttributes,id:N}}}};function af(o,n){return o&&n?{...o,...n}:o||n}function yB(){return _.useContext(Fv)}function xB(o){const{applyStylesToPortals:n,customStyleHooks_unstable:a,dir:l,root:s,targetDocument:f,theme:d,themeClassName:g,overrides_unstable:v}=o,h=_.useMemo(()=>({dir:l,targetDocument:f}),[l,f]),[b]=_.useState(()=>({})),p=_.useMemo(()=>({textDirection:l}),[l]);return{customStyleHooks_unstable:a,overrides_unstable:v,provider:h,textDirection:l,iconDirection:p,tooltip:b,theme:d,themeClassName:n?s.className:g}}const Cp=_.forwardRef((o,n)=>{const a=bB(o,n);uB(a);const l=xB(a);return MS(a,l)});Cp.displayName="FluentProvider";var em=av();const SB=o=>a=>{const l=_.useRef(a.value),s=_.useRef(0),f=_.useRef(null);return f.current||(f.current={value:l,version:s,listeners:[]}),Tt(()=>{l.current=a.value,s.current+=1,em.unstable_runWithPriority(em.unstable_NormalPriority,()=>{f.current.listeners.forEach(d=>{d([s.current,a.value])})})},[a.value]),_.createElement(o,{value:f.current},a.children)},Rp=o=>{const n=_.createContext({value:{current:o},version:{current:-1},listeners:[]});return n.Provider=SB(n.Provider),delete n.Consumer,n},Dp=(o,n)=>{const a=_.useContext(o),{value:{current:l},version:{current:s},listeners:f}=a,d=n(l),[g,v]=_.useState([l,d]),h=p=>{v(x=>{if(!p)return[l,d];if(p[0]<=s)return Object.is(x[1],d)?x:[l,d];try{if(Object.is(x[0],p[1]))return x;const S=n(p[1]);return Object.is(x[1],S)?x:[p[1],S]}catch{}return[x[0],x[1]]})};Object.is(g[1],d)||h(void 0);const b=Qe(h);return Tt(()=>(f.push(b),()=>{const p=f.indexOf(b);f.splice(p,1)}),[b,f]),g[1]};function wB(o){const n=_.useContext(o);return n.version?n.version.current!==-1:!1}const lf="Enter",Hl=" ",Op="Escape";function Mp(o,n){const{disabled:a,disabledFocusable:l=!1,["aria-disabled"]:s,onClick:f,onKeyDown:d,onKeyUp:g,...v}=n??{},h=typeof s=="string"?s==="true":s,b=a||l||h,p=Qe(w=>{b?(w.preventDefault(),w.stopPropagation()):f==null||f(w)}),x=Qe(w=>{if(d==null||d(w),w.isDefaultPrevented())return;const B=w.key;if(b&&(B===lf||B===Hl)){w.preventDefault(),w.stopPropagation();return}if(B===Hl){w.preventDefault();return}else B===lf&&(w.preventDefault(),w.currentTarget.click())}),S=Qe(w=>{if(g==null||g(w),w.isDefaultPrevented())return;const B=w.key;if(b&&(B===lf||B===Hl)){w.preventDefault(),w.stopPropagation();return}B===Hl&&(w.preventDefault(),w.currentTarget.click())});if(o==="button"||o===void 0)return{...v,disabled:a&&!l,"aria-disabled":l?!0:h,onClick:l?void 0:p,onKeyUp:l?void 0:g,onKeyDown:l?void 0:d};{const w=!!v.href;let B=w?void 0:"button";!B&&b&&(B="link");const A={role:B,tabIndex:l||!w&&!a?0:void 0,...v,onClick:p,onKeyUp:S,onKeyDown:x,"aria-disabled":b};return o==="a"&&b&&(A.href=void 0),A}}const BB=Te({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{transform:scaleX(-1);}"]}),kB=(o,n)=>{const{filled:a,title:l,primaryFill:s="currentColor",...f}=o,d={...f,fill:s},g=BB(),v=OS();return d.className=de(g.root,(n==null?void 0:n.flipInRtl)&&(v==null?void 0:v.textDirection)==="rtl"&&g.rtl,d.className),l&&(d["aria-label"]=l),!d["aria-label"]&&!d["aria-labelledby"]?d["aria-hidden"]=!0:d.role="img",d},_B=Te({root:{B8gzw0y:"f1dd5bof"}},{m:[["@media (forced-colors: active){.f1dd5bof{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]]}),zB="fui-Icon",ae=(o,n,a,l)=>{const s=n==="1em"?"20":n,f=_.forwardRef((d,g)=>{const v=_B(),h=kB(d,{flipInRtl:l==null?void 0:l.flipInRtl}),b={...h,className:de(zB,h.className,v.root),ref:g,width:n,height:n,viewBox:`0 0 ${s} ${s}`,xmlns:"http://www.w3.org/2000/svg"};return typeof a=="string"?_.createElement("svg",{...b,dangerouslySetInnerHTML:{__html:a}}):_.createElement("svg",b,...a.map(p=>_.createElement("path",{d:p,fill:b.fill})))});return f.displayName=o,f},TB=ae("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"]),tm=ae("Compose24Regular","24",["M13.25 4a.75.75 0 0 1 0 1.5h-7c-.97 0-1.75.78-1.75 1.75v10.5c0 .97.78 1.75 1.75 1.75h10.5c.97 0 1.75-.78 1.75-1.75v-7a.75.75 0 0 1 1.5 0v7c0 1.8-1.46 3.25-3.25 3.25H6.25A3.25 3.25 0 0 1 3 17.75V7.25C3 5.45 4.46 4 6.25 4h7Zm6.47-.78a.75.75 0 1 1 1.06 1.06L10.59 14.47 9 15l.53-1.6L19.72 3.23Z"]),om=ae("Mail24Filled","24",["M22 8.6v8.15a3.25 3.25 0 0 1-3.07 3.24l-.18.01H5.25a3.25 3.25 0 0 1-3.24-3.07L2 16.75V8.61l9.65 5.05c.22.12.48.12.7 0L22 8.61ZM5.25 4h13.5a3.25 3.25 0 0 1 3.23 2.92L12 12.15 2.02 6.92a3.25 3.25 0 0 1 3.04-2.91L5.25 4h13.5-13.5Z"]),Tf=ae("Mail24Regular","24",["M5.25 4h13.5a3.25 3.25 0 0 1 3.24 3.07l.01.18v9.5a3.25 3.25 0 0 1-3.07 3.24l-.18.01H5.25a3.25 3.25 0 0 1-3.24-3.07L2 16.75v-9.5a3.25 3.25 0 0 1 3.07-3.24L5.25 4h13.5-13.5ZM20.5 9.37l-8.15 4.3c-.19.1-.4.1-.6.04l-.1-.05L3.5 9.37v7.38c0 .92.7 1.67 1.6 1.74l.15.01h13.5c.92 0 1.67-.7 1.74-1.6l.01-.15V9.37ZM18.75 5.5H5.25c-.92 0-1.67.7-1.74 1.6l-.01.15v.43l8.5 4.47 8.5-4.47v-.43c0-.92-.7-1.67-1.6-1.74l-.15-.01Z"]),NB=ae("MailInbox24Filled","24",["M17.75 3C19.55 3 21 4.46 21 6.25v11.5c0 1.8-1.46 3.25-3.25 3.25H6.25A3.25 3.25 0 0 1 3 17.75V6.25C3 4.45 4.46 3 6.25 3h11.5Zm0 1.5H6.25c-.97 0-1.75.78-1.75 1.75V13H9c.38 0 .7.28.74.65l.01.1a2.25 2.25 0 0 0 4.5 0c0-.41.34-.75.75-.75h4.5V6.25c0-.92-.7-1.67-1.6-1.74l-.15-.01Z"]),EB=ae("MailInbox24Regular","24",["M6.25 3h11.5a3.25 3.25 0 0 1 3.24 3.07l.01.18v11.5a3.25 3.25 0 0 1-3.07 3.24l-.18.01H6.25a3.25 3.25 0 0 1-3.24-3.07L3 17.75V6.25a3.25 3.25 0 0 1 3.07-3.24L6.25 3h11.5-11.5ZM4.5 14.5v3.25c0 .92.7 1.67 1.6 1.74l.15.01h11.5c.92 0 1.67-.7 1.74-1.6l.01-.15V14.5h-3.82a3.75 3.75 0 0 1-3.48 3H12a3.75 3.75 0 0 1-3.63-2.81l-.04-.19H4.5v3.25-3.25Zm13.25-10H6.25c-.92 0-1.67.7-1.74 1.6l-.01.15V13H9c.38 0 .7.28.74.65l.01.1a2.25 2.25 0 0 0 4.5.15v-.15c0-.38.28-.7.65-.74L15 13h4.5V6.25c0-.92-.7-1.67-1.6-1.74l-.15-.01Z"]),AB=ae("Search24Regular","24",["M16.1 17.16a8 8 0 1 1 1.06-1.06l4.62 4.62a.75.75 0 1 1-1.06 1.06l-4.62-4.62ZM17.5 11a6.5 6.5 0 1 0-13 0 6.5 6.5 0 0 0 13 0Z"]),jB=ae("PlugConnected24Regular","24",["M19.49 5.57a5.97 5.97 0 0 1-1.9 8.96c-.64.35-1.42.14-1.94-.38l-5.8-5.8c-.52-.52-.73-1.3-.38-1.95a6 6 0 0 1 8.96-1.89l2.29-2.29a.75.75 0 1 1 1.06 1.06l-2.29 2.3Zm-2.02 7.26a4.5 4.5 0 1 0-6.3-6.3c-.27.35-.19.83.12 1.14l5.04 5.04c.31.3.8.39 1.14.12ZM3.28 21.78l2.3-2.29a5.97 5.97 0 0 0 8.95-1.9c.35-.64.14-1.42-.38-1.94l-5.8-5.8c-.52-.52-1.3-.73-1.95-.38a6 6 0 0 0-1.89 8.96l-2.29 2.29a.75.75 0 1 0 1.06 1.06Zm4.39-10.49 5.04 5.04c.3.31.39.8.12 1.14a4.5 4.5 0 1 1-6.3-6.3c.35-.27.83-.19 1.14.12Z"]),CB=ae("Circle12Filled","12",["M6 1a5 5 0 1 0 0 10A5 5 0 0 0 6 1Z"]),RB=ae("ArrowForward24Regular","24",["M14.72 6.28a.75.75 0 0 1 1.06-1.06l5 5c.3.3.3.77 0 1.06l-5 5a.75.75 0 1 1-1.06-1.06l3.72-3.72h-7.69a6.25 6.25 0 0 0-6.25 6.25v.5a.75.75 0 0 1-1.5 0v-.5A7.75 7.75 0 0 1 10.75 10h7.69l-3.72-3.72Z"],{flipInRtl:!0}),DB=ae("ArrowReply24Regular","24",["M9.28 6.28a.75.75 0 0 0-1.06-1.06l-5 5c-.3.3-.3.77 0 1.06l5 5a.75.75 0 0 0 1.06-1.06L5.56 11.5h7.69c3.45 0 6.25 2.8 6.25 6.25v.5a.75.75 0 0 0 1.5 0v-.5A7.75 7.75 0 0 0 13.25 10H5.56l3.72-3.72Z"],{flipInRtl:!0}),OB=ae("ArrowSync24Regular","24",["M16.25 5.18c-.25.33-.19.8.14 1.05a7.24 7.24 0 0 1-3.6 12.98l.68-.68a.75.75 0 0 0-.98-1.13l-.08.07-2 2a.75.75 0 0 0-.07.98l.07.08 2 2a.75.75 0 0 0 1.13-.98l-.07-.08-.75-.75A8.75 8.75 0 0 0 17.3 5.04a.75.75 0 0 0-1.05.14Zm-5.72-3.71c-.3.3-.3.77 0 1.06l.75.75a8.75 8.75 0 0 0-4.85 15.47.75.75 0 1 0 .96-1.16A7.23 7.23 0 0 1 11.2 4.8l-.68.68a.75.75 0 1 0 1.06 1.06l2-2c.3-.3.3-.77 0-1.06l-2-2a.75.75 0 0 0-1.06 0Z"],{flipInRtl:!0}),MB=ae("Send24Filled","24",["m12.81 12.2-7.53 1.25a.5.5 0 0 0-.38.32l-2.6 6.96a.75.75 0 0 0 1.03.94l18-9a.75.75 0 0 0 0-1.34l-18-9a.75.75 0 0 0-1.03.94l2.6 6.96a.5.5 0 0 0 .38.32l7.53 1.25a.2.2 0 0 1 0 .4Z"],{flipInRtl:!0}),qp=ae("Send24Regular","24",["M5.7 12 2.3 3.27a.75.75 0 0 1 .94-.98l.1.04 18 9c.51.26.54.97.1 1.28l-.1.06-18 9a.75.75 0 0 1-1.07-.85l.03-.1L5.7 12 2.3 3.27 5.7 12ZM4.4 4.54l2.61 6.7 6.63.01c.38 0 .7.28.74.65v.1c0 .38-.27.7-.64.74l-.1.01H7l-2.6 6.7L19.31 12 4.4 4.54Z"],{flipInRtl:!0}),rm=ae("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"]),nm=ae("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"]),qB=ae("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"]),FB=ae("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"]),HB=ae("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"]),LB=ae("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"]),am=ae("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"]),im=ae("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"]),lm=ae("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"]),PB=ae("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"]),UB=ae("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"]),cm=ae("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"]),sm=ae("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"]),GB=ae("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"]),VB=ae("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"]),um=ae("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"]),fm=ae("PresenceBusy10Filled","10",["M10 5A5 5 0 1 1 0 5a5 5 0 0 1 10 0Z"]),ZB=ae("PresenceBusy12Filled","12",["M12 6A6 6 0 1 1 0 6a6 6 0 0 1 12 0Z"]),XB=ae("PresenceBusy16Filled","16",["M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Z"]),dm=ae("PresenceBusy20Filled","20",["M20 10a10 10 0 1 1-20 0 10 10 0 0 1 20 0Z"]),gm=ae("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"]),hm=ae("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"]),IB=ae("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"]),YB=ae("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"]),WB=ae("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"]),KB=ae("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"]),mm=ae("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"]),vm=ae("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"]),pm=ae("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"]),QB=ae("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"]),JB=ae("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"]),bm=ae("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"]),ym=ae("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"]),$B=ae("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"]),e6=ae("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"]),xm=ae("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"]),Sm=ae("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"]),t6=ae("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"]),o6=ae("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"]),wm=ae("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"]),r6=ae("Drafts24Regular","24",["m20.88 2.83.15.14.15.15a3.58 3.58 0 0 1-.15 4.91L9.06 20c-.27.28-.62.48-1 .58l-5.11 1.4a.75.75 0 0 1-.92-.93l1.4-5.11c.1-.38.3-.72.57-1L15.97 2.97a3.58 3.58 0 0 1 4.9-.14ZM15 6.06 5.06 16c-.09.1-.16.2-.19.33l-1.05 3.85 3.85-1.05c.13-.03.24-.1.33-.2L17.94 9 15 6.06ZM6.53 11l-1.5 1.5H2.75a.75.75 0 0 1 0-1.5h3.78Zm4-4-1.5 1.5H2.75a.75.75 0 1 1 0-1.5h7.78Zm6.5-2.97-.97.97L19 7.94l.97-.97a2.08 2.08 0 1 0-2.94-2.94ZM14.53 3l-1.5 1.5H2.75a.75.75 0 1 1 0-1.5h11.78Z"]),n6=ae("Delete24Filled","24",["M10 5h4a2 2 0 1 0-4 0ZM8.5 5a3.5 3.5 0 1 1 7 0h5.75a.75.75 0 0 1 0 1.5h-1.32l-1.17 12.11A3.75 3.75 0 0 1 15.03 22H8.97a3.75 3.75 0 0 1-3.73-3.39L4.07 6.5H2.75a.75.75 0 0 1 0-1.5H8.5Zm2 4.75a.75.75 0 0 0-1.5 0v7.5a.75.75 0 0 0 1.5 0v-7.5ZM14.25 9a.75.75 0 0 0-.75.75v7.5a.75.75 0 0 0 1.5 0v-7.5a.75.75 0 0 0-.75-.75Z"]),Fp=ae("Delete24Regular","24",["M10 5h4a2 2 0 1 0-4 0ZM8.5 5a3.5 3.5 0 1 1 7 0h5.75a.75.75 0 0 1 0 1.5h-1.32l-1.17 12.11A3.75 3.75 0 0 1 15.03 22H8.97a3.75 3.75 0 0 1-3.73-3.39L4.07 6.5H2.75a.75.75 0 0 1 0-1.5H8.5Zm2 4.75a.75.75 0 0 0-1.5 0v7.5a.75.75 0 0 0 1.5 0v-7.5ZM14.25 9c.41 0 .75.34.75.75v7.5a.75.75 0 0 1-1.5 0v-7.5c0-.41.34-.75.75-.75Zm-7.52 9.47a2.25 2.25 0 0 0 2.24 2.03h6.06c1.15 0 2.12-.88 2.24-2.03L18.42 6.5H5.58l1.15 11.97Z"]),a6=ae("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"]),i6=ae("Dismiss24Regular","24",["m4.4 4.55.07-.08a.75.75 0 0 1 .98-.07l.08.07L12 10.94l6.47-6.47a.75.75 0 1 1 1.06 1.06L13.06 12l6.47 6.47c.27.27.3.68.07.98l-.07.08a.75.75 0 0 1-.98.07l-.08-.07L12 13.06l-6.47 6.47a.75.75 0 0 1-1.06-1.06L10.94 12 4.47 5.53a.75.75 0 0 1-.07-.98l.07-.08-.07.08Z"]),l6={durationUltraFast:50,durationFaster:100,durationFast:150,durationNormal:200,durationGentle:250,durationSlow:300,durationSlower:400,durationUltraSlow:500},c6={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)"},ht={...l6,...c6};function s6(o){if(o.playState==="running"){var n;if(o.overallProgress!==void 0){var a;const g=(a=o.overallProgress)!==null&&a!==void 0?a:0;return g>0&&g<1}var l;const f=Number((l=o.currentTime)!==null&&l!==void 0?l:0);var s;const d=Number((s=(n=o.effect)===null||n===void 0?void 0:n.getTiming().duration)!==null&&s!==void 0?s:0);return f>0&&f{a.playbackRate=n})},setMotionEndCallbacks(n,a){const l=o.map(s=>new Promise((f,d)=>{s.onfinish=()=>f(),s.oncancel=()=>d()}));Promise.all(l).then(()=>{n()}).catch(()=>{a()})},isRunning(){return o.some(n=>s6(n))},dispose:()=>{o.length=0},cancel:()=>{o.forEach(n=>{n.cancel()})},pause:()=>{o.forEach(n=>{n.pause()})},play:()=>{o.forEach(n=>{n.play()})},finish:()=>{o.forEach(n=>{n.finish()})},reverse:()=>{o.forEach(n=>{n.reverse()})}}}function g6(){var o;const n=typeof window<"u"&&typeof((o=window.Animation)===null||o===void 0?void 0:o.prototype.persist)=="function";return _.useCallback((a,l,s)=>{const f=Array.isArray(l)?l:[l],{isReducedMotion:d}=s,g=f.map(v=>{const{keyframes:h,reducedMotion:b=f6,...p}=v,{keyframes:x=h,...S}=b,w=d?x:h,B={...u6,...p,...d&&S};try{const N=a.animate(w,B);if(n)N==null||N.persist();else{const D=w[w.length-1];var A;Object.assign((A=a.style)!==null&&A!==void 0?A:{},D)}return N}catch{return null}}).filter(v=>!!v);return d6(g)},[n])}function Hp(){"use no memo";return g6()}function Lp(o){const n=_.useRef(void 0);return _.useImperativeHandle(o,()=>({setPlayState:a=>{if(a==="running"){var l;(l=n.current)===null||l===void 0||l.play()}if(a==="paused"){var s;(s=n.current)===null||s===void 0||s.pause()}},setPlaybackRate:a=>{n.current&&(n.current.playbackRate=a)}})),n}const h6="screen and (prefers-reduced-motion: reduce)";function Pp(){const{targetDocument:o}=Bt();var n;const a=(n=o==null?void 0:o.defaultView)!==null&&n!==void 0?n:null,l=_.useRef(!1),s=_.useCallback(()=>l.current,[]);return Tt(()=>{if(a===null||typeof a.matchMedia!="function")return;const f=a.matchMedia(h6);f.matches&&(l.current=!0);const d=g=>{l.current=g.matches};return f.addEventListener("change",d),()=>{f.removeEventListener("change",d)}},[a]),s}const m6=["@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 Up(o,n=!0){const a=_.useRef(null);_.useEffect(()=>{},[n]);try{const l=_.Children.only(o);if(_.isValidElement(l))return[_.cloneElement(l,{ref:li(a,Gf(l))}),a]}catch{}throw new Error(m6)}const Gp=_.createContext(void 0);Gp.Provider;const Vp=()=>{var o;return(o=_.useContext(Gp))!==null&&o!==void 0?o:"default"},v6=Symbol("MOTION_DEFINITION");function Bm(o){return Object.assign(a=>{"use no memo";const{children:l,imperativeRef:s,onMotionFinish:f,onMotionStart:d,onMotionCancel:g,...v}=a,h=v,[b,p]=Up(l),x=Lp(s),S=Vp()==="skip",w=_.useRef({skipMotions:S,params:h}),B=Hp(),A=Pp(),N=Qe(()=>{d==null||d(null)}),D=Qe(()=>{f==null||f(null)}),j=Qe(()=>{g==null||g(null)});return Tt(()=>{w.current={skipMotions:S,params:h}}),Tt(()=>{const L=p.current;if(L){const Z=typeof o=="function"?o({element:L,...w.current.params}):o;N();const H=B(L,Z,{isReducedMotion:A()});return x.current=H,H.setMotionEndCallbacks(D,j),w.current.skipMotions&&H.finish(),()=>{H.cancel()}}},[B,p,x,A,D,N,j]),b},{[v6]:typeof o=="function"?o:()=>o})}const Zp=_.createContext(void 0);Zp.Provider;function p6(o=!1,n=!1){const a=_.useRef(n?o:!0),l=SS(),s=_.useCallback(f=>{a.current!==f&&(a.current=f,l())},[l]);return _.useEffect(()=>{o&&(a.current=o)}),[o||a.current,s]}const Xp=Symbol("PRESENCE_MOTION_DEFINITION"),b6=Symbol.for("interruptablePresence");function $f(o){return Object.assign(n=>{"use no memo";const l={..._.useContext(Zp),...n},s=Vp()==="skip",{appear:f,children:d,imperativeRef:g,onExit:v,onMotionFinish:h,onMotionStart:b,onMotionCancel:p,visible:x,unmountOnExit:S,...w}=l,B=w,[A,N]=p6(x,S),[D,j]=Up(d,A),L=Lp(g),Z=_.useRef({appear:f,params:B,skipMotions:s}),H=Hp(),U=xS(),ie=Pp(),Be=Qe(ce=>{b==null||b(null,{direction:ce})}),be=Qe(ce=>{h==null||h(null,{direction:ce}),ce==="exit"&&S&&(N(!1),v==null||v())}),ye=Qe(ce=>{p==null||p(null,{direction:ce})});return Tt(()=>{Z.current={appear:f,params:B,skipMotions:s}}),Tt(()=>{const ce=j.current;if(!ce)return;let pe;function Q(){pe&&(q&&pe.isRunning()||(pe.cancel(),L.current=void 0))}const Ee=typeof o=="function"?o({element:ce,...Z.current.params}):o,q=Ee[b6];if(q&&(pe=L.current,pe&&pe.isRunning()))return pe.reverse(),Q;const W=x?Ee.enter:Ee.exit,ee=x?"enter":"exit",oe=!Z.current.appear&&U,ke=Z.current.skipMotions;return oe||Be(ee),pe=H(ce,W,{isReducedMotion:ie()}),oe?(pe.finish(),Q):(L.current=pe,pe.setMotionEndCallbacks(()=>be(ee),()=>ye(ee)),ke&&pe.finish(),Q)},[H,j,L,ie,be,Be,ye,x]),_.useEffect(()=>{if(S&&!A){var ce;(ce=L.current)===null||ce===void 0||ce.dispose()}},[L,S,A]),A?D:null},{[Xp]:typeof o=="function"?o:()=>o},{In:Bm(typeof o=="function"?(...n)=>o(...n).enter:o.enter),Out:Bm(typeof o=="function"?(...n)=>o(...n).exit:o.exit)})}function y6(o,n){return l=>o({...n,...l})}function mi(o,n){const a=o[Xp],l=y6(a,n);return $f(l)}const ed=_.createContext(void 0);function x6(){return _.useContext(ed)}const Ip=_.forwardRef((o,n)=>_.createElement(ed.Provider,{value:n},o.children));Ip.displayName="MotionRefForwarder";const Yp=o=>_.createElement(ed.Provider,{value:void 0},o.children);Yp.displayName="MotionRefForwarderReset";function Wp(o,n){const{as:a,children:l,...s}=o??{};if(o===null){const d=!n.defaultProps.visible&&n.defaultProps.unmountOnExit,g=(v,h)=>d?null:_.createElement(_.Fragment,null,h.children);return{[Jl]:g,[Jn]:n.elementType}}const f={...n.defaultProps,...s,[Jn]:n.elementType};return typeof l=="function"&&(f[Jl]=l),f}const oc=({direction:o,duration:n,easing:a=ht.curveLinear,delay:l=0,outOpacity:s=0,inOpacity:f=1})=>{const d=[{opacity:s},{opacity:f}];return o==="exit"&&d.reverse(),{keyframes:d,duration:n,easing:a,delay:l,fill:"both"}},S6=({duration:o=ht.durationNormal,easing:n=ht.curveEasyEase,delay:a=0,exitDuration:l=o,exitEasing:s=n,exitDelay:f=a,outOpacity:d=0,inOpacity:g=1})=>({enter:oc({direction:"enter",duration:o,easing:n,delay:a,outOpacity:d,inOpacity:g}),exit:oc({direction:"exit",duration:l,easing:s,delay:f,outOpacity:d,inOpacity:g})}),Kp=$f(S6);mi(Kp,{duration:ht.durationFast});const w6=mi(Kp,{duration:ht.durationGentle}),km=({direction:o,duration:n,easing:a=ht.curveLinear,delay:l=0,outScale:s=.9,inScale:f=1})=>{const d=[{scale:s},{scale:f}];return o==="exit"&&d.reverse(),{keyframes:d,duration:n,easing:a,delay:l}},B6=({duration:o=ht.durationGentle,easing:n=ht.curveDecelerateMax,delay:a=0,exitDuration:l=ht.durationNormal,exitEasing:s=ht.curveAccelerateMax,exitDelay:f=a,outScale:d=.9,inScale:g=1,animateOpacity:v=!0})=>{const h=[km({direction:"enter",duration:o,easing:n,delay:a,outScale:d,inScale:g})],b=[km({direction:"exit",duration:l,easing:s,delay:f,outScale:d,inScale:g})];return v&&(h.push(oc({direction:"enter",duration:o,easing:n,delay:a})),b.push(oc({direction:"exit",duration:l,easing:s,delay:f}))),{enter:h,exit:b}},td=$f(B6);mi(td,{duration:ht.durationNormal,exitDuration:ht.durationFast});mi(td,{duration:ht.durationSlow,exitDuration:ht.durationGentle});const k6=o=>uo(o.root,{children:[o.initials&&ge(o.initials,{}),o.icon&&ge(o.icon,{}),o.image&&ge(o.image,{}),o.badge&&ge(o.badge,{}),o.activeAriaLabelElement]}),_6=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,z6=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uE000-\uFFFF]/g,T6=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,N6=/\s+/g,E6=/[\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]/;function Yl(o){if(!o)return"";const n=o.codePointAt(0);return n===void 0?"":String.fromCodePoint(n)}function A6(o,n,a){let l="";const s=o.split(" ");if(s.length!==0&&(l+=Yl(s[0]).toUpperCase()),a||(s.length===2?l+=Yl(s[1]).toUpperCase():s.length===3&&(l+=Yl(s[2]).toUpperCase())),n&&[...l].length>1){const f=[...l];return f[1]+f[0]}return l}function j6(o){return o=o.replace(_6,""),o=o.replace(z6,""),o=o.replace(N6," "),o=o.trim(),o}function Qp(o,n,a){if(!o)return"";o=j6(o);const l=Yl(o);return E6.test(l)||!(a!=null&&a.allowPhoneInitials)&&T6.test(o)?"":A6(o,n,a==null?void 0:a.firstInitialOnly)}const C6=(o,n)=>{const{shape:a="circular",size:l="medium",appearance:s="filled",color:f="brand",...d}=o;return{...od(d,n),shape:a,size:l,appearance:s,color:f}},od=(o,n)=>{const{iconPosition:a="before"}=o;return{iconPosition:a,components:{root:"div",icon:"span"},root:tt(Eo("div",{ref:n,...o}),{elementType:"div"}),icon:zt(o.icon,{elementType:"span"})}},_m={root:"fui-Badge",icon:"fui-Badge__icon"},R6=Ze("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;}']),D6=Te({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);}"]}),O6=Ze("rttl5z0",null,[".rttl5z0{display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}"]),M6=Te({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;}"]}),Jp=o=>{"use no memo";const n=R6(),a=D6(),l=o.size==="small"||o.size==="extra-small"||o.size==="tiny";o.root.className=de(_m.root,n,l&&a.fontSmallToTiny,a[o.size],a[o.shape],o.shape==="rounded"&&l&&a.roundedSmallToTiny,o.appearance==="ghost"&&a.borderGhost,a[o.appearance],a[`${o.appearance}-${o.color}`],o.root.className);const s=O6(),f=M6();if(o.icon){let d;_.Children.toArray(o.root.children).length>0&&(o.size==="extra-large"?d=o.iconPosition==="after"?f.afterTextXL:f.beforeTextXL:d=o.iconPosition==="after"?f.afterText:f.beforeText),o.icon.className=de(_m.icon,s,d,f[o.size],o.icon.className)}return o},rd=o=>uo(o.root,{children:[o.iconPosition==="before"&&o.icon&&ge(o.icon,{}),o.root.children,o.iconPosition==="after"&&o.icon&&ge(o.icon,{})]}),$p=_.forwardRef((o,n)=>{const a=C6(o,n);return Jp(a),ft("useBadgeStyles_unstable")(a),rd(a)});$p.displayName="Badge";const q6={tiny:lm,"extra-small":lm,small:PB,medium:UB,large:cm,"extra-large":cm},F6={tiny:nm,"extra-small":nm,small:FB,medium:LB,large:im,"extra-large":im},H6={tiny:rm,"extra-small":rm,small:qB,medium:HB,large:am,"extra-large":am},L6={tiny:sm,"extra-small":sm,small:GB,medium:VB,large:um,"extra-large":um},P6={tiny:fm,"extra-small":fm,small:ZB,medium:XB,large:dm,"extra-large":dm},U6={tiny:gm,"extra-small":gm,small:IB,medium:WB,large:mm,"extra-large":mm},G6={tiny:hm,"extra-small":hm,small:YB,medium:KB,large:vm,"extra-large":vm},cf={tiny:ym,"extra-small":ym,small:$B,medium:e6,large:xm,"extra-large":xm},V6={tiny:pm,"extra-small":pm,small:QB,medium:JB,large:bm,"extra-large":bm},zm={tiny:Sm,"extra-small":Sm,small:t6,medium:o6,large:wm,"extra-large":wm},Z6=(o,n,a)=>{switch(o){case"available":return n?F6[a]:H6[a];case"away":return n?cf[a]:q6[a];case"blocked":return L6[a];case"busy":return n?zm[a]:P6[a];case"do-not-disturb":return n?G6[a]:U6[a];case"offline":return n?cf[a]:V6[a];case"out-of-office":return cf[a];case"unknown":return zm[a]}},Tm={busy:"busy","out-of-office":"out of office",away:"away",available:"available",offline:"offline","do-not-disturb":"do not disturb",unknown:"unknown",blocked:"blocked"},X6=(o,n)=>{const{size:a="medium",outOfOffice:l=!1,...s}=o;var f;const d=(f=o.status)!==null&&f!==void 0?f:"available",g=Z6(d,l,a),v={...I6(s,n),appearance:"filled",color:"brand",shape:"circular",size:a,outOfOffice:l};if(v.icon){var h,b;(b=(h=v.icon).children)!==null&&b!==void 0||(h.children=_.createElement(g,null))}return v},I6=(o,n)=>{const{status:a="available",outOfOffice:l=!1}=o,s=Tm[a],f=o.outOfOffice&&o.status!=="out-of-office"?` ${Tm["out-of-office"]}`:"";return{...od({"aria-label":s+f,role:"img",...o,icon:zt(o.icon,{renderByDefault:!0,elementType:"span"})},n),status:a,outOfOffice:l}},Nm={root:"fui-PresenceBadge",icon:"fui-PresenceBadge__icon"},Y6=o=>o==="busy"||o==="do-not-disturb"||o==="blocked",W6=Ze("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;}"]),K6=Ze("r11ag4qr",null,[".r11ag4qr{display:flex;margin:-1px;}"]),Q6=Te({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;}"]}),J6=o=>{"use no memo";const n=W6(),a=K6(),l=Q6(),s=Y6(o.status);return o.root.className=de(Nm.root,n,s&&l.statusBusy,o.status==="away"&&l.statusAway,o.status==="available"&&l.statusAvailable,o.status==="offline"&&l.statusOffline,o.status==="out-of-office"&&l.statusOutOfOffice,o.status==="unknown"&&l.statusUnknown,o.outOfOffice&&l.outOfOffice,o.outOfOffice&&o.status==="available"&&l.outOfOfficeAvailable,o.outOfOffice&&s&&l.outOfOfficeBusy,o.outOfOffice&&(o.status==="out-of-office"||o.status==="away"||o.status==="offline")&&l.statusOutOfOffice,o.outOfOffice&&o.status==="unknown"&&l.outOfOfficeUnknown,o.size==="tiny"&&l.tiny,o.size==="large"&&l.large,o.size==="extra-large"&&l.extraLarge,o.root.className),o.icon&&(o.icon.className=de(Nm.icon,a,o.icon.className)),o},Nf=_.forwardRef((o,n)=>{const a=X6(o,n);return J6(a),ft("usePresenceBadgeStyles_unstable")(a),rd(a)});Nf.displayName="PresenceBadge";const $6=(o,n)=>{const{shape:a="circular",appearance:l="filled",color:s="brand",size:f="medium",...d}=o;return{...ek(d,n),shape:a,appearance:l,color:s,size:f}},ek=(o,n)=>{const{showZero:a=!1,overflowCount:l=99,count:s=0,dot:f=!1,...d}=o,g={...od(d,n),showZero:a,count:s,dot:f};return(s!==0||a)&&!f&&!g.root.children&&(g.root.children=s>l?`${l}+`:`${s}`),g},Em={root:"fui-CounterBadge",icon:"fui-CounterBadge__icon"},tk=Te({dot:{Bf4jedk:"fgfkb25",a9b677:"f16dn6v3",Bqenvij:"f3mu39s",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai"},hide:{mc9l5x:"fjseox"}},{d:[".fgfkb25{min-width:auto;}",".f16dn6v3{width:6px;}",".f3mu39s{height:6px;}",[".f1mk8lai{padding:0;}",{p:-1}],".fjseox{display:none;}"]}),ok=o=>{"use no memo";const n=tk();return o.root.className=de(Em.root,o.dot&&n.dot,!o.root.children&&!o.dot&&n.hide,o.root.className),o.icon&&(o.icon.className=de(Em.icon,o.icon.className)),Jp(o)},eb=_.forwardRef((o,n)=>{const a=$6(o,n);return ok(a),ft("useCounterBadgeStyles_unstable")(a),rd(a)});eb.displayName="CounterBadge";const tb=_.createContext(void 0),rk={};tb.Provider;const nk=()=>{var o;return(o=_.useContext(tb))!==null&&o!==void 0?o:rk},ak={active:"active",inactive:"inactive"},ik=(o,n)=>{const{dir:a}=Bt(),{shape:l,size:s}=nk(),{size:f=s??32,shape:d=l??"circular",active:g="unset",activeAppearance:v="ring",idForColor:h,color:b="neutral",...p}=o,x=lk(p,n);var S;const w=b==="colorful"?Am[sk((S=h??o.name)!==null&&S!==void 0?S:"")%Am.length]:b;if(x.initials){var B;x.initials=zt(o.initials,{renderByDefault:!0,defaultProps:{children:Qp(o.name,a==="rtl",{firstInitialOnly:f<=16}),id:(B=x.initials)===null||B===void 0?void 0:B.id},elementType:"span"})}if(x.icon){var A,N;(N=(A=x.icon).children)!==null&&N!==void 0||(A.children=_.createElement(TB,null))}const D=zt(o.badge,{defaultProps:{size:ck(f),id:x.root.id+"__badge"},elementType:Nf});let j=x.activeAriaLabelElement;const L=o["aria-label"]!==void 0,Z=o["aria-labelledby"]!==void 0;if(!L&&!Z&&(o.name?D&&(x.root["aria-labelledby"]=x.root.id+" "+D.id):x.initials&&(x.root["aria-labelledby"]=x.initials.id+(D?" "+D.id:""),delete x.root["aria-label"]),g==="active"||g==="inactive")){const H=ak[g];if(x.root["aria-labelledby"]){const U=x.root.id+"__active";x.root["aria-labelledby"]+=" "+U,j=_.createElement("span",{hidden:!0,id:U},H)}else x.root["aria-label"]&&(x.root["aria-label"]+=" "+H)}return{...x,size:f,shape:d,active:g,activeAppearance:v,activeAriaLabelElement:j,color:w,badge:D,components:{...x.components,badge:Nf}}},lk=(o,n)=>{const{dir:a}=Bt(),{name:l,...s}=o,f=on("avatar-"),d=tt({role:"img",id:f,ref:n,...s},{elementType:"span"}),[g,v]=_.useState(void 0);let h=zt(o.image,{defaultProps:{alt:"",role:"presentation","aria-hidden":!0,hidden:g},elementType:"img"});h!=null&&h.src||(h=void 0),h&&(h.onError=zo(h.onError,()=>v(!0)),h.onLoad=zo(h.onLoad,()=>v(void 0)));let b=zt(o.initials,{renderByDefault:!0,defaultProps:{children:Qp(l,a==="rtl"),id:f+"__initials"},elementType:"span"});b!=null&&b.children||(b=void 0);let p;!b&&(!h||g)&&(p=zt(o.icon,{renderByDefault:!0,defaultProps:{"aria-hidden":!0},elementType:"span"}));let x;return!d["aria-label"]&&!d["aria-labelledby"]&&(l?d["aria-label"]=l:b&&(d["aria-labelledby"]=b.id)),{activeAriaLabelElement:x,components:{root:"span",initials:"span",icon:"span",image:"img"},root:d,initials:b,icon:p,image:h}},ck=o=>o>=96?"extra-large":o>=64?"large":o>=56?"medium":o>=40?"small":o>=28?"extra-small":"tiny",Am=["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"],sk=o=>{let n=0;for(let a=o.length-1;a>=0;a--){const l=o.charCodeAt(a),s=a%8;n^=(l<>8-s)}return n},ei={root:"fui-Avatar",image:"fui-Avatar__image",initials:"fui-Avatar__initials",icon:"fui-Avatar__icon",badge:"fui-Avatar__badge"},uk=Ze("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;}}"]}),fk=Ze("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;}"]),dk=Ze("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;}"]),gk=Te({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",Bg24rqe:"f9ttr0w"},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){.f9ttr0w{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),hk=Te({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;}"]}),mk=Te({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);}"]}),vk=Te({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);}"]}),pk=o=>{"use no memo";const{size:n,shape:a,active:l,activeAppearance:s,color:f}=o,d=uk(),g=fk(),v=dk(),h=gk(),b=hk(),p=mk(),x=vk(),S=[d,n!==32&&b[n]];if(o.badge&&S.push(h.badgeAlign,h[o.badge.size||"medium"]),n<=24?S.push(h.textCaption2Strong):n<=28?S.push(h.textCaption1Strong):n<=40||(n<=56?S.push(h.textSubtitle2):n<=96?S.push(h.textSubtitle1):S.push(h.textTitle3)),a==="square"&&(n<=24?S.push(h.squareSmall):n<=48?S.push(h.squareMedium):n<=72?S.push(h.squareLarge):S.push(h.squareXLarge)),(l==="active"||l==="inactive")&&(S.push(h.activeOrInactive),(s==="ring"||s==="ring-shadow")&&(S.push(h.ring,x[f]),o.badge&&S.push(h.ringBadgeCutout),n<=48?S.push(h.ringThick):n<=64?S.push(h.ringThicker):S.push(h.ringThickest)),(s==="shadow"||s==="ring-shadow")&&(S.push(h.shadow),n<=28?S.push(h.shadow4):n<=48?S.push(h.shadow8):n<=64?S.push(h.shadow16):S.push(h.shadow28)),l==="inactive"&&S.push(h.inactive)),o.root.className=de(ei.root,...S,o.root.className),o.badge&&(o.badge.className=de(ei.badge,h.badge,o.badge.className)),o.image&&(o.image.className=de(ei.image,g,p[f],o.badge&&h.badgeCutout,o.image.className)),o.initials&&(o.initials.className=de(ei.initials,v,p[f],o.badge&&h.badgeCutout,o.initials.className)),o.icon){let w;n<=16?w=h.icon12:n<=24?w=h.icon16:n<=40?w=h.icon20:n<=48?w=h.icon24:n<=56?w=h.icon28:n<=72?w=h.icon32:w=h.icon48,o.icon.className=de(ei.icon,v,w,p[f],o.badge&&h.badgeCutout,o.icon.className)}return o},Wl=_.forwardRef((o,n)=>{const a=ik(o,n);return pk(a),ft("useAvatarStyles_unstable")(a),k6(a)});Wl.displayName="Avatar";const jm="data-popper-is-intersecting",Cm="data-popper-escaped",Rm="data-popper-reference-hidden",bk="data-popper-placement",Ef="fui-positioningend",yk=({options:o})=>o,ob=_.createContext(void 0);ob.Provider;const xk=()=>{var o;return(o=_.useContext(ob))!==null&&o!==void 0?o:yk},Sk=["top","right","bottom","left"],tn=Math.min,lo=Math.max,rc=Math.round,No=o=>({x:o,y:o}),wk={left:"right",right:"left",bottom:"top",top:"bottom"};function Af(o,n,a){return lo(o,tn(n,a))}function Ko(o,n){return typeof o=="function"?o(n):o}function Qo(o){return o.split("-")[0]}function ra(o){return o.split("-")[1]}function nd(o){return o==="x"?"y":"x"}function ad(o){return o==="y"?"height":"width"}function To(o){const n=o[0];return n==="t"||n==="b"?"y":"x"}function id(o){return nd(To(o))}function Bk(o,n,a){a===void 0&&(a=!1);const l=ra(o),s=id(o),f=ad(s);let d=s==="x"?l===(a?"end":"start")?"right":"left":l==="start"?"bottom":"top";return n.reference[f]>n.floating[f]&&(d=nc(d)),[d,nc(d)]}function kk(o){const n=nc(o);return[jf(o),n,jf(n)]}function jf(o){return o.includes("start")?o.replace("start","end"):o.replace("end","start")}const Dm=["left","right"],Om=["right","left"],_k=["top","bottom"],zk=["bottom","top"];function Tk(o,n,a){switch(o){case"top":case"bottom":return a?n?Om:Dm:n?Dm:Om;case"left":case"right":return n?_k:zk;default:return[]}}function Nk(o,n,a,l){const s=ra(o);let f=Tk(Qo(o),a==="start",l);return s&&(f=f.map(d=>d+"-"+s),n&&(f=f.concat(f.map(jf)))),f}function nc(o){const n=Qo(o);return wk[n]+o.slice(n.length)}function Ek(o){return{top:0,right:0,bottom:0,left:0,...o}}function rb(o){return typeof o!="number"?Ek(o):{top:o,right:o,bottom:o,left:o}}function ac(o){const{x:n,y:a,width:l,height:s}=o;return{width:l,height:s,top:a,left:n,right:n+l,bottom:a+s,x:n,y:a}}function Mm(o,n,a){let{reference:l,floating:s}=o;const f=To(n),d=id(n),g=ad(d),v=Qo(n),h=f==="y",b=l.x+l.width/2-s.width/2,p=l.y+l.height/2-s.height/2,x=l[g]/2-s[g]/2;let S;switch(v){case"top":S={x:b,y:l.y-s.height};break;case"bottom":S={x:b,y:l.y+l.height};break;case"right":S={x:l.x+l.width,y:p};break;case"left":S={x:l.x-s.width,y:p};break;default:S={x:l.x,y:l.y}}switch(ra(n)){case"start":S[d]-=x*(a&&h?-1:1);break;case"end":S[d]+=x*(a&&h?-1:1);break}return S}async function nb(o,n){var a;n===void 0&&(n={});const{x:l,y:s,platform:f,rects:d,elements:g,strategy:v}=o,{boundary:h="clippingAncestors",rootBoundary:b="viewport",elementContext:p="floating",altBoundary:x=!1,padding:S=0}=Ko(n,o),w=rb(S),A=g[x?p==="floating"?"reference":"floating":p],N=ac(await f.getClippingRect({element:(a=await(f.isElement==null?void 0:f.isElement(A)))==null||a?A:A.contextElement||await(f.getDocumentElement==null?void 0:f.getDocumentElement(g.floating)),boundary:h,rootBoundary:b,strategy:v})),D=p==="floating"?{x:l,y:s,width:d.floating.width,height:d.floating.height}:d.reference,j=await(f.getOffsetParent==null?void 0:f.getOffsetParent(g.floating)),L=await(f.isElement==null?void 0:f.isElement(j))?await(f.getScale==null?void 0:f.getScale(j))||{x:1,y:1}:{x:1,y:1},Z=ac(f.convertOffsetParentRelativeRectToViewportRelativeRect?await f.convertOffsetParentRelativeRectToViewportRelativeRect({elements:g,rect:D,offsetParent:j,strategy:v}):D);return{top:(N.top-Z.top+w.top)/L.y,bottom:(Z.bottom-N.bottom+w.bottom)/L.y,left:(N.left-Z.left+w.left)/L.x,right:(Z.right-N.right+w.right)/L.x}}const Ak=50,jk=async(o,n,a)=>{const{placement:l="bottom",strategy:s="absolute",middleware:f=[],platform:d}=a,g=d.detectOverflow?d:{...d,detectOverflow:nb},v=await(d.isRTL==null?void 0:d.isRTL(n));let h=await d.getElementRects({reference:o,floating:n,strategy:s}),{x:b,y:p}=Mm(h,l,v),x=l,S=0;const w={};for(let B=0;B({name:"arrow",options:o,async fn(n){const{x:a,y:l,placement:s,rects:f,platform:d,elements:g,middlewareData:v}=n,{element:h,padding:b=0}=Ko(o,n)||{};if(h==null)return{};const p=rb(b),x={x:a,y:l},S=id(s),w=ad(S),B=await d.getDimensions(h),A=S==="y",N=A?"top":"left",D=A?"bottom":"right",j=A?"clientHeight":"clientWidth",L=f.reference[w]+f.reference[S]-x[S]-f.floating[w],Z=x[S]-f.reference[S],H=await(d.getOffsetParent==null?void 0:d.getOffsetParent(h));let U=H?H[j]:0;(!U||!await(d.isElement==null?void 0:d.isElement(H)))&&(U=g.floating[j]||f.floating[w]);const ie=L/2-Z/2,Be=U/2-B[w]/2-1,be=tn(p[N],Be),ye=tn(p[D],Be),ce=be,pe=U-B[w]-ye,Q=U/2-B[w]/2+ie,Ee=Af(ce,Q,pe),q=!v.arrow&&ra(s)!=null&&Q!==Ee&&f.reference[w]/2-(QQ<=0)){var ye,ce;const Q=(((ye=f.flip)==null?void 0:ye.index)||0)+1,Ee=U[Q];if(Ee&&(!(p==="alignment"?D!==To(Ee):!1)||be.every(ee=>To(ee.placement)===D?ee.overflows[0]>0:!0)))return{data:{index:Q,overflows:be},reset:{placement:Ee}};let q=(ce=be.filter(W=>W.overflows[0]<=0).sort((W,ee)=>W.overflows[1]-ee.overflows[1])[0])==null?void 0:ce.placement;if(!q)switch(S){case"bestFit":{var pe;const W=(pe=be.filter(ee=>{if(H){const oe=To(ee.placement);return oe===D||oe==="y"}return!0}).map(ee=>[ee.placement,ee.overflows.filter(oe=>oe>0).reduce((oe,ke)=>oe+ke,0)]).sort((ee,oe)=>ee[1]-oe[1])[0])==null?void 0:pe[0];W&&(q=W);break}case"initialPlacement":q=g;break}if(s!==q)return{reset:{placement:q}}}return{}}}};function qm(o,n){return{top:o.top-n.height,right:o.right-n.width,bottom:o.bottom-n.height,left:o.left-n.width}}function Fm(o){return Sk.some(n=>o[n]>=0)}const Dk=function(o){return o===void 0&&(o={}),{name:"hide",options:o,async fn(n){const{rects:a,platform:l}=n,{strategy:s="referenceHidden",...f}=Ko(o,n);switch(s){case"referenceHidden":{const d=await l.detectOverflow(n,{...f,elementContext:"reference"}),g=qm(d,a.reference);return{data:{referenceHiddenOffsets:g,referenceHidden:Fm(g)}}}case"escaped":{const d=await l.detectOverflow(n,{...f,altBoundary:!0}),g=qm(d,a.floating);return{data:{escapedOffsets:g,escaped:Fm(g)}}}default:return{}}}}},ab=new Set(["left","top"]);async function Ok(o,n){const{placement:a,platform:l,elements:s}=o,f=await(l.isRTL==null?void 0:l.isRTL(s.floating)),d=Qo(a),g=ra(a),v=To(a)==="y",h=ab.has(d)?-1:1,b=f&&v?-1:1,p=Ko(n,o);let{mainAxis:x,crossAxis:S,alignmentAxis:w}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return g&&typeof w=="number"&&(S=g==="end"?w*-1:w),v?{x:S*b,y:x*h}:{x:x*h,y:S*b}}const Mk=function(o){return o===void 0&&(o=0),{name:"offset",options:o,async fn(n){var a,l;const{x:s,y:f,placement:d,middlewareData:g}=n,v=await Ok(n,o);return d===((a=g.offset)==null?void 0:a.placement)&&(l=g.arrow)!=null&&l.alignmentOffset?{}:{x:s+v.x,y:f+v.y,data:{...v,placement:d}}}}},qk=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(n){const{x:a,y:l,placement:s,platform:f}=n,{mainAxis:d=!0,crossAxis:g=!1,limiter:v={fn:N=>{let{x:D,y:j}=N;return{x:D,y:j}}},...h}=Ko(o,n),b={x:a,y:l},p=await f.detectOverflow(n,h),x=To(Qo(s)),S=nd(x);let w=b[S],B=b[x];if(d){const N=S==="y"?"top":"left",D=S==="y"?"bottom":"right",j=w+p[N],L=w-p[D];w=Af(j,w,L)}if(g){const N=x==="y"?"top":"left",D=x==="y"?"bottom":"right",j=B+p[N],L=B-p[D];B=Af(j,B,L)}const A=v.fn({...n,[S]:w,[x]:B});return{...A,data:{x:A.x-a,y:A.y-l,enabled:{[S]:d,[x]:g}}}}}},Fk=function(o){return o===void 0&&(o={}),{options:o,fn(n){const{x:a,y:l,placement:s,rects:f,middlewareData:d}=n,{offset:g=0,mainAxis:v=!0,crossAxis:h=!0}=Ko(o,n),b={x:a,y:l},p=To(s),x=nd(p);let S=b[x],w=b[p];const B=Ko(g,n),A=typeof B=="number"?{mainAxis:B,crossAxis:0}:{mainAxis:0,crossAxis:0,...B};if(v){const j=x==="y"?"height":"width",L=f.reference[x]-f.floating[j]+A.mainAxis,Z=f.reference[x]+f.reference[j]-A.mainAxis;SZ&&(S=Z)}if(h){var N,D;const j=x==="y"?"width":"height",L=ab.has(Qo(s)),Z=f.reference[p]-f.floating[j]+(L&&((N=d.offset)==null?void 0:N[p])||0)+(L?0:A.crossAxis),H=f.reference[p]+f.reference[j]+(L?0:((D=d.offset)==null?void 0:D[p])||0)-(L?A.crossAxis:0);wH&&(w=H)}return{[x]:S,[p]:w}}}},Hk=function(o){return o===void 0&&(o={}),{name:"size",options:o,async fn(n){var a,l;const{placement:s,rects:f,platform:d,elements:g}=n,{apply:v=()=>{},...h}=Ko(o,n),b=await d.detectOverflow(n,h),p=Qo(s),x=ra(s),S=To(s)==="y",{width:w,height:B}=f.floating;let A,N;p==="top"||p==="bottom"?(A=p,N=x===(await(d.isRTL==null?void 0:d.isRTL(g.floating))?"start":"end")?"left":"right"):(N=p,A=x==="end"?"top":"bottom");const D=B-b.top-b.bottom,j=w-b.left-b.right,L=tn(B-b[A],D),Z=tn(w-b[N],j),H=!n.middlewareData.shift;let U=L,ie=Z;if((a=n.middlewareData.shift)!=null&&a.enabled.x&&(ie=j),(l=n.middlewareData.shift)!=null&&l.enabled.y&&(U=D),H&&!x){const be=lo(b.left,0),ye=lo(b.right,0),ce=lo(b.top,0),pe=lo(b.bottom,0);S?ie=w-2*(be!==0||ye!==0?be+ye:lo(b.left,b.right)):U=B-2*(ce!==0||pe!==0?ce+pe:lo(b.top,b.bottom))}await v({...n,availableWidth:ie,availableHeight:U});const Be=await d.getDimensions(g.floating);return w!==Be.width||B!==Be.height?{reset:{rects:!0}}:{}}}};function vc(){return typeof window<"u"}function na(o){return ib(o)?(o.nodeName||"").toLowerCase():"#document"}function Yt(o){var n;return(o==null||(n=o.ownerDocument)==null?void 0:n.defaultView)||window}function Jo(o){var n;return(n=(ib(o)?o.ownerDocument:o.document)||window.document)==null?void 0:n.documentElement}function ib(o){return vc()?o instanceof Node||o instanceof Yt(o).Node:!1}function xo(o){return vc()?o instanceof Element||o instanceof Yt(o).Element:!1}function $o(o){return vc()?o instanceof HTMLElement||o instanceof Yt(o).HTMLElement:!1}function Hm(o){return!vc()||typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof Yt(o).ShadowRoot}function vi(o){const{overflow:n,overflowX:a,overflowY:l,display:s}=So(o);return/auto|scroll|overlay|hidden|clip/.test(n+l+a)&&s!=="inline"&&s!=="contents"}function Lk(o){return/^(table|td|th)$/.test(na(o))}function pc(o){try{if(o.matches(":popover-open"))return!0}catch{}try{return o.matches(":modal")}catch{return!1}}const Pk=/transform|translate|scale|rotate|perspective|filter/,Uk=/paint|layout|strict|content/,Qr=o=>!!o&&o!=="none";let sf;function ld(o){const n=xo(o)?So(o):o;return Qr(n.transform)||Qr(n.translate)||Qr(n.scale)||Qr(n.rotate)||Qr(n.perspective)||!cd()&&(Qr(n.backdropFilter)||Qr(n.filter))||Pk.test(n.willChange||"")||Uk.test(n.contain||"")}function Gk(o){let n=Er(o);for(;$o(n)&&!ea(n);){if(ld(n))return n;if(pc(n))return null;n=Er(n)}return null}function cd(){return sf==null&&(sf=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),sf}function ea(o){return/^(html|body|#document)$/.test(na(o))}function So(o){return Yt(o).getComputedStyle(o)}function bc(o){return xo(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.scrollX,scrollTop:o.scrollY}}function Er(o){if(na(o)==="html")return o;const n=o.assignedSlot||o.parentNode||Hm(o)&&o.host||Jo(o);return Hm(n)?n.host:n}function lb(o){const n=Er(o);return ea(n)?o.ownerDocument?o.ownerDocument.body:o.body:$o(n)&&vi(n)?n:lb(n)}function cb(o,n,a){var l;n===void 0&&(n=[]);const s=lb(o),f=s===((l=o.ownerDocument)==null?void 0:l.body),d=Yt(s);return f?(Cf(d),n.concat(d,d.visualViewport||[],vi(s)?s:[],[])):n.concat(s,cb(s,[]))}function Cf(o){return o.parent&&Object.getPrototypeOf(o.parent)?o.frameElement:null}function sb(o){const n=So(o);let a=parseFloat(n.width)||0,l=parseFloat(n.height)||0;const s=$o(o),f=s?o.offsetWidth:a,d=s?o.offsetHeight:l,g=rc(a)!==f||rc(l)!==d;return g&&(a=f,l=d),{width:a,height:l,$:g}}function ub(o){return xo(o)?o:o.contextElement}function Xn(o){const n=ub(o);if(!$o(n))return No(1);const a=n.getBoundingClientRect(),{width:l,height:s,$:f}=sb(n);let d=(f?rc(a.width):a.width)/l,g=(f?rc(a.height):a.height)/s;return(!d||!Number.isFinite(d))&&(d=1),(!g||!Number.isFinite(g))&&(g=1),{x:d,y:g}}const Vk=No(0);function fb(o){const n=Yt(o);return!cd()||!n.visualViewport?Vk:{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function Zk(o,n,a){return n===void 0&&(n=!1),!a||n&&a!==Yt(o)?!1:n}function ui(o,n,a,l){n===void 0&&(n=!1),a===void 0&&(a=!1);const s=o.getBoundingClientRect(),f=ub(o);let d=No(1);n&&(l?xo(l)&&(d=Xn(l)):d=Xn(o));const g=Zk(f,a,l)?fb(f):No(0);let v=(s.left+g.x)/d.x,h=(s.top+g.y)/d.y,b=s.width/d.x,p=s.height/d.y;if(f){const x=Yt(f),S=l&&xo(l)?Yt(l):l;let w=x,B=Cf(w);for(;B&&l&&S!==w;){const A=Xn(B),N=B.getBoundingClientRect(),D=So(B),j=N.left+(B.clientLeft+parseFloat(D.paddingLeft))*A.x,L=N.top+(B.clientTop+parseFloat(D.paddingTop))*A.y;v*=A.x,h*=A.y,b*=A.x,p*=A.y,v+=j,h+=L,w=Yt(B),B=Cf(w)}}return ac({width:b,height:p,x:v,y:h})}function yc(o,n){const a=bc(o).scrollLeft;return n?n.left+a:ui(Jo(o)).left+a}function db(o,n){const a=o.getBoundingClientRect(),l=a.left+n.scrollLeft-yc(o,a),s=a.top+n.scrollTop;return{x:l,y:s}}function Xk(o){let{elements:n,rect:a,offsetParent:l,strategy:s}=o;const f=s==="fixed",d=Jo(l),g=n?pc(n.floating):!1;if(l===d||g&&f)return a;let v={scrollLeft:0,scrollTop:0},h=No(1);const b=No(0),p=$o(l);if((p||!p&&!f)&&((na(l)!=="body"||vi(d))&&(v=bc(l)),p)){const S=ui(l);h=Xn(l),b.x=S.x+l.clientLeft,b.y=S.y+l.clientTop}const x=d&&!p&&!f?db(d,v):No(0);return{width:a.width*h.x,height:a.height*h.y,x:a.x*h.x-v.scrollLeft*h.x+b.x+x.x,y:a.y*h.y-v.scrollTop*h.y+b.y+x.y}}function Ik(o){return Array.from(o.getClientRects())}function Yk(o){const n=Jo(o),a=bc(o),l=o.ownerDocument.body,s=lo(n.scrollWidth,n.clientWidth,l.scrollWidth,l.clientWidth),f=lo(n.scrollHeight,n.clientHeight,l.scrollHeight,l.clientHeight);let d=-a.scrollLeft+yc(o);const g=-a.scrollTop;return So(l).direction==="rtl"&&(d+=lo(n.clientWidth,l.clientWidth)-s),{width:s,height:f,x:d,y:g}}const Lm=25;function Wk(o,n){const a=Yt(o),l=Jo(o),s=a.visualViewport;let f=l.clientWidth,d=l.clientHeight,g=0,v=0;if(s){f=s.width,d=s.height;const b=cd();(!b||b&&n==="fixed")&&(g=s.offsetLeft,v=s.offsetTop)}const h=yc(l);if(h<=0){const b=l.ownerDocument,p=b.body,x=getComputedStyle(p),S=b.compatMode==="CSS1Compat"&&parseFloat(x.marginLeft)+parseFloat(x.marginRight)||0,w=Math.abs(l.clientWidth-p.clientWidth-S);w<=Lm&&(f-=w)}else h<=Lm&&(f+=h);return{width:f,height:d,x:g,y:v}}function Kk(o,n){const a=ui(o,!0,n==="fixed"),l=a.top+o.clientTop,s=a.left+o.clientLeft,f=$o(o)?Xn(o):No(1),d=o.clientWidth*f.x,g=o.clientHeight*f.y,v=s*f.x,h=l*f.y;return{width:d,height:g,x:v,y:h}}function Pm(o,n,a){let l;if(n==="viewport")l=Wk(o,a);else if(n==="document")l=Yk(Jo(o));else if(xo(n))l=Kk(n,a);else{const s=fb(o);l={x:n.x-s.x,y:n.y-s.y,width:n.width,height:n.height}}return ac(l)}function gb(o,n){const a=Er(o);return a===n||!xo(a)||ea(a)?!1:So(a).position==="fixed"||gb(a,n)}function Qk(o,n){const a=n.get(o);if(a)return a;let l=cb(o,[]).filter(g=>xo(g)&&na(g)!=="body"),s=null;const f=So(o).position==="fixed";let d=f?Er(o):o;for(;xo(d)&&!ea(d);){const g=So(d),v=ld(d);!v&&g.position==="fixed"&&(s=null),(f?!v&&!s:!v&&g.position==="static"&&!!s&&(s.position==="absolute"||s.position==="fixed")||vi(d)&&!v&&gb(o,d))?l=l.filter(b=>b!==d):s=g,d=Er(d)}return n.set(o,l),l}function Jk(o){let{element:n,boundary:a,rootBoundary:l,strategy:s}=o;const d=[...a==="clippingAncestors"?pc(n)?[]:Qk(n,this._c):[].concat(a),l],g=Pm(n,d[0],s);let v=g.top,h=g.right,b=g.bottom,p=g.left;for(let x=1;x{const l=new Map,s={platform:r_,...a},f={...s.platform,_c:l};return jk(o,n,{...s,platform:f})};function mb(o){const n=o.split("-");return{side:n[0],alignment:n[1]}}const f_=o=>o.nodeName==="HTML"?o:o.parentNode||o.host,d_=o=>{var n;if(o.nodeType!==1)return{};const a=(n=o.ownerDocument)===null||n===void 0?void 0:n.defaultView;return a?a.getComputedStyle(o,null):{}},xc=o=>{const n=o&&f_(o);if(!n)return document.body;switch(n.nodeName){case"HTML":case"BODY":return n.ownerDocument.body;case"#document":return n.body}const{overflow:a,overflowX:l,overflowY:s}=d_(n);return/(auto|scroll|overlay)/.test(a+s+l)?n:xc(n)},g_=o=>{var n;const a=xc(o);return a?a!==((n=a.ownerDocument)===null||n===void 0?void 0:n.body):!1};function sd(o,n){if(n==="window")return o==null?void 0:o.ownerDocument.documentElement;if(n==="clippingParents")return"clippingAncestors";if(n==="scrollParent"){let a=xc(o);return a.nodeName==="BODY"&&(a=o==null?void 0:o.ownerDocument.documentElement),a}return n}function h_(o,n){return typeof o=="number"||typeof o=="object"&&o!==null?ff(o,n):typeof o=="function"?a=>{const l=o(a);return ff(l,n)}:{mainAxis:n}}const ff=(o,n)=>{if(typeof o=="number")return{mainAxis:o+n};var a;return{...o,mainAxis:((a=o.mainAxis)!==null&&a!==void 0?a:0)+n}};function vb(o,n){if(typeof o=="number")return o;const{start:a,end:l,...s}=o,f=s,d=n?"end":"start",g=n?"start":"end";return o[d]&&(f.left=o[d]),o[g]&&(f.right=o[g]),f}const m_=o=>({above:"top",below:"bottom",before:o?"right":"left",after:o?"left":"right"}),v_=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),p_=(o,n)=>{const a=o==="above"||o==="below",l=n==="top"||n==="bottom";return a&&l||!a&&!l},pb=(o,n,a)=>{const l=p_(n,o)?"center":o,s=n&&m_(a)[n],f=l&&v_()[l];return s&&f?`${s}-${f}`:s},b_=()=>({top:"above",bottom:"below",right:"after",left:"before"}),y_=o=>o==="above"||o==="below"?{start:"start",end:"end"}:{start:"top",end:"bottom"},x_=o=>{const{side:n,alignment:a}=mb(o),l=b_()[n],s=a&&y_(l)[a];return{position:l,alignment:s}},S_={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 bb(o){return o==null?{}:typeof o=="string"?S_[o]:o}function df(o,n,a){const l=_.useRef(!0),[s]=_.useState(()=>({value:o,callback:n,facade:{get current(){return s.value},set current(f){const d=s.value;d!==f&&(s.value=f,s.callback(f,d))}}}));return Tt(()=>{l.current=!1},[]),s.callback=n,s.facade}function w_(o){let n;return()=>(n||(n=new Promise(a=>{Promise.resolve().then(()=>{n=void 0,a(o())})})),n)}function B_(o){const{arrow:n,middlewareData:a}=o;if(!a.arrow||!n)return;const{x:l,y:s}=a.arrow;Object.assign(n.style,{left:l!=null?`${l}px`:"",top:s!=null?`${s}px`:""})}function k_(o){var n,a,l;const{container:s,placement:f,middlewareData:d,strategy:g,lowPPI:v,coordinates:h,useTransform:b=!0}=o;if(!s)return;s.setAttribute(bk,f),s.removeAttribute(jm),d.intersectionObserver.intersecting&&s.setAttribute(jm,""),s.removeAttribute(Cm),!((n=d.hide)===null||n===void 0)&&n.escaped&&s.setAttribute(Cm,""),s.removeAttribute(Rm),!((a=d.hide)===null||a===void 0)&&a.referenceHidden&&s.setAttribute(Rm,"");const p=((l=s.ownerDocument.defaultView)===null||l===void 0?void 0:l.devicePixelRatio)||1,x=Math.round(h.x*p)/p,S=Math.round(h.y*p)/p;if(Object.assign(s.style,{position:g}),b){Object.assign(s.style,{transform:v?`translate(${x}px, ${S}px)`:`translate3d(${x}px, ${S}px, 0)`});return}Object.assign(s.style,{left:`${x}px`,top:`${S}px`})}const __=o=>{switch(o){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 Zm(o){const n=[];let a=o;for(;a;){const l=xc(a);if(o.ownerDocument.body===l){n.push(l);break}if(l.nodeName==="BODY"&&l!==o.ownerDocument.body)break;n.push(l),a=l}return n}function z_(o,n){return new o.ResizeObserver(n)}function T_(o){let n=!1;const{container:a,target:l,arrow:s,strategy:f,middleware:d,placement:g,useTransform:v=!0,disableUpdateOnResize:h=!1}=o,b=a.ownerDocument.defaultView;if(!l||!a||!b)return{updatePosition:()=>{},dispose:()=>{}};const p=h?null:z_(b,N=>{N.every(j=>j.contentRect.width>0&&j.contentRect.height>0)&&B()});let x=!0;const S=new Set;Object.assign(a.style,{position:"fixed",left:0,top:0,margin:0});const w=()=>{n||(x&&(Zm(a).forEach(N=>S.add(N)),ci(l)&&Zm(l).forEach(N=>S.add(N)),S.forEach(N=>{N.addEventListener("scroll",B,{passive:!0})}),p==null||p.observe(a),ci(l)&&(p==null||p.observe(l)),x=!1),Object.assign(a.style,{position:f}),u_(l,a,{placement:g,middleware:d,strategy:f}).then(({x:N,y:D,middlewareData:j,placement:L})=>{n||(B_({arrow:s,middlewareData:j}),k_({container:a,middlewareData:j,placement:L,coordinates:{x:N,y:D},lowPPI:((b==null?void 0:b.devicePixelRatio)||1)<=1,strategy:f,useTransform:v}),a.dispatchEvent(new CustomEvent(Ef,{detail:{placement:L}})))}).catch(N=>{}))},B=w_(()=>w()),A=()=>{n=!0,b&&(b.removeEventListener("scroll",B),b.removeEventListener("resize",B)),S.forEach(N=>{N.removeEventListener("scroll",B)}),S.clear(),p==null||p.disconnect()};return b&&(b.addEventListener("scroll",B,{passive:!0}),b.addEventListener("resize",B)),B(),{updatePosition:B,dispose:A}}function N_(){return{name:"coverTarget",fn:o=>{const{placement:n,rects:a,x:l,y:s}=o,f=mb(n).side,d={x:l,y:s};switch(f){case"bottom":d.y-=a.reference.height;break;case"top":d.y+=a.reference.height;break;case"left":d.x+=a.reference.width;break;case"right":d.x-=a.reference.width;break}return d}}}function E_(o){const{hasScrollableElement:n,flipBoundary:a,container:l,fallbackPositions:s=[],isRtl:f}=o,d=s.reduce((g,v)=>{const{position:h,align:b}=bb(v),p=pb(b,h,f);return p&&g.push(p),g},[]);return l_({...n&&{boundary:"clippingAncestors"},...a&&{altBoundary:!0,boundary:sd(l,a)},fallbackStrategy:"bestFit",...d.length&&{fallbackPlacements:d}})}function A_(){return{name:"intersectionObserver",fn:async o=>{const n=o.rects.floating,a=await n_(o,{altBoundary:!0}),l=a.top0,s=a.bottom0;return{data:{intersecting:l||s}}}}}const j_=o=>({name:"resetMaxSize",fn({middlewareData:n,elements:a}){var l;if(!((l=n.resetMaxSize)===null||l===void 0)&&l.maxSizeAlreadyReset)return{};const{applyMaxWidth:s,applyMaxHeight:f}=o;return s&&(a.floating.style.removeProperty("box-sizing"),a.floating.style.removeProperty("max-width"),a.floating.style.removeProperty("width")),f&&(a.floating.style.removeProperty("box-sizing"),a.floating.style.removeProperty("max-height"),a.floating.style.removeProperty("height")),{data:{maxSizeAlreadyReset:!0},reset:{rects:!0}}}});function C_(o,n){const{container:a,overflowBoundary:l,overflowBoundaryPadding:s,isRtl:f}=n;return c_({...s&&{padding:vb(s,f)},...l&&{altBoundary:!0,boundary:sd(a,l)},apply({availableHeight:d,availableWidth:g,elements:v,rects:h}){const b=(S,w,B)=>{if(S&&(v.floating.style.setProperty("box-sizing","border-box"),v.floating.style.setProperty(`max-${w}`,`${B}px`),h.floating[w]>B)){v.floating.style.setProperty(w,`${B}px`);const A=w==="width"?"x":"y";v.floating.style.getPropertyValue(`overflow-${A}`)||v.floating.style.setProperty(`overflow-${A}`,"auto")}},{applyMaxWidth:p,applyMaxHeight:x}=o;b(p,"width",g),b(x,"height",d)}})}function R_(o){return!o||typeof o=="number"||typeof o=="object"?o:({rects:{floating:n,reference:a},placement:l})=>{const{position:s,alignment:f}=x_(l);return o({positionedRect:n,targetRect:a,position:s,alignment:f})}}function D_(o){const n=R_(o);return a_(n)}function O_(o){const{hasScrollableElement:n,shiftToCoverTarget:a,disableTether:l,overflowBoundary:s,container:f,overflowBoundaryPadding:d,isRtl:g}=o;return i_({...n&&{boundary:"clippingAncestors"},...a&&{crossAxis:!0,limiter:Vm({crossAxis:!0,mainAxis:!1})},...l&&{crossAxis:l==="all",limiter:Vm({crossAxis:l!=="all",mainAxis:!1})},...d&&{padding:vb(d,g)},...s&&{altBoundary:!0,boundary:sd(f,s)}})}const Xm="--fui-match-target-size";function M_(){return{name:"matchTargetSize",fn:async o=>{const{rects:{reference:n,floating:a},elements:{floating:l},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:s=!1}={}}}=o;if(n.width===a.width||s)return{};const{width:f}=n;return l.style.setProperty(Xm,`${f}px`),l.style.width||(l.style.width=`var(${Xm})`),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}function q_(o,n){const{align:a,arrowPadding:l,autoSize:s,coverTarget:f,disableUpdateOnResize:d,flipBoundary:g,offset:v,overflowBoundary:h,pinned:b,position:p,unstable_disableTether:x,strategy:S,overflowBoundaryPadding:w,fallbackPositions:B,useTransform:A,matchTargetSize:N,shiftToCoverTarget:D}=n;return _.useCallback((j,L)=>o({container:j,arrow:L,options:{autoSize:s,disableUpdateOnResize:d,matchTargetSize:N,offset:v,strategy:S,coverTarget:f,flipBoundary:g,overflowBoundary:h,useTransform:A,overflowBoundaryPadding:w,pinned:b,arrowPadding:l,align:a,fallbackPositions:B,shiftToCoverTarget:D,position:p,unstable_disableTether:x}}),[s,d,N,v,S,f,g,h,A,w,b,l,a,B,D,p,x,o])}function F_(o){const{dir:n,targetDocument:a}=Bt(),l=n==="rtl",s=q_(xk(),o),{positionFixed:f}=o;return _.useCallback((d,g)=>{const v=g_(d),h=s(d,g),{autoSize:b,disableUpdateOnResize:p,matchTargetSize:x,offset:S,coverTarget:w,flipBoundary:B,overflowBoundary:A,useTransform:N,overflowBoundaryPadding:D,pinned:j,position:L,arrowPadding:Z,strategy:H,align:U,fallbackPositions:ie,shiftToCoverTarget:Be,unstable_disableTether:be}=h,ye=__(b),ce=[ye&&j_(ye),x&&M_(),S&&D_(S),w&&N_(),!j&&E_({container:d,flipBoundary:B,hasScrollableElement:v,isRtl:l,fallbackPositions:ie}),O_({container:d,hasScrollableElement:v,overflowBoundary:A,disableTether:be,overflowBoundaryPadding:D,isRtl:l,shiftToCoverTarget:Be}),ye&&C_(ye,{container:d,overflowBoundary:A,overflowBoundaryPadding:D,isRtl:l}),A_(),g&&s_({element:g,padding:Z}),Gm({strategy:"referenceHidden"}),Gm({strategy:"escaped"}),!1].filter(Boolean);return{placement:pb(U,L,l),middleware:ce,strategy:H??f?"fixed":"absolute",disableUpdateOnResize:p,useTransform:N}},[s,l,a,f])}function H_(o){"use no memo";const n=_.useRef(null),a=_.useRef(null),l=_.useRef(null),s=_.useRef(null),f=_.useRef(null),{enabled:d=!0}=o,g=F_(o),v=_.useCallback(()=>{n.current&&n.current.dispose(),n.current=null;var w;const B=(w=l.current)!==null&&w!==void 0?w:a.current;d&&hc()&&B&&s.current&&(n.current=T_({container:s.current,target:B,arrow:f.current,...g(s.current,f.current)}))},[d,g]),h=Qe(w=>{l.current=w,v()});_.useImperativeHandle(o.positioningRef,()=>({updatePosition:()=>{var w;return(w=n.current)===null||w===void 0?void 0:w.updatePosition()},setTarget:w=>{o.target,h(w)}}),[o.target,h]),Tt(()=>{var w;h((w=o.target)!==null&&w!==void 0?w:null)},[o.target,h]),Tt(()=>{v()},[v]);const b=df(null,w=>{a.current!==w&&(a.current=w,v())}),p=Qe(w=>{var B;return(B=o.onPositioningEnd)===null||B===void 0?void 0:B.call(o,w)}),x=df(null,w=>{if(s.current!==w){var B;(B=s.current)===null||B===void 0||B.removeEventListener(Ef,p),w==null||w.addEventListener(Ef,p),s.current=w,v()}}),S=df(null,w=>{f.current!==w&&(f.current=w,v())});return{targetRef:b,containerRef:x,arrowRef:S}}function L_(o){return ci(o)?{element:o}:typeof o=="object"?o===null?{element:null}:o:{}}const P_=Te({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;}"]}),yb=Kl.useInsertionEffect,U_=o=>{"use no memo";const{className:n,dir:a,focusVisibleRef:l,targetNode:s}=o,f=_.useMemo(()=>{if(s===void 0||o.disabled)return null;const d=s.ownerDocument.createElement("div");return s.appendChild(d),d},[s,o.disabled]);return _.useMemo(()=>{f&&(f.className=n,f.setAttribute("dir",a),f.setAttribute("data-portal-node","true"),l.current=f)},[n,a,f,l]),_.useEffect(()=>()=>{f==null||f.remove()},[f]),f},G_=()=>{let o;function n(l,s){return o||(s&&(o=l.ownerDocument.createElement("div"),l.appendChild(o)),o)}function a(){o&&(o.remove(),o=void 0)}return{get:n,dispose:a}},V_=o=>{"use no memo";const{className:n,dir:a,focusVisibleRef:l,targetNode:s}=o,[f]=_.useState(G_),d=_.useMemo(()=>s===void 0||o.disabled?null:new Proxy({},{get(g,v){if(v==="nodeType")return 1;if(v==="remove"){const p=f.get(s,!1);return p&&p.childNodes.length===0&&f.dispose(),()=>{}}const h=f.get(s,!0),b=h?h[v]:void 0;return typeof b=="function"?b.bind(h):b},set(g,v,h){const b=v==="_virtual"||v==="focusVisible",p=b?f.get(s,!1):f.get(s,!0);return b&&!p?!0:p?(Object.assign(p,{[v]:h}),!0):!1}}),[f,s,o.disabled]);return yb(()=>{if(!d)return;const g=n.split(" ").filter(Boolean);return d.classList.add(...g),d.setAttribute("dir",a),d.setAttribute("data-portal-node","true"),l.current=d,()=>{d.classList.remove(...g),d.removeAttribute("dir")}},[n,a,d,l]),_.useEffect(()=>()=>{d==null||d.remove()},[d]),d},Z_=yb?V_:U_,X_=o=>{"use no memo";const{targetDocument:n,dir:a}=Bt(),l=hS(),s=hp(),f=P_(),d=aS(),g={dir:a,disabled:o.disabled,focusVisibleRef:s,className:de(d,f.root,o.className),targetNode:l??(n==null?void 0:n.body)};return Z_(g)},I_=o=>{const{element:n,className:a}=L_(o.mountNode),l=_.useRef(null),s=X_({disabled:!!n,className:a}),f=n??s,d={children:o.children,mountNode:f,virtualParentRootRef:l};return _.useEffect(()=>{if(!f)return;const g=l.current,v=f.contains(g);if(g&&!v)return Z1(f,g),()=>{Z1(f,void 0)}},[l,f]),d};var Y_=iv();const W_=o=>_.createElement("span",{hidden:!0,ref:o.virtualParentRootRef},o.mountNode&&Y_.createPortal(_.createElement(_.Fragment,null,o.children,_.createElement("span",{hidden:!0})),o.mountNode)),ud=o=>{const n=I_(o);return W_(n)};ud.displayName="Portal";const K_=6,Q_=4,J_=o=>-1,$_=o=>{};function ez(o){const{targetDocument:n}=Bt(),a=n==null?void 0:n.defaultView,l=a?a.setTimeout:J_,s=a?a.clearTimeout:$_,f=_.useRef(void 0),d=_.useCallback((v,h)=>(f.current!==void 0&&s(f.current),f.current=l(v,h??0),f.current),[s,l]),g=_.useCallback(()=>{f.current!==void 0&&(s(f.current),f.current=void 0)},[s]);return _.useEffect(()=>{const v=o.current;return()=>{(!v||!v.isConnected)&&g()}},[g,o]),[d,g]}const tz=o=>{"use no memo";var n,a,l,s,f,d,g;const v=cS(),h=yS(),{targetDocument:b}=Bt(),[p,x]=gc({state:o.visible,initialState:!1}),{children:S,content:w,withArrow:B=!1,positioning:A="above",onVisibleChange:N,relationship:D,showDelay:j=250,hideDelay:L=250,mountNode:Z}=o,H={withArrow:B,positioning:A,showDelay:j,hideDelay:L,relationship:D,visible:p,shouldRenderTooltip:p,mountNode:Z,components:{content:"div"},content:tt(w,{defaultProps:{role:"tooltip"},elementType:"div"})};H.content.id=on("tooltip-",H.content.id);const U={enabled:H.visible,arrowPadding:2*Q_,position:"above",align:"center",offset:4,...bb(H.positioning)};H.withArrow&&(U.offset=h_(U.offset,K_));const{targetRef:ie,containerRef:Be,arrowRef:be}=H_(U),[ye,ce]=ez(Be),pe=_.useCallback((G,K)=>{ce(),x(J=>(K.visible!==J&&(N==null||N(G,K)),K.visible))},[ce,x,N]);H.content.ref=li(H.content.ref,Be),H.arrowRef=be,Tt(()=>{if(p){var G;const K={hide:se=>pe(void 0,{visible:!1,documentKeyboardEvent:se})};(G=v.visibleTooltip)===null||G===void 0||G.hide(),v.visibleTooltip=K;const J=se=>{se.key===Op&&!se.defaultPrevented&&(K.hide(se),se.preventDefault())};return b==null||b.addEventListener("keydown",J,{capture:!0}),()=>{v.visibleTooltip===K&&(v.visibleTooltip=void 0),b==null||b.removeEventListener("keydown",J,{capture:!0})}}},[v,b,p,pe]);const Q=_.useRef(!1),Ee=_.useCallback(G=>{if(G.type==="focus"&&Q.current){Q.current=!1;return}const K=v.visibleTooltip?0:H.showDelay;ye(()=>{pe(G,{visible:!0})},K),G.persist()},[ye,pe,H.showDelay,v]),q=p4(),[W]=_.useState(()=>{const G=J=>{var se;!((se=J.detail)===null||se===void 0)&&se.isFocusedProgrammatically&&!q()&&(Q.current=!0)};let K=null;return J=>{K==null||K.removeEventListener(yo,G),J==null||J.addEventListener(yo,G),K=J}}),ee=_.useCallback(G=>{let K=H.hideDelay;G.type==="blur"&&(K=0,Q.current=(b==null?void 0:b.activeElement)===G.target),ye(()=>{pe(G,{visible:!1})},K),G.persist()},[ye,pe,H.hideDelay,b]);H.content.onPointerEnter=zo(H.content.onPointerEnter,ce),H.content.onPointerLeave=zo(H.content.onPointerLeave,ee),H.content.onFocus=zo(H.content.onFocus,ce),H.content.onBlur=zo(H.content.onBlur,ee);const oe=Vf(S),ke={},T=(oe==null||(n=oe.props)===null||n===void 0?void 0:n["aria-haspopup"])&&((oe==null||(a=oe.props)===null||a===void 0?void 0:a["aria-expanded"])===!0||(oe==null||(l=oe.props)===null||l===void 0?void 0:l["aria-expanded"])==="true");return D==="label"?typeof H.content.children=="string"?ke["aria-label"]=H.content.children:(ke["aria-labelledby"]=H.content.id,H.shouldRenderTooltip=!0):D==="description"&&(ke["aria-describedby"]=H.content.id,H.shouldRenderTooltip=!0),(h||T)&&(H.shouldRenderTooltip=!1),H.children=Yv(S,{...ke,...oe==null?void 0:oe.props,ref:li(Gf(oe),W,U.target===void 0?ie:void 0),onPointerEnter:Qe(zo(oe==null||(s=oe.props)===null||s===void 0?void 0:s.onPointerEnter,Ee)),onPointerLeave:Qe(zo(oe==null||(f=oe.props)===null||f===void 0?void 0:f.onPointerLeave,ee)),onFocus:Qe(zo(oe==null||(d=oe.props)===null||d===void 0?void 0:d.onFocus,Ee)),onBlur:Qe(zo(oe==null||(g=oe.props)===null||g===void 0?void 0:g.onBlur,ee))}),H},oz=o=>{"use no memo";const{appearance:n="normal",...a}=o,l=tz(a);return{appearance:n,...l}},rz=o=>uo(_.Fragment,{children:[o.children,o.shouldRenderTooltip&&ge(ud,{mountNode:o.mountNode,children:uo(o.content,{children:[o.withArrow&&ge("div",{ref:o.arrowRef,className:o.arrowClassName}),o.content.children]})})]}),nz={content:"fui-Tooltip__content"},az=Te({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;}']}),iz=o=>{"use no memo";const n=az();return o.content.className=de(nz.content,n.root,o.appearance==="inverted"&&n.inverted,o.visible&&n.visible,o.content.className),o.arrowClassName=n.arrow,o},Vn=o=>{const n=oz(o);return iz(n),ft("useTooltipStyles_unstable")(n),rz(n)};Vn.displayName="Tooltip";Vn.isFluentTriggerComponent=!0;const xb=o=>{const{iconOnly:n,iconPosition:a}=o;return uo(o.root,{children:[a!=="after"&&o.icon&&ge(o.icon,{}),!n&&o.root.children,a==="after"&&o.icon&&ge(o.icon,{})]})},Sb=_.createContext(void 0),lz={};Sb.Provider;const cz=()=>{var o;return(o=_.useContext(Sb))!==null&&o!==void 0?o:lz},wb=(o,n)=>{const{size:a}=cz(),{appearance:l="secondary",shape:s="rounded",size:f=a??"medium",...d}=o,g=sz(d,n);return{appearance:l,shape:s,size:f,...g}},sz=(o,n)=>{const{icon:a,iconPosition:l="before",...s}=o,f=zt(a,{elementType:"span"});var d,g;return{disabled:(d=o.disabled)!==null&&d!==void 0?d:!1,disabledFocusable:(g=o.disabledFocusable)!==null&&g!==void 0?g:!1,iconPosition:l,iconOnly:!!(f!=null&&f.children&&!o.children),components:{root:"button",icon:"span"},root:tt(Mp(s.as,s),{elementType:"button",defaultProps:{ref:n,type:o.as!=="a"?"button":void 0}}),icon:f}},Im={root:"fui-Button",icon:"fui-Button__icon"},uz=Ze("r1f29ykk",null,{r:[".r1f29ykk{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);}",".r1f29ykk:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}",".r1f29ykk:hover:active,.r1f29ykk:active:focus-visible{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}",".r1f29ykk[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){.r1f29ykk{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1f29ykk:focus{border-color:ButtonText;}.r1f29ykk:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1f29ykk:hover:active,.r1f29ykk:active:focus-visible{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}","@supports (-moz-appearance:button){.r1f29ykk[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),fz=Ze("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);}"]),dz=Te({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",Bpjbzib:"fkoldzo"},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",Bpjbzib:"f1ksv2xa",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1d6mv4x",By8wz76:"f1nz3ub2",Bcq6wej:"fag2qd2",Jcjdmf:["fmvhcg7","f14bpyus"],sc4o1m:"f1o3dhpw",Bosien3:["f14bpyus","fmvhcg7"],B7iucu3:"fqc85l4",B8gzw0y:"f1h3a8gf",Bbkh6qg:"fkiggi6",F230oe:"f8gmj8i",Bdw8ktp:["f1ap8nzx","fjag8bx"],Bj1xduy:"f1igan7k",Bhh2cfd:["fjag8bx","f1ap8nzx"],Bahaeuw:"f1v3eptx",Bv2bamp:"f1ysmecq",vxuvv6:"faulsx",Bli9q98:["f79t15f","f8qmx7k"],Bx2tt8t:"fbtzoaq",yad0b3:["f8qmx7k","f79t15f"],j2fop7:"fd4bjan"},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",Bpjbzib:"f1q1yqic",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"fwga7ee",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",wsxvnf:"f1xxsver",Bahaeuw:"f1v3eptx",Buhizc3:"fivsta0",j2fop7:"fd4bjan",Bqabnb4:"f3m6zum"},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",Bpjbzib:"fkoldzo",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1l983o9",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",Bbkh6qg:"fxoo9op",Bahaeuw:"f1v3eptx",Bv2bamp:"f1i0gk12",j2fop7:"fd4bjan"},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);}",".fkoldzo:hover:active,.fkoldzo:active:focus-visible{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);}",".f1ksv2xa:hover:active,.f1ksv2xa:active:focus-visible{background-color:var(--colorBrandBackgroundPressed);}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}",".f1d6mv4x:hover:active,.f1d6mv4x:active:focus-visible{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);}",".f1q1yqic:hover:active,.f1q1yqic:active:focus-visible{background-color:var(--colorSubtleBackgroundPressed);}",".fwga7ee:hover:active,.fwga7ee:active:focus-visible{color:var(--colorNeutralForeground2Pressed);}",".f1nhwcv0:hover:active .fui-Icon-filled,.f1nhwcv0:active:focus-visible .fui-Icon-filled{display:inline;}",".f1gm6xmp:hover:active .fui-Icon-regular,.f1gm6xmp:active:focus-visible .fui-Icon-regular{display:none;}",".f1xxsver:hover:active .fui-Button__icon,.f1xxsver:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1l983o9:hover:active,.f1l983o9:active:focus-visible{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1nz3ub2{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fag2qd2{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14bpyus{border-left-color:HighlightText;}.fmvhcg7{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o3dhpw{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fqc85l4{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1h3a8gf{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkiggi6:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f8gmj8i:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ap8nzx:hover{border-right-color:Highlight;}.fjag8bx:hover{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1igan7k:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1v3eptx:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ysmecq:hover:active,.f1ysmecq:active:focus-visible{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.faulsx:hover:active,.faulsx:active:focus-visible{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f79t15f:hover:active,.f79t15f:active:focus-visible{border-right-color:Highlight;}.f8qmx7k:hover:active,.f8qmx7k:active:focus-visible{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbtzoaq:hover:active,.fbtzoaq:active:focus-visible{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fd4bjan:hover:active,.fd4bjan:active:focus-visible{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fivsta0:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3m6zum:hover:active .fui-Button__icon,.f3m6zum:active:focus-visible .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fxoo9op:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1i0gk12:hover:active,.f1i0gk12:active:focus-visible{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),gz=Te({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",Bpjbzib:"f1jct5ie",im15vp:"f13txml0",Hjvxdg:["f1ncddno","f1axfvow"],Gpfmf1:"f1z04ada",ustxxc:["f1axfvow","f1ncddno"],Brsut9c:"f1uhomfy",Bses4qk:"fy9mucy",Bqou3pl:"f1g9va8i",Bsnehw8:"fwgvudy",wsxvnf:"fom6jww"},highContrast:{By8wz76:"f14ptb23",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],B7iucu3:"f1cyfu5x",Grqk0h:"f127ot8j",h3ptyc:"f19etb0b",Buw724y:["f4f984j","fw441p0"],Buk7464:"f3d22hf",Hwei09:["fw441p0","f4f984j"],Bbkh6qg:"fj8k9ua",F230oe:"fifrq0d",Bdw8ktp:["f196mwp7","fnekfq"],Bj1xduy:"f1l6uprw",Bhh2cfd:["fnekfq","f196mwp7"],Bahaeuw:"fa9u7a5",Buhizc3:"f1m71e0y",Bv2bamp:"fw24f3",vxuvv6:"f1nznrny",Bli9q98:["fq8nxuu","f1ao3jkc"],Bx2tt8t:"ftoixeo",yad0b3:["f1ao3jkc","fq8nxuu"],j2fop7:"fpmuzpx",Bqabnb4:"f168odog"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",Bpjbzib:"f9r0db0"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},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"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},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"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]}},{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);}",".f1jct5ie:hover:active,.f1jct5ie:active:focus-visible{background-color:var(--colorNeutralBackgroundDisabled);}",".f13txml0:hover:active,.f13txml0:active:focus-visible{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ncddno:hover:active,.f1ncddno:active:focus-visible{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1axfvow:hover:active,.f1axfvow:active:focus-visible{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1z04ada:hover:active,.f1z04ada:active:focus-visible{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1uhomfy:hover:active,.f1uhomfy:active:focus-visible{color:var(--colorNeutralForegroundDisabled);}",".fy9mucy:hover:active,.fy9mucy:active:focus-visible{cursor:not-allowed;}",".f1g9va8i:hover:active .fui-Icon-filled,.f1g9va8i:active:focus-visible .fui-Icon-filled{display:none;}",".fwgvudy:hover:active .fui-Icon-regular,.fwgvudy:active:focus-visible .fui-Icon-regular{display:inline;}",".fom6jww:hover:active .fui-Button__icon,.fom6jww:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f9r0db0:hover:active,.f9r0db0:active:focus-visible{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;}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.f14ptb23{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f127ot8j .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f19etb0b:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4f984j:focus{border-right-color:GrayText;}.fw441p0:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3d22hf:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fj8k9ua:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fifrq0d:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f196mwp7:hover{border-right-color:GrayText;}.fnekfq:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1l6uprw:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fa9u7a5:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1m71e0y:hover .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fw24f3:hover:active,.fw24f3:active:focus-visible{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1nznrny:hover:active,.f1nznrny:active:focus-visible{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ao3jkc:hover:active,.f1ao3jkc:active:focus-visible{border-left-color:GrayText;}.fq8nxuu:hover:active,.fq8nxuu:active:focus-visible{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ftoixeo:hover:active,.ftoixeo:active:focus-visible{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fpmuzpx:hover:active,.fpmuzpx:active:focus-visible{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f168odog:hover:active .fui-Button__icon,.f168odog:active:focus-visible .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),hz=Te({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"],Bqsb82s:["fixhny3","f18mfu3r"],jg1oma:"feygou5"},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){.f18mfu3r[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;}.fixhny3[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){.feygou5[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),mz=Te({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;}"]}),vz=Te({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);}"]}),Bb=o=>{"use no memo";const n=uz(),a=fz(),l=dz(),s=gz(),f=hz(),d=mz(),g=vz(),{appearance:v,disabled:h,disabledFocusable:b,icon:p,iconOnly:x,iconPosition:S,shape:w,size:B}=o;return o.root.className=de(Im.root,n,v&&l[v],l[B],p&&B==="small"&&l.smallWithIcon,p&&B==="large"&&l.largeWithIcon,l[w],(h||b)&&s.base,(h||b)&&s.highContrast,v&&(h||b)&&s[v],v==="primary"&&f.primary,f[B],f[w],x&&d[B],o.root.className),o.icon&&(o.icon.className=de(Im.icon,a,!!o.root.children&&g[S],g[B],o.icon.className)),o},_r=_.forwardRef((o,n)=>{const a=wb(o,n);return Bb(a),ft("useButtonStyles_unstable")(a),xb(a)});_r.displayName="Button";const kb=_.createContext(void 0);kb.Provider;const pz=()=>_.useContext(kb);function _b(o,n){return bz(pz(),o,n)}function bz(o,n,a){if(!o)return n;n={...n};const{generatedControlId:l,hintId:s,labelFor:f,labelId:d,required:g,validationMessageId:v,validationState:h}=o;if(l){var b,p;(p=(b=n).id)!==null&&p!==void 0||(b.id=l)}if(d&&(!(a!=null&&a.supportsLabelFor)||f!==n.id)){var x,S,w;(w=(x=n)[S="aria-labelledby"])!==null&&w!==void 0||(x[S]=d)}if((v||s)&&(n["aria-describedby"]=[v,s,n==null?void 0:n["aria-describedby"]].filter(Boolean).join(" ")),h==="error"){var B,A,N;(N=(B=n)[A="aria-invalid"])!==null&&N!==void 0||(B[A]=!0)}if(g)if(a!=null&&a.supportsRequired){var D,j;(j=(D=n).required)!==null&&j!==void 0||(D.required=!0)}else{var L,Z,H;(H=(L=n)[Z="aria-required"])!==null&&H!==void 0||(L[Z]=!0)}if(a!=null&&a.supportsSize){var U,ie;(ie=(U=n).size)!==null&&ie!==void 0||(U.size=o.size)}return n}const yz=(o,n)=>{const{weight:a="regular",size:l="medium",...s}=o,f=xz(s,n);return{weight:a,size:l,...f}},xz=(o,n)=>{const{disabled:a=!1,required:l=!1,...s}=o;return{disabled:a,required:zt(l===!0?"*":l||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),components:{root:"label",required:"span"},root:tt(Eo("label",{ref:n,...s}),{elementType:"label"})}},Sz=o=>uo(o.root,{children:[o.root.children,o.required&&ge(o.required,{})]}),Ym={root:"fui-Label",required:"fui-Label__required"},wz=Te({root:{Bahqtrf:"fk6fouc",sj55zd:"f19n0e5"},disabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},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){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),Bz=o=>{"use no memo";const n=wz();return o.root.className=de(Ym.root,n.root,o.disabled&&n.disabled,n[o.size],o.weight==="semibold"&&n.semibold,o.root.className),o.required&&(o.required.className=de(Ym.required,n.required,o.disabled&&n.disabled,o.required.className)),o},In=_.forwardRef((o,n)=>{const a=yz(o,n);return Bz(a),ft("useLabelStyles_unstable")(a),Sz(a)});In.displayName="Label";const zb=o=>ge(o.root,{children:o.root.children!==void 0&&ge(o.wrapper,{children:o.root.children})}),Tb=(o,n)=>{const{alignContent:a="center",appearance:l="default",inset:s=!1,...f}=o,d=kz(f,n);return{alignContent:a,appearance:l,inset:s,...d}},kz=(o,n)=>{const{vertical:a=!1,wrapper:l,...s}=o,f=on("divider-");return{vertical:a,components:{root:"div",wrapper:"div"},root:tt({role:"separator","aria-orientation":a?"vertical":"horizontal","aria-labelledby":o.children?f:void 0,ref:n,...s},{elementType:"div"}),wrapper:tt(l,{defaultProps:{id:f,children:o.children},elementType:"div"})}},Wm={root:"fui-Divider",wrapper:"fui-Divider__wrapper"},_z=Te({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);}"]}),zz=Te({base:{a9b677:"fly5x3f",Bdkvgpv:"f163fonl",B0qfbqy:"f51yk4v",pbipgd:"f13rof3u",Bm2nyyq:"f8rth92",xrcqlc:"f6czdpx",i5u598:"f1iyka9k"},inset:{uwmqm3:["fjlbh76","f11qrl6u"],z189sj:["f11qrl6u","fjlbh76"]},start:{fsow6f:["f1o700av","fes3tcz"],Ftih45:"f1wl9k8s",Bicfajf:["f1ojjlep","fk1kexq"],Bxwl2t9:"f1he2m4d",jwcpgy:["f12w1bnb","f1558wlj"]},center:{fsow6f:"f17mccla",Bicfajf:["f1ojjlep","fk1kexq"],jwcpgy:["f12w1bnb","f1558wlj"]},end:{fsow6f:["fes3tcz","f1o700av"],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;}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",'.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;}",".f17mccla{text-align:center;}",'.f13zj6fq::after{content:"";}',".f1ayce8x::after{max-width:8px;}"]}),Tz=Te({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;}"]}),Nb=o=>{"use no memo";const n=_z(),a=zz(),l=Tz(),{alignContent:s,appearance:f,inset:d,vertical:g}=o;return o.root.className=de(Wm.root,n.base,n[s],f&&n[f],!g&&a.base,!g&&d&&a.inset,!g&&a[s],g&&l.base,g&&d&&l.inset,g&&l[s],g&&o.root.children!==void 0&&l.withChildren,o.root.children===void 0&&n.childless,o.root.className),o.wrapper&&(o.wrapper.className=de(Wm.wrapper,o.wrapper.className)),o},ai=_.forwardRef((o,n)=>{const a=Tb(o,n);return Nb(a),ft("useDividerStyles_unstable")(a),zb(a)});ai.displayName="Divider";const Nz=(o,n)=>{o=_b(o,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const a=Pf();var l;const{size:s="medium",appearance:f=(l=a.inputDefaultAppearance)!==null&&l!==void 0?l:"outline",...d}=o,g=Ez(d,n);return{size:s,appearance:f,...g}},Ez=(o,n)=>{const{onChange:a}=o,[l,s]=gc({state:o.value,defaultState:o.defaultValue,initialState:""}),f=qv({props:o,primarySlotTagName:"input",excludedPropNames:["onChange","value","defaultValue"]}),d={components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:tt(o.input,{defaultProps:{type:"text",ref:n,...f.primary},elementType:"input"}),contentAfter:zt(o.contentAfter,{elementType:"span"}),contentBefore:zt(o.contentBefore,{elementType:"span"}),root:tt(o.root,{defaultProps:f.root,elementType:"span"})};return d.input.value=l,d.input.onChange=Qe(g=>{const v=g.target.value;a==null||a(g,{value:v}),s(v)}),d},Az=o=>uo(o.root,{children:[o.contentBefore&&ge(o.contentBefore,{}),ge(o.input,{}),o.contentAfter&&ge(o.contentAfter,{})]}),Ll={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"},jz=Ze("r1oeeo9n","r9sxh5",{r:[".r1oeeo9n{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r1oeeo9n::after{box-sizing:border-box;content:"";position:absolute;left:-1px;bottom:-1px;right:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-left-radius:var(--borderRadiusMedium);border-bottom-right-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r1oeeo9n:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r1oeeo9n:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r1oeeo9n:focus-within{outline:2px solid transparent;}",".r9sxh5{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r9sxh5::after{box-sizing:border-box;content:"";position:absolute;right:-1px;bottom:-1px;left:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-right-radius:var(--borderRadiusMedium);border-bottom-left-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r9sxh5:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r9sxh5:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r9sxh5:focus-within{outline:2px solid transparent;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}"]}),Cz=Te({small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{},large:{sshi5w:"f1w5jphr",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",i8kkvl:0,Belr9w4:0,rmohyg:"f1eyhf9v"},outline:{},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],Drbcw7:"f8vnjqi",udz0bu:["fz1etlk","f1hc16gm"],Be8ivqh:"f1klwx88",ofdepl:["f1hc16gm","fz1etlk"]},underline:{De3pzq:"f1c21dwh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779",icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],wvpqe5:["f1deefiw","f1n71otn"],Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},underlineInteractive:{oetu4i:"f1l4zc64",Be8ivqh:"f1klwx88",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"f2ale1x"},filled:{g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},filledInteractive:{q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",E5pizo:"fyed02w"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],Bsft5z2:"fhr9occ",Bduesf4:"f99w1ws"},smallWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},smallWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},mediumWithContentBefore:{uwmqm3:["f1ng84yb","f11gcy0p"]},mediumWithContentAfter:{z189sj:["f11gcy0p","f1ng84yb"]},largeWithContentBefore:{uwmqm3:["f1uw59to","fw5db7e"]},largeWithContentAfter:{z189sj:["fw5db7e","f1uw59to"]}},{d:[".f1pha7fy{min-height:24px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1w5jphr{min-height:40px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1eyhf9v{gap:var(--spacingHorizontalSNudge);}",{p:-1}],".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".fokr779{border-radius:0;}",{p:-1}],".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",[".f2ale1x::after{border-radius:0;}",{p:-1}],".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".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);}",".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".fyed02w{box-shadow:var(--shadow2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fhr9occ::after{content:unset;}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}",".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);}"],a:[".f8vnjqi:active,.f8vnjqi:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".fz1etlk:active,.fz1etlk:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".f1hc16gm:active,.f1hc16gm:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1klwx88:active,.f1klwx88:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],w:[".f99w1ws:focus-within{outline-style:none;}"]}),Rz=Ze("r12stul0",null,[".r12stul0{align-self:stretch;box-sizing:border-box;flex-grow:1;min-width:0;border-style:none;padding:0 var(--spacingHorizontalM);color:var(--colorNeutralForeground1);background-color:transparent;outline-style:none;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;}",".r12stul0::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::placeholder{color:var(--colorNeutralForeground4);opacity:1;}"]),Dz=Te({small:{uwmqm3:["f1f5gg8d","f1vdfbxk"],z189sj:["f1vdfbxk","f1f5gg8d"]},medium:{},large:{uwmqm3:["fnphzt9","flt1dlf"],z189sj:["flt1dlf","fnphzt9"]},smallWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},smallWithContentAfter:{z189sj:["ffczdla","fgiv446"]},mediumWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},mediumWithContentAfter:{z189sj:["ffczdla","fgiv446"]},largeWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},largeWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".fnphzt9{padding-left:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".flt1dlf{padding-right:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"]}),Oz=Ze("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),Mz=Te({disabled:{sj55zd:"f1s2aq7o"},small:{Duoase:"f3qv9w"},medium:{},large:{Duoase:"f16u2scb"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f3qv9w>svg{font-size:16px;}",".f16u2scb>svg{font-size:24px;}"]}),qz=o=>{"use no memo";const{size:n,appearance:a}=o,l=o.input.disabled,s=`${o.input["aria-invalid"]}`=="true",f=a.startsWith("filled"),d=Cz(),g=Dz(),v=Mz();o.root.className=de(Ll.root,jz(),d[n],o.contentBefore&&d[`${n}WithContentBefore`],o.contentAfter&&d[`${n}WithContentAfter`],d[a],!l&&a==="outline"&&d.outlineInteractive,!l&&a==="underline"&&d.underlineInteractive,!l&&f&&d.filledInteractive,f&&d.filled,!l&&s&&d.invalid,l&&d.disabled,o.root.className),o.input.className=de(Ll.input,Rz(),g[n],o.contentBefore&&g[`${n}WithContentBefore`],o.contentAfter&&g[`${n}WithContentAfter`],l&&g.disabled,o.input.className);const h=[Oz(),l&&v.disabled,v[n]];return o.contentBefore&&(o.contentBefore.className=de(Ll.contentBefore,...h,o.contentBefore.className)),o.contentAfter&&(o.contentAfter.className=de(Ll.contentAfter,...h,o.contentAfter.className)),o},ic=_.forwardRef((o,n)=>{const a=Nz(o,n);return qz(a),ft("useInputStyles_unstable")(a),Az(a)});ic.displayName="Input";const Eb=_.createContext(void 0),Fz={};Eb.Provider;const Hz=()=>{var o;return(o=_.useContext(Eb))!==null&&o!==void 0?o:Fz},Lz=(o,n)=>{const{size:a}=Hz(),{appearance:l="primary",size:s=a??"medium",...f}=o;return{...Pz(f,n),appearance:l,size:s}},Pz=(o,n)=>{const{delay:a=0,labelPosition:l="after"}=o,s=on("spinner"),{role:f="progressbar",...d}=o,g=tt(Eo("div",{ref:n,role:f,...d}),{elementType:"div"}),[v,h]=_.useState(!1),[b,p]=_S();_.useEffect(()=>{if(!(a<=0))return b(()=>{h(!0)},a),()=>{p()}},[b,p,a]);const x=zt(o.label,{defaultProps:{id:s},renderByDefault:!1,elementType:In}),S=zt(o.spinner,{renderByDefault:!0,elementType:"span"});return x&&g&&!g["aria-labelledby"]&&(g["aria-labelledby"]=x.id),{delay:a,labelPosition:l,shouldRenderSpinner:!a||v,components:{root:"div",spinner:"span",spinnerTail:"span",label:In},root:g,spinner:S,spinnerTail:tt(o.spinnerTail,{elementType:"span"}),label:x}},Uz=o=>{const{labelPosition:n,shouldRenderSpinner:a}=o;return uo(o.root,{children:[o.label&&a&&(n==="above"||n==="before")&&ge(o.label,{}),o.spinner&&a&&ge(o.spinner,{children:o.spinnerTail&&ge(o.spinnerTail,{})}),o.label&&a&&(n==="below"||n==="after")&&ge(o.label,{})]})},Pl={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"},Gz=Ze("rpp59a7",null,[".rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}"]),Vz=Te({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),Zz=Ze("rvgcg50","r15nd2jo",{r:[".rvgcg50{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:rb7n1on;}","@keyframes rb7n1on{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}",".r15nd2jo{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:r1gx3jof;}","@keyframes r1gx3jof{0%{transform:rotate(0deg);}100%{transform:rotate(-360deg);}}"],s:["@media screen and (forced-colors: active){.rvgcg50{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.rvgcg50{animation-duration:1.8s;}}","@media screen and (forced-colors: active){.r15nd2jo{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r15nd2jo{animation-duration:1.8s;}}"]}),Xz=Ze("rxov3xa","r1o544mv",{r:[".rxov3xa{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r15mim6k;}",'.rxov3xa::before,.rxov3xa::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r15mim6k{0%{transform:rotate(-135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(225deg);}}",".rxov3xa::before{animation-name:r18vhmn8;}","@keyframes r18vhmn8{0%{transform:rotate(0deg);}50%{transform:rotate(105deg);}100%{transform:rotate(0deg);}}",".rxov3xa::after{animation-name:rkgrvoi;}","@keyframes rkgrvoi{0%{transform:rotate(0deg);}50%{transform:rotate(225deg);}100%{transform:rotate(0deg);}}",".r1o544mv{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r109gmi5;}",'.r1o544mv::before,.r1o544mv::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r109gmi5{0%{transform:rotate(135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(-225deg);}}",".r1o544mv::before{animation-name:r17whflh;}","@keyframes r17whflh{0%{transform:rotate(0deg);}50%{transform:rotate(-105deg);}100%{transform:rotate(0deg);}}",".r1o544mv::after{animation-name:re4odhl;}","@keyframes re4odhl{0%{transform:rotate(0deg);}50%{transform:rotate(-225deg);}100%{transform:rotate(0deg);}}"],s:["@media screen and (prefers-reduced-motion: reduce){.rxov3xa{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.rxov3xa::before,.rxov3xa::after{content:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1o544mv{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.r1o544mv::before,.r1o544mv::after{content:none;}}"]}),Iz=Te({inverted:{De3pzq:"fr407j0",sj55zd:"f1f7voed"},rtlTail:{btxmck:"f179dep3",gb5jj2:"fbz9ihp",Bdya8wy:"f1pme1qz"},"extra-tiny":{Bqenvij:"fd461yt",a9b677:"fjw5fx7",qmp6fs:"f1v3ph3m"},tiny:{Bqenvij:"fjamq6b",a9b677:"f64fuq3",qmp6fs:"f1v3ph3m"},"extra-small":{Bqenvij:"frvgh55",a9b677:"fq4mcun",qmp6fs:"f1v3ph3m"},small:{Bqenvij:"fxldao9",a9b677:"f1w9dchk",qmp6fs:"f1v3ph3m"},medium:{Bqenvij:"f1d2rq10",a9b677:"f1szoe96",qmp6fs:"fb52u90"},large:{Bqenvij:"f8ljn23",a9b677:"fpdz1er",qmp6fs:"fb52u90"},"extra-large":{Bqenvij:"fbhnoac",a9b677:"feqmc2u",qmp6fs:"fb52u90"},huge:{Bqenvij:"f1ft4266",a9b677:"fksc0bp",qmp6fs:"fa3u9ii"}},{d:[".fr407j0{background-color:var(--colorNeutralStrokeAlpha2);}",".f1f7voed{color:var(--colorNeutralStrokeOnBrand2);}",".f179dep3{-webkit-mask-image:conic-gradient(white 255deg, transparent 255deg);mask-image:conic-gradient(white 255deg, transparent 255deg);}",".fbz9ihp::before,.fbz9ihp::after{background-image:conic-gradient(transparent 225deg, currentcolor 225deg);}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".f1v3ph3m{--fui-Spinner--strokeWidth:var(--strokeWidthThick);}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".fxldao9{height:28px;}",".f1w9dchk{width:28px;}",".f1d2rq10{height:32px;}",".f1szoe96{width:32px;}",".fb52u90{--fui-Spinner--strokeWidth:var(--strokeWidthThicker);}",".f8ljn23{height:36px;}",".fpdz1er{width:36px;}",".fbhnoac{height:40px;}",".feqmc2u{width:40px;}",".f1ft4266{height:44px;}",".fksc0bp{width:44px;}",".fa3u9ii{--fui-Spinner--strokeWidth:var(--strokeWidthThickest);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1pme1qz{background-image:conic-gradient(currentcolor 0deg, transparent 240deg);}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),Yz=Te({inverted:{sj55zd:"fonrgv7"},"extra-tiny":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},tiny:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},"extra-small":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},"extra-large":{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},huge:{Bahqtrf:"fk6fouc",Be2twd7:"f1pp30po",Bhrd7zp:"fl43uef",Bg96gwp:"f106mvju"}},{d:[".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}"]}),Wz=o=>{"use no memo";const{labelPosition:n,size:a,appearance:l}=o,{dir:s}=Bt(),f=Gz(),d=Vz(),g=Zz(),v=Iz(),h=Xz(),b=Yz();return o.root.className=de(Pl.root,f,(n==="above"||n==="below")&&d.vertical,o.root.className),o.spinner&&(o.spinner.className=de(Pl.spinner,g,v[a],l==="inverted"&&v.inverted,o.spinner.className)),o.spinnerTail&&(o.spinnerTail.className=de(Pl.spinnerTail,h,s==="rtl"&&v.rtlTail,o.spinnerTail.className)),o.label&&(o.label.className=de(Pl.label,b[a],l==="inverted"&&b.inverted,o.label.className)),o},Ab=_.forwardRef((o,n)=>{const a=Lz(o,n);return Wz(a),ft("useSpinnerStyles_unstable")(a),Uz(a)});Ab.displayName="Spinner";const Kz=(o,n)=>{const{wrap:a,truncate:l,block:s,italic:f,underline:d,strikethrough:g,size:v,font:h,weight:b,align:p}=o;return{align:p??"start",block:s??!1,font:h??"base",italic:f??!1,size:v??300,strikethrough:g??!1,truncate:l??!1,underline:d??!1,weight:b??"regular",wrap:a??!0,components:{root:"span"},root:tt(Eo("span",{ref:n,...o}),{elementType:"span"})}},Qz=o=>ge(o.root,{}),Jz={root:"fui-Text"},$z=Te({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;}"]}),e7=o=>{"use no memo";const n=$z();return o.root.className=de(Jz.root,n.root,o.wrap===!1&&n.nowrap,o.truncate&&n.truncate,o.block&&n.block,o.italic&&n.italic,o.underline&&n.underline,o.strikethrough&&n.strikethrough,o.underline&&o.strikethrough&&n.strikethroughUnderline,o.size===100&&n.base100,o.size===200&&n.base200,o.size===400&&n.base400,o.size===500&&n.base500,o.size===600&&n.base600,o.size===700&&n.hero700,o.size===800&&n.hero800,o.size===900&&n.hero900,o.size===1e3&&n.hero1000,o.font==="monospace"&&n.monospace,o.font==="numeric"&&n.numeric,o.weight==="medium"&&n.weightMedium,o.weight==="semibold"&&n.weightSemibold,o.weight==="bold"&&n.weightBold,o.align==="center"&&n.alignCenter,o.align==="end"&&n.alignEnd,o.align==="justify"&&n.alignJustify,o.root.className),o},Mt=_.forwardRef((o,n)=>{const a=Kz(o,n);return e7(a),ft("useTextStyles_unstable")(a),Qz(a)});Mt.displayName="Text";const t7=o=>ge(o.root,{children:ge(o.textarea,{})}),o7=(o,n)=>{const a=Pf();var l;const{size:s="medium",appearance:f=(l=a.inputDefaultAppearance)!==null&&l!==void 0?l:"outline",...d}=o;return{...r7(d,n),size:s,appearance:f}},r7=(o,n)=>{o=_b(o,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const{resize:a="none",onChange:l}=o,[s,f]=gc({state:o.value,defaultState:o.defaultValue,initialState:void 0}),d=qv({props:o,primarySlotTagName:"textarea",excludedPropNames:["onChange","value","defaultValue"]}),g={resize:a,components:{root:"span",textarea:"textarea"},textarea:tt(o.textarea,{defaultProps:{ref:n,...d.primary},elementType:"textarea"}),root:tt(o.root,{defaultProps:d.root,elementType:"span"})};return g.textarea.value=s,g.textarea.onChange=Qe(v=>{const h=v.target.value;l==null||l(v,{value:h}),f(h)}),g},Km={root:"fui-Textarea",textarea:"fui-Textarea__textarea"},n7=Te({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",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]},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",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40",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){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1c7in40: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);}"]}),a7=Te({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",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;}",".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);}"]}),i7=Te({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;}"]}),l7=o=>{"use no memo";const{size:n,appearance:a,resize:l}=o,s=o.textarea.disabled,f=`${o.textarea["aria-invalid"]}`=="true",d=a.startsWith("filled"),g=n7();o.root.className=de(Km.root,g.base,s&&g.disabled,!s&&d&&g.filled,!s&&g[a],!s&&g.interactive,!s&&a==="outline"&&g.outlineInteractive,!s&&f&&g.invalid,o.root.className);const v=a7(),h=i7();return o.textarea.className=de(Km.textarea,v.base,v[n],h[l],s&&v.disabled,o.textarea.className),o},jb=_.forwardRef((o,n)=>{const a=o7(o,n);return l7(a),ft("useTextareaStyles_unstable")(a),t7(a)});jb.displayName="Textarea";const c7=Ze("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),s7=Ze("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function u7(){const o=c7(),n=s7(),{targetDocument:a}=Bt(),l=_.useCallback(()=>{var f;if(!a)return;var d;Math.floor(a.body.getBoundingClientRect().height)>((d=(f=a.defaultView)===null||f===void 0?void 0:f.innerHeight)!==null&&d!==void 0?d:0)&&(a.documentElement.classList.add(o),a.body.classList.add(n))},[a,o,n]),s=_.useCallback(()=>{a&&(a.documentElement.classList.remove(o),a.body.classList.remove(n))},[a,o,n]);return{disableBodyScroll:l,enableBodyScroll:s}}function f7(o,n){const{findFirstFocusable:a}=f4(),{targetDocument:l}=Bt(),s=_.useRef(null);return _.useEffect(()=>{if(!o)return;const f=s.current&&a(s.current);if(f)f.focus();else{var d;(d=s.current)===null||d===void 0||d.focus()}},[a,o,n,l]),s}const d7={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,unmountOnClose:!0,dialogRef:{current:null},requestOpenChange(){}},fd=Rp(void 0),g7=fd.Provider,vo=o=>Dp(fd,(n=d7)=>o(n)),h7=!1,Cb=_.createContext(void 0),Rb=Cb.Provider,m7=()=>{var o;return(o=_.useContext(Cb))!==null&&o!==void 0?o:h7},Db=_.createContext(void 0);Db.Provider;const v7=()=>_.useContext(Db),Qm=mi(td,{outScale:.85,easing:ht.curveDecelerateMid,duration:ht.durationGentle,exitEasing:ht.curveAccelerateMin,exitDuration:ht.durationGentle}),p7=o=>{const{children:n,modalType:a="modal",onOpenChange:l,inertTrapFocus:s=!1,unmountOnClose:f=!0}=o,d=on("dialog-title-"),[g,v]=b7(n),[h,b]=gc({state:o.open,defaultState:o.defaultOpen,initialState:!1}),p=Qe(A=>{l==null||l(A.event,A),A.event.isDefaultPrevented()||b(A.open)}),x=f7(h,a),{modalAttributes:S,triggerAttributes:w}=mp({trapFocus:a!=="non-modal",legacyTrapFocus:!s}),B=wB(fd);return{components:{surfaceMotion:Qm},inertTrapFocus:s,open:h,modalType:a,content:v,trigger:g,requestOpenChange:p,dialogTitleId:d,isNestedDialog:B,unmountOnClose:f,dialogRef:x,modalAttributes:S,triggerAttributes:w,surfaceMotion:Wp(o.surfaceMotion,{elementType:Qm,defaultProps:{visible:h,appear:f,unmountOnExit:f}})}};function b7(o){const n=_.Children.toArray(o);switch(n.length){case 2:return n;case 1:return[void 0,n[0]];default:return[void 0,void 0]}}const y7=(o,n)=>ge(g7,{value:n.dialog,children:uo(Rb,{value:n.dialogSurface,children:[o.trigger,o.content&&ge(o.surfaceMotion,{children:ge(Ip,{children:o.content})})]})});function x7(o){const{modalType:n,open:a,dialogRef:l,dialogTitleId:s,isNestedDialog:f,inertTrapFocus:d,requestOpenChange:g,modalAttributes:v,triggerAttributes:h,unmountOnClose:b}=o;return{dialog:{open:a,modalType:n,dialogRef:l,dialogTitleId:s,isNestedDialog:f,inertTrapFocus:d,modalAttributes:v,triggerAttributes:h,unmountOnClose:b,requestOpenChange:g},dialogSurface:!1}}const Ob=_.memo(o=>{const n=p7(o),a=x7(n);return y7(n,a)});Ob.displayName="Dialog";const S7=o=>{const n=m7(),{children:a,disableButtonEnhancement:l=!1,action:s=n?"close":"open"}=o,f=Vf(a),d=vo(p=>p.requestOpenChange),{triggerAttributes:g}=mp(),v=Qe(p=>{var x,S;f==null||(x=(S=f.props).onClick)===null||x===void 0||x.call(S,p),p.isDefaultPrevented()||d({event:p,type:"triggerClick",open:s==="open"})}),h={...f==null?void 0:f.props,ref:Gf(f),onClick:v,...g},b=Mp((f==null?void 0:f.type)==="button"||(f==null?void 0:f.type)==="a"?f.type:"div",{...h,type:"button"});return{children:Yv(a,l?h:b)}},w7=o=>o.children,dd=o=>{const n=S7(o);return w7(n)};dd.displayName="DialogTrigger";dd.isFluentTriggerComponent=!0;const B7=(o,n)=>{const{position:a="end",fluid:l=!1}=o;return{components:{root:"div"},root:tt(Eo("div",{ref:n,...o}),{elementType:"div"}),position:a,fluid:l}},k7=o=>ge(o.root,{}),_7={root:"fui-DialogActions"},z7=Ze("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;}}"]}),T7=Te({gridPositionEnd:{Bdqf98w:"f1a7i8kp",Br312pm:"fd46tj4",Bw0ie65:"fsyjsko",Btsd7tp:"f1n00o3b",ufxxby:"f1mvsp37",Bq5p579:"flbz1vp"},gridPositionStart:{Bdqf98w:"fsxvdwy",Br312pm:"fwpfdsa",Bw0ie65:"f1e2fz10",Ew0qkd:"f119phc2",ufxxby:"f1j719yo",Bq5p579:"flbz1vp"},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){.f1n00o3b{grid-column-start:1;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1mvsp37{grid-row-start:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.flbz1vp{grid-row-end:auto;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f119phc2{grid-column-end:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1j719yo{grid-row-start:3;}}",{m:"screen and (max-width: 480px)"}]]}),N7=o=>{"use no memo";const n=z7(),a=T7();return o.root.className=de(_7.root,n,o.position==="start"&&a.gridPositionStart,o.position==="end"&&a.gridPositionEnd,o.fluid&&o.position==="start"&&a.fluidStart,o.fluid&&o.position==="end"&&a.fluidEnd,o.root.className),o},Mb=_.forwardRef((o,n)=>{const a=B7(o,n);return N7(a),ft("useDialogActionsStyles_unstable")(a),k7(a)});Mb.displayName="DialogActions";const E7=(o,n)=>{var a;return{components:{root:"div"},root:tt(Eo((a=o.as)!==null&&a!==void 0?a:"div",{ref:n,...o}),{elementType:"div"})}},A7=o=>ge(o.root,{}),j7={root:"fui-DialogBody"},C7=Ze("rhwx3p8",null,{r:[".rhwx3p8{overflow:unset;gap:8px;display:grid;max-height:calc(100vh - 2 * 24px);max-height:calc(100dvh - 2 * 24px);box-sizing:border-box;grid-template-rows:auto 1fr;grid-template-columns:1fr 1fr auto;}"],s:["@media screen and (max-width: 480px){.rhwx3p8{max-width:100vw;grid-template-rows:auto 1fr auto;}}","@media screen and (max-height: 359px){.rhwx3p8{max-height:unset;}}"]}),R7=o=>{"use no memo";const n=C7();return o.root.className=de(j7.root,n,o.root.className),o},qb=_.forwardRef((o,n)=>{const a=E7(o,n);return R7(a),ft("useDialogBodyStyles_unstable")(a),A7(a)});qb.displayName="DialogBody";const Jm={root:"fui-DialogTitle",action:"fui-DialogTitle__action"},D7=Ze("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;}"]),O7=Te({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),M7=Ze("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),q7=Ze("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;}}"]}),F7=o=>{"use no memo";const n=D7(),a=M7(),l=O7();return o.root.className=de(Jm.root,n,!o.action&&l.rootWithoutAction,o.root.className),o.action&&(o.action.className=de(Jm.action,a,o.action.className)),o},H7=(o,n)=>{const{action:a}=o,l=vo(f=>f.modalType),s=q7();return{components:{root:"h2",action:"div"},root:tt(Eo("h2",{ref:n,id:vo(f=>f.dialogTitleId),...o}),{elementType:"h2"}),action:zt(a,{renderByDefault:l==="non-modal",defaultProps:{children:_.createElement(dd,{disableButtonEnhancement:!0,action:"close"},_.createElement("button",{type:"button",className:s,"aria-label":"close"},_.createElement(a6,null)))},elementType:"div"})}},L7=o=>uo(_.Fragment,{children:[ge(o.root,{children:o.root.children}),o.action&&ge(o.action,{})]}),Fb=_.forwardRef((o,n)=>{const a=H7(o,n);return F7(a),ft("useDialogTitleStyles_unstable")(a),L7(a)});Fb.displayName="DialogTitle";const $m=w6,P7=(o,n)=>{const a=x6(),l=vo(j=>j.modalType),s=vo(j=>j.isNestedDialog),f=v7(),d=f??s,g=vo(j=>j.modalAttributes),v=vo(j=>j.dialogRef),h=vo(j=>j.requestOpenChange),b=vo(j=>j.dialogTitleId),p=vo(j=>j.open),x=vo(j=>j.unmountOnClose),S=Qe(j=>{if(N3(o.backdrop)){var L,Z;(L=(Z=o.backdrop).onClick)===null||L===void 0||L.call(Z,j)}l==="modal"&&!j.isDefaultPrevented()&&h({event:j,open:!1,type:"backdropClick"})}),w=Qe(j=>{var L;(L=o.onKeyDown)===null||L===void 0||L.call(o,j),j.key===Op&&!j.isDefaultPrevented()&&(h({event:j,open:!1,type:"escapeKeyDown"}),j.preventDefault())}),B=zt(o.backdrop,{renderByDefault:l!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"}),A=B==null?void 0:B.appearance;B&&(B.onClick=S,delete B.appearance);const{disableBodyScroll:N,enableBodyScroll:D}=u7();return Tt(()=>{if(!p){D();return}if(!(s||l==="non-modal"))return N(),()=>D()},[p,l,s,N,D]),{components:{backdrop:"div",root:"div",backdropMotion:$m},open:p,backdrop:B,isNestedDialog:s,treatBackdropAsNested:d,backdropAppearance:A,unmountOnClose:x,mountNode:o.mountNode,root:tt(Eo("div",{tabIndex:-1,role:l==="alert"?"alertdialog":"dialog","aria-modal":l!=="non-modal","aria-labelledby":o["aria-label"]?void 0:b,"aria-hidden":!x&&!p?!0:void 0,...o,...g,onKeyDown:w,ref:li(n,a,v)}),{elementType:"div"}),backdropMotion:Wp(o.backdropMotion,{elementType:$m,defaultProps:{appear:x,visible:p}}),transitionStatus:void 0}},U7=(o,n)=>uo(ud,{mountNode:o.mountNode,children:[o.backdrop&&o.backdropMotion&&ge(o.backdropMotion,{children:ge(o.backdrop,{})}),ge(Yp,{children:ge(Rb,{value:n.dialogSurface,children:ge(o.root,{})})})]}),ev={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},G7=Ze("r1u3t6p6","r5coedp",{r:[".r1u3t6p6{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;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r1u3t6p6:focus{outline-style:none;}",".r1u3t6p6:focus-visible{outline-style:none;}",".r1u3t6p6[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1u3t6p6[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);}',".r5coedp{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;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r5coedp:focus{outline-style:none;}",".r5coedp:focus-visible{outline-style:none;}",".r5coedp[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r5coedp[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){.r1u3t6p6[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){.r1u3t6p6{max-width:100vw;}}","@media screen and (max-height: 359px){.r1u3t6p6{overflow-y:auto;padding-right:calc(24px - 4px);border-right-width:4px;border-top-width:4px;border-bottom-width:4px;}}","@media (forced-colors: active){.r5coedp[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){.r5coedp{max-width:100vw;}}","@media screen and (max-height: 359px){.r5coedp{overflow-y:auto;padding-left:calc(24px - 4px);border-left-width:4px;border-top-width:4px;border-bottom-width:4px;}}"]}),V7=Ze("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),Z7=Te({nestedDialogBackdrop:{De3pzq:"f1c21dwh"},dialogHidden:{Bkecrkj:"f1aehjj5"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1aehjj5{pointer-events:none;}"]}),X7=o=>{"use no memo";const{root:n,backdrop:a,open:l,unmountOnClose:s,treatBackdropAsNested:f,backdropAppearance:d}=o,g=G7(),v=V7(),h=Z7(),b=d?d==="transparent":f,p=!s&&!l;return n.className=de(ev.root,g,p&&h.dialogHidden,n.className),a&&(a.className=de(ev.backdrop,v,p&&h.dialogHidden,b&&h.nestedDialogBackdrop,a.className)),o};function I7(o){return{dialogSurface:!0}}const Hb=_.forwardRef((o,n)=>{const a=P7(o,n),l=I7();return X7(a),ft("useDialogSurfaceStyles_unstable")(a),U7(a,l)});Hb.displayName="DialogSurface";const Y7=(o,n)=>{var a;return{components:{root:"div"},root:tt(Eo((a=o.as)!==null&&a!==void 0?a:"div",{ref:n,...o}),{elementType:"div"})}},W7=o=>ge(o.root,{}),K7={root:"fui-DialogContent"},Q7=Ze("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;}}"]}),J7=o=>{"use no memo";const n=Q7();return o.root.className=de(K7.root,n,o.root.className),o},Lb=_.forwardRef((o,n)=>{const a=Y7(o,n);return J7(a),ft("useDialogContentStyles_unstable")(a),W7(a)});Lb.displayName="DialogContent";const $7=Rp(void 0),e8={size:"medium",handleToggleButton:()=>null,handleRadio:()=>null,vertical:!1,checkedValues:{}},t8=o=>Dp($7,(n=e8)=>o(n)),o8=Te({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}]]}),r8=o=>{"use no memo";const n=o8();o.root.className=de(o.vertical&&n.vertical,o.root.className),o.icon&&(o.icon.className=de(o.vertical&&n.verticalIcon,o.icon.className)),Bb(o)},n8=(o,n)=>({appearance:"subtle",size:"medium",shape:"rounded",...a8(o,n)}),a8=(o,n)=>{const{vertical:a=!1,...l}=o,s=wb({appearance:"subtle",...l,size:"medium"},n);return{vertical:a,...s}},Pb=_.forwardRef((o,n)=>{const a=n8(o,n);return r8(a),ft("useToolbarButtonStyles_unstable")(a),xb(a)});Pb.displayName="ToolbarButton";const i8=Te({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;}"]}),l8=o=>{"use no memo";Nb(o);const{vertical:n}=o,a=i8();return o.root.className=de(a.root,!n&&a.vertical,o.root.className),o},c8=(o,n)=>({...s8(o,n),appearance:"default"}),s8=(o,n)=>{const a=t8(l=>l.vertical);return Tb({vertical:!a,...o},n)},Ub=_.forwardRef((o,n)=>{const a=c8(o,n);return l8(a),ft("useToolbarDividerStyles_unstable")(a),zb(a)});Ub.displayName="ToolbarDivider";const gf={displayName:"Lago",email:"jose@lago.dev"},Ul=[{id:"1",from:"jose@lago.dev",fromName:"Lago",to:"lago@example.com",subject:"Sprint planning — Thursday 10:00",body:`Hola, + +Vamos a planificar el sprint del mes que viene el jueves a las 10:00. Necesito que reviseis los temas pendientes del backlog. + +Un saludo`,receivedAt:new Date(Date.now()-1e3*60*30).toISOString(),isRead:!1,folder:"inbox"},{id:"2",from:"maria@partner.com",fromName:"María García",to:"lago@example.com",subject:"RE: Presupuesto proyecto digital 2026",body:`Hola Lago, + +Gracias por la información. He revisado el presupuesto y parece correcto. Adjunto la propuesta final. + +¿Podemos hablar mañana por teléfono? + +Saludos`,receivedAt:new Date(Date.now()-1e3*60*60*2).toISOString(),isRead:!1,folder:"inbox"},{id:"3",from:"devops@company.com",fromName:"DevOps Team",to:"lago@example.com",subject:"[Alert] Production deployment failed — pipeline #4821",body:`Pipeline #4821 failed at stage: build + +Error: npm ERR! code ETARGET +npm ERR! notarget No valid target for react@19.0.1 + +View logs: https://devops.company.com/pipelines/4821`,receivedAt:new Date(Date.now()-1e3*60*60*5).toISOString(),isRead:!0,folder:"inbox"},{id:"4",from:"lago@example.com",fromName:"Lago",to:"equipo@company.com",subject:"Resumen semanal — Power Platform",body:`Equipo, + +Aquí va el resumen de lo hecho esta semana: + +• Demo de code apps publicada en el blog +• Connector de Outlook integrado +• Migración del backlog a Dataverse completada + +Para la semana que viene: +• Terminar la integración con Teams +• Revisar los permisos de producción + +Saludos`,receivedAt:new Date(Date.now()-1e3*60*60*24).toISOString(),isRead:!0,folder:"sent"},{id:"5",from:"newsletter@techweekly.com",fromName:"Tech Weekly",to:"lago@example.com",subject:"This Week in AI & Power Platform — Issue #47",body:`Top stories this week: + +1. Microsoft announces GPT-5 integration for Copilot Studio +2. Power Apps code apps reach 1,400+ connectors milestone +3. Dataverse 2026 Wave 1 features now generally available + +Read more inside...`,receivedAt:new Date(Date.now()-1e3*60*60*48).toISOString(),isRead:!0,folder:"inbox"},{id:"6",from:"noreply@linkedin.com",fromName:"LinkedIn",to:"lago@example.com",subject:"5 people viewed your profile this week",body:`Your profile got noticed! + +5 people in Austria viewed your profile in the past week, including recruiters and hiring managers. + +View who they are →`,receivedAt:new Date(Date.now()-1e3*60*60*72).toISOString(),isRead:!0,folder:"inbox"},{id:"7",from:"lago@example.com",fromName:"Lago",to:"draft",subject:"Borrador: Propuesta reunión trimestral",body:"Borrador de la propuesta para la reunión trimestral con dirección...",receivedAt:new Date(Date.now()-1e3*60*60*6).toISOString(),isRead:!0,folder:"drafts"}];class u8{delay(n){return new Promise(a=>setTimeout(a,n))}async getProfile(){return await this.delay(300),gf}async getMessages(n="inbox"){return await this.delay(600),Ul.filter(a=>a.folder===n)}async getMessage(n){return await this.delay(200),Ul.find(a=>a.id===n)}async sendMessage(n){await this.delay(800);const a={id:Date.now().toString(),from:gf.email,fromName:gf.displayName,to:n.to||"",subject:n.subject||"(Sin asunto)",body:n.body||"",receivedAt:new Date().toISOString(),isRead:!0,folder:"sent"};return Ul.push(a),a}async markAsRead(n){await this.delay(100);const a=Ul.find(l=>l.id===n);a&&(a.isRead=!0)}}const hf=new u8,gd=w3({root:{display:"flex",height:"100vh",width:"100vw",overflow:"hidden",backgroundColor:$.colorNeutralBackground1},navRail:{width:"48px",backgroundColor:$.colorBrandBackground,display:"flex",flexDirection:"column",alignItems:"center",paddingTop:"8px",paddingBottom:"8px",gap:"2px",flexShrink:0},navBtn:{width:"36px",height:"36px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:$.borderRadiusMedium,cursor:"pointer",color:"rgba(255,255,255,.7)",border:"none",background:"transparent",transition:"all 120ms",":hover":{backgroundColor:"rgba(255,255,255,.15)",color:"#fff"}},navBtnActive:{backgroundColor:"rgba(255,255,255,.22)",color:"#fff"},folderPane:{width:"200px",backgroundColor:$.colorNeutralBackground2,borderRight:`1px solid ${$.colorNeutralStroke2}`,display:"flex",flexDirection:"column",flexShrink:0,overflowY:"auto"},folderHeader:{...st.padding("14px","16px","6px"),display:"flex",alignItems:"center",gap:"8px"},folderItem:{display:"flex",alignItems:"center",gap:"10px",...st.padding("7px","16px"),cursor:"pointer",fontSize:$.fontSizeBase300,color:$.colorNeutralForeground2,border:"none",background:"transparent",width:"100%",textAlign:"left",borderRadius:0,transition:"all 100ms",":hover":{backgroundColor:$.colorNeutralBackground2Hover}},folderItemActive:{backgroundColor:$.colorBrandBackground2,color:$.colorBrandForeground1,fontWeight:$.fontWeightSemibold,borderLeft:`3px solid ${$.colorBrandForeground1}`,paddingLeft:"13px"},folderBadge:{marginLeft:"auto"},centre:{flex:1,display:"flex",flexDirection:"column",overflow:"hidden",minWidth:0},toolbar:{display:"flex",alignItems:"center",gap:"6px",...st.padding("6px","12px"),borderBottom:`1px solid ${$.colorNeutralStroke2}`,backgroundColor:$.colorNeutralBackground1,flexShrink:0},searchWrap:{flex:1,maxWidth:"380px",position:"relative"},searchIcon:{position:"absolute",left:"10px",top:"50%",transform:"translateY(-50%)",color:$.colorNeutralForeground3,pointerEvents:"none",display:"flex"},contentSplit:{flex:1,display:"flex",overflow:"hidden"},messageList:{width:"360px",borderRight:`1px solid ${$.colorNeutralStroke2}`,overflowY:"auto",flexShrink:0,backgroundColor:$.colorNeutralBackground1},messageItem:{display:"flex",gap:"12px",...st.padding("10px","16px"),cursor:"pointer",borderBottom:`1px solid ${$.colorNeutralStroke2}`,transition:"background 80ms",":hover":{backgroundColor:$.colorNeutralBackground1Hover}},messageItemSelected:{backgroundColor:$.colorBrandBackground2,":hover":{backgroundColor:$.colorBrandBackground2}},messageItemUnread:{borderLeft:`3px solid ${$.colorBrandForeground1}`,paddingLeft:"13px"},messageContent:{flex:1,minWidth:0,display:"flex",flexDirection:"column",gap:"2px"},messageTopRow:{display:"flex",alignItems:"center",gap:"6px"},messageSender:{flex:1,fontSize:$.fontSizeBase300,fontWeight:$.fontWeightSemibold,color:$.colorNeutralForeground1,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},messageTime:{fontSize:$.fontSizeBase200,color:$.colorNeutralForeground3,flexShrink:0},messageSubject:{fontSize:$.fontSizeBase300,color:$.colorNeutralForeground1,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},messagePreview:{fontSize:$.fontSizeBase200,color:$.colorNeutralForeground3,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},readingPane:{flex:1,overflowY:"auto",display:"flex",flexDirection:"column",backgroundColor:$.colorNeutralBackground1},readingHeader:{...st.padding("20px","28px","16px"),display:"flex",gap:"14px",alignItems:"flex-start"},readingMeta:{flex:1,minWidth:0},readingSubject:{fontSize:$.fontSizeBase500,fontWeight:$.fontWeightBold,color:$.colorNeutralForeground1,lineHeight:$.lineHeightBase500,marginTop:"2px"},readingBody:{...st.padding("4px","28px","28px"),fontSize:$.fontSizeBase300,lineHeight:$.lineHeightBase400,color:$.colorNeutralForeground1,whiteSpace:"pre-wrap"},readingActions:{display:"flex",gap:"8px",...st.padding("0","28px","20px")},emptyState:{flex:1,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"8px",color:$.colorNeutralForeground3},composeField:{display:"flex",flexDirection:"column",gap:"4px",...st.padding("6px","0")},connectionsPanel:{flex:1,overflowY:"auto",...st.padding("28px","32px"),backgroundColor:$.colorNeutralBackground1},codeBlock:{backgroundColor:$.colorNeutralBackground4,...st.borderRadius($.borderRadiusMedium),...st.padding("16px","20px"),fontFamily:$.fontFamilyMonospace,fontSize:$.fontSizeBase200,lineHeight:"1.8",color:$.colorNeutralForeground1,overflowX:"auto"},archDiagram:{backgroundColor:$.colorNeutralBackground2,...st.border("1px","solid",$.colorNeutralStroke2),...st.borderRadius($.borderRadiusMedium),...st.padding("20px","24px"),display:"flex",alignItems:"center",gap:"12px",flexWrap:"wrap",marginBottom:"24px"},archBox:{...st.padding("8px","14px"),...st.borderRadius("6px"),fontSize:$.fontSizeBase200,fontWeight:$.fontWeightSemibold,whiteSpace:"nowrap"},connGrid:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(280px, 1fr))",gap:"12px",marginBottom:"32px"},connCard:{backgroundColor:$.colorNeutralBackground2,...st.border("1px","solid",$.colorNeutralStroke2),...st.borderRadius($.borderRadiusMedium),...st.padding("16px"),transition:"box-shadow 150ms",":hover":{boxShadow:$.shadow4}}}),tv=[{id:"inbox",name:"Bandeja de entrada",icon:"inbox",unreadCount:2},{id:"sent",name:"Enviados",icon:"sent",unreadCount:0},{id:"drafts",name:"Borradores",icon:"drafts",unreadCount:1},{id:"trash",name:"Papelera",icon:"trash",unreadCount:0}];function f8(o,n){switch(o){case"inbox":return n?P.jsx(NB,{fontSize:18}):P.jsx(EB,{fontSize:18});case"sent":return n?P.jsx(MB,{fontSize:18}):P.jsx(qp,{fontSize:18});case"drafts":return P.jsx(r6,{fontSize:18});case"trash":return n?P.jsx(n6,{fontSize:18}):P.jsx(Fp,{fontSize:18});default:return P.jsx(Tf,{fontSize:18})}}function d8(o){const n=new Date(o),l=new Date().getTime()-n.getTime(),s=Math.floor(l/6e4);if(s<1)return"Ahora";if(s<60)return`hace ${s} min`;const f=Math.floor(s/60);return f<24?`hace ${f} h`:n.toLocaleDateString("es-ES",{day:"numeric",month:"short"})}function ov(o){return o.split(" ").map(n=>n[0]).slice(0,2).join("").toUpperCase()}function rv(o){const n=["#D83B01","#A43751","#498205","#008272","#005CC5","#5C2D91","#004078","#B4009E"];let a=0;for(let l=0;l{b(!0);try{const Q=await hf.getMessages(l);d(Q),v(null)}finally{b(!1)}},[l]);_.useEffect(()=>{n==="mail"&&U()},[n,l,U]);const ie=async Q=>{v(Q),Q.isRead||(await hf.markAsRead(Q.id),d(Ee=>Ee.map(q=>q.id===Q.id?{...q,isRead:!0}:q)))},Be=async()=>{if(!(!B||!N)){H(!0);try{await hf.sendMessage({to:B,subject:N,body:j}),w(!1),A(""),D(""),L(""),l==="sent"&&U()}finally{H(!1)}}},be=Q=>{A(Q.from),D("Re: "+Q.subject),L(""),w(!0)},ye=Q=>{A(""),D("Fwd: "+Q.subject),L(` + +---------- Mensaje reenviado ---------- +De: ${Q.fromName} <${Q.from}> +Fecha: ${new Date(Q.receivedAt).toLocaleString("es-ES")} +Asunto: ${Q.subject} + +${Q.body}`),w(!0)},ce=f.filter(Q=>Q.subject.toLowerCase().includes(p.toLowerCase())||Q.fromName.toLowerCase().includes(p.toLowerCase())),pe=tv.find(Q=>Q.id===l);return P.jsxs("div",{className:o.root,children:[P.jsxs("nav",{className:o.navRail,children:[P.jsx(Vn,{content:"Correo",relationship:"label",positioning:"after",children:P.jsx("button",{className:de(o.navBtn,n==="mail"&&o.navBtnActive),onClick:()=>a("mail"),children:n==="mail"?P.jsx(om,{}):P.jsx(Tf,{})})}),P.jsx(Vn,{content:"Conexiones",relationship:"label",positioning:"after",children:P.jsx("button",{className:de(o.navBtn,n==="connections"&&o.navBtnActive),onClick:()=>a("connections"),children:P.jsx(jB,{})})}),P.jsx("div",{style:{flex:1}}),P.jsx(Vn,{content:"Nuevo mensaje",relationship:"label",positioning:"after",children:P.jsx("button",{className:o.navBtn,onClick:()=>w(!0),children:P.jsx(tm,{})})})]}),n==="mail"?P.jsxs(P.Fragment,{children:[P.jsxs("aside",{className:o.folderPane,children:[P.jsxs("div",{className:o.folderHeader,children:[P.jsx(Wl,{name:"Lago",initials:"LA",size:28,color:"brand"}),P.jsx(Mt,{weight:"semibold",size:300,children:"lago@powerplatform.top"})]}),P.jsx(ai,{style:{margin:"6px 0"}}),tv.map(Q=>{const Ee=l===Q.id,q=Q.id===l?ce.filter(W=>!W.isRead).length:Q.unreadCount;return P.jsxs("button",{className:de(o.folderItem,Ee&&o.folderItemActive),onClick:()=>s(Q.id),children:[f8(Q.id,Ee),P.jsx("span",{children:Q.name}),q>0&&P.jsx(eb,{className:o.folderBadge,count:q,appearance:"filled",color:"brand",size:"small"})]},Q.id)})]}),P.jsxs("div",{className:o.centre,children:[P.jsxs("div",{className:o.toolbar,children:[P.jsx(_r,{appearance:"primary",icon:P.jsx(tm,{}),size:"small",onClick:()=>w(!0),children:"Nuevo"}),P.jsx(Ub,{}),P.jsx(Vn,{content:"Recargar",relationship:"label",children:P.jsx(Pb,{icon:P.jsx(OB,{}),onClick:U})}),P.jsx("div",{style:{flex:1}}),P.jsxs("div",{className:o.searchWrap,children:[P.jsx("span",{className:o.searchIcon,children:P.jsx(AB,{fontSize:16})}),P.jsx(ic,{size:"small",placeholder:"Buscar correos…",value:p,onChange:(Q,Ee)=>x(Ee.value),style:{width:"100%",paddingLeft:"30px"},contentAfter:p?P.jsx(_r,{appearance:"transparent",size:"small",icon:P.jsx(i6,{fontSize:14}),onClick:()=>x("")}):void 0})]})]}),P.jsxs("div",{className:o.contentSplit,children:[P.jsx("div",{className:o.messageList,children:h?P.jsx("div",{className:o.emptyState,style:{padding:"40px 0"},children:P.jsx(Ab,{size:"small",label:"Cargando…"})}):ce.length===0?P.jsxs("div",{className:o.emptyState,style:{padding:"60px 16px"},children:[P.jsx(Tf,{fontSize:40,style:{opacity:.3}}),P.jsxs(Mt,{size:300,children:["No hay correos en ",pe.name]})]}):ce.map(Q=>P.jsxs("div",{className:de(o.messageItem,!Q.isRead&&o.messageItemUnread,(g==null?void 0:g.id)===Q.id&&o.messageItemSelected),onClick:()=>ie(Q),children:[P.jsx(Wl,{name:Q.fromName,initials:ov(Q.fromName),size:32,style:{backgroundColor:rv(Q.fromName),flexShrink:0}}),P.jsxs("div",{className:o.messageContent,children:[P.jsxs("div",{className:o.messageTopRow,children:[P.jsxs("span",{className:o.messageSender,children:[!Q.isRead&&P.jsx(CB,{style:{color:$.colorBrandForeground1,marginRight:4,fontSize:8,verticalAlign:"middle"}}),Q.fromName]}),P.jsx("span",{className:o.messageTime,children:d8(Q.receivedAt)})]}),P.jsx("div",{className:o.messageSubject,children:Q.subject}),P.jsxs("div",{className:o.messagePreview,children:[Q.body.substring(0,80),"…"]})]})]},Q.id))}),g?P.jsxs("div",{className:o.readingPane,children:[P.jsxs("div",{className:o.readingHeader,children:[P.jsx(Wl,{name:g.fromName,initials:ov(g.fromName),size:40,style:{backgroundColor:rv(g.fromName)}}),P.jsxs("div",{className:o.readingMeta,children:[P.jsx(Mt,{weight:"semibold",size:300,children:g.fromName}),P.jsxs(Mt,{size:200,style:{color:$.colorNeutralForeground3,marginLeft:"8px"},children:["<",g.from,">"]}),P.jsx("div",{className:o.readingSubject,children:g.subject}),P.jsx(Mt,{size:200,style:{color:$.colorNeutralForeground3,marginTop:"2px",display:"block"},children:new Date(g.receivedAt).toLocaleString("es-ES",{weekday:"long",day:"numeric",month:"long",year:"numeric",hour:"2-digit",minute:"2-digit"})})]})]}),P.jsx(ai,{style:{margin:"0 28px"}}),P.jsx("div",{className:o.readingBody,children:g.body}),P.jsx(ai,{style:{margin:"0 28px"}}),P.jsxs("div",{className:o.readingActions,children:[P.jsx(_r,{appearance:"primary",icon:P.jsx(DB,{}),size:"small",onClick:()=>be(g),children:"Responder"}),P.jsx(_r,{appearance:"subtle",icon:P.jsx(RB,{}),size:"small",onClick:()=>ye(g),children:"Reenviar"}),P.jsx(_r,{appearance:"subtle",icon:P.jsx(Fp,{}),size:"small",children:"Eliminar"})]})]}):P.jsxs("div",{className:o.emptyState,children:[P.jsx(om,{fontSize:48,style:{opacity:.15}}),P.jsx(Mt,{size:400,style:{opacity:.5},children:"Selecciona un correo para leerlo"})]})]})]})]}):P.jsx(m8,{}),P.jsx(h8,{open:S,onOpenChange:w,to:B,onToChange:A,subject:N,onSubjectChange:D,body:j,onBodyChange:L,sending:Z,onSend:Be})]})}function h8({open:o,onOpenChange:n,to:a,onToChange:l,subject:s,onSubjectChange:f,body:d,onBodyChange:g,sending:v,onSend:h}){const b=gd();return P.jsx(Ob,{open:o,onOpenChange:(p,x)=>n(x.open),children:P.jsx(Hb,{style:{maxWidth:"560px",width:"100%"},children:P.jsxs(qb,{children:[P.jsx(Fb,{children:"Nuevo mensaje"}),P.jsxs(Lb,{children:[P.jsxs("div",{className:b.composeField,children:[P.jsx(In,{htmlFor:"c-to",required:!0,children:"Para"}),P.jsx(ic,{id:"c-to",placeholder:"destinatario@ejemplo.com",value:a,onChange:(p,x)=>l(x.value)})]}),P.jsxs("div",{className:b.composeField,children:[P.jsx(In,{htmlFor:"c-subj",required:!0,children:"Asunto"}),P.jsx(ic,{id:"c-subj",placeholder:"Asunto del mensaje",value:s,onChange:(p,x)=>f(x.value)})]}),P.jsxs("div",{className:b.composeField,children:[P.jsx(In,{htmlFor:"c-body",children:"Mensaje"}),P.jsx(jb,{id:"c-body",placeholder:"Escribe tu mensaje aquí…",value:d,onChange:(p,x)=>g(x.value),style:{minHeight:"180px"},resize:"vertical"})]})]}),P.jsxs(Mb,{children:[P.jsx(_r,{appearance:"secondary",onClick:()=>n(!1),children:"Descartar"}),P.jsx(_r,{appearance:"primary",icon:P.jsx(qp,{}),onClick:h,disabled:v||!a||!s,children:v?"Enviando…":"Enviar"})]})]})})})}function m8(){const o=gd(),n=[{id:"1",name:"shared_outlook",displayName:"Outlook",connector:"Microsoft Outlook",status:"connected",color:"#0078D4"},{id:"2",name:"shared_office365",displayName:"Office 365 Users",connector:"Office 365 Users",status:"connected",color:"#D83B01"},{id:"3",name:"shared_dataverse",displayName:"Dataverse",connector:"Microsoft Dataverse",status:"connected",color:"#7719BA"},{id:"4",name:"shared_azuresql",displayName:"Azure SQL",connector:"Azure SQL Database",status:"disconnected",color:"#0078D4"}],a=[{label:"Tu Code App",bg:$.colorBrandBackground,fg:"#fff"},{label:"PAC Client",bg:$.colorNeutralBackground4,fg:$.colorNeutralForeground1},{label:"Connection Ref",bg:$.colorNeutralBackground4,fg:$.colorNeutralForeground1},{label:"Connection",bg:$.colorNeutralBackground4,fg:$.colorNeutralForeground1},{label:"Outlook / Dataverse",bg:"#7719BA",fg:"#fff"}];return P.jsxs("div",{className:o.connectionsPanel,children:[P.jsx(Mt,{size:600,weight:"bold",block:!0,style:{marginBottom:"4px"},children:"Connection references"}),P.jsx(Mt,{size:300,style:{color:$.colorNeutralForeground3,display:"block",marginBottom:"24px"},children:"Las connection references son componentes de solución que apuntan a conexiones específicas. Enlaza tu code app a una referencia en lugar de a una conexión directa para permitir la promoción entre entornos."}),P.jsx("div",{className:o.archDiagram,children:a.map((l,s)=>P.jsxs(Of.Fragment,{children:[P.jsx("div",{className:o.archBox,style:{background:l.bg,color:l.fg},children:l.label}),sP.jsxs("div",{className:o.connCard,style:{opacity:l.status==="connected"?1:.55},children:[P.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px",marginBottom:"8px"},children:[P.jsx("div",{style:{width:36,height:36,borderRadius:6,background:l.color,display:"flex",alignItems:"center",justifyContent:"center",color:"#fff",fontWeight:700,fontSize:16},children:l.displayName[0]}),P.jsxs("div",{style:{flex:1,minWidth:0},children:[P.jsx(Mt,{weight:"semibold",size:300,block:!0,children:l.displayName}),P.jsx(Mt,{size:200,style:{color:$.colorNeutralForeground3},children:l.connector})]}),P.jsx($p,{appearance:"filled",color:l.status==="connected"?"success":"danger",size:"small",children:l.status==="connected"?"Conectado":"Desconectado"})]}),P.jsx(Mt,{size:200,style:{color:$.colorNeutralForeground3,fontFamily:$.fontFamilyMonospace},children:l.name})]},l.id))}),P.jsx(ai,{style:{marginBottom:"24px"}}),P.jsx(Mt,{size:400,weight:"semibold",block:!0,style:{marginBottom:"12px"},children:"Comandos PAC CLI"}),P.jsxs("div",{className:o.codeBlock,children:[P.jsx("div",{style:{color:$.colorNeutralForeground3},children:"# Listar conexiones disponibles"}),P.jsx("div",{children:"pac connection list"}),P.jsx("br",{}),P.jsx("div",{style:{color:$.colorNeutralForeground3},children:"# Añadir Outlook como data source"}),P.jsx("div",{children:"pac code add-data-source -a shared_outlook \\"}),P.jsx("div",{style:{paddingLeft:24},children:"-c 4839c34829284206bf6a11d4ce577491"}),P.jsx("br",{}),P.jsx("div",{style:{color:$.colorNeutralForeground3},children:"# Añadir Dataverse (tabular)"}),P.jsx("div",{children:"pac code add-data-source -a shared_commondataservice \\"}),P.jsx("div",{style:{paddingLeft:24},children:"-c -t accounts -d default"})]})]})}const v8=window.matchMedia("(prefers-color-scheme: dark)").matches;w5.createRoot(document.getElementById("root")).render(P.jsx(Of.StrictMode,{children:P.jsx(Cp,{theme:v8?cB:aB,style:{height:"100vh"},children:P.jsx(g8,{})})})); diff --git a/dist/assets/index-DjuLdqDL.css b/dist/assets/index-DjuLdqDL.css deleted file mode 100644 index e0890978..00000000 --- a/dist/assets/index-DjuLdqDL.css +++ /dev/null @@ -1 +0,0 @@ -*{box-sizing:border-box;margin:0;padding:0}:root{--bg-primary: #1a1a2e;--bg-secondary: #16213e;--bg-surface: #0f3460;--accent: #e94560;--accent-hover: #ff6b6b;--text-primary: #eaeaea;--text-secondary: #a0a0b0;--border: #2a2a4a;--selected: #1e3a5f}body{font-family:Segoe UI,system-ui,sans-serif;background:var(--bg-primary);color:var(--text-primary);height:100vh;overflow:hidden}.app{display:flex;height:100vh}.sidebar{width:60px;background:var(--bg-secondary);border-right:1px solid var(--border);display:flex;flex-direction:column;align-items:center;padding:12px 0;gap:8px}.sidebar-icon{width:40px;height:40px;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s;font-size:18px}.sidebar-icon:hover{background:var(--bg-surface)}.sidebar-icon.active{background:var(--accent)}.main-area{flex:1;display:flex;flex-direction:column;overflow:hidden}.toolbar{display:flex;align-items:center;gap:12px;padding:8px 16px;background:var(--bg-secondary);border-bottom:1px solid var(--border)}.toolbar-btn{padding:6px 12px;background:var(--bg-surface);border:1px solid var(--border);border-radius:4px;color:var(--text-primary);cursor:pointer;font-size:13px;transition:all .2s}.toolbar-btn:hover{background:var(--selected);border-color:var(--accent)}.toolbar-btn.primary{background:var(--accent);border-color:var(--accent)}.toolbar-btn.primary:hover{background:var(--accent-hover)}.search-box{flex:1;display:flex;align-items:center;background:var(--bg-primary);border:1px solid var(--border);border-radius:6px;padding:6px 12px;gap:8px}.search-box input{flex:1;background:transparent;border:none;outline:none;color:var(--text-primary);font-size:13px}.search-box input::placeholder{color:var(--text-secondary)}.content{flex:1;display:flex;overflow:hidden}.folder-list{width:180px;background:var(--bg-secondary);border-right:1px solid var(--border);overflow-y:auto;padding:8px 0}.folder-item{display:flex;align-items:center;gap:8px;padding:8px 16px;cursor:pointer;font-size:13px;color:var(--text-secondary);transition:all .15s}.folder-item:hover{background:var(--bg-surface);color:var(--text-primary)}.folder-item.active{background:var(--selected);color:var(--text-primary);border-right:2px solid var(--accent)}.folder-item .folder-icon{font-size:16px}.folder-item .unread{margin-left:auto;background:var(--accent);color:#fff;font-size:11px;padding:1px 6px;border-radius:10px}.email-list{width:320px;border-right:1px solid var(--border);overflow-y:auto}.email-item{display:flex;flex-direction:column;gap:4px;padding:12px 16px;border-bottom:1px solid var(--border);cursor:pointer;transition:background .15s}.email-item:hover{background:var(--bg-surface)}.email-item.selected{background:var(--selected)}.email-item.unread{border-left:3px solid var(--accent)}.email-from{font-size:13px;font-weight:600;color:var(--text-primary)}.email-item.unread .email-from{color:var(--accent)}.email-subject{font-size:13px;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.email-preview{font-size:12px;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.email-time{font-size:11px;color:var(--text-secondary);margin-left:auto}.email-detail{flex:1;display:flex;flex-direction:column;overflow-y:auto;padding:20px 24px;gap:16px}.email-detail-header{display:flex;align-items:flex-start;gap:12px}.email-avatar{width:40px;height:40px;border-radius:50%;background:var(--accent);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:16px;flex-shrink:0}.email-meta{flex:1;min-width:0}.email-meta-from{font-size:14px;font-weight:600;color:var(--text-primary)}.email-meta-subject{font-size:16px;font-weight:600;color:var(--text-primary);margin-top:4px}.email-meta-time{font-size:12px;color:var(--text-secondary);margin-top:2px}.email-body{font-size:14px;line-height:1.7;color:var(--text-primary);white-space:pre-wrap}.email-actions{display:flex;gap:8px;border-top:1px solid var(--border);padding-top:16px}.empty-state{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--text-secondary)}.empty-state-icon{font-size:48px;opacity:.3}.empty-state-text{font-size:14px}.compose-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:100}.compose{width:600px;background:var(--bg-secondary);border-radius:8px;border:1px solid var(--border);display:flex;flex-direction:column;max-height:80vh}.compose-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid var(--border);font-size:14px;font-weight:600}.compose-close{background:none;border:none;color:var(--text-secondary);cursor:pointer;font-size:18px}.compose-close:hover{color:var(--text-primary)}.compose-field{display:flex;align-items:center;border-bottom:1px solid var(--border);padding:8px 16px;gap:8px}.compose-field-label{font-size:13px;color:var(--text-secondary);width:50px}.compose-field input{flex:1;background:transparent;border:none;outline:none;color:var(--text-primary);font-size:13px}.compose-body{flex:1;padding:12px 16px;min-height:200px}.compose-body textarea{width:100%;height:100%;min-height:180px;background:transparent;border:none;outline:none;color:var(--text-primary);font-size:13px;font-family:inherit;resize:none}.compose-footer{display:flex;align-items:center;gap:8px;padding:12px 16px;border-top:1px solid var(--border)}.loading{display:flex;align-items:center;justify-content:center;height:200px;color:var(--text-secondary);font-size:14px;gap:8px}.spinner{width:20px;height:20px;border:2px solid var(--border);border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}} diff --git a/dist/index.html b/dist/index.html index 52d01afa..630e80cc 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1,13 +1,13 @@ - - - - - - Outlook Lite — Power Apps Code Apps Part 2 - - - - -
- - + + + + + + Outlook Lite — Power Apps Code Apps Part 2 + + + + +
+ + diff --git a/node_modules/.bin/baseline-browser-mapping b/node_modules/.bin/baseline-browser-mapping index 8e9a12d9..7e4dd08b 120000 --- a/node_modules/.bin/baseline-browser-mapping +++ b/node_modules/.bin/baseline-browser-mapping @@ -1 +1,16 @@ -../baseline-browser-mapping/dist/cli.cjs \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../baseline-browser-mapping/dist/cli.cjs" "$@" +else + exec node "$basedir/../baseline-browser-mapping/dist/cli.cjs" "$@" +fi diff --git a/node_modules/.bin/baseline-browser-mapping.cmd b/node_modules/.bin/baseline-browser-mapping.cmd new file mode 100644 index 00000000..724ac4d9 --- /dev/null +++ b/node_modules/.bin/baseline-browser-mapping.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\baseline-browser-mapping\dist\cli.cjs" %* diff --git a/node_modules/.bin/baseline-browser-mapping.ps1 b/node_modules/.bin/baseline-browser-mapping.ps1 new file mode 100644 index 00000000..049fe744 --- /dev/null +++ b/node_modules/.bin/baseline-browser-mapping.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../baseline-browser-mapping/dist/cli.cjs" $args + } else { + & "$basedir/node$exe" "$basedir/../baseline-browser-mapping/dist/cli.cjs" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../baseline-browser-mapping/dist/cli.cjs" $args + } else { + & "node$exe" "$basedir/../baseline-browser-mapping/dist/cli.cjs" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/browserslist b/node_modules/.bin/browserslist index 3cd991b2..60e71ad8 120000 --- a/node_modules/.bin/browserslist +++ b/node_modules/.bin/browserslist @@ -1 +1,16 @@ -../browserslist/cli.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../browserslist/cli.js" "$@" +else + exec node "$basedir/../browserslist/cli.js" "$@" +fi diff --git a/node_modules/.bin/browserslist.cmd b/node_modules/.bin/browserslist.cmd new file mode 100644 index 00000000..f93c251e --- /dev/null +++ b/node_modules/.bin/browserslist.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\browserslist\cli.js" %* diff --git a/node_modules/.bin/browserslist.ps1 b/node_modules/.bin/browserslist.ps1 new file mode 100644 index 00000000..01e10a08 --- /dev/null +++ b/node_modules/.bin/browserslist.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../browserslist/cli.js" $args + } else { + & "$basedir/node$exe" "$basedir/../browserslist/cli.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../browserslist/cli.js" $args + } else { + & "node$exe" "$basedir/../browserslist/cli.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/esbuild b/node_modules/.bin/esbuild index c83ac070..63bb6d40 120000 --- a/node_modules/.bin/esbuild +++ b/node_modules/.bin/esbuild @@ -1 +1,16 @@ -../esbuild/bin/esbuild \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../esbuild/bin/esbuild" "$@" +else + exec node "$basedir/../esbuild/bin/esbuild" "$@" +fi diff --git a/node_modules/.bin/esbuild.cmd b/node_modules/.bin/esbuild.cmd new file mode 100644 index 00000000..cc920c59 --- /dev/null +++ b/node_modules/.bin/esbuild.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\esbuild\bin\esbuild" %* diff --git a/node_modules/.bin/esbuild.ps1 b/node_modules/.bin/esbuild.ps1 new file mode 100644 index 00000000..81ffbf9c --- /dev/null +++ b/node_modules/.bin/esbuild.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../esbuild/bin/esbuild" $args + } else { + & "$basedir/node$exe" "$basedir/../esbuild/bin/esbuild" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../esbuild/bin/esbuild" $args + } else { + & "node$exe" "$basedir/../esbuild/bin/esbuild" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/jsesc b/node_modules/.bin/jsesc index 7237604c..879c4133 120000 --- a/node_modules/.bin/jsesc +++ b/node_modules/.bin/jsesc @@ -1 +1,16 @@ -../jsesc/bin/jsesc \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../jsesc/bin/jsesc" "$@" +else + exec node "$basedir/../jsesc/bin/jsesc" "$@" +fi diff --git a/node_modules/.bin/jsesc.cmd b/node_modules/.bin/jsesc.cmd new file mode 100644 index 00000000..eb41110f --- /dev/null +++ b/node_modules/.bin/jsesc.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\jsesc\bin\jsesc" %* diff --git a/node_modules/.bin/jsesc.ps1 b/node_modules/.bin/jsesc.ps1 new file mode 100644 index 00000000..6007e022 --- /dev/null +++ b/node_modules/.bin/jsesc.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../jsesc/bin/jsesc" $args + } else { + & "$basedir/node$exe" "$basedir/../jsesc/bin/jsesc" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../jsesc/bin/jsesc" $args + } else { + & "node$exe" "$basedir/../jsesc/bin/jsesc" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/json5 b/node_modules/.bin/json5 index 217f3798..abf72a4e 120000 --- a/node_modules/.bin/json5 +++ b/node_modules/.bin/json5 @@ -1 +1,16 @@ -../json5/lib/cli.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../json5/lib/cli.js" "$@" +else + exec node "$basedir/../json5/lib/cli.js" "$@" +fi diff --git a/node_modules/.bin/json5.cmd b/node_modules/.bin/json5.cmd new file mode 100644 index 00000000..95c137fe --- /dev/null +++ b/node_modules/.bin/json5.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\json5\lib\cli.js" %* diff --git a/node_modules/.bin/json5.ps1 b/node_modules/.bin/json5.ps1 new file mode 100644 index 00000000..8700ddbe --- /dev/null +++ b/node_modules/.bin/json5.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../json5/lib/cli.js" $args + } else { + & "$basedir/node$exe" "$basedir/../json5/lib/cli.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../json5/lib/cli.js" $args + } else { + & "node$exe" "$basedir/../json5/lib/cli.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/nanoid b/node_modules/.bin/nanoid index e2be547b..46220bdb 120000 --- a/node_modules/.bin/nanoid +++ b/node_modules/.bin/nanoid @@ -1 +1,16 @@ -../nanoid/bin/nanoid.cjs \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../nanoid/bin/nanoid.cjs" "$@" +else + exec node "$basedir/../nanoid/bin/nanoid.cjs" "$@" +fi diff --git a/node_modules/.bin/nanoid.cmd b/node_modules/.bin/nanoid.cmd new file mode 100644 index 00000000..9c40107c --- /dev/null +++ b/node_modules/.bin/nanoid.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\nanoid\bin\nanoid.cjs" %* diff --git a/node_modules/.bin/nanoid.ps1 b/node_modules/.bin/nanoid.ps1 new file mode 100644 index 00000000..d8a4d7ad --- /dev/null +++ b/node_modules/.bin/nanoid.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../nanoid/bin/nanoid.cjs" $args + } else { + & "$basedir/node$exe" "$basedir/../nanoid/bin/nanoid.cjs" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../nanoid/bin/nanoid.cjs" $args + } else { + & "node$exe" "$basedir/../nanoid/bin/nanoid.cjs" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/parser b/node_modules/.bin/parser index ce7bf97e..7696ad41 120000 --- a/node_modules/.bin/parser +++ b/node_modules/.bin/parser @@ -1 +1,16 @@ -../@babel/parser/bin/babel-parser.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../@babel/parser/bin/babel-parser.js" "$@" +else + exec node "$basedir/../@babel/parser/bin/babel-parser.js" "$@" +fi diff --git a/node_modules/.bin/parser.cmd b/node_modules/.bin/parser.cmd new file mode 100644 index 00000000..1ad5c81c --- /dev/null +++ b/node_modules/.bin/parser.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\@babel\parser\bin\babel-parser.js" %* diff --git a/node_modules/.bin/parser.ps1 b/node_modules/.bin/parser.ps1 new file mode 100644 index 00000000..8926517b --- /dev/null +++ b/node_modules/.bin/parser.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../@babel/parser/bin/babel-parser.js" $args + } else { + & "$basedir/node$exe" "$basedir/../@babel/parser/bin/babel-parser.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../@babel/parser/bin/babel-parser.js" $args + } else { + & "node$exe" "$basedir/../@babel/parser/bin/babel-parser.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/rollup b/node_modules/.bin/rollup index 5939621c..998fc164 120000 --- a/node_modules/.bin/rollup +++ b/node_modules/.bin/rollup @@ -1 +1,16 @@ -../rollup/dist/bin/rollup \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../rollup/dist/bin/rollup" "$@" +else + exec node "$basedir/../rollup/dist/bin/rollup" "$@" +fi diff --git a/node_modules/.bin/rollup.cmd b/node_modules/.bin/rollup.cmd new file mode 100644 index 00000000..b3f110b3 --- /dev/null +++ b/node_modules/.bin/rollup.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\rollup\dist\bin\rollup" %* diff --git a/node_modules/.bin/rollup.ps1 b/node_modules/.bin/rollup.ps1 new file mode 100644 index 00000000..10f657d7 --- /dev/null +++ b/node_modules/.bin/rollup.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../rollup/dist/bin/rollup" $args + } else { + & "$basedir/node$exe" "$basedir/../rollup/dist/bin/rollup" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../rollup/dist/bin/rollup" $args + } else { + & "node$exe" "$basedir/../rollup/dist/bin/rollup" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/semver b/node_modules/.bin/semver index 5aaadf42..97c53279 120000 --- a/node_modules/.bin/semver +++ b/node_modules/.bin/semver @@ -1 +1,16 @@ -../semver/bin/semver.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../semver/bin/semver.js" "$@" +else + exec node "$basedir/../semver/bin/semver.js" "$@" +fi diff --git a/node_modules/.bin/semver.cmd b/node_modules/.bin/semver.cmd new file mode 100644 index 00000000..9913fa9d --- /dev/null +++ b/node_modules/.bin/semver.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\semver\bin\semver.js" %* diff --git a/node_modules/.bin/semver.ps1 b/node_modules/.bin/semver.ps1 new file mode 100644 index 00000000..314717ad --- /dev/null +++ b/node_modules/.bin/semver.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../semver/bin/semver.js" $args + } else { + & "$basedir/node$exe" "$basedir/../semver/bin/semver.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../semver/bin/semver.js" $args + } else { + & "node$exe" "$basedir/../semver/bin/semver.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/tsc b/node_modules/.bin/tsc index 0863208a..c4864b9a 120000 --- a/node_modules/.bin/tsc +++ b/node_modules/.bin/tsc @@ -1 +1,16 @@ -../typescript/bin/tsc \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../typescript/bin/tsc" "$@" +else + exec node "$basedir/../typescript/bin/tsc" "$@" +fi diff --git a/node_modules/.bin/tsc.cmd b/node_modules/.bin/tsc.cmd new file mode 100644 index 00000000..40bf1284 --- /dev/null +++ b/node_modules/.bin/tsc.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\typescript\bin\tsc" %* diff --git a/node_modules/.bin/tsc.ps1 b/node_modules/.bin/tsc.ps1 new file mode 100644 index 00000000..112413b5 --- /dev/null +++ b/node_modules/.bin/tsc.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../typescript/bin/tsc" $args + } else { + & "$basedir/node$exe" "$basedir/../typescript/bin/tsc" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../typescript/bin/tsc" $args + } else { + & "node$exe" "$basedir/../typescript/bin/tsc" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/tsserver b/node_modules/.bin/tsserver index f8f8f1a0..6c19ce3d 120000 --- a/node_modules/.bin/tsserver +++ b/node_modules/.bin/tsserver @@ -1 +1,16 @@ -../typescript/bin/tsserver \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../typescript/bin/tsserver" "$@" +else + exec node "$basedir/../typescript/bin/tsserver" "$@" +fi diff --git a/node_modules/.bin/tsserver.cmd b/node_modules/.bin/tsserver.cmd new file mode 100644 index 00000000..57f851fd --- /dev/null +++ b/node_modules/.bin/tsserver.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\typescript\bin\tsserver" %* diff --git a/node_modules/.bin/tsserver.ps1 b/node_modules/.bin/tsserver.ps1 new file mode 100644 index 00000000..249f417d --- /dev/null +++ b/node_modules/.bin/tsserver.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../typescript/bin/tsserver" $args + } else { + & "$basedir/node$exe" "$basedir/../typescript/bin/tsserver" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../typescript/bin/tsserver" $args + } else { + & "node$exe" "$basedir/../typescript/bin/tsserver" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/update-browserslist-db b/node_modules/.bin/update-browserslist-db index b11e16f3..cced63c4 120000 --- a/node_modules/.bin/update-browserslist-db +++ b/node_modules/.bin/update-browserslist-db @@ -1 +1,16 @@ -../update-browserslist-db/cli.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../update-browserslist-db/cli.js" "$@" +else + exec node "$basedir/../update-browserslist-db/cli.js" "$@" +fi diff --git a/node_modules/.bin/update-browserslist-db.cmd b/node_modules/.bin/update-browserslist-db.cmd new file mode 100644 index 00000000..2e14905f --- /dev/null +++ b/node_modules/.bin/update-browserslist-db.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\update-browserslist-db\cli.js" %* diff --git a/node_modules/.bin/update-browserslist-db.ps1 b/node_modules/.bin/update-browserslist-db.ps1 new file mode 100644 index 00000000..7abdf26d --- /dev/null +++ b/node_modules/.bin/update-browserslist-db.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../update-browserslist-db/cli.js" $args + } else { + & "$basedir/node$exe" "$basedir/../update-browserslist-db/cli.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../update-browserslist-db/cli.js" $args + } else { + & "node$exe" "$basedir/../update-browserslist-db/cli.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/vite b/node_modules/.bin/vite index 6d1e3bea..014463f9 120000 --- a/node_modules/.bin/vite +++ b/node_modules/.bin/vite @@ -1 +1,16 @@ -../vite/bin/vite.js \ No newline at end of file +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../vite/bin/vite.js" "$@" +else + exec node "$basedir/../vite/bin/vite.js" "$@" +fi diff --git a/node_modules/.bin/vite.cmd b/node_modules/.bin/vite.cmd new file mode 100644 index 00000000..f62e966d --- /dev/null +++ b/node_modules/.bin/vite.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\vite\bin\vite.js" %* diff --git a/node_modules/.bin/vite.ps1 b/node_modules/.bin/vite.ps1 new file mode 100644 index 00000000..a7759bcf --- /dev/null +++ b/node_modules/.bin/vite.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../vite/bin/vite.js" $args + } else { + & "$basedir/node$exe" "$basedir/../vite/bin/vite.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../vite/bin/vite.js" $args + } else { + & "node$exe" "$basedir/../vite/bin/vite.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index b81baa9b..33c5e2e2 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -310,10 +310,10 @@ "integrity": "sha512-MyqliTZGuOm3+5ZRSaaBGP3USLw6+EGykkwZns2EPC5g8jJ4z9OrdZY9apkl3+UP9+sdz76YYkwCKP5gh8iY3g==", "license": "MIT" }, - "node_modules/@esbuild/linux-x64": { + "node_modules/@esbuild/win32-x64": { "version": "0.25.12", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.12.tgz", - "integrity": "sha512-uqZMTLr/zR/ed4jIGnwSLkaHmPjOjJvnm6TVVitAa08SLS9Z0VM8wIRx7gWbJB5/J54YuIMInDquWyYvQLZkgw==", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.12.tgz", + "integrity": "sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA==", "cpu": [ "x64" ], @@ -321,7 +321,7 @@ "license": "MIT", "optional": true, "os": [ - "linux" + "win32" ], "engines": { "node": ">=18" @@ -2000,10 +2000,10 @@ "dev": true, "license": "MIT" }, - "node_modules/@rollup/rollup-linux-x64-gnu": { + "node_modules/@rollup/rollup-win32-x64-gnu": { "version": "4.60.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.60.1.tgz", - "integrity": "sha512-77PpsFQUCOiZR9+LQEFg9GClyfkNXj1MP6wRnzYs0EeWbPcHs02AXu4xuUbM1zhwn3wqaizle3AEYg5aeoohhg==", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.60.1.tgz", + "integrity": "sha512-k+600V9Zl1CM7eZxJgMyTUzmrmhB/0XZnF4pRypKAlAgxmedUA+1v9R+XOFv56W4SlHEzfeMtzujLJD22Uz5zg==", "cpu": [ "x64" ], @@ -2011,13 +2011,13 @@ "license": "MIT", "optional": true, "os": [ - "linux" + "win32" ] }, - "node_modules/@rollup/rollup-linux-x64-musl": { + "node_modules/@rollup/rollup-win32-x64-msvc": { "version": "4.60.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.60.1.tgz", - "integrity": "sha512-5cIATbk5vynAjqqmyBjlciMJl1+R/CwX9oLk/EyiFXDWd95KpHdrOJT//rnUl4cUcskrd0jCCw3wpZnhIHdD9w==", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.60.1.tgz", + "integrity": "sha512-lWMnixq/QzxyhTV6NjQJ4SFo1J6PvOX8vUx5Wb4bBPsEb+8xZ89Bz6kOXpfXj9ak9AHTQVQzlgzBEc1SyM27xQ==", "cpu": [ "x64" ], @@ -2025,7 +2025,7 @@ "license": "MIT", "optional": true, "os": [ - "linux" + "win32" ] }, "node_modules/@swc/helpers": { @@ -2599,19 +2599,6 @@ "@rollup/rollup-linux-x64-gnu": "4.53.3" } }, - "node_modules/tabster/node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.53.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.53.3.tgz", - "integrity": "sha512-3EhFi1FU6YL8HTUJZ51imGJWEX//ajQPfqWLI3BQq4TlvHy4X0MOr5q3D2Zof/ka0d5FNdPwZXm3Yyib/UEd+w==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, "node_modules/tinyglobby": { "version": "0.2.16", "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.16.tgz", diff --git a/node_modules/.vite/deps/@fluentui_react-components.js b/node_modules/.vite/deps/@fluentui_react-components.js new file mode 100644 index 00000000..c70fbb7b --- /dev/null +++ b/node_modules/.vite/deps/@fluentui_react-components.js @@ -0,0 +1,65876 @@ +import { + require_jsx_runtime +} from "./chunk-GOUXSCEN.js"; +import { + require_scheduler +} from "./chunk-SVR3SNXV.js"; +import { + require_react_dom +} from "./chunk-TF4LBITK.js"; +import { + ArrowDownRegular, + ArrowUpRegular, + Checkmark12Filled, + Checkmark16Filled, + CheckmarkCircle12Filled, + CheckmarkCircleFilled, + CheckmarkFilled, + ChevronDown16Regular, + ChevronDown20Regular, + ChevronDownRegular, + ChevronLeftFilled, + ChevronLeftRegular, + ChevronRight12Regular, + ChevronRightFilled, + ChevronRightRegular, + ChevronUp16Regular, + CircleFilled, + DiamondDismiss12Filled, + DiamondDismissFilled, + Dismiss12Regular, + Dismiss20Regular, + DismissFilled, + DismissRegular, + IconDirectionContextProvider, + Info12Filled, + Info12Regular, + Info16Filled, + Info16Regular, + Info20Filled, + Info20Regular, + InfoFilled, + Lightbulb16Regular, + MoreHorizontalFilled, + MoreHorizontalRegular, + Navigation20Filled, + PauseCircleRegular, + PersonRegular, + Pin20Regular, + PlayCircleRegular, + PresenceAvailable10Filled, + PresenceAvailable10Regular, + PresenceAvailable12Filled, + PresenceAvailable12Regular, + PresenceAvailable16Filled, + PresenceAvailable16Regular, + PresenceAvailable20Filled, + PresenceAvailable20Regular, + PresenceAway10Filled, + PresenceAway10Regular, + PresenceAway12Filled, + PresenceAway12Regular, + PresenceAway16Filled, + PresenceAway16Regular, + PresenceAway20Filled, + PresenceAway20Regular, + PresenceBlocked10Regular, + PresenceBlocked12Regular, + PresenceBlocked16Regular, + PresenceBlocked20Regular, + PresenceBusy10Filled, + PresenceBusy12Filled, + PresenceBusy16Filled, + PresenceBusy20Filled, + PresenceDnd10Filled, + PresenceDnd10Regular, + PresenceDnd12Filled, + PresenceDnd12Regular, + PresenceDnd16Filled, + PresenceDnd16Regular, + PresenceDnd20Filled, + PresenceDnd20Regular, + PresenceOffline10Regular, + PresenceOffline12Regular, + PresenceOffline16Regular, + PresenceOffline20Regular, + PresenceOof10Regular, + PresenceOof12Regular, + PresenceOof16Regular, + PresenceOof20Regular, + PresenceUnknown10Regular, + PresenceUnknown12Regular, + PresenceUnknown16Regular, + PresenceUnknown20Regular, + ProhibitedFilled, + RendererProvider, + SearchRegular, + Square12Filled, + Square16Filled, + StarFilled, + StarRegular, + TextDirectionProvider, + Warning12Filled, + WarningFilled, + __css, + __resetCSS, + __resetStyles, + __styles, + __styles2, + bundleIcon, + createDOMRenderer, + iconFilledClassName, + iconRegularClassName, + makeResetStyles, + makeStaticStyles, + makeStyles, + mergeClasses, + renderToStyleElements, + shorthands, + useRenderer +} from "./chunk-L54BDX3M.js"; +import { + __commonJS, + __export, + __toESM, + require_react +} from "./chunk-WBF6APZF.js"; + +// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +var require_use_sync_external_store_shim_development = __commonJS({ + "node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js"(exports) { + "use strict"; + (function() { + function is(x, y) { + return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y; + } + function useSyncExternalStore$2(subscribe, getSnapshot) { + didWarnOld18Alpha || void 0 === React671.startTransition || (didWarnOld18Alpha = true, console.error( + "You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release." + )); + var value = getSnapshot(); + if (!didWarnUncachedGetSnapshot) { + var cachedValue = getSnapshot(); + objectIs(value, cachedValue) || (console.error( + "The result of getSnapshot should be cached to avoid an infinite loop" + ), didWarnUncachedGetSnapshot = true); + } + cachedValue = useState42({ + inst: { value, getSnapshot } + }); + var inst = cachedValue[0].inst, forceUpdate = cachedValue[1]; + useLayoutEffect3( + function() { + inst.value = value; + inst.getSnapshot = getSnapshot; + checkIfSnapshotChanged(inst) && forceUpdate({ inst }); + }, + [subscribe, value, getSnapshot] + ); + useEffect65( + function() { + checkIfSnapshotChanged(inst) && forceUpdate({ inst }); + return subscribe(function() { + checkIfSnapshotChanged(inst) && forceUpdate({ inst }); + }); + }, + [subscribe] + ); + useDebugValue(value); + return value; + } + function checkIfSnapshotChanged(inst) { + var latestGetSnapshot = inst.getSnapshot; + inst = inst.value; + try { + var nextValue = latestGetSnapshot(); + return !objectIs(inst, nextValue); + } catch (error) { + return true; + } + } + function useSyncExternalStore$1(subscribe, getSnapshot) { + return getSnapshot(); + } + "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()); + var React671 = require_react(), objectIs = "function" === typeof Object.is ? Object.is : is, useState42 = React671.useState, useEffect65 = React671.useEffect, useLayoutEffect3 = React671.useLayoutEffect, useDebugValue = React671.useDebugValue, didWarnOld18Alpha = false, didWarnUncachedGetSnapshot = false, shim = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2; + exports.useSyncExternalStore = void 0 !== React671.useSyncExternalStore ? React671.useSyncExternalStore : shim; + "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error()); + })(); + } +}); + +// node_modules/use-sync-external-store/shim/index.js +var require_shim = __commonJS({ + "node_modules/use-sync-external-store/shim/index.js"(exports, module) { + "use strict"; + if (false) { + module.exports = null; + } else { + module.exports = require_use_sync_external_store_shim_development(); + } + } +}); + +// node_modules/@fluentui/react-provider/lib/components/FluentProvider/createCSSRuleFromTheme.js +var CSS_ESCAPE_MAP = { + "<": "\\3C ", + ">": "\\3E " +}; +function escapeForStyleTag(value) { + return value.replace(/[<>]/g, (match) => CSS_ESCAPE_MAP[match]); +} +function createCSSRuleFromTheme(selector, theme) { + if (theme) { + const cssVarsAsString = Object.keys(theme).reduce((cssVarRule, cssVar) => { + return `${cssVarRule}--${cssVar}: ${theme[cssVar]}; `; + }, ""); + return `${selector} { ${escapeForStyleTag(cssVarsAsString)} }`; + } + return `${selector} {}`; +} + +// node_modules/@fluentui/react-provider/lib/components/FluentProvider/FluentProvider.js +var React59 = __toESM(require_react()); + +// node_modules/@fluentui/react-utilities/lib/compose/slot.js +var slot_exports = {}; +__export(slot_exports, { + always: () => always, + optional: () => optional, + resolveShorthand: () => resolveShorthand +}); +var React = __toESM(require_react()); + +// node_modules/@fluentui/react-utilities/lib/compose/constants.js +var SLOT_RENDER_FUNCTION_SYMBOL = Symbol.for("fui.slotRenderFunction"); +var SLOT_ELEMENT_TYPE_SYMBOL = Symbol.for("fui.slotElementType"); +var SLOT_CLASS_NAME_PROP_SYMBOL = Symbol.for("fui.slotClassNameProp"); + +// node_modules/@fluentui/react-utilities/lib/compose/slot.js +function always(value, options) { + const { defaultProps, elementType } = options; + const props = resolveShorthand(value); + const propsWithMetadata = { + ...defaultProps, + ...props, + [SLOT_ELEMENT_TYPE_SYMBOL]: elementType, + [SLOT_CLASS_NAME_PROP_SYMBOL]: (props === null || props === void 0 ? void 0 : props.className) || (defaultProps === null || defaultProps === void 0 ? void 0 : defaultProps.className) + }; + if (props && typeof props.children === "function") { + propsWithMetadata[SLOT_RENDER_FUNCTION_SYMBOL] = props.children; + propsWithMetadata.children = defaultProps === null || defaultProps === void 0 ? void 0 : defaultProps.children; + } + return propsWithMetadata; +} +function optional(value, options) { + if (value === null || value === void 0 && !options.renderByDefault) { + return void 0; + } + return always(value, options); +} +function resolveShorthand(value) { + if (typeof value === "string" || typeof value === "number" || isIterable(value) || // eslint-disable-next-line @typescript-eslint/no-explicit-any + React.isValidElement(value)) { + return { + children: value + }; + } + if (value && typeof value !== "object" && true) { + console.error(`@fluentui/react-utilities [slot.${resolveShorthand.name}]: +A slot got an invalid value "${value}" (${typeof value}). +A valid value for a slot is a slot shorthand or slot properties object. +Slot shorthands can be strings, numbers, arrays or JSX elements`); + } + return value; +} +var isIterable = (value) => typeof value === "object" && value !== null && Symbol.iterator in value; + +// node_modules/@fluentui/react-utilities/lib/compose/isResolvedShorthand.js +var React2 = __toESM(require_react()); +function isResolvedShorthand(shorthand) { + return shorthand !== null && typeof shorthand === "object" && !Array.isArray(shorthand) && !React2.isValidElement(shorthand); +} + +// node_modules/@fluentui/react-utilities/lib/compose/isSlot.js +function isSlot(element) { + return Boolean(element === null || element === void 0 ? void 0 : element.hasOwnProperty(SLOT_ELEMENT_TYPE_SYMBOL)); +} + +// node_modules/@fluentui/react-utilities/lib/compose/assertSlots.js +var React3 = __toESM(require_react()); +function assertSlots(state) { + if (true) { + const typedState = state; + for (const slotName of Object.keys(typedState.components)) { + const slotElement = typedState[slotName]; + if (slotElement === void 0) { + continue; + } + if (!isSlot(slotElement)) { + typedState[slotName] = always(slotElement, { + // eslint-disable-next-line @typescript-eslint/no-deprecated + elementType: typedState.components[slotName] + }); + console.warn(`@fluentui/react-utilities [${assertSlots.name}]: +"state.${slotName}" is not a slot! +Be sure to create slots properly by using "slot.always" or "slot.optional".`); + } else { + const { [SLOT_ELEMENT_TYPE_SYMBOL]: elementType } = slotElement; + if (elementType !== typedState.components[slotName]) { + slotElement[SLOT_ELEMENT_TYPE_SYMBOL] = typedState.components[slotName]; + console.warn(`@fluentui/react-utilities [${assertSlots.name}]: +"state.${slotName}" element type differs from "state.components.${slotName}", +${elementType} !== ${typedState.components[slotName]}. +Be sure to create slots properly by using "slot.always" or "slot.optional" with the correct elementType.`); + } + } + } + } +} + +// node_modules/@fluentui/react-utilities/lib/compose/getIntrinsicElementProps.js +var React5 = __toESM(require_react()); + +// node_modules/@fluentui/react-utilities/lib/utils/getNativeElementProps.js +var React4 = __toESM(require_react()); + +// node_modules/@fluentui/react-utilities/lib/utils/properties.js +var toObjectMap = (...items) => { + const result = {}; + for (const item of items) { + const keys = Array.isArray(item) ? item : Object.keys(item); + for (const key of keys) { + result[key] = 1; + } + } + return result; +}; +var baseElementEvents = toObjectMap([ + "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" +]); +var baseElementProperties = toObjectMap([ + "accessKey", + "children", + "className", + "contentEditable", + "dir", + "draggable", + "hidden", + "htmlFor", + "id", + "lang", + "popover", + "focusgroup", + "ref", + "role", + "style", + "tabIndex", + "title", + "translate", + "spellCheck", + "name" +]); +var microdataProperties = toObjectMap([ + "itemID", + "itemProp", + "itemRef", + "itemScope", + "itemType" +]); +var htmlElementProperties = toObjectMap(baseElementProperties, baseElementEvents, microdataProperties); +var labelProperties = toObjectMap(htmlElementProperties, [ + "form" +]); +var audioProperties = toObjectMap(htmlElementProperties, [ + "height", + "loop", + "muted", + "preload", + "src", + "width" +]); +var videoProperties = toObjectMap(audioProperties, [ + "poster" +]); +var olProperties = toObjectMap(htmlElementProperties, [ + "start" +]); +var liProperties = toObjectMap(htmlElementProperties, [ + "value" +]); +var anchorProperties = toObjectMap(htmlElementProperties, [ + "download", + "href", + "hrefLang", + "media", + "referrerPolicy", + "rel", + "target", + "type" +]); +var timeProperties = toObjectMap(htmlElementProperties, [ + "dateTime" +]); +var buttonProperties = toObjectMap(htmlElementProperties, [ + "autoFocus", + "disabled", + "form", + "formAction", + "formEncType", + "formMethod", + "formNoValidate", + "formTarget", + "popoverTarget", + "popoverTargetAction", + "type", + "value" +]); +var inputProperties = toObjectMap(buttonProperties, [ + "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" +]); +var textAreaProperties = toObjectMap(buttonProperties, [ + "autoCapitalize", + "cols", + "dirname", + "form", + "maxLength", + "placeholder", + "readOnly", + "required", + "rows", + "wrap" +]); +var selectProperties = toObjectMap(buttonProperties, [ + "form", + "multiple", + "required" +]); +var optionProperties = toObjectMap(htmlElementProperties, [ + "selected", + "value" +]); +var tableProperties = toObjectMap(htmlElementProperties, [ + "cellPadding", + "cellSpacing" +]); +var trProperties = htmlElementProperties; +var thProperties = toObjectMap(htmlElementProperties, [ + "colSpan", + "rowSpan", + "scope" +]); +var tdProperties = toObjectMap(htmlElementProperties, [ + "colSpan", + "headers", + "rowSpan", + "scope" +]); +var colGroupProperties = toObjectMap(htmlElementProperties, [ + "span" +]); +var colProperties = toObjectMap(htmlElementProperties, [ + "span" +]); +var fieldsetProperties = toObjectMap(htmlElementProperties, [ + "disabled", + "form" +]); +var formProperties = toObjectMap(htmlElementProperties, [ + "acceptCharset", + "action", + "encType", + "encType", + "method", + "noValidate", + "target" +]); +var iframeProperties = toObjectMap(htmlElementProperties, [ + "allow", + "allowFullScreen", + "allowPaymentRequest", + "allowTransparency", + "csp", + "height", + "importance", + "referrerPolicy", + "sandbox", + "src", + "srcDoc", + "width" +]); +var imgProperties = toObjectMap(htmlElementProperties, [ + "alt", + "crossOrigin", + "height", + "src", + "srcSet", + "useMap", + "width" +]); +var dialogProperties = toObjectMap(htmlElementProperties, [ + "open", + "onCancel", + "onClose" +]); +function getNativeProps(props, allowedPropNames, excludedPropNames) { + const isArray = Array.isArray(allowedPropNames); + const result = {}; + const keys = Object.keys(props); + for (const key of keys) { + const isNativeProp = !isArray && allowedPropNames[key] || isArray && allowedPropNames.indexOf(key) >= 0 || key.indexOf("data-") === 0 || key.indexOf("aria-") === 0; + if (isNativeProp && (!excludedPropNames || (excludedPropNames === null || excludedPropNames === void 0 ? void 0 : excludedPropNames.indexOf(key)) === -1)) { + result[key] = props[key]; + } + } + return result; +} + +// node_modules/@fluentui/react-utilities/lib/utils/getNativeElementProps.js +var nativeElementMap = { + label: labelProperties, + audio: audioProperties, + video: videoProperties, + ol: olProperties, + li: liProperties, + a: anchorProperties, + button: buttonProperties, + input: inputProperties, + textarea: textAreaProperties, + select: selectProperties, + option: optionProperties, + table: tableProperties, + tr: trProperties, + th: thProperties, + td: tdProperties, + colGroup: colGroupProperties, + col: colProperties, + fieldset: fieldsetProperties, + form: formProperties, + iframe: iframeProperties, + img: imgProperties, + time: timeProperties, + dialog: dialogProperties +}; +function getNativeElementProps(tagName, props, excludedPropNames) { + const allowedPropNames = tagName && nativeElementMap[tagName] || htmlElementProperties; + allowedPropNames.as = 1; + return getNativeProps(props, allowedPropNames, excludedPropNames); +} +var getPartitionedNativeProps = ({ primarySlotTagName, props, excludedPropNames }) => { + return { + root: { + style: props.style, + className: props.className + }, + // eslint-disable-next-line @typescript-eslint/no-deprecated + primary: getNativeElementProps(primarySlotTagName, props, [ + ...excludedPropNames || [], + "style", + "className" + ]) + }; +}; + +// node_modules/@fluentui/react-utilities/lib/compose/getIntrinsicElementProps.js +var getIntrinsicElementProps = (tagName, props, excludedPropNames) => { + var _props_as; + return getNativeElementProps((_props_as = props.as) !== null && _props_as !== void 0 ? _props_as : tagName, props, excludedPropNames); +}; + +// node_modules/@fluentui/react-utilities/lib/compose/getSlotClassNameProp.js +var getSlotClassNameProp = (slot) => { + if (SLOT_CLASS_NAME_PROP_SYMBOL in slot && typeof slot[SLOT_CLASS_NAME_PROP_SYMBOL] === "string") { + return slot[SLOT_CLASS_NAME_PROP_SYMBOL]; + } + return void 0; +}; + +// node_modules/@fluentui/react-utilities/lib/compose/deprecated/getSlots.js +var React6 = __toESM(require_react()); + +// node_modules/@fluentui/react-utilities/lib/utils/omit.js +function omit(obj, exclusions) { + const result = {}; + for (const key in obj) { + if (exclusions.indexOf(key) === -1 && obj.hasOwnProperty(key)) { + result[key] = obj[key]; + } + } + return result; +} + +// node_modules/@fluentui/react-utilities/lib/compose/deprecated/getSlots.js +function getSlots(state) { + const typeState = state; + const slots = {}; + const slotProps = {}; + const slotNames = Object.keys(typeState.components); + for (const slotName of slotNames) { + const [slot, props] = getSlot(typeState, slotName); + slots[slotName] = slot; + slotProps[slotName] = props; + } + return { + slots, + slotProps + }; +} +function getSlot(state, slotName) { + var _state_components, _state_components1; + const props = state[slotName]; + if (props === void 0) { + return [ + null, + void 0 + ]; + } + const { as: asProp, children, ...rest } = props; + const renderFunction = isSlot(props) ? props[SLOT_RENDER_FUNCTION_SYMBOL] : void 0; + const slot = ((_state_components = state.components) === null || _state_components === void 0 ? void 0 : _state_components[slotName]) === void 0 || // eslint-disable-line @typescript-eslint/no-deprecated + // eslint-disable-next-line @typescript-eslint/no-deprecated + typeof state.components[slotName] === "string" ? asProp || ((_state_components1 = state.components) === null || _state_components1 === void 0 ? void 0 : _state_components1[slotName]) || "div" : state.components[slotName]; + const asserted = slot; + if (renderFunction || typeof children === "function") { + const render = renderFunction || children; + return [ + React6.Fragment, + { + children: render(asserted, rest) + } + ]; + } + const shouldOmitAsProp = typeof slot === "string" && asProp; + const slotProps = shouldOmitAsProp ? omit(props, [ + "as" + ]) : props; + return [ + asserted, + slotProps + ]; +} + +// node_modules/@fluentui/react-utilities/lib/compose/deprecated/resolveShorthand.js +var resolveShorthand2 = (value, options) => optional(value, { + ...options, + renderByDefault: options === null || options === void 0 ? void 0 : options.required, + // elementType as undefined is the way to identify between a slot and a resolveShorthand call + // in the case elementType is undefined assertSlots will fail, ensuring it'll only work with slot method. + elementType: void 0 +}); + +// node_modules/@fluentui/react-utilities/lib/compose/deprecated/getSlotsNext.js +var React7 = __toESM(require_react()); + +// node_modules/@fluentui/react-utilities/lib/hooks/useBrowserTimer.js +var React8 = __toESM(require_react()); +function useBrowserTimer(setTimer, cancelTimer) { + const id = React8.useRef(void 0); + const set = React8.useCallback((fn, delay) => { + if (id.current !== void 0) { + cancelTimer(id.current); + } + id.current = setTimer(fn, delay); + return id.current; + }, [ + cancelTimer, + setTimer + ]); + const cancel = React8.useCallback(() => { + if (id.current !== void 0) { + cancelTimer(id.current); + id.current = void 0; + } + }, [ + cancelTimer + ]); + React8.useEffect(() => cancel, [ + cancel + ]); + return [ + set, + cancel + ]; +} + +// node_modules/@fluentui/react-shared-contexts/lib/ThemeContext/ThemeContext.js +var React9 = __toESM(require_react()); +var ThemeContext = React9.createContext(void 0); +var ThemeProvider = ThemeContext.Provider; + +// node_modules/@fluentui/react-shared-contexts/lib/ThemeClassNameContext/ThemeClassNameContext.js +var React10 = __toESM(require_react()); +var ThemeClassNameContext = React10.createContext(void 0); +var themeClassNameContextDefaultVaue = ""; +var ThemeClassNameProvider = ThemeClassNameContext.Provider; +function useThemeClassName() { + var _React_useContext; + return (_React_useContext = React10.useContext(ThemeClassNameContext)) !== null && _React_useContext !== void 0 ? _React_useContext : themeClassNameContextDefaultVaue; +} + +// node_modules/@fluentui/react-shared-contexts/lib/TooltipVisibilityContext/TooltipContext.js +var React11 = __toESM(require_react()); +var TooltipVisibilityContext = React11.createContext(void 0); +var tooltipVisibilityContextDefaultValue = {}; +var TooltipVisibilityProvider = TooltipVisibilityContext.Provider; +function useTooltipVisibility() { + var _React_useContext; + return (_React_useContext = React11.useContext(TooltipVisibilityContext)) !== null && _React_useContext !== void 0 ? _React_useContext : tooltipVisibilityContextDefaultValue; +} + +// node_modules/@fluentui/react-shared-contexts/lib/ProviderContext/ProviderContext.js +var React12 = __toESM(require_react()); +var ProviderContext = React12.createContext(void 0); +var providerContextDefaultValue = { + // eslint-disable-next-line @nx/workspace-no-restricted-globals -- expected ignore ( SSR friendly acquisition of globals ) + targetDocument: typeof document === "object" ? document : void 0, + dir: "ltr" +}; +var Provider = ProviderContext.Provider; +function useFluent() { + var _React_useContext; + return (_React_useContext = React12.useContext(ProviderContext)) !== null && _React_useContext !== void 0 ? _React_useContext : providerContextDefaultValue; +} + +// node_modules/@fluentui/react-shared-contexts/lib/OverridesContext/OverridesContext.js +var React13 = __toESM(require_react()); +var OverridesContext = React13.createContext(void 0); +var OverridesProvider = OverridesContext.Provider; +function useOverrides() { + var _React_useContext; + return (_React_useContext = React13.useContext(OverridesContext)) !== null && _React_useContext !== void 0 ? _React_useContext : {}; +} + +// node_modules/@fluentui/react-shared-contexts/lib/CustomStyleHooksContext/CustomStyleHooksContext.js +var React14 = __toESM(require_react()); +var CustomStyleHooksContext = React14.createContext(void 0); +var noop = () => { +}; +var CustomStyleHooksProvider = CustomStyleHooksContext.Provider; +var useCustomStyleHook = (hook) => { + var _React_useContext; + var _React_useContext_hook; + return (_React_useContext_hook = (_React_useContext = React14.useContext(CustomStyleHooksContext)) === null || _React_useContext === void 0 ? void 0 : _React_useContext[hook]) !== null && _React_useContext_hook !== void 0 ? _React_useContext_hook : noop; +}; + +// node_modules/@fluentui/react-shared-contexts/lib/BackgroundAppearanceContext/BackgroundAppearanceContext.js +var React15 = __toESM(require_react()); +var BackgroundAppearanceContext = React15.createContext(void 0); +var BackgroundAppearanceProvider = BackgroundAppearanceContext.Provider; +function useBackgroundAppearance() { + return React15.useContext(BackgroundAppearanceContext); +} + +// node_modules/@fluentui/react-shared-contexts/lib/PortalMountNodeContext.js +var React16 = __toESM(require_react()); +var PortalMountNodeContext = React16.createContext(void 0); +var PortalMountNodeProvider = PortalMountNodeContext.Provider; +function usePortalMountNode() { + return React16.useContext(PortalMountNodeContext); +} + +// node_modules/@fluentui/react-shared-contexts/lib/AnnounceContext/AnnounceContext.js +var React17 = __toESM(require_react()); +var AnnounceContext = React17.createContext(void 0); +var AnnounceProvider = AnnounceContext.Provider; +function useAnnounce() { + var _React_useContext; + return (_React_useContext = React17.useContext(AnnounceContext)) !== null && _React_useContext !== void 0 ? _React_useContext : { + announce: () => void 0 + }; +} + +// node_modules/@fluentui/react-utilities/lib/hooks/useAnimationFrame.js +var setAnimationFrameNoop = (callback) => { + callback(0); + return 0; +}; +var cancelAnimationFrameNoop = (handle) => handle; +function useAnimationFrame() { + const { targetDocument } = useFluent(); + const win = targetDocument === null || targetDocument === void 0 ? void 0 : targetDocument.defaultView; + const setAnimationFrame = win ? win.requestAnimationFrame : setAnimationFrameNoop; + const clearAnimationFrame = win ? win.cancelAnimationFrame : cancelAnimationFrameNoop; + return useBrowserTimer(setAnimationFrame, clearAnimationFrame); +} + +// node_modules/@fluentui/react-utilities/lib/hooks/useApplyScrollbarWidth.js +var React18 = __toESM(require_react()); + +// node_modules/@fluentui/react-utilities/lib/utils/measureScrollBarWidth.js +function measureScrollbarWidth(targetDocument) { + const outer = targetDocument.createElement("div"); + outer.style.visibility = "hidden"; + outer.style.overflow = "scroll"; + const inner = targetDocument.createElement("div"); + outer.appendChild(inner); + targetDocument.body.appendChild(outer); + const scrollbarWidth = outer.offsetWidth - inner.offsetWidth; + outer.remove(); + return scrollbarWidth; +} + +// node_modules/@fluentui/react-utilities/lib/hooks/useApplyScrollbarWidth.js +var cache = /* @__PURE__ */ new WeakMap(); +function useApplyScrollbarWidth(options = {}) { + const { force, property = "width" } = options; + const applyScrollbarWidth = React18.useCallback((element) => { + if (!element) { + return; + } + if (!force && cache.has(element.ownerDocument)) { + const cachedWidth = cache.get(element.ownerDocument); + if (cachedWidth !== void 0) { + element.style.setProperty(property, `${cachedWidth}px`); + return; + } + } + const scrollbarWidth = measureScrollbarWidth(element.ownerDocument); + cache.set(element.ownerDocument, scrollbarWidth); + element.style.setProperty(property, `${scrollbarWidth}px`); + }, [ + force, + property + ]); + return applyScrollbarWidth; +} + +// node_modules/@fluentui/react-utilities/lib/hooks/useControllableState.js +var React19 = __toESM(require_react()); +function isFactoryDispatch(newState) { + return typeof newState === "function"; +} +var useControllableState = (options) => { + "use no memo"; + if (true) { + if (options.state !== void 0 && options.defaultState !== void 0) { + console.error(`@fluentui/react-utilities [useControllableState]: +A component must be either controlled or uncontrolled (specify either the state or the defaultState, but not both). +Decide between using a controlled or uncontrolled component and remove one of this props. +More info: https://reactjs.org/link/controlled-components +${new Error().stack}`); + } + } + const [internalState, setInternalState] = React19.useState(() => { + if (options.defaultState === void 0) { + return options.initialState; + } + return isInitializer(options.defaultState) ? options.defaultState() : options.defaultState; + }); + const stateValueRef = React19.useRef(options.state); + React19.useEffect(() => { + stateValueRef.current = options.state; + }, [ + options.state + ]); + const setControlledState = React19.useCallback((newState) => { + if (isFactoryDispatch(newState)) { + newState(stateValueRef.current); + } + }, []); + return useIsControlled(options.state) ? [ + options.state, + setControlledState + ] : [ + internalState, + setInternalState + ]; +}; +function isInitializer(value) { + return typeof value === "function"; +} +var useIsControlled = (controlledValue) => { + "use no memo"; + const [isControlled] = React19.useState(() => controlledValue !== void 0); + if (true) { + React19.useEffect(() => { + if (isControlled !== (controlledValue !== void 0)) { + const error = new Error(); + const controlWarning = isControlled ? "a controlled value to be uncontrolled" : "an uncontrolled value to be controlled"; + const undefinedWarning = isControlled ? "defined to an undefined" : "undefined to a defined"; + console.error(`@fluentui/react-utilities [useControllableState]: +A component is changing ${controlWarning}. This is likely caused by the value changing from ${undefinedWarning} value, which should not happen. +Decide between using a controlled or uncontrolled input element for the lifetime of the component. +More info: https://reactjs.org/link/controlled-components +${error.stack}`); + } + }, [ + isControlled, + controlledValue + ]); + } + return isControlled; +}; + +// node_modules/@fluentui/react-utilities/lib/hooks/useEventCallback.js +var React22 = __toESM(require_react()); + +// node_modules/@fluentui/react-utilities/lib/hooks/useIsomorphicLayoutEffect.js +var React21 = __toESM(require_react()); + +// node_modules/@fluentui/react-utilities/lib/ssr/canUseDOM.js +function canUseDOM() { + return ( + /* eslint-disable @nx/workspace-no-restricted-globals -- expected ignore ( SSR friendly acquisition of globals )*/ + typeof window !== "undefined" && !!(window.document && // eslint-disable-next-line @typescript-eslint/no-deprecated + window.document.createElement) + ); +} + +// node_modules/@fluentui/react-utilities/lib/ssr/SSRContext.js +var React20 = __toESM(require_react()); +var defaultSSRContextValue = { + current: 0 +}; +var SSRContext = React20.createContext(void 0); +function useSSRContext() { + var _React_useContext; + return (_React_useContext = React20.useContext(SSRContext)) !== null && _React_useContext !== void 0 ? _React_useContext : defaultSSRContextValue; +} +var SSRProvider = (props) => { + const [value] = React20.useState(() => ({ + current: 0 + })); + return React20.createElement(SSRContext.Provider, { + value + }, props.children); +}; +function useIsSSR() { + const isInSSRContext = useSSRContext() !== defaultSSRContextValue; + const [isSSR, setIsSSR] = React20.useState(isInSSRContext); + if (true) { + if (!isInSSRContext && !canUseDOM()) { + console.error(`@fluentui/react-components [${useIsSSR.name}]: +When server rendering, you must wrap your application in an to ensure consistent ids are generated between the client and server. + + +Check documentation at https://aka.ms/fluentui-ssr.`); + } + } + if (canUseDOM() && isInSSRContext) { + React20.useLayoutEffect(() => { + setIsSSR(false); + }, []); + } + return isSSR; +} + +// node_modules/@fluentui/react-utilities/lib/hooks/useIsomorphicLayoutEffect.js +var useIsomorphicLayoutEffect = canUseDOM() ? React21.useLayoutEffect : React21.useEffect; + +// node_modules/@fluentui/react-utilities/lib/hooks/useEventCallback.js +var useEventCallback = (fn) => { + const callbackRef = React22.useRef(() => { + throw new Error("Cannot call an event handler while rendering"); + }); + useIsomorphicLayoutEffect(() => { + callbackRef.current = fn; + }, [ + fn + ]); + return React22.useCallback((...args) => { + const callback = callbackRef.current; + return callback(...args); + }, [ + callbackRef + ]); +}; + +// node_modules/@fluentui/react-utilities/lib/hooks/useFirstMount.js +var React23 = __toESM(require_react()); +function useFirstMount() { + const isFirst = React23.useRef(true); + React23.useEffect(() => { + if (isFirst.current) { + isFirst.current = false; + } + }, []); + return isFirst.current; +} + +// node_modules/@fluentui/react-utilities/lib/hooks/useForceUpdate.js +var React24 = __toESM(require_react()); +function useForceUpdate() { + return React24.useReducer((x) => x + 1, 0)[1]; +} + +// node_modules/@fluentui/react-utilities/lib/hooks/useId.js +var React25 = __toESM(require_react()); +var IdPrefixContext = React25.createContext(void 0); +var IdPrefixProvider = IdPrefixContext.Provider; +function useIdPrefix() { + return React25.useContext(IdPrefixContext) || ""; +} +function resetIdsForTests() { + defaultSSRContextValue.current = 0; +} +function useId2(prefix = "fui-", providedId) { + "use no memo"; + const contextValue = useSSRContext(); + const idPrefix = useIdPrefix(); + const _useId = React25["useId"]; + if (_useId) { + const generatedId = _useId(); + const escapedId = React25.useMemo(() => generatedId.replace(/:/g, ""), [ + generatedId + ]); + return providedId || `${idPrefix}${prefix}${escapedId}`; + } + return React25.useMemo(() => { + if (providedId) { + return providedId; + } + return `${idPrefix}${prefix}${++contextValue.current}`; + }, [ + idPrefix, + prefix, + providedId, + contextValue + ]); +} + +// node_modules/@fluentui/react-utilities/lib/hooks/useMergedRefs.js +var React26 = __toESM(require_react()); +function useMergedRefs(...refs) { + "use no memo"; + const mergedCallback = React26.useCallback( + (value) => { + mergedCallback.current = value; + for (const ref of refs) { + if (typeof ref === "string" && true) { + console.error(`@fluentui/react-utilities [useMergedRefs]: +This hook does not support the usage of string refs. Please use React.useRef instead. + +For more info on 'React.useRef', see https://react.dev/reference/react/useRef. +For more info on string refs, see https://react.dev/blog/2024/04/25/react-19-upgrade-guide#removed-string-refs.`); + } + if (typeof ref === "function") { + ref(value); + } else if (ref) { + ref.current = value; + } + } + }, + // eslint-disable-next-line react-hooks/exhaustive-deps -- already exhaustive + [ + ...refs + ] + ); + return mergedCallback; +} + +// node_modules/@fluentui/react-utilities/lib/hooks/useOnClickOutside.js +var React27 = __toESM(require_react()); +var DEFAULT_CONTAINS = (parent2, child) => !!(parent2 === null || parent2 === void 0 ? void 0 : parent2.contains(child)); +var useOnClickOutside = (options) => { + const { targetDocument } = useFluent(); + const win = targetDocument === null || targetDocument === void 0 ? void 0 : targetDocument.defaultView; + const { refs, callback, element, disabled, disabledFocusOnIframe, contains = DEFAULT_CONTAINS } = options; + const timeoutId = React27.useRef(void 0); + useIFrameFocus({ + element, + disabled: disabledFocusOnIframe || disabled, + callback, + refs, + contains + }); + const isMouseDownInsideRef = React27.useRef(false); + const listener = useEventCallback((ev) => { + if (isMouseDownInsideRef.current) { + isMouseDownInsideRef.current = false; + return; + } + const target = ev.composedPath()[0]; + const isOutside = refs.every((ref) => !contains(ref.current || null, target)); + if (isOutside && !disabled) { + callback(ev); + } + }); + const handleMouseDown = useEventCallback((ev) => { + isMouseDownInsideRef.current = refs.some((ref) => contains(ref.current || null, ev.target)); + }); + React27.useEffect(() => { + if (disabled) { + return; + } + let currentEvent = getWindowEvent(win); + const conditionalHandler = (event) => { + if (event === currentEvent) { + currentEvent = void 0; + return; + } + listener(event); + }; + element === null || element === void 0 ? void 0 : element.addEventListener("click", conditionalHandler, true); + element === null || element === void 0 ? void 0 : element.addEventListener("touchstart", conditionalHandler, true); + element === null || element === void 0 ? void 0 : element.addEventListener("contextmenu", conditionalHandler, true); + element === null || element === void 0 ? void 0 : element.addEventListener("mousedown", handleMouseDown, true); + timeoutId.current = win === null || win === void 0 ? void 0 : win.setTimeout(() => { + currentEvent = void 0; + }, 1); + return () => { + element === null || element === void 0 ? void 0 : element.removeEventListener("click", conditionalHandler, true); + element === null || element === void 0 ? void 0 : element.removeEventListener("touchstart", conditionalHandler, true); + element === null || element === void 0 ? void 0 : element.removeEventListener("contextmenu", conditionalHandler, true); + element === null || element === void 0 ? void 0 : element.removeEventListener("mousedown", handleMouseDown, true); + win === null || win === void 0 ? void 0 : win.clearTimeout(timeoutId.current); + currentEvent = void 0; + }; + }, [ + listener, + element, + disabled, + handleMouseDown, + win + ]); +}; +var getWindowEvent = (target) => { + if (target) { + var _target_ownerDocument_defaultView, _target_ownerDocument; + if (typeof target.window === "object" && target.window === target) { + return target.event; + } + var _target_ownerDocument_defaultView_event; + return (_target_ownerDocument_defaultView_event = (_target_ownerDocument = target.ownerDocument) === null || _target_ownerDocument === void 0 ? void 0 : (_target_ownerDocument_defaultView = _target_ownerDocument.defaultView) === null || _target_ownerDocument_defaultView === void 0 ? void 0 : _target_ownerDocument_defaultView.event) !== null && _target_ownerDocument_defaultView_event !== void 0 ? _target_ownerDocument_defaultView_event : void 0; + } + return void 0; +}; +var FUI_FRAME_EVENT = "fuiframefocus"; +var useIFrameFocus = (options) => { + const { disabled, element: targetDocument, callback, contains = DEFAULT_CONTAINS, pollDuration = 100, refs } = options; + const timeoutRef = React27.useRef(void 0); + const listener = useEventCallback((e) => { + const isOutside = refs.every((ref) => !contains(ref.current || null, e.target)); + if (isOutside && !disabled) { + callback(e); + } + }); + React27.useEffect(() => { + if (disabled) { + return; + } + targetDocument === null || targetDocument === void 0 ? void 0 : targetDocument.addEventListener(FUI_FRAME_EVENT, listener, true); + return () => { + targetDocument === null || targetDocument === void 0 ? void 0 : targetDocument.removeEventListener(FUI_FRAME_EVENT, listener, true); + }; + }, [ + targetDocument, + disabled, + listener + ]); + React27.useEffect(() => { + var _targetDocument_defaultView; + if (disabled) { + return; + } + timeoutRef.current = targetDocument === null || targetDocument === void 0 ? void 0 : (_targetDocument_defaultView = targetDocument.defaultView) === null || _targetDocument_defaultView === void 0 ? void 0 : _targetDocument_defaultView.setInterval(() => { + const activeElement = targetDocument === null || targetDocument === void 0 ? void 0 : targetDocument.activeElement; + if ((activeElement === null || activeElement === void 0 ? void 0 : activeElement.tagName) === "IFRAME" || (activeElement === null || activeElement === void 0 ? void 0 : activeElement.tagName) === "WEBVIEW") { + const event = new CustomEvent(FUI_FRAME_EVENT, { + bubbles: true + }); + activeElement.dispatchEvent(event); + } + }, pollDuration); + return () => { + var _targetDocument_defaultView2; + targetDocument === null || targetDocument === void 0 ? void 0 : (_targetDocument_defaultView2 = targetDocument.defaultView) === null || _targetDocument_defaultView2 === void 0 ? void 0 : _targetDocument_defaultView2.clearInterval(timeoutRef.current); + }; + }, [ + targetDocument, + disabled, + pollDuration + ]); +}; + +// node_modules/@fluentui/react-utilities/lib/hooks/useOnScrollOutside.js +var React28 = __toESM(require_react()); +var useOnScrollOutside = (options) => { + const { refs, callback, element, disabled, contains: containsProp } = options; + const listener = useEventCallback((ev) => { + const contains = containsProp || ((parent2, child) => !!(parent2 === null || parent2 === void 0 ? void 0 : parent2.contains(child))); + const target = ev.composedPath()[0]; + const isOutside = refs.every((ref) => !contains(ref.current || null, target)); + if (isOutside && !disabled) { + callback(ev); + } + }); + React28.useEffect(() => { + if (disabled) { + return; + } + element === null || element === void 0 ? void 0 : element.addEventListener("wheel", listener); + element === null || element === void 0 ? void 0 : element.addEventListener("touchmove", listener); + return () => { + element === null || element === void 0 ? void 0 : element.removeEventListener("wheel", listener); + element === null || element === void 0 ? void 0 : element.removeEventListener("touchmove", listener); + }; + }, [ + listener, + element, + disabled + ]); +}; + +// node_modules/@fluentui/react-utilities/lib/hooks/usePrevious.js +var React29 = __toESM(require_react()); +var usePrevious = (value) => { + const ref = React29.useRef(null); + React29.useEffect(() => { + ref.current = value; + }, [ + value + ]); + return ref.current; +}; + +// node_modules/@fluentui/react-utilities/lib/hooks/useScrollbarWidth.js +var React30 = __toESM(require_react()); +var cache2 = /* @__PURE__ */ new WeakMap(); +function useScrollbarWidth(options) { + const { targetDocument, force } = options; + return React30.useMemo(() => { + if (!targetDocument) { + return 0; + } + if (!force && cache2.has(targetDocument)) { + return cache2.get(targetDocument); + } + const scrollbarWidth = measureScrollbarWidth(targetDocument); + cache2.set(targetDocument, scrollbarWidth); + return scrollbarWidth; + }, [ + targetDocument, + force + ]); +} + +// node_modules/@fluentui/react-utilities/lib/hooks/useTimeout.js +var setTimeoutNoop = (_callback) => -1; +var clearTimeoutNoop = (_handle) => void 0; +function useTimeout() { + const { targetDocument } = useFluent(); + const win = targetDocument === null || targetDocument === void 0 ? void 0 : targetDocument.defaultView; + const setTimerFn = win ? win.setTimeout : setTimeoutNoop; + const clearTimerFn = win ? win.clearTimeout : clearTimeoutNoop; + return useBrowserTimer(setTimerFn, clearTimerFn); +} + +// node_modules/@fluentui/react-utilities/lib/utils/clamp.js +var clamp = (value, min2, max2) => Math.max(min2, Math.min(max2, value || 0)); + +// node_modules/@fluentui/react-utilities/lib/utils/getReactElementRef.js +var React31 = __toESM(require_react()); +var IS_REACT_19_OR_HIGHER = parseInt(React31.version, 10) >= 19; +function getReactElementRef(element) { + if (!element) { + return void 0; + } + if (IS_REACT_19_OR_HIGHER) { + return element.props.ref; + } + return element.ref; +} + +// node_modules/@fluentui/react-utilities/lib/utils/getRTLSafeKey.js +var getRTLSafeKey = (key, dir) => { + if (dir === "rtl") { + switch (key) { + case "ArrowLeft": { + return "ArrowRight"; + } + case "ArrowRight": { + return "ArrowLeft"; + } + } + } + return key; +}; + +// node_modules/@fluentui/react-utilities/lib/utils/mergeCallbacks.js +function mergeCallbacks(callback1, callback2) { + return (...args) => { + callback1 === null || callback1 === void 0 ? void 0 : callback1(...args); + callback2 === null || callback2 === void 0 ? void 0 : callback2(...args); + }; +} + +// node_modules/@fluentui/react-utilities/lib/utils/isHTMLElement.js +function isHTMLElement(element, options) { + var _typedElement_ownerDocument; + const typedElement = element; + var _options_constructorName; + return Boolean((typedElement === null || typedElement === void 0 ? void 0 : (_typedElement_ownerDocument = typedElement.ownerDocument) === null || _typedElement_ownerDocument === void 0 ? void 0 : _typedElement_ownerDocument.defaultView) && typedElement instanceof typedElement.ownerDocument.defaultView[(_options_constructorName = options === null || options === void 0 ? void 0 : options.constructorName) !== null && _options_constructorName !== void 0 ? _options_constructorName : "HTMLElement"]); +} + +// node_modules/@fluentui/react-utilities/lib/utils/isInteractiveHTMLElement.js +function isInteractiveHTMLElement(element) { + if (!isHTMLElement(element)) { + return false; + } + const { tagName } = element; + switch (tagName) { + case "BUTTON": + case "A": + case "INPUT": + case "TEXTAREA": + return true; + } + return element.isContentEditable; +} + +// node_modules/@fluentui/react-utilities/lib/utils/priorityQueue.js +function createPriorityQueue(compare) { + const arr = []; + let size3 = 0; + const swap = (a, b) => { + const tmp = arr[a]; + arr[a] = arr[b]; + arr[b] = tmp; + }; + const heapify = (i) => { + let smallest = i; + const l = left(i); + const r = right(i); + if (l < size3 && compare(arr[l], arr[smallest]) < 0) { + smallest = l; + } + if (r < size3 && compare(arr[r], arr[smallest]) < 0) { + smallest = r; + } + if (smallest !== i) { + swap(smallest, i); + heapify(smallest); + } + }; + const dequeue = () => { + if (size3 === 0) { + throw new Error("Priority queue empty"); + } + const res = arr[0]; + arr[0] = arr[--size3]; + heapify(0); + return res; + }; + const peek = () => { + if (size3 === 0) { + return null; + } + return arr[0]; + }; + const enqueue = (item) => { + arr[size3++] = item; + let i = size3 - 1; + let p = parent(i); + while (i > 0 && compare(arr[p], arr[i]) > 0) { + swap(p, i); + i = p; + p = parent(i); + } + }; + const contains = (item) => { + const index = arr.indexOf(item); + return index >= 0 && index < size3; + }; + const remove = (item) => { + const i = arr.indexOf(item); + if (i === -1 || i >= size3) { + return; + } + arr[i] = arr[--size3]; + heapify(i); + }; + const clear = () => { + size3 = 0; + }; + const all = () => { + return arr.slice(0, size3); + }; + return { + all, + clear, + contains, + dequeue, + enqueue, + peek, + remove, + size: () => size3 + }; +} +var left = (i) => { + return 2 * i + 1; +}; +var right = (i) => { + return 2 * i + 2; +}; +var parent = (i) => { + return Math.floor((i - 1) / 2); +}; + +// node_modules/@fluentui/react-utilities/lib/trigger/applyTriggerPropsToChildren.js +var React33 = __toESM(require_react()); + +// node_modules/@fluentui/react-utilities/lib/trigger/isFluentTrigger.js +var React32 = __toESM(require_react()); +function isFluentTrigger(element) { + return Boolean(element.type.isFluentTriggerComponent); +} + +// node_modules/@fluentui/react-utilities/lib/trigger/applyTriggerPropsToChildren.js +function applyTriggerPropsToChildren(children, triggerChildProps) { + if (typeof children === "function") { + return children(triggerChildProps); + } else if (children) { + return cloneTriggerTree(children, triggerChildProps); + } + return children || null; +} +function cloneTriggerTree(child, triggerProps) { + if (!React33.isValidElement(child) || child.type === React33.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 (isFluentTrigger(child)) { + const grandchild = cloneTriggerTree(child.props.children, triggerProps); + return React33.cloneElement(child, void 0, grandchild); + } else { + return React33.cloneElement(child, triggerProps); + } +} + +// node_modules/@fluentui/react-utilities/lib/trigger/getTriggerChild.js +var React34 = __toESM(require_react()); +function getTriggerChild(children) { + if (!React34.isValidElement(children)) { + return null; + } + return isFluentTrigger(children) ? getTriggerChild( + // FIXME: This casting should be unnecessary as isFluentTrigger is a guard type method, + // but for some reason it's failing on build + children.props.children + ) : children; +} + +// node_modules/@fluentui/react-utilities/lib/events/mouseTouchHelpers.js +var React35 = __toESM(require_react()); +function isTouchEvent(event) { + return event.type.startsWith("touch"); +} +function isMouseEvent(event) { + return event.type.startsWith("mouse") || [ + "click", + "contextmenu", + "dblclick" + ].indexOf(event.type) > -1; +} +function getEventClientCoords(event) { + if (isMouseEvent(event)) { + return { + clientX: event.clientX, + clientY: event.clientY + }; + } else if (isTouchEvent(event)) { + return { + clientX: event.touches[0].clientX, + clientY: event.touches[0].clientY + }; + } else { + if (true) { + throw new Error("@fluentui/react-utilities]: Unable to get clientX. Unknown event type."); + } + return { + clientX: 0, + clientY: 0 + }; + } +} + +// node_modules/@fluentui/react-utilities/lib/selection/useSelection.js +var React36 = __toESM(require_react()); + +// node_modules/@fluentui/react-utilities/lib/utils/createSetFromIterable.js +function createSetFromIterable(iterable) { + return iterable instanceof Set ? iterable : new Set(iterable); +} + +// node_modules/@fluentui/react-utilities/lib/selection/useSelection.js +function useSelectionState(params) { + const [selected, setSelected] = useControllableState({ + initialState: /* @__PURE__ */ new Set(), + defaultState: React36.useMemo(() => params.defaultSelectedItems && createSetFromIterable(params.defaultSelectedItems), [ + params.defaultSelectedItems + ]), + state: React36.useMemo(() => params.selectedItems && createSetFromIterable(params.selectedItems), [ + params.selectedItems + ]) + }); + const changeSelection = (event, nextSelectedItems) => { + var _params_onSelectionChange; + (_params_onSelectionChange = params.onSelectionChange) === null || _params_onSelectionChange === void 0 ? void 0 : _params_onSelectionChange.call(params, event, { + selectedItems: nextSelectedItems + }); + setSelected(nextSelectedItems); + }; + return [ + selected, + changeSelection + ]; +} +function useSingleSelection(params) { + const [selected, changeSelection] = useSelectionState(params); + const methods = { + deselectItem: (event) => changeSelection(event, /* @__PURE__ */ new Set()), + selectItem: (event, itemId) => changeSelection(event, /* @__PURE__ */ new Set([ + itemId + ])), + toggleAllItems: () => { + if (true) { + throw new Error("[react-utilities]: `toggleAllItems` should not be used in single selection mode"); + } + }, + toggleItem: (event, itemId) => changeSelection(event, /* @__PURE__ */ new Set([ + itemId + ])), + clearItems: (event) => changeSelection(event, /* @__PURE__ */ new Set()), + isSelected: (itemId) => { + var _selected_has; + return (_selected_has = selected.has(itemId)) !== null && _selected_has !== void 0 ? _selected_has : false; + } + }; + return [ + selected, + methods + ]; +} +function useMultipleSelection(params) { + const [selected, changeSelection] = useSelectionState(params); + const methods = { + toggleItem: (event, itemId) => { + const nextSelectedItems = new Set(selected); + if (selected.has(itemId)) { + nextSelectedItems.delete(itemId); + } else { + nextSelectedItems.add(itemId); + } + changeSelection(event, nextSelectedItems); + }, + selectItem: (event, itemId) => { + const nextSelectedItems = new Set(selected); + nextSelectedItems.add(itemId); + changeSelection(event, nextSelectedItems); + }, + deselectItem: (event, itemId) => { + const nextSelectedItems = new Set(selected); + nextSelectedItems.delete(itemId); + changeSelection(event, nextSelectedItems); + }, + clearItems: (event) => { + changeSelection(event, /* @__PURE__ */ new Set()); + }, + isSelected: (itemId) => selected.has(itemId), + toggleAllItems: (event, itemIds) => { + const allItemsSelected = itemIds.every((itemId) => selected.has(itemId)); + const nextSelectedItems = new Set(selected); + if (allItemsSelected) { + nextSelectedItems.clear(); + } else { + itemIds.forEach((itemId) => nextSelectedItems.add(itemId)); + } + changeSelection(event, nextSelectedItems); + } + }; + return [ + selected, + methods + ]; +} +function useSelection(params) { + "use no memo"; + if (params.selectionMode === "multiselect") { + return useMultipleSelection(params); + } + return useSingleSelection(params); +} + +// node_modules/@fluentui/react-utilities/lib/virtualParent/isVirtualElement.js +function isVirtualElement(element) { + return element && !!element._virtual; +} + +// node_modules/@fluentui/react-utilities/lib/virtualParent/getParent.js +function getVirtualParent(child) { + return isVirtualElement(child) ? child._virtual.parent || null : null; +} +function getParent(child, options = {}) { + if (!child) { + return null; + } + if (!options.skipVirtual) { + const virtualParent = getVirtualParent(child); + if (virtualParent) { + return virtualParent; + } + } + const parent2 = child.parentNode; + if (parent2 && parent2.nodeType === 11) { + return parent2.host; + } + return parent2; +} + +// node_modules/@fluentui/react-utilities/lib/virtualParent/elementContains.js +function elementContains(parent2, child) { + if (!parent2 || !child) { + return false; + } + if (parent2 === child) { + return true; + } else { + const set = /* @__PURE__ */ new WeakSet(); + while (child) { + const nextParent = getParent(child, { + skipVirtual: set.has(child) + }); + set.add(child); + if (nextParent === parent2) { + return true; + } + child = nextParent; + } + } + return false; +} + +// node_modules/@fluentui/react-utilities/lib/virtualParent/setVirtualParent.js +function setVirtualParent(child, parent2) { + if (!child) { + return; + } + Object.assign(child, { + _virtual: { + parent: parent2 + } + }); +} + +// node_modules/@fluentui/react-jsx-runtime/lib/jsx/createJSX.js +var React39 = __toESM(require_react()); + +// node_modules/@fluentui/react-jsx-runtime/lib/utils/createCompatSlotComponent.js +var React37 = __toESM(require_react()); +function createCompatSlotComponent(type, props) { + return { + ...props, + [SLOT_ELEMENT_TYPE_SYMBOL]: type + }; +} + +// node_modules/@fluentui/react-jsx-runtime/lib/utils/warnIfElementTypeIsInvalid.js +var React38 = __toESM(require_react()); +function warnIfElementTypeIsInvalid(type) { + if (typeof type === "object" && type !== null && // eslint-disable-next-line dot-notation + type["$$typeof"] === void 0) { + console.error(`@fluentui/react-jsx-runtime: +Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: ${type}. + +If this happened in a slot of Fluent UI component, you might be facing package resolution issues. +Please make sure you don't have multiple versions of "@fluentui/react-utilities" installed in your dependencies or sub-dependencies. +You can check this by searching up for matching entries in a lockfile produced by your package manager (yarn.lock, pnpm-lock.yaml or package-lock.json).`); + } +} + +// node_modules/@fluentui/react-jsx-runtime/lib/jsx/createJSX.js +function createJSX(runtime, slotRuntime) { + return function jsx2(type, overrideProps, key, source, self) { + if (isSlot(overrideProps)) { + return slotRuntime(createCompatSlotComponent(type, overrideProps), null, key, source, self); + } + if (isSlot(type)) { + return slotRuntime(type, overrideProps, key, source, self); + } + warnIfElementTypeIsInvalid(type); + return runtime(type, overrideProps, key, source, self); + }; +} + +// node_modules/@fluentui/react-jsx-runtime/lib/jsx/jsxSlot.js +var React40 = __toESM(require_react()); + +// node_modules/@fluentui/react-jsx-runtime/lib/utils/getMetadataFromSlotComponent.js +function getMetadataFromSlotComponent(type) { + const { as, [SLOT_CLASS_NAME_PROP_SYMBOL]: _classNameProp, [SLOT_ELEMENT_TYPE_SYMBOL]: baseElementType, [SLOT_RENDER_FUNCTION_SYMBOL]: renderFunction, ...propsWithoutMetadata } = type; + const props = propsWithoutMetadata; + const elementType = typeof baseElementType === "string" ? as !== null && as !== void 0 ? as : baseElementType : baseElementType; + if (typeof elementType !== "string" && as) { + props.as = as; + } + return { + elementType, + props, + renderFunction + }; +} + +// node_modules/@fluentui/react-jsx-runtime/lib/utils/Runtime.js +var ReactRuntime = __toESM(require_jsx_runtime()); +var Runtime = ReactRuntime; + +// node_modules/@fluentui/react-jsx-runtime/lib/jsx/jsxSlot.js +var jsxSlot = (type, overrideProps, key) => { + const { elementType, renderFunction, props: slotProps } = getMetadataFromSlotComponent(type); + const props = { + ...slotProps, + ...overrideProps + }; + if (renderFunction) { + return Runtime.jsx(React40.Fragment, { + children: renderFunction(elementType, props) + }, key); + } + return Runtime.jsx(elementType, props, key); +}; + +// node_modules/@fluentui/react-jsx-runtime/lib/jsx/jsxsSlot.js +var React41 = __toESM(require_react()); +var jsxsSlot = (type, overrideProps, key) => { + const { elementType, renderFunction, props: slotProps } = getMetadataFromSlotComponent(type); + const props = { + ...slotProps, + ...overrideProps + }; + if (renderFunction) { + return Runtime.jsx(React41.Fragment, { + children: renderFunction(elementType, { + ...props, + children: Runtime.jsxs(React41.Fragment, { + children: props.children + }, void 0) + }) + }, key); + } + return Runtime.jsxs(elementType, props, key); +}; + +// node_modules/@fluentui/react-jsx-runtime/lib/jsx-runtime.js +var import_react = __toESM(require_react()); +var jsx = createJSX(Runtime.jsx, jsxSlot); +var jsxs = createJSX(Runtime.jsxs, jsxsSlot); + +// node_modules/@fluentui/react-provider/lib/components/FluentProvider/renderFluentProvider.js +var renderFluentProvider_unstable = (state, contextValues) => { + assertSlots(state); + return jsx(Provider, { + value: contextValues.provider, + children: jsx(ThemeProvider, { + value: contextValues.theme, + children: jsx(ThemeClassNameProvider, { + value: contextValues.themeClassName, + children: jsx(CustomStyleHooksProvider, { + value: contextValues.customStyleHooks_unstable, + children: jsx(TooltipVisibilityProvider, { + value: contextValues.tooltip, + children: jsx(TextDirectionProvider, { + dir: contextValues.textDirection, + children: jsx(IconDirectionContextProvider, { + value: contextValues.iconDirection, + children: jsx(OverridesProvider, { + value: contextValues.overrides_unstable, + children: jsxs(state.root, { + children: [ + canUseDOM() ? null : jsx("style", { + // Using dangerous HTML because react can escape characters + // which can lead to invalid CSS. + // eslint-disable-next-line react/no-danger + dangerouslySetInnerHTML: { + __html: state.serverStyleProps.cssRule + }, + ...state.serverStyleProps.attributes + }), + state.root.children + ] + }) + }) + }) + }) + }) + }) + }) + }) + }); +}; + +// node_modules/keyborg/dist/esm/index.js +var _canUseWeakRef = typeof WeakRef !== "undefined"; +var WeakRefInstance = class { + constructor(instance) { + if (_canUseWeakRef && typeof instance === "object") { + this._weakRef = new WeakRef(instance); + } else { + this._instance = instance; + } + } + /** + * @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakRef/deref} + */ + deref() { + var _a, _b; + let instance; + if (this._weakRef) { + instance = (_a = this._weakRef) == null ? void 0 : _a.deref(); + if (!instance) { + delete this._weakRef; + } + } else { + instance = this._instance; + if ((_b = instance == null ? void 0 : instance.isDisposed) == null ? void 0 : _b.call(instance)) { + delete this._instance; + } + } + return instance; + } +}; +var KEYBORG_FOCUSIN = "keyborg:focusin"; +var KEYBORG_FOCUSOUT = "keyborg:focusout"; +function canOverrideNativeFocus(win) { + const HTMLElement2 = win.HTMLElement; + const origFocus = HTMLElement2.prototype.focus; + let isCustomFocusCalled = false; + HTMLElement2.prototype.focus = function focus() { + isCustomFocusCalled = true; + }; + const btn = win.document.createElement("button"); + btn.focus(); + HTMLElement2.prototype.focus = origFocus; + return isCustomFocusCalled; +} +var _canOverrideNativeFocus = false; +function nativeFocus(element) { + const focus = element.focus; + if (focus.__keyborgNativeFocus) { + focus.__keyborgNativeFocus.call(element); + } else { + element.focus(); + } +} +function setupFocusEvent(win) { + const kwin = win; + if (!_canOverrideNativeFocus) { + _canOverrideNativeFocus = canOverrideNativeFocus(kwin); + } + const origFocus = kwin.HTMLElement.prototype.focus; + if (origFocus.__keyborgNativeFocus) { + return; + } + kwin.HTMLElement.prototype.focus = focus; + const shadowTargets = /* @__PURE__ */ new Set(); + const focusOutHandler = (e) => { + const target = e.target; + if (!target) { + return; + } + const event = new CustomEvent(KEYBORG_FOCUSOUT, { + cancelable: true, + bubbles: true, + // Allows the event to bubble past an open shadow root + composed: true, + detail: { + originalEvent: e + } + }); + target.dispatchEvent(event); + }; + const focusInHandler = (e) => { + const target = e.target; + if (!target) { + return; + } + let node = e.composedPath()[0]; + const currentShadows = /* @__PURE__ */ new Set(); + while (node) { + if (node.nodeType === Node.DOCUMENT_FRAGMENT_NODE) { + currentShadows.add(node); + node = node.host; + } else { + node = node.parentNode; + } + } + for (const shadowRootWeakRef of shadowTargets) { + const shadowRoot = shadowRootWeakRef.deref(); + if (!shadowRoot || !currentShadows.has(shadowRoot)) { + shadowTargets.delete(shadowRootWeakRef); + if (shadowRoot) { + shadowRoot.removeEventListener("focusin", focusInHandler, true); + shadowRoot.removeEventListener("focusout", focusOutHandler, true); + } + } + } + onFocusIn(target, e.relatedTarget || void 0); + }; + const onFocusIn = (target, relatedTarget, originalEvent) => { + var _a; + const shadowRoot = target.shadowRoot; + if (shadowRoot) { + for (const shadowRootWeakRef of shadowTargets) { + if (shadowRootWeakRef.deref() === shadowRoot) { + return; + } + } + shadowRoot.addEventListener("focusin", focusInHandler, true); + shadowRoot.addEventListener("focusout", focusOutHandler, true); + shadowTargets.add(new WeakRefInstance(shadowRoot)); + return; + } + const details = { + relatedTarget, + originalEvent + }; + const event = new CustomEvent(KEYBORG_FOCUSIN, { + cancelable: true, + bubbles: true, + // Allows the event to bubble past an open shadow root + composed: true, + detail: details + }); + event.details = details; + if (_canOverrideNativeFocus || data.lastFocusedProgrammatically) { + details.isFocusedProgrammatically = target === ((_a = data.lastFocusedProgrammatically) == null ? void 0 : _a.deref()); + data.lastFocusedProgrammatically = void 0; + } + target.dispatchEvent(event); + }; + const data = kwin.__keyborgData = { + focusInHandler, + focusOutHandler, + shadowTargets + }; + kwin.document.addEventListener( + "focusin", + kwin.__keyborgData.focusInHandler, + true + ); + kwin.document.addEventListener( + "focusout", + kwin.__keyborgData.focusOutHandler, + true + ); + function focus() { + const keyborgNativeFocusEvent = kwin.__keyborgData; + if (keyborgNativeFocusEvent) { + keyborgNativeFocusEvent.lastFocusedProgrammatically = new WeakRefInstance( + this + ); + } + return origFocus.apply(this, arguments); + } + let activeElement = kwin.document.activeElement; + while (activeElement && activeElement.shadowRoot) { + onFocusIn(activeElement); + activeElement = activeElement.shadowRoot.activeElement; + } + focus.__keyborgNativeFocus = origFocus; +} +function disposeFocusEvent(win) { + const kwin = win; + const proto = kwin.HTMLElement.prototype; + const origFocus = proto.focus.__keyborgNativeFocus; + const keyborgNativeFocusEvent = kwin.__keyborgData; + if (keyborgNativeFocusEvent) { + kwin.document.removeEventListener( + "focusin", + keyborgNativeFocusEvent.focusInHandler, + true + ); + kwin.document.removeEventListener( + "focusout", + keyborgNativeFocusEvent.focusOutHandler, + true + ); + for (const shadowRootWeakRef of keyborgNativeFocusEvent.shadowTargets) { + const shadowRoot = shadowRootWeakRef.deref(); + if (shadowRoot) { + shadowRoot.removeEventListener( + "focusin", + keyborgNativeFocusEvent.focusInHandler, + true + ); + shadowRoot.removeEventListener( + "focusout", + keyborgNativeFocusEvent.focusOutHandler, + true + ); + } + } + keyborgNativeFocusEvent.shadowTargets.clear(); + delete kwin.__keyborgData; + } + if (origFocus) { + proto.focus = origFocus; + } +} +var _dismissTimeout = 500; +var _lastId = 0; +var KeyborgCore = class { + constructor(win, props) { + this._isNavigatingWithKeyboard_DO_NOT_USE = false; + this._onFocusIn = (e) => { + if (this._isMouseOrTouchUsedTimer) { + return; + } + if (this.isNavigatingWithKeyboard) { + return; + } + const details = e.detail; + if (!details.relatedTarget) { + return; + } + if (details.isFocusedProgrammatically || details.isFocusedProgrammatically === void 0) { + return; + } + this.isNavigatingWithKeyboard = true; + }; + this._onMouseDown = (e) => { + if (e.buttons === 0 || e.clientX === 0 && e.clientY === 0 && e.screenX === 0 && e.screenY === 0) { + return; + } + this._onMouseOrTouch(); + }; + this._onMouseOrTouch = () => { + const win2 = this._win; + if (win2) { + if (this._isMouseOrTouchUsedTimer) { + win2.clearTimeout(this._isMouseOrTouchUsedTimer); + } + this._isMouseOrTouchUsedTimer = win2.setTimeout(() => { + delete this._isMouseOrTouchUsedTimer; + }, 1e3); + } + this.isNavigatingWithKeyboard = false; + }; + this._onKeyDown = (e) => { + const isNavigatingWithKeyboard = this.isNavigatingWithKeyboard; + if (isNavigatingWithKeyboard) { + if (this._shouldDismissKeyboardNavigation(e)) { + this._scheduleDismiss(); + } + } else { + if (this._shouldTriggerKeyboardNavigation(e)) { + this.isNavigatingWithKeyboard = true; + } + } + }; + this.id = "c" + ++_lastId; + this._win = win; + const doc = win.document; + if (props) { + const triggerKeys = props.triggerKeys; + const dismissKeys = props.dismissKeys; + if (triggerKeys == null ? void 0 : triggerKeys.length) { + this._triggerKeys = new Set(triggerKeys); + } + if (dismissKeys == null ? void 0 : dismissKeys.length) { + this._dismissKeys = new Set(dismissKeys); + } + } + doc.addEventListener(KEYBORG_FOCUSIN, this._onFocusIn, true); + doc.addEventListener("mousedown", this._onMouseDown, true); + win.addEventListener("keydown", this._onKeyDown, true); + doc.addEventListener("touchstart", this._onMouseOrTouch, true); + doc.addEventListener("touchend", this._onMouseOrTouch, true); + doc.addEventListener("touchcancel", this._onMouseOrTouch, true); + setupFocusEvent(win); + } + get isNavigatingWithKeyboard() { + return this._isNavigatingWithKeyboard_DO_NOT_USE; + } + set isNavigatingWithKeyboard(val) { + if (this._isNavigatingWithKeyboard_DO_NOT_USE !== val) { + this._isNavigatingWithKeyboard_DO_NOT_USE = val; + this.update(); + } + } + dispose() { + const win = this._win; + if (win) { + if (this._isMouseOrTouchUsedTimer) { + win.clearTimeout(this._isMouseOrTouchUsedTimer); + this._isMouseOrTouchUsedTimer = void 0; + } + if (this._dismissTimer) { + win.clearTimeout(this._dismissTimer); + this._dismissTimer = void 0; + } + disposeFocusEvent(win); + const doc = win.document; + doc.removeEventListener(KEYBORG_FOCUSIN, this._onFocusIn, true); + doc.removeEventListener("mousedown", this._onMouseDown, true); + win.removeEventListener("keydown", this._onKeyDown, true); + doc.removeEventListener("touchstart", this._onMouseOrTouch, true); + doc.removeEventListener("touchend", this._onMouseOrTouch, true); + doc.removeEventListener("touchcancel", this._onMouseOrTouch, true); + delete this._win; + } + } + isDisposed() { + return !!this._win; + } + /** + * Updates all keyborg instances with the keyboard navigation state + */ + update() { + var _a, _b; + const keyborgs = (_b = (_a = this._win) == null ? void 0 : _a.__keyborg) == null ? void 0 : _b.refs; + if (keyborgs) { + for (const id of Object.keys(keyborgs)) { + Keyborg.update(keyborgs[id], this.isNavigatingWithKeyboard); + } + } + } + /** + * @returns whether the keyboard event should trigger keyboard navigation mode + */ + _shouldTriggerKeyboardNavigation(e) { + var _a; + if (e.key === "Tab") { + return true; + } + const activeElement = (_a = this._win) == null ? void 0 : _a.document.activeElement; + const isTriggerKey = !this._triggerKeys || this._triggerKeys.has(e.keyCode); + const isEditable = activeElement && (activeElement.tagName === "INPUT" || activeElement.tagName === "TEXTAREA" || activeElement.isContentEditable); + return isTriggerKey && !isEditable; + } + /** + * @returns whether the keyboard event should dismiss keyboard navigation mode + */ + _shouldDismissKeyboardNavigation(e) { + var _a; + return (_a = this._dismissKeys) == null ? void 0 : _a.has(e.keyCode); + } + _scheduleDismiss() { + const win = this._win; + if (win) { + if (this._dismissTimer) { + win.clearTimeout(this._dismissTimer); + this._dismissTimer = void 0; + } + const was = win.document.activeElement; + this._dismissTimer = win.setTimeout(() => { + this._dismissTimer = void 0; + const cur = win.document.activeElement; + if (was && cur && was === cur) { + this.isNavigatingWithKeyboard = false; + } + }, _dismissTimeout); + } + } +}; +var Keyborg = class _Keyborg { + constructor(win, props) { + this._cb = []; + this._id = "k" + ++_lastId; + this._win = win; + const current = win.__keyborg; + if (current) { + this._core = current.core; + current.refs[this._id] = this; + } else { + this._core = new KeyborgCore(win, props); + win.__keyborg = { + core: this._core, + refs: { [this._id]: this } + }; + } + } + static create(win, props) { + return new _Keyborg(win, props); + } + static dispose(instance) { + instance.dispose(); + } + /** + * Updates all subscribed callbacks with the keyboard navigation state + */ + static update(instance, isNavigatingWithKeyboard) { + instance._cb.forEach((callback) => callback(isNavigatingWithKeyboard)); + } + dispose() { + var _a; + const current = (_a = this._win) == null ? void 0 : _a.__keyborg; + if (current == null ? void 0 : current.refs[this._id]) { + delete current.refs[this._id]; + if (Object.keys(current.refs).length === 0) { + current.core.dispose(); + delete this._win.__keyborg; + } + } else if (true) { + console.error( + `Keyborg instance ${this._id} is being disposed incorrectly.` + ); + } + this._cb = []; + delete this._core; + delete this._win; + } + /** + * @returns Whether the user is navigating with keyboard + */ + isNavigatingWithKeyboard() { + var _a; + return !!((_a = this._core) == null ? void 0 : _a.isNavigatingWithKeyboard); + } + /** + * @param callback - Called when the keyboard navigation state changes + */ + subscribe(callback) { + this._cb.push(callback); + } + /** + * @param callback - Registered with subscribe + */ + unsubscribe(callback) { + const index = this._cb.indexOf(callback); + if (index >= 0) { + this._cb.splice(index, 1); + } + } + /** + * Manually set the keyboard navigtion state + */ + setVal(isNavigatingWithKeyboard) { + if (this._core) { + this._core.isNavigatingWithKeyboard = isNavigatingWithKeyboard; + } + } +}; +function createKeyborg(win, props) { + return Keyborg.create(win, props); +} +function disposeKeyborg(instance) { + Keyborg.dispose(instance); +} + +// node_modules/tabster/dist/tabster.esm.js +var TABSTER_ATTRIBUTE_NAME = "data-tabster"; +var TABSTER_DUMMY_INPUT_ATTRIBUTE_NAME = "data-tabster-dummy"; +var FOCUSABLE_SELECTOR = `:is(${["a[href]", "button", "input", "select", "textarea", "*[tabindex]", "*[contenteditable]", "details > summary", "audio[controls]", "video[controls]"].join(", ")}):not(:disabled)`; +var AsyncFocusSources = { + EscapeGroupper: 1, + Restorer: 2, + Deloser: 3 +}; +var ObservedElementAccessibilities = { + Any: 0, + Accessible: 1, + Focusable: 2 +}; +var ObservedElementRequestStatuses = { + Waiting: 0, + Succeeded: 1, + Canceled: 2, + TimedOut: 3 +}; +var ObservedElementFailureReasons = { + CanceledFocusChange: 1, + TimeoutElementNotInDOM: 2, + TimeoutElementNotAccessible: 3, + TimeoutElementNotFocusable: 4, + TimeoutElementNotReady: 5, + SupersededByNewRequest: 6, + FocusCallFailed: 7 +}; +var Visibilities = { + Invisible: 0, + PartiallyVisible: 1, + Visible: 2 +}; +var RestorerTypes = { + Source: 0, + Target: 1 +}; +var MoverDirections = { + Both: 0, + // Default, both left/up keys move to the previous, right/down move to the next. + Vertical: 1, + // Only up/down arrows move to the next/previous. + Horizontal: 2, + // Only left/right arrows move to the next/previous. + Grid: 3, + // Two-dimentional movement depending on the visual placement. + GridLinear: 4 + // Two-dimentional movement depending on the visual placement. Allows linear movement. +}; +var MoverKeys = { + ArrowUp: 1, + ArrowDown: 2, + ArrowLeft: 3, + ArrowRight: 4, + PageUp: 5, + PageDown: 6, + Home: 7, + End: 8 +}; +var GroupperTabbabilities = { + Unlimited: 0, + Limited: 1, + // The tabbability is limited to the container and explicit Enter is needed to go inside. + LimitedTrapFocus: 2 + // The focus is limited as above, plus trapped when inside. +}; +var GroupperMoveFocusActions = { + Enter: 1, + Escape: 2 +}; +var SysDummyInputsPositions = { + Auto: 0, + // Tabster will place dummy inputs depending on the container tag name and on the default behaviour. + Inside: 1, + // Tabster will always place dummy inputs inside the container. + Outside: 2 + // Tabster will always place dummy inputs outside of the container. +}; +function getTabsterOnElement(tabster, element) { + var _a; + return (_a = tabster.storageEntry(element)) === null || _a === void 0 ? void 0 : _a.tabster; +} +function updateTabsterByAttribute(tabster, element, dispose) { + var _a, _b, _c; + const newAttrValue = dispose || tabster._noop ? void 0 : element.getAttribute(TABSTER_ATTRIBUTE_NAME); + let entry = tabster.storageEntry(element); + let newAttr; + if (newAttrValue) { + if (newAttrValue !== ((_a = entry === null || entry === void 0 ? void 0 : entry.attr) === null || _a === void 0 ? void 0 : _a.string)) { + try { + const newValue = JSON.parse(newAttrValue); + if (typeof newValue !== "object") { + throw new Error(`Value is not a JSON object, got '${newAttrValue}'.`); + } + newAttr = { + string: newAttrValue, + object: newValue + }; + } catch (e) { + if (true) { + console.error(`data-tabster attribute error: ${e}`, element); + } + } + } else { + return; + } + } else if (!entry) { + return; + } + if (!entry) { + entry = tabster.storageEntry(element, true); + } + if (!entry.tabster) { + entry.tabster = {}; + } + const tabsterOnElement = entry.tabster || {}; + const oldTabsterProps = ((_b = entry.attr) === null || _b === void 0 ? void 0 : _b.object) || {}; + const newTabsterProps = (newAttr === null || newAttr === void 0 ? void 0 : newAttr.object) || {}; + for (const key of Object.keys(oldTabsterProps)) { + if (!newTabsterProps[key]) { + if (key === "root") { + const root = tabsterOnElement[key]; + if (root) { + tabster.root.onRoot(root, true); + } + } + switch (key) { + case "deloser": + case "root": + case "groupper": + case "modalizer": + case "restorer": + case "mover": + const part = tabsterOnElement[key]; + if (part) { + part.dispose(); + delete tabsterOnElement[key]; + } + break; + case "observed": + delete tabsterOnElement[key]; + if (tabster.observedElement) { + tabster.observedElement.onObservedElementUpdate(element); + } + break; + case "focusable": + case "outline": + case "uncontrolled": + case "sys": + delete tabsterOnElement[key]; + break; + } + } + } + for (const key of Object.keys(newTabsterProps)) { + const sys = newTabsterProps.sys; + switch (key) { + case "deloser": + if (tabsterOnElement.deloser) { + tabsterOnElement.deloser.setProps(newTabsterProps.deloser); + } else { + if (tabster.deloser) { + tabsterOnElement.deloser = tabster.deloser.createDeloser(element, newTabsterProps.deloser); + } else if (true) { + console.error("Deloser API used before initialization, please call `getDeloser()`"); + } + } + break; + case "root": + if (tabsterOnElement.root) { + tabsterOnElement.root.setProps(newTabsterProps.root); + } else { + tabsterOnElement.root = tabster.root.createRoot(element, newTabsterProps.root, sys); + } + tabster.root.onRoot(tabsterOnElement.root); + break; + case "modalizer": + { + let newModalizerProps; + const modalizerAPI = tabster.modalizer; + if (tabsterOnElement.modalizer) { + const props = newTabsterProps.modalizer; + const newModalizerId = props.id; + if (newModalizerId && ((_c = oldTabsterProps === null || oldTabsterProps === void 0 ? void 0 : oldTabsterProps.modalizer) === null || _c === void 0 ? void 0 : _c.id) !== newModalizerId) { + tabsterOnElement.modalizer.dispose(); + newModalizerProps = props; + } else { + tabsterOnElement.modalizer.setProps(props); + } + } else { + if (modalizerAPI) { + newModalizerProps = newTabsterProps.modalizer; + } else if (true) { + console.error("Modalizer API used before initialization, please call `getModalizer()`"); + } + } + if (modalizerAPI && newModalizerProps) { + tabsterOnElement.modalizer = modalizerAPI.createModalizer(element, newModalizerProps, sys); + } + } + break; + case "restorer": + if (tabsterOnElement.restorer) { + tabsterOnElement.restorer.setProps(newTabsterProps.restorer); + } else { + if (tabster.restorer) { + if (newTabsterProps.restorer) { + tabsterOnElement.restorer = tabster.restorer.createRestorer(element, newTabsterProps.restorer); + } + } else if (true) { + console.error("Restorer API used before initialization, please call `getRestorer()`"); + } + } + break; + case "focusable": + tabsterOnElement.focusable = newTabsterProps.focusable; + break; + case "groupper": + if (tabsterOnElement.groupper) { + tabsterOnElement.groupper.setProps(newTabsterProps.groupper); + } else { + if (tabster.groupper) { + tabsterOnElement.groupper = tabster.groupper.createGroupper(element, newTabsterProps.groupper, sys); + } else if (true) { + console.error("Groupper API used before initialization, please call `getGroupper()`"); + } + } + break; + case "mover": + if (tabsterOnElement.mover) { + tabsterOnElement.mover.setProps(newTabsterProps.mover); + } else { + if (tabster.mover) { + tabsterOnElement.mover = tabster.mover.createMover(element, newTabsterProps.mover, sys); + } else if (true) { + console.error("Mover API used before initialization, please call `getMover()`"); + } + } + break; + case "observed": + if (tabster.observedElement) { + tabsterOnElement.observed = newTabsterProps.observed; + tabster.observedElement.onObservedElementUpdate(element); + } else if (true) { + console.error("ObservedElement API used before initialization, please call `getObservedElement()`"); + } + break; + case "uncontrolled": + tabsterOnElement.uncontrolled = newTabsterProps.uncontrolled; + break; + case "outline": + if (tabster.outline) { + tabsterOnElement.outline = newTabsterProps.outline; + } else if (true) { + console.error("Outline API used before initialization, please call `getOutline()`"); + } + break; + case "sys": + tabsterOnElement.sys = newTabsterProps.sys; + break; + default: + console.error(`Unknown key '${key}' in data-tabster attribute value.`); + } + } + if (newAttr) { + entry.attr = newAttr; + } else { + if (Object.keys(tabsterOnElement).length === 0) { + delete entry.tabster; + delete entry.attr; + } + tabster.storageEntry(element, false); + } +} +var TabsterFocusInEventName = "tabster:focusin"; +var TabsterFocusOutEventName = "tabster:focusout"; +var TabsterMoveFocusEventName = "tabster:movefocus"; +var ModalizerActiveEventName = "tabster:modalizer:active"; +var ModalizerInactiveEventName = "tabster:modalizer:inactive"; +var MoverStateEventName = "tabster:mover:state"; +var MoverMoveFocusEventName = "tabster:mover:movefocus"; +var MoverMemorizedElementEventName = "tabster:mover:memorized-element"; +var GroupperMoveFocusEventName = "tabster:groupper:movefocus"; +var RestorerRestoreFocusEventName = "tabster:restorer:restore-focus"; +var RootFocusEventName = "tabster:root:focus"; +var RootBlurEventName = "tabster:root:blur"; +var CustomEvent_ = typeof CustomEvent !== "undefined" ? CustomEvent : function() { +}; +var TabsterCustomEvent = class extends CustomEvent_ { + constructor(type, detail) { + super(type, { + bubbles: true, + cancelable: true, + composed: true, + detail + }); + this.details = detail; + } +}; +var TabsterFocusInEvent = class extends TabsterCustomEvent { + constructor(detail) { + super(TabsterFocusInEventName, detail); + } +}; +var TabsterFocusOutEvent = class extends TabsterCustomEvent { + constructor(detail) { + super(TabsterFocusOutEventName, detail); + } +}; +var TabsterMoveFocusEvent = class extends TabsterCustomEvent { + constructor(detail) { + super(TabsterMoveFocusEventName, detail); + } +}; +var MoverStateEvent = class extends TabsterCustomEvent { + constructor(detail) { + super(MoverStateEventName, detail); + } +}; +var MoverMoveFocusEvent = class extends TabsterCustomEvent { + constructor(detail) { + super(MoverMoveFocusEventName, detail); + } +}; +var GroupperMoveFocusEvent = class extends TabsterCustomEvent { + constructor(detail) { + super(GroupperMoveFocusEventName, detail); + } +}; +var ModalizerActiveEvent = class extends TabsterCustomEvent { + constructor(detail) { + super(ModalizerActiveEventName, detail); + } +}; +var ModalizerInactiveEvent = class extends TabsterCustomEvent { + constructor(detail) { + super(ModalizerInactiveEventName, detail); + } +}; +var RestorerRestoreFocusEvent = class extends TabsterCustomEvent { + constructor() { + super(RestorerRestoreFocusEventName); + } +}; +var RootFocusEvent = class extends TabsterCustomEvent { + constructor(detail) { + super(RootFocusEventName, detail); + } +}; +var RootBlurEvent = class extends TabsterCustomEvent { + constructor(detail) { + super(RootBlurEventName, detail); + } +}; +var _createMutationObserver = (callback) => new MutationObserver(callback); +var _createTreeWalker = (doc, root, whatToShow, filter) => doc.createTreeWalker(root, whatToShow, filter); +var _getParentNode = (node) => node ? node.parentNode : null; +var _getParentElement = (element) => element ? element.parentElement : null; +var _nodeContains = (parent2, child) => !!(child && (parent2 === null || parent2 === void 0 ? void 0 : parent2.contains(child))); +var _getActiveElement = (doc) => doc.activeElement; +var _querySelector = (element, selector) => element.querySelector(selector); +var _querySelectorAll = (element, selector) => Array.prototype.slice.call(element.querySelectorAll(selector), 0); +var _getElementById = (doc, id) => doc.getElementById(id); +var _getFirstChild = (node) => (node === null || node === void 0 ? void 0 : node.firstChild) || null; +var _getLastChild = (node) => (node === null || node === void 0 ? void 0 : node.lastChild) || null; +var _getNextSibling = (node) => (node === null || node === void 0 ? void 0 : node.nextSibling) || null; +var _getPreviousSibling = (node) => (node === null || node === void 0 ? void 0 : node.previousSibling) || null; +var _getFirstElementChild = (element) => (element === null || element === void 0 ? void 0 : element.firstElementChild) || null; +var _getLastElementChild = (element) => (element === null || element === void 0 ? void 0 : element.lastElementChild) || null; +var _getNextElementSibling = (element) => (element === null || element === void 0 ? void 0 : element.nextElementSibling) || null; +var _getPreviousElementSibling = (element) => (element === null || element === void 0 ? void 0 : element.previousElementSibling) || null; +var _appendChild = (parent2, child) => parent2.appendChild(child); +var _insertBefore = (parent2, child, referenceChild) => parent2.insertBefore(child, referenceChild); +var _getSelection = (ref) => { + var _a; + return ((_a = ref.ownerDocument) === null || _a === void 0 ? void 0 : _a.getSelection()) || null; +}; +var _getElementsByName = (referenceElement, name) => referenceElement.ownerDocument.getElementsByName(name); +var dom = { + createMutationObserver: _createMutationObserver, + createTreeWalker: _createTreeWalker, + getParentNode: _getParentNode, + getParentElement: _getParentElement, + nodeContains: _nodeContains, + getActiveElement: _getActiveElement, + querySelector: _querySelector, + querySelectorAll: _querySelectorAll, + getElementById: _getElementById, + getFirstChild: _getFirstChild, + getLastChild: _getLastChild, + getNextSibling: _getNextSibling, + getPreviousSibling: _getPreviousSibling, + getFirstElementChild: _getFirstElementChild, + getLastElementChild: _getLastElementChild, + getNextElementSibling: _getNextElementSibling, + getPreviousElementSibling: _getPreviousElementSibling, + appendChild: _appendChild, + insertBefore: _insertBefore, + getSelection: _getSelection, + getElementsByName: _getElementsByName +}; +function setDOMAPI(domapi) { + for (const key of Object.keys(domapi)) { + dom[key] = domapi[key]; + } +} +var _isBrokenIE11; +var _DOMRect = typeof DOMRect !== "undefined" ? DOMRect : class { + constructor(x, y, width, height) { + this.left = x || 0; + this.top = y || 0; + this.right = (x || 0) + (width || 0); + this.bottom = (y || 0) + (height || 0); + } +}; +var _uidCounter = 0; +try { + document.createTreeWalker(document, NodeFilter.SHOW_ELEMENT); + _isBrokenIE11 = false; +} catch (e) { + _isBrokenIE11 = true; +} +var _updateDummyInputsTimeout = 100; +function getInstanceContext(getWindow2) { + const win = getWindow2(); + let ctx = win.__tabsterInstanceContext; + if (!ctx) { + ctx = { + elementByUId: {}, + basics: { + Promise: win.Promise || void 0, + WeakRef: win.WeakRef || void 0 + }, + containerBoundingRectCache: {}, + lastContainerBoundingRectCacheId: 0, + fakeWeakRefs: [], + fakeWeakRefsStarted: false + }; + win.__tabsterInstanceContext = ctx; + } + return ctx; +} +function disposeInstanceContext(win) { + const ctx = win.__tabsterInstanceContext; + if (ctx) { + ctx.elementByUId = {}; + delete ctx.WeakRef; + ctx.containerBoundingRectCache = {}; + if (ctx.containerBoundingRectCacheTimer) { + win.clearTimeout(ctx.containerBoundingRectCacheTimer); + } + if (ctx.fakeWeakRefsTimer) { + win.clearTimeout(ctx.fakeWeakRefsTimer); + } + ctx.fakeWeakRefs = []; + delete win.__tabsterInstanceContext; + } +} +function createWeakMap(win) { + const ctx = win.__tabsterInstanceContext; + return new ((ctx === null || ctx === void 0 ? void 0 : ctx.basics.WeakMap) || WeakMap)(); +} +function hasSubFocusable(element) { + return !!element.querySelector(FOCUSABLE_SELECTOR); +} +var FakeWeakRef = class { + constructor(target) { + this._target = target; + } + deref() { + return this._target; + } + static cleanup(fwr, forceRemove) { + if (!fwr._target) { + return true; + } + if (forceRemove || !documentContains(fwr._target.ownerDocument, fwr._target)) { + delete fwr._target; + return true; + } + return false; + } +}; +var WeakHTMLElement = class { + constructor(getWindow2, element, data) { + const context = getInstanceContext(getWindow2); + let ref; + if (context.WeakRef) { + ref = new context.WeakRef(element); + } else { + ref = new FakeWeakRef(element); + context.fakeWeakRefs.push(ref); + } + this._ref = ref; + this._data = data; + } + get() { + const ref = this._ref; + let element; + if (ref) { + element = ref.deref(); + if (!element) { + delete this._ref; + } + } + return element; + } + getData() { + return this._data; + } +}; +function cleanupFakeWeakRefs(getWindow2, forceRemove) { + const context = getInstanceContext(getWindow2); + context.fakeWeakRefs = context.fakeWeakRefs.filter((e) => !FakeWeakRef.cleanup(e, forceRemove)); +} +function startFakeWeakRefsCleanup(getWindow2) { + const context = getInstanceContext(getWindow2); + if (!context.fakeWeakRefsStarted) { + context.fakeWeakRefsStarted = true; + context.WeakRef = getWeakRef(context); + } + if (!context.fakeWeakRefsTimer) { + context.fakeWeakRefsTimer = getWindow2().setTimeout(() => { + context.fakeWeakRefsTimer = void 0; + cleanupFakeWeakRefs(getWindow2); + startFakeWeakRefsCleanup(getWindow2); + }, 2 * 60 * 1e3); + } +} +function stopFakeWeakRefsCleanupAndClearStorage(getWindow2) { + const context = getInstanceContext(getWindow2); + context.fakeWeakRefsStarted = false; + if (context.fakeWeakRefsTimer) { + getWindow2().clearTimeout(context.fakeWeakRefsTimer); + context.fakeWeakRefsTimer = void 0; + context.fakeWeakRefs = []; + } +} +function createElementTreeWalker(doc, root, acceptNode) { + if (root.nodeType !== Node.ELEMENT_NODE) { + return void 0; + } + const filter = _isBrokenIE11 ? acceptNode : { + acceptNode + }; + return dom.createTreeWalker( + doc, + root, + NodeFilter.SHOW_ELEMENT, + filter, + // @ts-ignore: We still don't want to completely break IE11, so, entityReferenceExpansion argument is not optional. + false + /* Last argument is not optional for IE11! */ + ); +} +function getBoundingRect(getWindow2, element) { + let cacheId = element.__tabsterCacheId; + const context = getInstanceContext(getWindow2); + const cached = cacheId ? context.containerBoundingRectCache[cacheId] : void 0; + if (cached) { + return cached.rect; + } + const scrollingElement = element.ownerDocument && element.ownerDocument.documentElement; + if (!scrollingElement) { + return new _DOMRect(); + } + let left2 = 0; + let top = 0; + let right2 = scrollingElement.clientWidth; + let bottom = scrollingElement.clientHeight; + if (element !== scrollingElement) { + const r = element.getBoundingClientRect(); + left2 = Math.max(left2, r.left); + top = Math.max(top, r.top); + right2 = Math.min(right2, r.right); + bottom = Math.min(bottom, r.bottom); + } + const rect = new _DOMRect(left2 < right2 ? left2 : -1, top < bottom ? top : -1, left2 < right2 ? right2 - left2 : 0, top < bottom ? bottom - top : 0); + if (!cacheId) { + cacheId = "r-" + ++context.lastContainerBoundingRectCacheId; + element.__tabsterCacheId = cacheId; + } + context.containerBoundingRectCache[cacheId] = { + rect, + element + }; + if (!context.containerBoundingRectCacheTimer) { + context.containerBoundingRectCacheTimer = window.setTimeout(() => { + context.containerBoundingRectCacheTimer = void 0; + for (const cId of Object.keys(context.containerBoundingRectCache)) { + delete context.containerBoundingRectCache[cId].element.__tabsterCacheId; + } + context.containerBoundingRectCache = {}; + }, 50); + } + return rect; +} +function isElementVerticallyVisibleInContainer(getWindow2, element, tolerance) { + const container = getScrollableContainer(element); + if (!container) { + return false; + } + const containerRect = getBoundingRect(getWindow2, container); + const elementRect = element.getBoundingClientRect(); + const intersectionTolerance = elementRect.height * (1 - tolerance); + const topIntersection = Math.max(0, containerRect.top - elementRect.top); + const bottomIntersection = Math.max(0, elementRect.bottom - containerRect.bottom); + const totalIntersection = topIntersection + bottomIntersection; + return totalIntersection === 0 || totalIntersection <= intersectionTolerance; +} +function scrollIntoView(getWindow2, element, alignToTop) { + const container = getScrollableContainer(element); + if (container) { + const containerRect = getBoundingRect(getWindow2, container); + const elementRect = element.getBoundingClientRect(); + if (alignToTop) { + container.scrollTop += elementRect.top - containerRect.top; + } else { + container.scrollTop += elementRect.bottom - containerRect.bottom; + } + } +} +function getScrollableContainer(element) { + const doc = element.ownerDocument; + if (doc) { + for (let el = dom.getParentElement(element); el; el = dom.getParentElement(el)) { + if (el.scrollWidth > el.clientWidth || el.scrollHeight > el.clientHeight) { + return el; + } + } + return doc.documentElement; + } + return null; +} +function makeFocusIgnored(element) { + element.__shouldIgnoreFocus = true; +} +function shouldIgnoreFocus(element) { + return !!element.__shouldIgnoreFocus; +} +function getUId(wnd) { + const rnd = new Uint32Array(4); + if (wnd.crypto && wnd.crypto.getRandomValues) { + wnd.crypto.getRandomValues(rnd); + } else if (wnd.msCrypto && wnd.msCrypto.getRandomValues) { + wnd.msCrypto.getRandomValues(rnd); + } else { + for (let i = 0; i < rnd.length; i++) { + rnd[i] = 4294967295 * Math.random(); + } + } + const srnd = []; + for (let i = 0; i < rnd.length; i++) { + srnd.push(rnd[i].toString(36)); + } + srnd.push("|"); + srnd.push((++_uidCounter).toString(36)); + srnd.push("|"); + srnd.push(Date.now().toString(36)); + return srnd.join(""); +} +function getElementUId(getWindow2, element) { + const context = getInstanceContext(getWindow2); + let uid = element.__tabsterElementUID; + if (!uid) { + uid = element.__tabsterElementUID = getUId(getWindow2()); + } + if (!context.elementByUId[uid] && documentContains(element.ownerDocument, element)) { + context.elementByUId[uid] = new WeakHTMLElement(getWindow2, element); + } + return uid; +} +function clearElementCache(getWindow2, parent2) { + const context = getInstanceContext(getWindow2); + for (const key of Object.keys(context.elementByUId)) { + const wel = context.elementByUId[key]; + const el = wel && wel.get(); + if (el && parent2) { + if (!dom.nodeContains(parent2, el)) { + continue; + } + } + delete context.elementByUId[key]; + } +} +function documentContains(doc, element) { + return dom.nodeContains(doc === null || doc === void 0 ? void 0 : doc.body, element); +} +function matchesSelector(element, selector) { + const matches = element.matches || element.matchesSelector || element.msMatchesSelector || element.webkitMatchesSelector; + return matches && matches.call(element, selector); +} +function getPromise(getWindow2) { + const context = getInstanceContext(getWindow2); + if (context.basics.Promise) { + return context.basics.Promise; + } + throw new Error("No Promise defined."); +} +function getWeakRef(context) { + return context.basics.WeakRef; +} +var _lastTabsterPartId = 0; +var TabsterPart = class { + constructor(tabster, element, props) { + const getWindow2 = tabster.getWindow; + this._tabster = tabster; + this._element = new WeakHTMLElement(getWindow2, element); + this._props = { + ...props + }; + this.id = "i" + ++_lastTabsterPartId; + } + getElement() { + return this._element.get(); + } + getProps() { + return this._props; + } + setProps(props) { + this._props = { + ...props + }; + } +}; +var DummyInput = class { + constructor(getWindow2, isOutside, props, element, fixedTarget) { + var _a; + this._focusIn = (e) => { + if (this._fixedTarget) { + const target = this._fixedTarget.get(); + if (target) { + nativeFocus(target); + } + return; + } + const input2 = this.input; + if (this.onFocusIn && input2) { + const relatedTarget = e.relatedTarget; + this.onFocusIn(this, this._isBackward(true, input2, relatedTarget), relatedTarget); + } + }; + this._focusOut = (e) => { + if (this._fixedTarget) { + return; + } + this.useDefaultAction = false; + const input2 = this.input; + if (this.onFocusOut && input2) { + const relatedTarget = e.relatedTarget; + this.onFocusOut(this, this._isBackward(false, input2, relatedTarget), relatedTarget); + } + }; + const win = getWindow2(); + const input = win.document.createElement("i"); + input.tabIndex = 0; + input.setAttribute("role", "none"); + input.setAttribute(TABSTER_DUMMY_INPUT_ATTRIBUTE_NAME, ""); + input.setAttribute("aria-hidden", "true"); + const style = input.style; + style.position = "fixed"; + style.width = style.height = "1px"; + style.opacity = "0.001"; + style.zIndex = "-1"; + style.setProperty("content-visibility", "hidden"); + makeFocusIgnored(input); + this.input = input; + this.isFirst = props.isFirst; + this.isOutside = isOutside; + this._isPhantom = (_a = props.isPhantom) !== null && _a !== void 0 ? _a : false; + this._fixedTarget = fixedTarget; + input.addEventListener("focusin", this._focusIn); + input.addEventListener("focusout", this._focusOut); + input.__tabsterDummyContainer = element; + if (this._isPhantom) { + this._disposeTimer = win.setTimeout(() => { + delete this._disposeTimer; + this.dispose(); + }, 0); + this._clearDisposeTimeout = () => { + if (this._disposeTimer) { + win.clearTimeout(this._disposeTimer); + delete this._disposeTimer; + } + delete this._clearDisposeTimeout; + }; + } + } + dispose() { + var _a; + if (this._clearDisposeTimeout) { + this._clearDisposeTimeout(); + } + const input = this.input; + if (!input) { + return; + } + delete this._fixedTarget; + delete this.onFocusIn; + delete this.onFocusOut; + delete this.input; + input.removeEventListener("focusin", this._focusIn); + input.removeEventListener("focusout", this._focusOut); + delete input.__tabsterDummyContainer; + (_a = dom.getParentNode(input)) === null || _a === void 0 ? void 0 : _a.removeChild(input); + } + setTopLeft(top, left2) { + var _a; + const style = (_a = this.input) === null || _a === void 0 ? void 0 : _a.style; + if (style) { + style.top = `${top}px`; + style.left = `${left2}px`; + } + } + _isBackward(isIn, current, previous) { + return isIn && !previous ? !this.isFirst : !!(previous && current.compareDocumentPosition(previous) & Node.DOCUMENT_POSITION_FOLLOWING); + } +}; +var DummyInputManagerPriorities = { + Root: 1, + Modalizer: 2, + Mover: 3, + Groupper: 4 +}; +var DummyInputManager = class { + constructor(tabster, element, priority, sys, outsideByDefault, callForDefaultAction) { + this._element = element; + this._instance = new DummyInputManagerCore(tabster, element, this, priority, sys, outsideByDefault, callForDefaultAction); + } + _setHandlers(onFocusIn, onFocusOut) { + this._onFocusIn = onFocusIn; + this._onFocusOut = onFocusOut; + } + moveOut(backwards) { + var _a; + (_a = this._instance) === null || _a === void 0 ? void 0 : _a.moveOut(backwards); + } + moveOutWithDefaultAction(backwards, relatedEvent) { + var _a; + (_a = this._instance) === null || _a === void 0 ? void 0 : _a.moveOutWithDefaultAction(backwards, relatedEvent); + } + getHandler(isIn) { + return isIn ? this._onFocusIn : this._onFocusOut; + } + setTabbable(tabbable) { + var _a; + (_a = this._instance) === null || _a === void 0 ? void 0 : _a.setTabbable(this, tabbable); + } + dispose() { + if (this._instance) { + this._instance.dispose(this); + delete this._instance; + } + delete this._onFocusIn; + delete this._onFocusOut; + } + static moveWithPhantomDummy(tabster, element, moveOutOfElement, isBackward, relatedEvent) { + const dummy = new DummyInput(tabster.getWindow, true, { + isPhantom: true, + isFirst: true + }); + const input = dummy.input; + if (input) { + let parent2; + let insertBefore2; + if (element.tagName === "BODY") { + parent2 = element; + insertBefore2 = moveOutOfElement && isBackward || !moveOutOfElement && !isBackward ? dom.getFirstElementChild(element) : null; + } else { + if (moveOutOfElement && (!isBackward || isBackward && !tabster.focusable.isFocusable(element, false, true, true))) { + parent2 = element; + insertBefore2 = isBackward ? element.firstElementChild : null; + } else { + parent2 = dom.getParentElement(element); + insertBefore2 = moveOutOfElement && isBackward || !moveOutOfElement && !isBackward ? element : dom.getNextElementSibling(element); + } + let potentialDummy; + let dummyFor; + do { + potentialDummy = moveOutOfElement && isBackward || !moveOutOfElement && !isBackward ? dom.getPreviousElementSibling(insertBefore2) : insertBefore2; + dummyFor = getDummyInputContainer(potentialDummy); + if (dummyFor === element) { + insertBefore2 = moveOutOfElement && isBackward || !moveOutOfElement && !isBackward ? potentialDummy : dom.getNextElementSibling(potentialDummy); + } else { + dummyFor = null; + } + } while (dummyFor); + } + if (parent2 === null || parent2 === void 0 ? void 0 : parent2.dispatchEvent(new TabsterMoveFocusEvent({ + by: "root", + owner: parent2, + next: null, + relatedEvent + }))) { + dom.insertBefore(parent2, input, insertBefore2); + nativeFocus(input); + } + } + } + static addPhantomDummyWithTarget(tabster, sourceElement, isBackward, targetElement) { + const dummy = new DummyInput(tabster.getWindow, true, { + isPhantom: true, + isFirst: true + }, void 0, new WeakHTMLElement(tabster.getWindow, targetElement)); + const input = dummy.input; + if (input) { + let dummyParent; + let insertBefore2; + if (hasSubFocusable(sourceElement) && !isBackward) { + dummyParent = sourceElement; + insertBefore2 = dom.getFirstElementChild(sourceElement); + } else { + dummyParent = dom.getParentElement(sourceElement); + insertBefore2 = isBackward ? sourceElement : dom.getNextElementSibling(sourceElement); + } + if (dummyParent) { + dom.insertBefore(dummyParent, input, insertBefore2); + } + } + } +}; +function setDummyInputDebugValue(dummy, wrappers) { + var _a; + const what = { + 1: "Root", + 2: "Modalizer", + 3: "Mover", + 4: "Groupper" + }; + (_a = dummy.input) === null || _a === void 0 ? void 0 : _a.setAttribute(TABSTER_DUMMY_INPUT_ATTRIBUTE_NAME, [`isFirst=${dummy.isFirst}`, `isOutside=${dummy.isOutside}`, ...wrappers.map((w) => `(${what[w.priority]}, tabbable=${w.tabbable})`)].join(", ")); +} +var DummyInputObserver = class { + constructor(win) { + this._updateQueue = /* @__PURE__ */ new Set(); + this._lastUpdateQueueTime = 0; + this._changedParents = /* @__PURE__ */ new WeakSet(); + this._dummyElements = []; + this._dummyCallbacks = /* @__PURE__ */ new WeakMap(); + this._domChanged = (parent2) => { + var _a; + if (this._changedParents.has(parent2)) { + return; + } + this._changedParents.add(parent2); + if (this._updateDummyInputsTimer) { + return; + } + this._updateDummyInputsTimer = (_a = this._win) === null || _a === void 0 ? void 0 : _a.call(this).setTimeout(() => { + delete this._updateDummyInputsTimer; + for (const ref of this._dummyElements) { + const dummyElement = ref.get(); + if (dummyElement) { + const callback = this._dummyCallbacks.get(dummyElement); + if (callback) { + const dummyParent = dom.getParentNode(dummyElement); + if (!dummyParent || this._changedParents.has(dummyParent)) { + callback(); + } + } + } + } + this._changedParents = /* @__PURE__ */ new WeakSet(); + }, _updateDummyInputsTimeout); + }; + this._win = win; + } + add(dummy, callback) { + if (!this._dummyCallbacks.has(dummy) && this._win) { + this._dummyElements.push(new WeakHTMLElement(this._win, dummy)); + this._dummyCallbacks.set(dummy, callback); + this.domChanged = this._domChanged; + } + } + remove(dummy) { + this._dummyElements = this._dummyElements.filter((ref) => { + const element = ref.get(); + return element && element !== dummy; + }); + this._dummyCallbacks.delete(dummy); + if (this._dummyElements.length === 0) { + delete this.domChanged; + } + } + dispose() { + var _a; + const win = (_a = this._win) === null || _a === void 0 ? void 0 : _a.call(this); + if (this._updateTimer) { + win === null || win === void 0 ? void 0 : win.clearTimeout(this._updateTimer); + delete this._updateTimer; + } + if (this._updateDummyInputsTimer) { + win === null || win === void 0 ? void 0 : win.clearTimeout(this._updateDummyInputsTimer); + delete this._updateDummyInputsTimer; + } + this._changedParents = /* @__PURE__ */ new WeakSet(); + this._dummyCallbacks = /* @__PURE__ */ new WeakMap(); + this._dummyElements = []; + this._updateQueue.clear(); + delete this.domChanged; + delete this._win; + } + updatePositions(compute) { + if (!this._win) { + return; + } + this._updateQueue.add(compute); + this._lastUpdateQueueTime = Date.now(); + this._scheduledUpdatePositions(); + } + _scheduledUpdatePositions() { + var _a; + if (this._updateTimer) { + return; + } + this._updateTimer = (_a = this._win) === null || _a === void 0 ? void 0 : _a.call(this).setTimeout(() => { + delete this._updateTimer; + if (this._lastUpdateQueueTime + _updateDummyInputsTimeout <= Date.now()) { + const scrollTopLeftCache = /* @__PURE__ */ new Map(); + const setTopLeftCallbacks = []; + for (const compute of this._updateQueue) { + setTopLeftCallbacks.push(compute(scrollTopLeftCache)); + } + this._updateQueue.clear(); + for (const setTopLeft of setTopLeftCallbacks) { + setTopLeft(); + } + scrollTopLeftCache.clear(); + } else { + this._scheduledUpdatePositions(); + } + }, _updateDummyInputsTimeout); + } +}; +var DummyInputManagerCore = class { + constructor(tabster, element, manager, priority, sys, outsideByDefault, callForDefaultAction) { + this._wrappers = []; + this._isOutside = false; + this._transformElements = /* @__PURE__ */ new Set(); + this._onFocusIn = (dummyInput, isBackward, relatedTarget) => { + this._onFocus(true, dummyInput, isBackward, relatedTarget); + }; + this._onFocusOut = (dummyInput, isBackward, relatedTarget) => { + this._onFocus(false, dummyInput, isBackward, relatedTarget); + }; + this.moveOut = (backwards) => { + var _a; + const first = this._firstDummy; + const last = this._lastDummy; + if (first && last) { + this._ensurePosition(); + const firstInput = first.input; + const lastInput = last.input; + const element2 = (_a = this._element) === null || _a === void 0 ? void 0 : _a.get(); + if (firstInput && lastInput && element2) { + let toFocus; + if (backwards) { + firstInput.tabIndex = 0; + toFocus = firstInput; + } else { + lastInput.tabIndex = 0; + toFocus = lastInput; + } + if (toFocus) { + nativeFocus(toFocus); + } + } + } + }; + this.moveOutWithDefaultAction = (backwards, relatedEvent) => { + var _a; + const first = this._firstDummy; + const last = this._lastDummy; + if (first && last) { + this._ensurePosition(); + const firstInput = first.input; + const lastInput = last.input; + const element2 = (_a = this._element) === null || _a === void 0 ? void 0 : _a.get(); + if (firstInput && lastInput && element2) { + let toFocus; + if (backwards) { + if (!first.isOutside && this._tabster.focusable.isFocusable(element2, true, true, true)) { + toFocus = element2; + } else { + first.useDefaultAction = true; + firstInput.tabIndex = 0; + toFocus = firstInput; + } + } else { + last.useDefaultAction = true; + lastInput.tabIndex = 0; + toFocus = lastInput; + } + if (toFocus && element2.dispatchEvent(new TabsterMoveFocusEvent({ + by: "root", + owner: element2, + next: null, + relatedEvent + }))) { + nativeFocus(toFocus); + } + } + } + }; + this.setTabbable = (manager2, tabbable) => { + var _a, _b; + for (const w of this._wrappers) { + if (w.manager === manager2) { + w.tabbable = tabbable; + break; + } + } + const wrapper = this._getCurrent(); + if (wrapper) { + const tabIndex = wrapper.tabbable ? 0 : -1; + let input = (_a = this._firstDummy) === null || _a === void 0 ? void 0 : _a.input; + if (input) { + input.tabIndex = tabIndex; + } + input = (_b = this._lastDummy) === null || _b === void 0 ? void 0 : _b.input; + if (input) { + input.tabIndex = tabIndex; + } + } + if (true) { + this._firstDummy && setDummyInputDebugValue(this._firstDummy, this._wrappers); + this._lastDummy && setDummyInputDebugValue(this._lastDummy, this._wrappers); + } + }; + this._addDummyInputs = () => { + if (this._addTimer) { + return; + } + this._addTimer = this._getWindow().setTimeout(() => { + delete this._addTimer; + this._ensurePosition(); + if (true) { + this._firstDummy && setDummyInputDebugValue(this._firstDummy, this._wrappers); + this._lastDummy && setDummyInputDebugValue(this._lastDummy, this._wrappers); + } + this._addTransformOffsets(); + }, 0); + }; + this._addTransformOffsets = () => { + this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets); + }; + this._computeTransformOffsets = (scrollTopLeftCache) => { + var _a, _b; + const from = ((_a = this._firstDummy) === null || _a === void 0 ? void 0 : _a.input) || ((_b = this._lastDummy) === null || _b === void 0 ? void 0 : _b.input); + const transformElements = this._transformElements; + const newTransformElements = /* @__PURE__ */ new Set(); + let scrollTop = 0; + let scrollLeft = 0; + const win = this._getWindow(); + for (let element2 = from; element2 && element2.nodeType === Node.ELEMENT_NODE; element2 = dom.getParentElement(element2)) { + let scrollTopLeft = scrollTopLeftCache.get(element2); + if (scrollTopLeft === void 0) { + const transform = win.getComputedStyle(element2).transform; + if (transform && transform !== "none") { + scrollTopLeft = { + scrollTop: element2.scrollTop, + scrollLeft: element2.scrollLeft + }; + } + scrollTopLeftCache.set(element2, scrollTopLeft || null); + } + if (scrollTopLeft) { + newTransformElements.add(element2); + if (!transformElements.has(element2)) { + element2.addEventListener("scroll", this._addTransformOffsets); + } + scrollTop += scrollTopLeft.scrollTop; + scrollLeft += scrollTopLeft.scrollLeft; + } + } + for (const el2 of transformElements) { + if (!newTransformElements.has(el2)) { + el2.removeEventListener("scroll", this._addTransformOffsets); + } + } + this._transformElements = newTransformElements; + return () => { + var _a2, _b2; + (_a2 = this._firstDummy) === null || _a2 === void 0 ? void 0 : _a2.setTopLeft(scrollTop, scrollLeft); + (_b2 = this._lastDummy) === null || _b2 === void 0 ? void 0 : _b2.setTopLeft(scrollTop, scrollLeft); + }; + }; + const el = element.get(); + if (!el) { + throw new Error("No element"); + } + this._tabster = tabster; + this._getWindow = tabster.getWindow; + this._callForDefaultAction = callForDefaultAction; + const instance = el.__tabsterDummy; + (instance || this)._wrappers.push({ + manager, + priority, + tabbable: true + }); + if (instance) { + if (true) { + this._firstDummy && setDummyInputDebugValue(this._firstDummy, instance._wrappers); + this._lastDummy && setDummyInputDebugValue(this._lastDummy, instance._wrappers); + } + return instance; + } + el.__tabsterDummy = this; + const forcedDummyPosition = sys === null || sys === void 0 ? void 0 : sys.dummyInputsPosition; + const tagName = el.tagName; + this._isOutside = !forcedDummyPosition ? (outsideByDefault || tagName === "UL" || tagName === "OL" || tagName === "TABLE") && !(tagName === "LI" || tagName === "TD" || tagName === "TH") : forcedDummyPosition === SysDummyInputsPositions.Outside; + this._firstDummy = new DummyInput(this._getWindow, this._isOutside, { + isFirst: true + }, element); + this._lastDummy = new DummyInput(this._getWindow, this._isOutside, { + isFirst: false + }, element); + const dummyElement = this._firstDummy.input; + dummyElement && tabster._dummyObserver.add(dummyElement, this._addDummyInputs); + this._firstDummy.onFocusIn = this._onFocusIn; + this._firstDummy.onFocusOut = this._onFocusOut; + this._lastDummy.onFocusIn = this._onFocusIn; + this._lastDummy.onFocusOut = this._onFocusOut; + this._element = element; + this._addDummyInputs(); + } + dispose(manager, force) { + var _a, _b, _c, _d; + const wrappers = this._wrappers = this._wrappers.filter((w) => w.manager !== manager && !force); + if (true) { + this._firstDummy && setDummyInputDebugValue(this._firstDummy, wrappers); + this._lastDummy && setDummyInputDebugValue(this._lastDummy, wrappers); + } + if (wrappers.length === 0) { + delete ((_a = this._element) === null || _a === void 0 ? void 0 : _a.get()).__tabsterDummy; + for (const el of this._transformElements) { + el.removeEventListener("scroll", this._addTransformOffsets); + } + this._transformElements.clear(); + const win = this._getWindow(); + if (this._addTimer) { + win.clearTimeout(this._addTimer); + delete this._addTimer; + } + const dummyElement = (_b = this._firstDummy) === null || _b === void 0 ? void 0 : _b.input; + dummyElement && this._tabster._dummyObserver.remove(dummyElement); + (_c = this._firstDummy) === null || _c === void 0 ? void 0 : _c.dispose(); + (_d = this._lastDummy) === null || _d === void 0 ? void 0 : _d.dispose(); + } + } + _onFocus(isIn, dummyInput, isBackward, relatedTarget) { + var _a; + const wrapper = this._getCurrent(); + if (wrapper && (!dummyInput.useDefaultAction || this._callForDefaultAction)) { + (_a = wrapper.manager.getHandler(isIn)) === null || _a === void 0 ? void 0 : _a(dummyInput, isBackward, relatedTarget); + } + } + _getCurrent() { + this._wrappers.sort((a, b) => { + if (a.tabbable !== b.tabbable) { + return a.tabbable ? -1 : 1; + } + return a.priority - b.priority; + }); + return this._wrappers[0]; + } + _ensurePosition() { + var _a, _b, _c; + const element = (_a = this._element) === null || _a === void 0 ? void 0 : _a.get(); + const firstDummyInput = (_b = this._firstDummy) === null || _b === void 0 ? void 0 : _b.input; + const lastDummyInput = (_c = this._lastDummy) === null || _c === void 0 ? void 0 : _c.input; + if (!element || !firstDummyInput || !lastDummyInput) { + return; + } + if (this._isOutside) { + const elementParent = dom.getParentNode(element); + if (elementParent) { + const nextSibling = dom.getNextSibling(element); + if (nextSibling !== lastDummyInput) { + dom.insertBefore(elementParent, lastDummyInput, nextSibling); + } + if (dom.getPreviousElementSibling(element) !== firstDummyInput) { + dom.insertBefore(elementParent, firstDummyInput, element); + } + } + } else { + if (dom.getLastElementChild(element) !== lastDummyInput) { + dom.appendChild(element, lastDummyInput); + } + const firstElementChild = dom.getFirstElementChild(element); + if (firstElementChild && firstElementChild !== firstDummyInput && firstElementChild.parentNode) { + dom.insertBefore(firstElementChild.parentNode, firstDummyInput, firstElementChild); + } + } + } +}; +function getLastChild$2(container) { + let lastChild = null; + for (let i = dom.getLastElementChild(container); i; i = dom.getLastElementChild(i)) { + lastChild = i; + } + return lastChild || void 0; +} +function getAdjacentElement(from, prev) { + let cur = from; + let adjacent = null; + while (cur && !adjacent) { + adjacent = prev ? dom.getPreviousElementSibling(cur) : dom.getNextElementSibling(cur); + cur = dom.getParentElement(cur); + } + return adjacent || void 0; +} +function augmentAttribute(tabster, element, name, value) { + const entry = tabster.storageEntry(element, true); + let ret = false; + if (!entry.aug) { + if (value === void 0) { + return ret; + } + entry.aug = {}; + } + if (value === void 0) { + if (name in entry.aug) { + const origVal = entry.aug[name]; + delete entry.aug[name]; + if (origVal === null) { + element.removeAttribute(name); + } else { + element.setAttribute(name, origVal); + } + ret = true; + } + } else { + let origValue; + if (!(name in entry.aug)) { + origValue = element.getAttribute(name); + } + if (origValue !== void 0 && origValue !== value) { + entry.aug[name] = origValue; + if (value === null) { + element.removeAttribute(name); + } else { + element.setAttribute(name, value); + } + ret = true; + } + } + if (value === void 0 && Object.keys(entry.aug).length === 0) { + delete entry.aug; + tabster.storageEntry(element, false); + } + return ret; +} +function isDisplayNone(element) { + var _a, _b; + const elementDocument = element.ownerDocument; + const computedStyle = (_a = elementDocument.defaultView) === null || _a === void 0 ? void 0 : _a.getComputedStyle(element); + if (element.offsetParent === null && elementDocument.body !== element && (computedStyle === null || computedStyle === void 0 ? void 0 : computedStyle.position) !== "fixed") { + return true; + } + if ((computedStyle === null || computedStyle === void 0 ? void 0 : computedStyle.visibility) === "hidden") { + return true; + } + if ((computedStyle === null || computedStyle === void 0 ? void 0 : computedStyle.position) === "fixed") { + if (computedStyle.display === "none") { + return true; + } + if (((_b = element.parentElement) === null || _b === void 0 ? void 0 : _b.offsetParent) === null && elementDocument.body !== element.parentElement) { + return true; + } + } + return false; +} +function isRadio(element) { + return element.tagName === "INPUT" && !!element.name && element.type === "radio"; +} +function getRadioButtonGroup(element) { + if (!isRadio(element)) { + return; + } + const name = element.name; + let radioButtons = Array.from(dom.getElementsByName(element, name)); + let checked; + radioButtons = radioButtons.filter((el) => { + if (isRadio(el)) { + if (el.checked) { + checked = el; + } + return true; + } + return false; + }); + return { + name, + buttons: new Set(radioButtons), + checked + }; +} +function getDummyInputContainer(element) { + var _a; + return ((_a = element === null || element === void 0 ? void 0 : element.__tabsterDummyContainer) === null || _a === void 0 ? void 0 : _a.get()) || null; +} +function getTabsterAttribute(props, plain) { + const attr = JSON.stringify(props); + if (plain === true) { + return attr; + } + return { + [TABSTER_ATTRIBUTE_NAME]: attr + }; +} +function mergeTabsterProps(props, newProps) { + for (const key of Object.keys(newProps)) { + const value = newProps[key]; + if (value) { + props[key] = value; + } else { + delete props[key]; + } + } +} +function setTabsterAttribute(element, newProps, update) { + let props; + if (update) { + const attr = element.getAttribute(TABSTER_ATTRIBUTE_NAME); + if (attr) { + try { + props = JSON.parse(attr); + } catch (e) { + if (true) { + console.error(`data-tabster attribute error: ${e}`, element); + } + } + } + } + if (!props) { + props = {}; + } + mergeTabsterProps(props, newProps); + if (Object.keys(props).length > 0) { + element.setAttribute(TABSTER_ATTRIBUTE_NAME, getTabsterAttribute(props, true)); + } else { + element.removeAttribute(TABSTER_ATTRIBUTE_NAME); + } +} +function _setInformativeStyle$3(weakElement, remove, id) { + if (true) { + const element = weakElement.get(); + if (element) { + if (remove) { + element.style.removeProperty("--tabster-root"); + } else { + element.style.setProperty("--tabster-root", id + ","); + } + } + } +} +var RootDummyManager = class extends DummyInputManager { + constructor(tabster, element, setFocused, sys) { + super(tabster, element, DummyInputManagerPriorities.Root, sys, void 0, true); + this._onDummyInputFocus = (dummyInput) => { + var _a; + if (dummyInput.useDefaultAction) { + this._setFocused(false); + } else { + this._tabster.keyboardNavigation.setNavigatingWithKeyboard(true); + const element2 = this._element.get(); + if (element2) { + this._setFocused(true); + const toFocus = this._tabster.focusedElement.getFirstOrLastTabbable(dummyInput.isFirst, { + container: element2, + ignoreAccessibility: true + }); + if (toFocus) { + nativeFocus(toFocus); + return; + } + } + (_a = dummyInput.input) === null || _a === void 0 ? void 0 : _a.blur(); + } + }; + this._setHandlers(this._onDummyInputFocus); + this._tabster = tabster; + this._setFocused = setFocused; + } +}; +var Root = class extends TabsterPart { + constructor(tabster, element, onDispose, props, sys) { + super(tabster, element, props); + this._isFocused = false; + this._setFocused = (hasFocused) => { + var _a; + if (this._setFocusedTimer) { + this._tabster.getWindow().clearTimeout(this._setFocusedTimer); + delete this._setFocusedTimer; + } + if (this._isFocused === hasFocused) { + return; + } + const element2 = this._element.get(); + if (element2) { + if (hasFocused) { + this._isFocused = true; + (_a = this._dummyManager) === null || _a === void 0 ? void 0 : _a.setTabbable(false); + element2.dispatchEvent(new RootFocusEvent({ + element: element2 + })); + } else { + this._setFocusedTimer = this._tabster.getWindow().setTimeout(() => { + var _a2; + delete this._setFocusedTimer; + this._isFocused = false; + (_a2 = this._dummyManager) === null || _a2 === void 0 ? void 0 : _a2.setTabbable(true); + element2.dispatchEvent(new RootBlurEvent({ + element: element2 + })); + }, 0); + } + } + }; + this._onFocusIn = (event) => { + const getParent2 = this._tabster.getParent; + const rootElement = this._element.get(); + let curElement = event.composedPath()[0]; + do { + if (curElement === rootElement) { + this._setFocused(true); + return; + } + curElement = curElement && getParent2(curElement); + } while (curElement); + }; + this._onFocusOut = () => { + this._setFocused(false); + }; + this._onDispose = onDispose; + const win = tabster.getWindow; + this.uid = getElementUId(win, element); + this._sys = sys; + if (tabster.controlTab || tabster.rootDummyInputs) { + this.addDummyInputs(); + } + const w = win(); + const doc = w.document; + doc.addEventListener(KEYBORG_FOCUSIN, this._onFocusIn); + doc.addEventListener(KEYBORG_FOCUSOUT, this._onFocusOut); + this._add(); + } + addDummyInputs() { + if (!this._dummyManager) { + this._dummyManager = new RootDummyManager(this._tabster, this._element, this._setFocused, this._sys); + } + } + dispose() { + var _a; + this._onDispose(this); + const win = this._tabster.getWindow(); + const doc = win.document; + doc.removeEventListener(KEYBORG_FOCUSIN, this._onFocusIn); + doc.removeEventListener(KEYBORG_FOCUSOUT, this._onFocusOut); + if (this._setFocusedTimer) { + win.clearTimeout(this._setFocusedTimer); + delete this._setFocusedTimer; + } + (_a = this._dummyManager) === null || _a === void 0 ? void 0 : _a.dispose(); + this._remove(); + } + moveOutWithDefaultAction(isBackward, relatedEvent) { + const dummyManager = this._dummyManager; + if (dummyManager) { + dummyManager.moveOutWithDefaultAction(isBackward, relatedEvent); + } else { + const el = this.getElement(); + if (el) { + RootDummyManager.moveWithPhantomDummy(this._tabster, el, true, isBackward, relatedEvent); + } + } + } + _add() { + if (true) { + _setInformativeStyle$3(this._element, false, this.uid); + } + } + _remove() { + if (true) { + _setInformativeStyle$3(this._element, true); + } + } +}; +var RootAPI = class { + constructor(tabster, autoRoot) { + this._autoRootWaiting = false; + this._roots = {}; + this._forceDummy = false; + this.rootById = {}; + this._autoRootCreate = () => { + var _a; + const doc = this._win().document; + const body = doc.body; + if (body) { + this._autoRootUnwait(doc); + const props = this._autoRoot; + if (props) { + setTabsterAttribute(body, { + root: props + }, true); + updateTabsterByAttribute(this._tabster, body); + return (_a = getTabsterOnElement(this._tabster, body)) === null || _a === void 0 ? void 0 : _a.root; + } + } else if (!this._autoRootWaiting) { + this._autoRootWaiting = true; + doc.addEventListener("readystatechange", this._autoRootCreate); + } + return void 0; + }; + this._onRootDispose = (root) => { + delete this._roots[root.id]; + }; + this._tabster = tabster; + this._win = tabster.getWindow; + this._autoRoot = autoRoot; + tabster.queueInit(() => { + if (this._autoRoot) { + this._autoRootCreate(); + } + }); + } + _autoRootUnwait(doc) { + doc.removeEventListener("readystatechange", this._autoRootCreate); + this._autoRootWaiting = false; + } + dispose() { + const win = this._win(); + this._autoRootUnwait(win.document); + delete this._autoRoot; + Object.keys(this._roots).forEach((rootId) => { + if (this._roots[rootId]) { + this._roots[rootId].dispose(); + delete this._roots[rootId]; + } + }); + this.rootById = {}; + } + createRoot(element, props, sys) { + if (true) ; + const newRoot = new Root(this._tabster, element, this._onRootDispose, props, sys); + this._roots[newRoot.id] = newRoot; + if (this._forceDummy) { + newRoot.addDummyInputs(); + } + return newRoot; + } + addDummyInputs() { + this._forceDummy = true; + const roots = this._roots; + for (const id of Object.keys(roots)) { + roots[id].addDummyInputs(); + } + } + static getRootByUId(getWindow2, id) { + const tabster = getWindow2().__tabsterInstance; + return tabster && tabster.root.rootById[id]; + } + /** + * Fetches the tabster context for an element walking up its ancestors + * + * @param tabster Tabster instance + * @param element The element the tabster context should represent + * @param options Additional options + * @returns undefined if the element is not a child of a tabster root, otherwise all applicable tabster behaviours and configurations + */ + static getTabsterContext(tabster, element, options = {}) { + var _a, _b, _c, _d; + if (!element.ownerDocument) { + return void 0; + } + const { + checkRtl, + referenceElement + } = options; + const getParent2 = tabster.getParent; + tabster.drainInitQueue(); + let root; + let modalizer; + let groupper; + let mover; + let excludedFromMover = false; + let groupperBeforeMover; + let modalizerInGroupper; + let dirRightToLeft; + let uncontrolled; + let curElement = referenceElement || element; + const ignoreKeydown = {}; + while (curElement && (!root || checkRtl)) { + const tabsterOnElement = getTabsterOnElement(tabster, curElement); + if (checkRtl && dirRightToLeft === void 0) { + const dir = curElement.dir; + if (dir) { + dirRightToLeft = dir.toLowerCase() === "rtl"; + } + } + if (!tabsterOnElement) { + curElement = getParent2(curElement); + continue; + } + const tagName = curElement.tagName; + if ((tabsterOnElement.uncontrolled || tagName === "IFRAME" || tagName === "WEBVIEW") && tabster.focusable.isVisible(curElement)) { + uncontrolled = curElement; + } + if (!mover && ((_a = tabsterOnElement.focusable) === null || _a === void 0 ? void 0 : _a.excludeFromMover) && !groupper) { + excludedFromMover = true; + } + const curModalizer = tabsterOnElement.modalizer; + const curGroupper = tabsterOnElement.groupper; + const curMover = tabsterOnElement.mover; + if (!modalizer && curModalizer) { + modalizer = curModalizer; + } + if (!groupper && curGroupper && (!modalizer || curModalizer)) { + if (modalizer) { + if (!curGroupper.isActive() && curGroupper.getProps().tabbability && modalizer.userId !== ((_b = tabster.modalizer) === null || _b === void 0 ? void 0 : _b.activeId)) { + modalizer = void 0; + groupper = curGroupper; + } + modalizerInGroupper = curGroupper; + } else { + groupper = curGroupper; + } + } + if (!mover && curMover && (!modalizer || curModalizer) && (!curGroupper || curElement !== element) && curElement.contains(element)) { + mover = curMover; + groupperBeforeMover = !!groupper && groupper !== curGroupper; + } + if (tabsterOnElement.root) { + root = tabsterOnElement.root; + } + if ((_c = tabsterOnElement.focusable) === null || _c === void 0 ? void 0 : _c.ignoreKeydown) { + Object.assign(ignoreKeydown, tabsterOnElement.focusable.ignoreKeydown); + } + curElement = getParent2(curElement); + } + if (!root) { + const rootAPI = tabster.root; + const autoRoot = rootAPI._autoRoot; + if (autoRoot) { + if ((_d = element.ownerDocument) === null || _d === void 0 ? void 0 : _d.body) { + root = rootAPI._autoRootCreate(); + } + } + } + if (groupper && !mover) { + groupperBeforeMover = true; + } + if (!root) { + if (modalizer || groupper || mover) { + console.error("Tabster Root is required for Mover, Groupper and Modalizer to work."); + } + } + const shouldIgnoreKeydown = (event) => !!ignoreKeydown[event.key]; + return root ? { + root, + modalizer, + groupper, + mover, + groupperBeforeMover, + modalizerInGroupper, + rtl: checkRtl ? !!dirRightToLeft : void 0, + uncontrolled, + excludedFromMover, + ignoreKeydown: shouldIgnoreKeydown + } : void 0; + } + static getRoot(tabster, element) { + var _a; + const getParent2 = tabster.getParent; + for (let el = element; el; el = getParent2(el)) { + const root = (_a = getTabsterOnElement(tabster, el)) === null || _a === void 0 ? void 0 : _a.root; + if (root) { + return root; + } + } + return void 0; + } + onRoot(root, removed) { + if (removed) { + delete this.rootById[root.uid]; + } else { + this.rootById[root.uid] = root; + } + } +}; +var Subscribable = class { + constructor() { + this._callbacks = []; + } + dispose() { + this._callbacks = []; + delete this._val; + } + subscribe(callback) { + const callbacks = this._callbacks; + const index = callbacks.indexOf(callback); + if (index < 0) { + callbacks.push(callback); + } + } + subscribeFirst(callback) { + const callbacks = this._callbacks; + const index = callbacks.indexOf(callback); + if (index >= 0) { + callbacks.splice(index, 1); + } + callbacks.unshift(callback); + } + unsubscribe(callback) { + const index = this._callbacks.indexOf(callback); + if (index >= 0) { + this._callbacks.splice(index, 1); + } + } + setVal(val, detail) { + if (this._val === val) { + return; + } + this._val = val; + this._callCallbacks(val, detail); + } + getVal() { + return this._val; + } + trigger(val, detail) { + this._callCallbacks(val, detail); + } + _callCallbacks(val, detail) { + this._callbacks.forEach((callback) => callback(val, detail)); + } +}; +var FocusableAPI = class { + constructor(tabster) { + this._tabster = tabster; + } + dispose() { + } + getProps(element) { + const tabsterOnElement = getTabsterOnElement(this._tabster, element); + return tabsterOnElement && tabsterOnElement.focusable || {}; + } + isFocusable(el, includeProgrammaticallyFocusable, noVisibleCheck, noAccessibleCheck) { + if (matchesSelector(el, FOCUSABLE_SELECTOR) && (includeProgrammaticallyFocusable || el.tabIndex !== -1)) { + return (noVisibleCheck || this.isVisible(el)) && (noAccessibleCheck || this.isAccessible(el)); + } + return false; + } + isVisible(el) { + if (!el.ownerDocument || el.nodeType !== Node.ELEMENT_NODE) { + return false; + } + if (isDisplayNone(el)) { + return false; + } + const rect = el.ownerDocument.body.getBoundingClientRect(); + if (rect.width === 0 && rect.height === 0) { + return false; + } + return true; + } + isAccessible(el) { + var _a; + for (let e = el; e; e = dom.getParentElement(e)) { + const tabsterOnElement = getTabsterOnElement(this._tabster, e); + if (this._isHidden(e)) { + return false; + } + const ignoreDisabled = (_a = tabsterOnElement === null || tabsterOnElement === void 0 ? void 0 : tabsterOnElement.focusable) === null || _a === void 0 ? void 0 : _a.ignoreAriaDisabled; + if (!ignoreDisabled && this._isDisabled(e)) { + return false; + } + } + return true; + } + _isDisabled(el) { + return el.hasAttribute("disabled"); + } + _isHidden(el) { + var _a; + const attrVal = el.getAttribute("aria-hidden"); + if (attrVal && attrVal.toLowerCase() === "true") { + if (!((_a = this._tabster.modalizer) === null || _a === void 0 ? void 0 : _a.isAugmented(el))) { + return true; + } + } + return false; + } + findFirst(options, out) { + return this.findElement({ + ...options + }, out); + } + findLast(options, out) { + return this.findElement({ + isBackward: true, + ...options + }, out); + } + findNext(options, out) { + return this.findElement({ + ...options + }, out); + } + findPrev(options, out) { + return this.findElement({ + ...options, + isBackward: true + }, out); + } + findDefault(options, out) { + return this.findElement({ + ...options, + acceptCondition: (el) => this.isFocusable(el, options.includeProgrammaticallyFocusable) && !!this.getProps(el).isDefault + }, out) || null; + } + findAll(options) { + return this._findElements(true, options) || []; + } + findElement(options, out) { + const found = this._findElements(false, options, out); + return found ? found[0] : found; + } + _findElements(isFindAll, options, out) { + var _a, _b, _c; + const { + container, + currentElement = null, + includeProgrammaticallyFocusable, + useActiveModalizer, + ignoreAccessibility, + modalizerId, + isBackward, + onElement + } = options; + if (!out) { + out = {}; + } + const elements = []; + let { + acceptCondition + } = options; + const hasCustomCondition = !!acceptCondition; + if (!container) { + return null; + } + if (!acceptCondition) { + acceptCondition = (el) => this.isFocusable(el, includeProgrammaticallyFocusable, false, ignoreAccessibility); + } + const acceptElementState = { + container, + modalizerUserId: modalizerId === void 0 && useActiveModalizer ? (_a = this._tabster.modalizer) === null || _a === void 0 ? void 0 : _a.activeId : modalizerId || ((_c = (_b = RootAPI.getTabsterContext(this._tabster, container)) === null || _b === void 0 ? void 0 : _b.modalizer) === null || _c === void 0 ? void 0 : _c.userId), + from: currentElement || container, + isBackward, + isFindAll, + acceptCondition, + hasCustomCondition, + includeProgrammaticallyFocusable, + ignoreAccessibility, + cachedGrouppers: {}, + cachedRadioGroups: {} + }; + const walker = createElementTreeWalker(container.ownerDocument, container, (node) => this._acceptElement(node, acceptElementState)); + if (!walker) { + return null; + } + const prepareForNextElement = (shouldContinueIfNotFound) => { + var _a2, _b2; + const foundElement = (_a2 = acceptElementState.foundElement) !== null && _a2 !== void 0 ? _a2 : acceptElementState.foundBackward; + if (foundElement) { + elements.push(foundElement); + } + if (isFindAll) { + if (foundElement) { + acceptElementState.found = false; + delete acceptElementState.foundElement; + delete acceptElementState.foundBackward; + delete acceptElementState.fromCtx; + acceptElementState.from = foundElement; + if (onElement && !onElement(foundElement)) { + return false; + } + } + return !!(foundElement || shouldContinueIfNotFound); + } else { + if (foundElement && out) { + out.uncontrolled = (_b2 = RootAPI.getTabsterContext(this._tabster, foundElement)) === null || _b2 === void 0 ? void 0 : _b2.uncontrolled; + } + return !!(shouldContinueIfNotFound && !foundElement); + } + }; + if (!currentElement) { + out.outOfDOMOrder = true; + } + if (currentElement && dom.nodeContains(container, currentElement)) { + walker.currentNode = currentElement; + } else if (isBackward) { + const lastChild = getLastChild$2(container); + if (!lastChild) { + return null; + } + if (this._acceptElement(lastChild, acceptElementState) === NodeFilter.FILTER_ACCEPT && !prepareForNextElement(true)) { + if (acceptElementState.skippedFocusable) { + out.outOfDOMOrder = true; + } + return elements; + } + walker.currentNode = lastChild; + } + do { + if (isBackward) { + walker.previousNode(); + } else { + walker.nextNode(); + } + } while (prepareForNextElement()); + if (acceptElementState.skippedFocusable) { + out.outOfDOMOrder = true; + } + return elements.length ? elements : null; + } + _acceptElement(element, state) { + var _a, _b, _c; + if (state.found) { + return NodeFilter.FILTER_ACCEPT; + } + const foundBackward = state.foundBackward; + if (foundBackward && (element === foundBackward || !dom.nodeContains(foundBackward, element))) { + state.found = true; + state.foundElement = foundBackward; + return NodeFilter.FILTER_ACCEPT; + } + const container = state.container; + if (element === container) { + return NodeFilter.FILTER_SKIP; + } + if (!dom.nodeContains(container, element)) { + return NodeFilter.FILTER_REJECT; + } + if (getDummyInputContainer(element)) { + return NodeFilter.FILTER_REJECT; + } + if (dom.nodeContains(state.rejectElementsFrom, element)) { + return NodeFilter.FILTER_REJECT; + } + const ctx = state.currentCtx = RootAPI.getTabsterContext(this._tabster, element); + if (!ctx) { + return NodeFilter.FILTER_SKIP; + } + if (shouldIgnoreFocus(element)) { + if (this.isFocusable(element, void 0, true, true)) { + state.skippedFocusable = true; + } + return NodeFilter.FILTER_SKIP; + } + if (!state.hasCustomCondition && (element.tagName === "IFRAME" || element.tagName === "WEBVIEW")) { + if (this.isVisible(element) && ((_a = ctx.modalizer) === null || _a === void 0 ? void 0 : _a.userId) === ((_b = this._tabster.modalizer) === null || _b === void 0 ? void 0 : _b.activeId)) { + state.found = true; + state.rejectElementsFrom = state.foundElement = element; + return NodeFilter.FILTER_ACCEPT; + } else { + return NodeFilter.FILTER_REJECT; + } + } + if (!state.ignoreAccessibility && !this.isAccessible(element)) { + if (this.isFocusable(element, false, true, true)) { + state.skippedFocusable = true; + } + return NodeFilter.FILTER_REJECT; + } + let result; + let fromCtx = state.fromCtx; + if (!fromCtx) { + fromCtx = state.fromCtx = RootAPI.getTabsterContext(this._tabster, state.from); + } + const fromMover = fromCtx === null || fromCtx === void 0 ? void 0 : fromCtx.mover; + let groupper = ctx.groupper; + let mover = ctx.mover; + result = (_c = this._tabster.modalizer) === null || _c === void 0 ? void 0 : _c.acceptElement(element, state); + if (result !== void 0) { + state.skippedFocusable = true; + } + if (result === void 0 && (groupper || mover || fromMover)) { + const groupperElement = groupper === null || groupper === void 0 ? void 0 : groupper.getElement(); + const fromMoverElement = fromMover === null || fromMover === void 0 ? void 0 : fromMover.getElement(); + let moverElement = mover === null || mover === void 0 ? void 0 : mover.getElement(); + if (moverElement && dom.nodeContains(fromMoverElement, moverElement) && dom.nodeContains(container, fromMoverElement) && (!groupperElement || !mover || dom.nodeContains(fromMoverElement, groupperElement))) { + mover = fromMover; + moverElement = fromMoverElement; + } + if (groupperElement) { + if (groupperElement === container || !dom.nodeContains(container, groupperElement)) { + groupper = void 0; + } else if (!dom.nodeContains(groupperElement, element)) { + return NodeFilter.FILTER_REJECT; + } + } + if (moverElement) { + if (!dom.nodeContains(container, moverElement)) { + mover = void 0; + } else if (!dom.nodeContains(moverElement, element)) { + return NodeFilter.FILTER_REJECT; + } + } + if (groupper && mover) { + if (moverElement && groupperElement && !dom.nodeContains(groupperElement, moverElement)) { + mover = void 0; + } else { + groupper = void 0; + } + } + if (groupper) { + result = groupper.acceptElement(element, state); + } + if (mover) { + result = mover.acceptElement(element, state); + } + } + if (result === void 0) { + result = state.acceptCondition(element) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP; + if (result === NodeFilter.FILTER_SKIP && this.isFocusable(element, false, true, true)) { + state.skippedFocusable = true; + } + } + if (result === NodeFilter.FILTER_ACCEPT && !state.found) { + if (!state.isFindAll && isRadio(element) && !element.checked) { + const radioGroupName = element.name; + let radioGroup = state.cachedRadioGroups[radioGroupName]; + if (!radioGroup) { + radioGroup = getRadioButtonGroup(element); + if (radioGroup) { + state.cachedRadioGroups[radioGroupName] = radioGroup; + } + } + if ((radioGroup === null || radioGroup === void 0 ? void 0 : radioGroup.checked) && radioGroup.checked !== element) { + return NodeFilter.FILTER_SKIP; + } + } + if (state.isBackward) { + state.foundBackward = element; + result = NodeFilter.FILTER_SKIP; + } else { + state.found = true; + state.foundElement = element; + } + } + return result; + } +}; +var Keys = { + Tab: "Tab", + Enter: "Enter", + Escape: "Escape", + PageUp: "PageUp", + PageDown: "PageDown", + End: "End", + Home: "Home", + ArrowLeft: "ArrowLeft", + ArrowUp: "ArrowUp", + ArrowRight: "ArrowRight", + ArrowDown: "ArrowDown" +}; +function getUncontrolledCompletelyContainer(tabster, element) { + var _a; + const getParent2 = tabster.getParent; + let el = element; + do { + const uncontrolledOnElement = (_a = getTabsterOnElement(tabster, el)) === null || _a === void 0 ? void 0 : _a.uncontrolled; + if (uncontrolledOnElement && tabster.uncontrolled.isUncontrolledCompletely(el, !!uncontrolledOnElement.completely)) { + return el; + } + el = getParent2(el); + } while (el); + return void 0; +} +var AsyncFocusIntentPriorityBySource = { + [AsyncFocusSources.Restorer]: 0, + [AsyncFocusSources.Deloser]: 1, + [AsyncFocusSources.EscapeGroupper]: 2 +}; +var FocusedElementState = class _FocusedElementState extends Subscribable { + constructor(tabster, getWindow2) { + super(); + this._init = () => { + const win = this._win(); + const doc = win.document; + doc.addEventListener(KEYBORG_FOCUSIN, this._onFocusIn, true); + doc.addEventListener(KEYBORG_FOCUSOUT, this._onFocusOut, true); + win.addEventListener("keydown", this._onKeyDown, true); + const activeElement = dom.getActiveElement(doc); + if (activeElement && activeElement !== doc.body) { + this._setFocusedElement(activeElement); + } + this.subscribe(this._onChanged); + }; + this._onFocusIn = (e) => { + const target = e.composedPath()[0]; + if (target) { + this._setFocusedElement(target, e.detail.relatedTarget, e.detail.isFocusedProgrammatically); + } + }; + this._onFocusOut = (e) => { + var _a; + this._setFocusedElement(void 0, (_a = e.detail) === null || _a === void 0 ? void 0 : _a.originalEvent.relatedTarget); + }; + this._validateFocusedElement = (element) => { + }; + this._onKeyDown = (event) => { + if (event.key !== Keys.Tab || event.ctrlKey) { + return; + } + const currentElement = this.getVal(); + if (!currentElement || !currentElement.ownerDocument || currentElement.contentEditable === "true") { + return; + } + const tabster2 = this._tabster; + const controlTab = tabster2.controlTab; + const ctx = RootAPI.getTabsterContext(tabster2, currentElement); + if (!ctx || ctx.ignoreKeydown(event)) { + return; + } + const isBackward = event.shiftKey; + const next = _FocusedElementState.findNextTabbable(tabster2, ctx, void 0, currentElement, void 0, isBackward, true); + const rootElement = ctx.root.getElement(); + if (!rootElement) { + return; + } + const nextElement = next === null || next === void 0 ? void 0 : next.element; + const uncontrolledCompletelyContainer = getUncontrolledCompletelyContainer(tabster2, currentElement); + if (nextElement) { + const nextUncontrolled = next.uncontrolled; + if (ctx.uncontrolled || dom.nodeContains(nextUncontrolled, currentElement)) { + if (!next.outOfDOMOrder && nextUncontrolled === ctx.uncontrolled || uncontrolledCompletelyContainer && !dom.nodeContains(uncontrolledCompletelyContainer, nextElement)) { + return; + } + DummyInputManager.addPhantomDummyWithTarget(tabster2, currentElement, isBackward, nextElement); + return; + } + if (nextUncontrolled && tabster2.focusable.isVisible(nextUncontrolled) || nextElement.tagName === "IFRAME" && tabster2.focusable.isVisible(nextElement)) { + if (rootElement.dispatchEvent(new TabsterMoveFocusEvent({ + by: "root", + owner: rootElement, + next: nextElement, + relatedEvent: event + }))) { + DummyInputManager.moveWithPhantomDummy(tabster2, nextUncontrolled !== null && nextUncontrolled !== void 0 ? nextUncontrolled : nextElement, false, isBackward, event); + } + return; + } + if (controlTab || (next === null || next === void 0 ? void 0 : next.outOfDOMOrder)) { + if (rootElement.dispatchEvent(new TabsterMoveFocusEvent({ + by: "root", + owner: rootElement, + next: nextElement, + relatedEvent: event + }))) { + event.preventDefault(); + event.stopImmediatePropagation(); + nativeFocus(nextElement); + } + } + } else { + if (!uncontrolledCompletelyContainer && rootElement.dispatchEvent(new TabsterMoveFocusEvent({ + by: "root", + owner: rootElement, + next: null, + relatedEvent: event + }))) { + ctx.root.moveOutWithDefaultAction(isBackward, event); + } + } + }; + this._onChanged = (element, detail) => { + var _a, _b; + if (element) { + element.dispatchEvent(new TabsterFocusInEvent(detail)); + } else { + const last = (_a = this._lastVal) === null || _a === void 0 ? void 0 : _a.get(); + if (last) { + const d = { + ...detail + }; + const lastCtx = RootAPI.getTabsterContext(this._tabster, last); + const modalizerId = (_b = lastCtx === null || lastCtx === void 0 ? void 0 : lastCtx.modalizer) === null || _b === void 0 ? void 0 : _b.userId; + if (modalizerId) { + d.modalizerId = modalizerId; + } + last.dispatchEvent(new TabsterFocusOutEvent(d)); + } + } + }; + this._tabster = tabster; + this._win = getWindow2; + tabster.queueInit(this._init); + } + dispose() { + super.dispose(); + const win = this._win(); + const doc = win.document; + doc.removeEventListener(KEYBORG_FOCUSIN, this._onFocusIn, true); + doc.removeEventListener(KEYBORG_FOCUSOUT, this._onFocusOut, true); + win.removeEventListener("keydown", this._onKeyDown, true); + this.unsubscribe(this._onChanged); + const asyncFocus = this._asyncFocus; + if (asyncFocus) { + win.clearTimeout(asyncFocus.timeout); + delete this._asyncFocus; + } + delete _FocusedElementState._lastResetElement; + delete this._nextVal; + delete this._lastVal; + } + static forgetMemorized(instance, parent2) { + var _a, _b; + let wel = _FocusedElementState._lastResetElement; + let el = wel && wel.get(); + if (el && dom.nodeContains(parent2, el)) { + delete _FocusedElementState._lastResetElement; + } + el = (_b = (_a = instance._nextVal) === null || _a === void 0 ? void 0 : _a.element) === null || _b === void 0 ? void 0 : _b.get(); + if (el && dom.nodeContains(parent2, el)) { + delete instance._nextVal; + } + wel = instance._lastVal; + el = wel && wel.get(); + if (el && dom.nodeContains(parent2, el)) { + delete instance._lastVal; + } + } + getFocusedElement() { + return this.getVal(); + } + getLastFocusedElement() { + var _a; + let el = (_a = this._lastVal) === null || _a === void 0 ? void 0 : _a.get(); + if (!el || el && !documentContains(el.ownerDocument, el)) { + this._lastVal = el = void 0; + } + return el; + } + focus(element, noFocusedProgrammaticallyFlag, noAccessibleCheck, preventScroll) { + if (!this._tabster.focusable.isFocusable(element, noFocusedProgrammaticallyFlag, false, noAccessibleCheck)) { + return false; + } + element.focus({ + preventScroll + }); + return true; + } + focusDefault(container) { + const el = this._tabster.focusable.findDefault({ + container + }); + if (el) { + this._tabster.focusedElement.focus(el); + return true; + } + return false; + } + getFirstOrLastTabbable(isFirst, props) { + var _a; + const { + container, + ignoreAccessibility + } = props; + let toFocus; + if (container) { + const ctx = RootAPI.getTabsterContext(this._tabster, container); + if (ctx) { + toFocus = (_a = _FocusedElementState.findNextTabbable(this._tabster, ctx, container, void 0, void 0, !isFirst, ignoreAccessibility)) === null || _a === void 0 ? void 0 : _a.element; + } + } + if (toFocus && !dom.nodeContains(container, toFocus)) { + toFocus = void 0; + } + return toFocus || void 0; + } + _focusFirstOrLast(isFirst, props) { + const toFocus = this.getFirstOrLastTabbable(isFirst, props); + if (toFocus) { + this.focus(toFocus, false, true); + return true; + } + return false; + } + focusFirst(props) { + return this._focusFirstOrLast(true, props); + } + focusLast(props) { + return this._focusFirstOrLast(false, props); + } + resetFocus(container) { + if (!this._tabster.focusable.isVisible(container)) { + return false; + } + if (!this._tabster.focusable.isFocusable(container, true, true, true)) { + const prevTabIndex = container.getAttribute("tabindex"); + const prevAriaHidden = container.getAttribute("aria-hidden"); + container.tabIndex = -1; + container.setAttribute("aria-hidden", "true"); + _FocusedElementState._lastResetElement = new WeakHTMLElement(this._win, container); + this.focus(container, true, true); + this._setOrRemoveAttribute(container, "tabindex", prevTabIndex); + this._setOrRemoveAttribute(container, "aria-hidden", prevAriaHidden); + } else { + this.focus(container); + } + return true; + } + requestAsyncFocus(source, callback, delay) { + const win = this._tabster.getWindow(); + const currentAsyncFocus = this._asyncFocus; + if (currentAsyncFocus) { + if (AsyncFocusIntentPriorityBySource[source] > AsyncFocusIntentPriorityBySource[currentAsyncFocus.source]) { + return; + } + win.clearTimeout(currentAsyncFocus.timeout); + } + this._asyncFocus = { + source, + callback, + timeout: win.setTimeout(() => { + this._asyncFocus = void 0; + callback(); + }, delay) + }; + } + cancelAsyncFocus(source) { + const asyncFocus = this._asyncFocus; + if ((asyncFocus === null || asyncFocus === void 0 ? void 0 : asyncFocus.source) === source) { + this._tabster.getWindow().clearTimeout(asyncFocus.timeout); + this._asyncFocus = void 0; + } + } + _setOrRemoveAttribute(element, name, value) { + if (value === null) { + element.removeAttribute(name); + } else { + element.setAttribute(name, value); + } + } + _setFocusedElement(element, relatedTarget, isFocusedProgrammatically) { + var _a, _b; + if (this._tabster._noop) { + return; + } + const detail = { + relatedTarget + }; + if (element) { + const lastResetElement = (_a = _FocusedElementState._lastResetElement) === null || _a === void 0 ? void 0 : _a.get(); + _FocusedElementState._lastResetElement = void 0; + if (lastResetElement === element || shouldIgnoreFocus(element)) { + return; + } + detail.isFocusedProgrammatically = isFocusedProgrammatically; + const ctx = RootAPI.getTabsterContext(this._tabster, element); + const modalizerId = (_b = ctx === null || ctx === void 0 ? void 0 : ctx.modalizer) === null || _b === void 0 ? void 0 : _b.userId; + if (modalizerId) { + detail.modalizerId = modalizerId; + } + } + const nextVal = this._nextVal = { + element: element ? new WeakHTMLElement(this._win, element) : void 0, + detail + }; + if (element && element !== this._val) { + this._validateFocusedElement(element); + } + if (this._nextVal === nextVal) { + this.setVal(element, detail); + } + this._nextVal = void 0; + } + setVal(val, detail) { + super.setVal(val, detail); + if (val) { + this._lastVal = new WeakHTMLElement(this._win, val); + } + } + static findNextTabbable(tabster, ctx, container, currentElement, referenceElement, isBackward, ignoreAccessibility) { + const actualContainer = container || ctx.root.getElement(); + if (!actualContainer) { + return null; + } + let next = null; + const isTabbingTimer = _FocusedElementState._isTabbingTimer; + const win = tabster.getWindow(); + if (isTabbingTimer) { + win.clearTimeout(isTabbingTimer); + } + _FocusedElementState.isTabbing = true; + _FocusedElementState._isTabbingTimer = win.setTimeout(() => { + delete _FocusedElementState._isTabbingTimer; + _FocusedElementState.isTabbing = false; + }, 0); + const modalizer = ctx.modalizer; + const groupper = ctx.groupper; + const mover = ctx.mover; + const callFindNext = (what) => { + next = what.findNextTabbable(currentElement, referenceElement, isBackward, ignoreAccessibility); + if (currentElement && !(next === null || next === void 0 ? void 0 : next.element)) { + const parentElement2 = what !== modalizer && dom.getParentElement(what.getElement()); + if (parentElement2) { + const parentCtx = RootAPI.getTabsterContext(tabster, currentElement, { + referenceElement: parentElement2 + }); + if (parentCtx) { + const currentScopeElement = what.getElement(); + const newCurrent = isBackward ? currentScopeElement : currentScopeElement && getLastChild$2(currentScopeElement) || currentScopeElement; + if (newCurrent) { + next = _FocusedElementState.findNextTabbable(tabster, parentCtx, container, newCurrent, parentElement2, isBackward, ignoreAccessibility); + if (next) { + next.outOfDOMOrder = true; + } + } + } + } + } + }; + if (groupper && mover) { + callFindNext(ctx.groupperBeforeMover ? groupper : mover); + } else if (groupper) { + callFindNext(groupper); + } else if (mover) { + callFindNext(mover); + } else if (modalizer) { + callFindNext(modalizer); + } else { + const findProps = { + container: actualContainer, + currentElement, + referenceElement, + ignoreAccessibility, + useActiveModalizer: true + }; + const findPropsOut = {}; + const nextElement = tabster.focusable[isBackward ? "findPrev" : "findNext"](findProps, findPropsOut); + next = { + element: nextElement, + outOfDOMOrder: findPropsOut.outOfDOMOrder, + uncontrolled: findPropsOut.uncontrolled + }; + } + return next; + } +}; +FocusedElementState.isTabbing = false; +var GroupperDummyManager = class extends DummyInputManager { + constructor(element, groupper, tabster, sys) { + super(tabster, element, DummyInputManagerPriorities.Groupper, sys, true); + this._setHandlers((dummyInput, isBackward, relatedTarget) => { + var _a, _b; + const container = element.get(); + const input = dummyInput.input; + if (container && input) { + const ctx = RootAPI.getTabsterContext(tabster, input); + if (ctx) { + let next; + next = (_a = groupper.findNextTabbable(relatedTarget || void 0, void 0, isBackward, true)) === null || _a === void 0 ? void 0 : _a.element; + if (!next) { + next = (_b = FocusedElementState.findNextTabbable(tabster, ctx, void 0, dummyInput.isOutside ? input : getAdjacentElement(container, !isBackward), void 0, isBackward, true)) === null || _b === void 0 ? void 0 : _b.element; + } + if (next) { + nativeFocus(next); + } + } + } + }); + } +}; +var Groupper = class extends TabsterPart { + constructor(tabster, element, onDispose, props, sys) { + super(tabster, element, props); + this._shouldTabInside = false; + this.makeTabbable(false); + this._onDispose = onDispose; + if (!tabster.controlTab) { + this.dummyManager = new GroupperDummyManager(this._element, this, tabster, sys); + } + } + dispose() { + var _a; + this._onDispose(this); + const element = this._element.get(); + (_a = this.dummyManager) === null || _a === void 0 ? void 0 : _a.dispose(); + delete this.dummyManager; + if (element) { + if (true) { + _setInformativeStyle$1(this._element, true); + } + } + delete this._first; + } + findNextTabbable(currentElement, referenceElement, isBackward, ignoreAccessibility) { + const groupperElement = this.getElement(); + if (!groupperElement) { + return null; + } + const currentIsDummy = getDummyInputContainer(currentElement) === groupperElement; + if (!this._shouldTabInside && currentElement && dom.nodeContains(groupperElement, currentElement) && !currentIsDummy) { + return { + element: void 0, + outOfDOMOrder: true + }; + } + const groupperFirstFocusable = this.getFirst(true); + if (!currentElement || !dom.nodeContains(groupperElement, currentElement) || currentIsDummy) { + return { + element: groupperFirstFocusable, + outOfDOMOrder: true + }; + } + const tabster = this._tabster; + let next = null; + let outOfDOMOrder = false; + let uncontrolled; + if (this._shouldTabInside && groupperFirstFocusable) { + const findProps = { + container: groupperElement, + currentElement, + referenceElement, + ignoreAccessibility, + useActiveModalizer: true + }; + const findPropsOut = {}; + next = tabster.focusable[isBackward ? "findPrev" : "findNext"](findProps, findPropsOut); + outOfDOMOrder = !!findPropsOut.outOfDOMOrder; + if (!next && this._props.tabbability === GroupperTabbabilities.LimitedTrapFocus) { + next = tabster.focusable[isBackward ? "findLast" : "findFirst"]({ + container: groupperElement, + ignoreAccessibility, + useActiveModalizer: true + }, findPropsOut); + outOfDOMOrder = true; + } + uncontrolled = findPropsOut.uncontrolled; + } + return { + element: next, + uncontrolled, + outOfDOMOrder + }; + } + makeTabbable(isTabbable) { + this._shouldTabInside = isTabbable || !this._props.tabbability; + if (true) { + _setInformativeStyle$1(this._element, !this._shouldTabInside); + } + } + isActive(noIfFirstIsFocused) { + var _a; + const element = this.getElement() || null; + let isParentActive = true; + for (let e = dom.getParentElement(element); e; e = dom.getParentElement(e)) { + const g = (_a = getTabsterOnElement(this._tabster, e)) === null || _a === void 0 ? void 0 : _a.groupper; + if (g) { + if (!g._shouldTabInside) { + isParentActive = false; + } + } + } + let ret = isParentActive ? this._props.tabbability ? this._shouldTabInside : false : void 0; + if (ret && noIfFirstIsFocused) { + const focused = this._tabster.focusedElement.getFocusedElement(); + if (focused) { + ret = focused !== this.getFirst(true); + } + } + return ret; + } + getFirst(orContainer) { + var _a; + const groupperElement = this.getElement(); + let first; + if (groupperElement) { + if (orContainer && this._tabster.focusable.isFocusable(groupperElement)) { + return groupperElement; + } + first = (_a = this._first) === null || _a === void 0 ? void 0 : _a.get(); + if (!first) { + first = this._tabster.focusable.findFirst({ + container: groupperElement, + useActiveModalizer: true + }) || void 0; + if (first) { + this.setFirst(first); + } + } + } + return first; + } + setFirst(element) { + if (element) { + this._first = new WeakHTMLElement(this._tabster.getWindow, element); + } else { + delete this._first; + } + } + acceptElement(element, state) { + const cachedGrouppers = state.cachedGrouppers; + const parentElement2 = dom.getParentElement(this.getElement()); + const parentCtx = parentElement2 && RootAPI.getTabsterContext(this._tabster, parentElement2); + const parentCtxGroupper = parentCtx === null || parentCtx === void 0 ? void 0 : parentCtx.groupper; + const parentGroupper = (parentCtx === null || parentCtx === void 0 ? void 0 : parentCtx.groupperBeforeMover) ? parentCtxGroupper : void 0; + let parentGroupperElement; + const getIsActive = (groupper) => { + let cached = cachedGrouppers[groupper.id]; + let isActive2; + if (cached) { + isActive2 = cached.isActive; + } else { + isActive2 = this.isActive(true); + cached = cachedGrouppers[groupper.id] = { + isActive: isActive2 + }; + } + return isActive2; + }; + if (parentGroupper) { + parentGroupperElement = parentGroupper.getElement(); + if (!getIsActive(parentGroupper) && parentGroupperElement && state.container !== parentGroupperElement && dom.nodeContains(state.container, parentGroupperElement)) { + state.skippedFocusable = true; + return NodeFilter.FILTER_REJECT; + } + } + const isActive = getIsActive(this); + const groupperElement = this.getElement(); + if (groupperElement) { + if (isActive !== true) { + if (groupperElement === element && parentCtxGroupper) { + if (!parentGroupperElement) { + parentGroupperElement = parentCtxGroupper.getElement(); + } + if (parentGroupperElement && !getIsActive(parentCtxGroupper) && dom.nodeContains(state.container, parentGroupperElement) && parentGroupperElement !== state.container) { + state.skippedFocusable = true; + return NodeFilter.FILTER_REJECT; + } + } + if (groupperElement !== element && dom.nodeContains(groupperElement, element)) { + state.skippedFocusable = true; + return NodeFilter.FILTER_REJECT; + } + const cached = cachedGrouppers[this.id]; + let first; + if ("first" in cached) { + first = cached.first; + } else { + first = cached.first = this.getFirst(true); + } + if (first && state.acceptCondition(first)) { + state.rejectElementsFrom = groupperElement; + state.skippedFocusable = true; + if (first !== state.from) { + state.found = true; + state.foundElement = first; + return NodeFilter.FILTER_ACCEPT; + } else { + return NodeFilter.FILTER_REJECT; + } + } + } + } + return void 0; + } +}; +var GroupperAPI = class { + constructor(tabster, getWindow2) { + this._current = {}; + this._grouppers = {}; + this._init = () => { + const win = this._win(); + this._tabster.focusedElement.subscribeFirst(this._onFocus); + const doc = win.document; + const activeElement = dom.getActiveElement(doc); + if (activeElement) { + this._onFocus(activeElement); + } + doc.addEventListener("mousedown", this._onMouseDown, true); + win.addEventListener("keydown", this._onKeyDown, true); + win.addEventListener(GroupperMoveFocusEventName, this._onMoveFocus); + }; + this._onGroupperDispose = (groupper) => { + delete this._grouppers[groupper.id]; + }; + this._onFocus = (element) => { + if (element) { + this._updateCurrent(element); + } + }; + this._onMouseDown = (e) => { + let target = e.target; + while (target && !this._tabster.focusable.isFocusable(target)) { + target = this._tabster.getParent(target); + } + if (target) { + this._updateCurrent(target); + } + }; + this._onKeyDown = (event) => { + if (event.key !== Keys.Enter && event.key !== Keys.Escape) { + return; + } + if (event.ctrlKey || event.altKey || event.shiftKey || event.metaKey) { + return; + } + const element = this._tabster.focusedElement.getFocusedElement(); + if (element) { + this.handleKeyPress(element, event); + } + }; + this._onMoveFocus = (e) => { + var _a; + const element = e.composedPath()[0]; + const action = (_a = e.detail) === null || _a === void 0 ? void 0 : _a.action; + if (element && action !== void 0 && !e.defaultPrevented) { + if (action === GroupperMoveFocusActions.Enter) { + this._enterGroupper(element); + } else { + this._escapeGroupper(element); + } + e.stopImmediatePropagation(); + } + }; + this._tabster = tabster; + this._win = getWindow2; + tabster.queueInit(this._init); + } + dispose() { + const win = this._win(); + this._tabster.focusedElement.cancelAsyncFocus(AsyncFocusSources.EscapeGroupper); + this._current = {}; + if (this._updateTimer) { + win.clearTimeout(this._updateTimer); + delete this._updateTimer; + } + this._tabster.focusedElement.unsubscribe(this._onFocus); + win.document.removeEventListener("mousedown", this._onMouseDown, true); + win.removeEventListener("keydown", this._onKeyDown, true); + win.removeEventListener(GroupperMoveFocusEventName, this._onMoveFocus); + Object.keys(this._grouppers).forEach((groupperId) => { + if (this._grouppers[groupperId]) { + this._grouppers[groupperId].dispose(); + delete this._grouppers[groupperId]; + } + }); + } + createGroupper(element, props, sys) { + if (true) ; + const tabster = this._tabster; + const newGroupper = new Groupper(tabster, element, this._onGroupperDispose, props, sys); + this._grouppers[newGroupper.id] = newGroupper; + const focusedElement = tabster.focusedElement.getFocusedElement(); + if (focusedElement && dom.nodeContains(element, focusedElement) && !this._updateTimer) { + this._updateTimer = this._win().setTimeout(() => { + delete this._updateTimer; + if (focusedElement === tabster.focusedElement.getFocusedElement()) { + this._updateCurrent(focusedElement); + } + }, 0); + } + return newGroupper; + } + forgetCurrentGrouppers() { + this._current = {}; + } + _updateCurrent(element) { + var _a; + if (this._updateTimer) { + this._win().clearTimeout(this._updateTimer); + delete this._updateTimer; + } + const tabster = this._tabster; + const newIds = {}; + for (let el = tabster.getParent(element); el; el = tabster.getParent(el)) { + const groupper = (_a = getTabsterOnElement(tabster, el)) === null || _a === void 0 ? void 0 : _a.groupper; + if (groupper) { + newIds[groupper.id] = true; + this._current[groupper.id] = groupper; + const isTabbable = groupper.isActive() || element !== el && (!groupper.getProps().delegated || groupper.getFirst(false) !== element); + groupper.makeTabbable(isTabbable); + } + } + for (const id of Object.keys(this._current)) { + const groupper = this._current[id]; + if (!(groupper.id in newIds)) { + groupper.makeTabbable(false); + groupper.setFirst(void 0); + delete this._current[id]; + } + } + } + _enterGroupper(element, relatedEvent) { + const tabster = this._tabster; + const ctx = RootAPI.getTabsterContext(tabster, element); + const groupper = (ctx === null || ctx === void 0 ? void 0 : ctx.groupper) || (ctx === null || ctx === void 0 ? void 0 : ctx.modalizerInGroupper); + const groupperElement = groupper === null || groupper === void 0 ? void 0 : groupper.getElement(); + if (groupper && groupperElement && (element === groupperElement || groupper.getProps().delegated && element === groupper.getFirst(false))) { + const next = tabster.focusable.findNext({ + container: groupperElement, + currentElement: element, + useActiveModalizer: true + }); + if (next && (!relatedEvent || relatedEvent && groupperElement.dispatchEvent(new TabsterMoveFocusEvent({ + by: "groupper", + owner: groupperElement, + next, + relatedEvent + })))) { + if (relatedEvent) { + relatedEvent.preventDefault(); + relatedEvent.stopImmediatePropagation(); + } + next.focus(); + return next; + } + } + return null; + } + _escapeGroupper(element, relatedEvent, fromModalizer) { + const tabster = this._tabster; + const ctx = RootAPI.getTabsterContext(tabster, element); + let groupper = (ctx === null || ctx === void 0 ? void 0 : ctx.groupper) || (ctx === null || ctx === void 0 ? void 0 : ctx.modalizerInGroupper); + const groupperElement = groupper === null || groupper === void 0 ? void 0 : groupper.getElement(); + if (groupper && groupperElement && dom.nodeContains(groupperElement, element)) { + let next; + if (element !== groupperElement || fromModalizer) { + next = groupper.getFirst(true); + } else { + const parentElement2 = dom.getParentElement(groupperElement); + const parentCtx = parentElement2 ? RootAPI.getTabsterContext(tabster, parentElement2) : void 0; + groupper = parentCtx === null || parentCtx === void 0 ? void 0 : parentCtx.groupper; + next = groupper === null || groupper === void 0 ? void 0 : groupper.getFirst(true); + } + if (next && (!relatedEvent || relatedEvent && groupperElement.dispatchEvent(new TabsterMoveFocusEvent({ + by: "groupper", + owner: groupperElement, + next, + relatedEvent + })))) { + if (groupper) { + groupper.makeTabbable(false); + } + next.focus(); + return next; + } + } + return null; + } + moveFocus(element, action) { + return action === GroupperMoveFocusActions.Enter ? this._enterGroupper(element) : this._escapeGroupper(element); + } + handleKeyPress(element, event, fromModalizer) { + const tabster = this._tabster; + const ctx = RootAPI.getTabsterContext(tabster, element); + if (ctx && ((ctx === null || ctx === void 0 ? void 0 : ctx.groupper) || (ctx === null || ctx === void 0 ? void 0 : ctx.modalizerInGroupper))) { + tabster.focusedElement.cancelAsyncFocus(AsyncFocusSources.EscapeGroupper); + if (ctx.ignoreKeydown(event)) { + return; + } + if (event.key === Keys.Enter) { + this._enterGroupper(element, event); + } else if (event.key === Keys.Escape) { + const focusedElement = tabster.focusedElement.getFocusedElement(); + tabster.focusedElement.requestAsyncFocus(AsyncFocusSources.EscapeGroupper, () => { + if (focusedElement !== tabster.focusedElement.getFocusedElement() && // A part of Modalizer that has called this handler to escape the active groupper + // might have been removed from DOM, if the focus is on body, we still want to handle Esc. + (fromModalizer && !focusedElement || !fromModalizer)) { + return; + } + this._escapeGroupper(element, event, fromModalizer); + }, 0); + } + } + } +}; +function _setInformativeStyle$1(weakElement, remove) { + if (true) { + const element = weakElement.get(); + if (element) { + if (remove) { + element.style.removeProperty("--tabster-groupper"); + } else { + element.style.setProperty("--tabster-groupper", "unlimited"); + } + } + } +} +var KeyboardNavigationState = class extends Subscribable { + constructor(getWindow2) { + super(); + this._onChange = (isNavigatingWithKeyboard) => { + this.setVal(isNavigatingWithKeyboard, void 0); + }; + this._keyborg = createKeyborg(getWindow2()); + this._keyborg.subscribe(this._onChange); + } + dispose() { + super.dispose(); + if (this._keyborg) { + this._keyborg.unsubscribe(this._onChange); + disposeKeyborg(this._keyborg); + delete this._keyborg; + } + } + setNavigatingWithKeyboard(isNavigatingWithKeyboard) { + var _a; + (_a = this._keyborg) === null || _a === void 0 ? void 0 : _a.setVal(isNavigatingWithKeyboard); + } + isNavigatingWithKeyboard() { + var _a; + return !!((_a = this._keyborg) === null || _a === void 0 ? void 0 : _a.isNavigatingWithKeyboard()); + } +}; +var _wasFocusedCounter = 0; +var _ariaHidden = "aria-hidden"; +function _setInformativeStyle(weakElement, remove, internalId, userId, isActive, wasFocused) { + if (true) { + const element = weakElement.get(); + if (element) { + if (remove) { + element.style.removeProperty("--tabster-modalizer"); + } else { + element.style.setProperty("--tabster-modalizer", internalId + "," + userId + "," + (isActive ? "active" : "inactive") + ",," + (wasFocused ? `focused(${wasFocused})` : "not-focused")); + } + } + } +} +var ModalizerDummyManager = class extends DummyInputManager { + constructor(element, tabster, sys) { + super(tabster, element, DummyInputManagerPriorities.Modalizer, sys); + this._setHandlers((dummyInput, isBackward) => { + var _a, _b; + const el = element.get(); + const container = el && ((_a = RootAPI.getRoot(tabster, el)) === null || _a === void 0 ? void 0 : _a.getElement()); + const input = dummyInput.input; + let toFocus; + if (container && input) { + const dummyContainer = getDummyInputContainer(input); + const ctx = RootAPI.getTabsterContext(tabster, dummyContainer || input); + if (ctx) { + toFocus = (_b = FocusedElementState.findNextTabbable(tabster, ctx, container, input, void 0, isBackward, true)) === null || _b === void 0 ? void 0 : _b.element; + } + if (toFocus) { + nativeFocus(toFocus); + } + } + }); + } +}; +var Modalizer = class extends TabsterPart { + constructor(tabster, element, onDispose, props, sys, activeElements) { + super(tabster, element, props); + this._wasFocused = 0; + this.userId = props.id; + this._onDispose = onDispose; + this._activeElements = activeElements; + if (!tabster.controlTab) { + this.dummyManager = new ModalizerDummyManager(this._element, tabster, sys); + } + if (true) { + _setInformativeStyle(this._element, false, this.id, this.userId, this._isActive, this._wasFocused); + } + } + makeActive(isActive) { + if (this._isActive !== isActive) { + this._isActive = isActive; + const element = this.getElement(); + if (element) { + const activeElements = this._activeElements; + const index = activeElements.map((e) => e.get()).indexOf(element); + if (isActive) { + if (index < 0) { + activeElements.push(new WeakHTMLElement(this._tabster.getWindow, element)); + } + } else { + if (index >= 0) { + activeElements.splice(index, 1); + } + } + } + if (true) { + _setInformativeStyle(this._element, false, this.id, this.userId, this._isActive, this._wasFocused); + } + this._dispatchEvent(isActive); + } + } + focused(noIncrement) { + if (!noIncrement) { + this._wasFocused = ++_wasFocusedCounter; + } + return this._wasFocused; + } + setProps(props) { + if (props.id) { + this.userId = props.id; + } + this._props = { + ...props + }; + } + dispose() { + var _a; + this.makeActive(false); + this._onDispose(this); + (_a = this.dummyManager) === null || _a === void 0 ? void 0 : _a.dispose(); + delete this.dummyManager; + this._activeElements = []; + this._remove(); + } + isActive() { + return !!this._isActive; + } + contains(element) { + return dom.nodeContains(this.getElement(), element); + } + findNextTabbable(currentElement, referenceElement, isBackward, ignoreAccessibility) { + var _a, _b; + const modalizerElement = this.getElement(); + if (!modalizerElement) { + return null; + } + const tabster = this._tabster; + let next = null; + let outOfDOMOrder = false; + let uncontrolled; + const container = currentElement && ((_a = RootAPI.getRoot(tabster, currentElement)) === null || _a === void 0 ? void 0 : _a.getElement()); + if (container) { + const findProps = { + container, + currentElement, + referenceElement, + ignoreAccessibility, + useActiveModalizer: true + }; + const findPropsOut = {}; + next = tabster.focusable[isBackward ? "findPrev" : "findNext"](findProps, findPropsOut); + if (!next && this._props.isTrapped && ((_b = tabster.modalizer) === null || _b === void 0 ? void 0 : _b.activeId)) { + next = tabster.focusable[isBackward ? "findLast" : "findFirst"]({ + container, + ignoreAccessibility, + useActiveModalizer: true + }, findPropsOut); + if (next === null) { + next = currentElement; + } + outOfDOMOrder = true; + } else { + outOfDOMOrder = !!findPropsOut.outOfDOMOrder; + } + uncontrolled = findPropsOut.uncontrolled; + } + return { + element: next, + uncontrolled, + outOfDOMOrder + }; + } + _dispatchEvent(isActive, allElements) { + const element = this.getElement(); + let defaultPrevented = false; + if (element) { + const elements = allElements ? this._activeElements.map((e) => e.get()) : [element]; + for (const el of elements) { + if (el) { + const eventDetail = { + id: this.userId, + element + }; + const event = isActive ? new ModalizerActiveEvent(eventDetail) : new ModalizerInactiveEvent(eventDetail); + el.dispatchEvent(event); + if (event.defaultPrevented) { + defaultPrevented = true; + } + } + } + } + return defaultPrevented; + } + _remove() { + if (true) { + _setInformativeStyle(this._element, true); + } + } +}; +var ModalizerAPI = class { + constructor(tabster, alwaysAccessibleSelector, accessibleCheck) { + this._onModalizerDispose = (modalizer) => { + const id = modalizer.id; + const userId = modalizer.userId; + const part = this._parts[userId]; + delete this._modalizers[id]; + if (part) { + delete part[id]; + if (Object.keys(part).length === 0) { + delete this._parts[userId]; + const activationHistory = this._activationHistory; + const cleanActivationHistory = []; + let prevHistoryItem; + for (let i = activationHistory.length; i--; ) { + const modalizerUserIdFromHistory = activationHistory[i]; + if (modalizerUserIdFromHistory === userId) { + continue; + } + if (modalizerUserIdFromHistory !== prevHistoryItem) { + prevHistoryItem = modalizerUserIdFromHistory; + if (modalizerUserIdFromHistory || cleanActivationHistory.length > 0) { + cleanActivationHistory.unshift(modalizerUserIdFromHistory); + } + } + } + this._activationHistory = cleanActivationHistory; + if (this.activeId === userId) { + const prevActiveId = cleanActivationHistory[0]; + const prevActive = prevActiveId ? Object.values(this._parts[prevActiveId])[0] : void 0; + this.setActive(prevActive); + } + } + } + }; + this._onKeyDown = (event) => { + var _a; + if (event.key !== Keys.Escape) { + return; + } + const tabster2 = this._tabster; + const element = tabster2.focusedElement.getFocusedElement(); + if (element) { + const ctx = RootAPI.getTabsterContext(tabster2, element); + const modalizer = ctx === null || ctx === void 0 ? void 0 : ctx.modalizer; + if (ctx && !ctx.groupper && (modalizer === null || modalizer === void 0 ? void 0 : modalizer.isActive()) && !ctx.ignoreKeydown(event)) { + const activeId = modalizer.userId; + if (activeId) { + const part = this._parts[activeId]; + if (part) { + const focusedSince = Object.keys(part).map((id) => { + var _a2; + const m = part[id]; + const el = m.getElement(); + let groupper; + if (el) { + groupper = (_a2 = getTabsterOnElement(tabster2, el)) === null || _a2 === void 0 ? void 0 : _a2.groupper; + } + return m && el && groupper ? { + el, + focusedSince: m.focused(true) + } : { + focusedSince: 0 + }; + }).filter((f) => f.focusedSince > 0).sort((a, b) => a.focusedSince > b.focusedSince ? -1 : a.focusedSince < b.focusedSince ? 1 : 0); + if (focusedSince.length) { + const groupperElement = focusedSince[0].el; + if (groupperElement) { + (_a = tabster2.groupper) === null || _a === void 0 ? void 0 : _a.handleKeyPress(groupperElement, event, true); + } + } + } + } + } + } + }; + this._onFocus = (focusedElement, detail) => { + var _a; + const tabster2 = this._tabster; + const ctx = focusedElement && RootAPI.getTabsterContext(tabster2, focusedElement); + if (!ctx || !focusedElement) { + return; + } + const augmentedMap = this._augMap; + for (let e = focusedElement; e; e = dom.getParentElement(e)) { + if (augmentedMap.has(e)) { + augmentedMap.delete(e); + augmentAttribute(tabster2, e, _ariaHidden); + } + } + let modalizer = ctx.modalizer; + const tabsterOnFocusedElement = getTabsterOnElement(tabster2, focusedElement); + const modalizerOnFocusedElement = tabsterOnFocusedElement === null || tabsterOnFocusedElement === void 0 ? void 0 : tabsterOnFocusedElement.modalizer; + if (modalizerOnFocusedElement) { + modalizerOnFocusedElement.focused(); + if (modalizerOnFocusedElement.userId === this.activeId && tabsterOnFocusedElement.groupper) { + const parentElement2 = tabster2.getParent(focusedElement); + const parentModalizer = parentElement2 && ((_a = RootAPI.getTabsterContext(tabster2, parentElement2)) === null || _a === void 0 ? void 0 : _a.modalizer); + if (parentModalizer) { + modalizer = parentModalizer; + } else { + this.setActive(void 0); + return; + } + } + } + modalizer === null || modalizer === void 0 ? void 0 : modalizer.focused(); + if ((modalizer === null || modalizer === void 0 ? void 0 : modalizer.userId) === this.activeId) { + this.currentIsOthersAccessible = modalizer === null || modalizer === void 0 ? void 0 : modalizer.getProps().isOthersAccessible; + return; + } + if (detail.isFocusedProgrammatically || this.currentIsOthersAccessible || (modalizer === null || modalizer === void 0 ? void 0 : modalizer.getProps().isAlwaysAccessible)) { + this.setActive(modalizer); + } else { + const win2 = this._win(); + win2.clearTimeout(this._restoreModalizerFocusTimer); + this._restoreModalizerFocusTimer = win2.setTimeout(() => this._restoreModalizerFocus(focusedElement), 100); + } + }; + this._tabster = tabster; + this._win = tabster.getWindow; + this._modalizers = {}; + this._parts = {}; + this._augMap = /* @__PURE__ */ new WeakMap(); + this._aug = []; + this._alwaysAccessibleSelector = alwaysAccessibleSelector; + this._accessibleCheck = accessibleCheck; + this._activationHistory = []; + this.activeElements = []; + if (!tabster.controlTab) { + tabster.root.addDummyInputs(); + } + const win = this._win(); + win.addEventListener("keydown", this._onKeyDown, true); + tabster.queueInit(() => { + this._tabster.focusedElement.subscribe(this._onFocus); + }); + } + dispose() { + const win = this._win(); + win.removeEventListener("keydown", this._onKeyDown, true); + Object.keys(this._modalizers).forEach((modalizerId) => { + if (this._modalizers[modalizerId]) { + this._modalizers[modalizerId].dispose(); + delete this._modalizers[modalizerId]; + } + }); + win.clearTimeout(this._restoreModalizerFocusTimer); + win.clearTimeout(this._hiddenUpdateTimer); + this._parts = {}; + delete this.activeId; + this.activeElements = []; + this._augMap = /* @__PURE__ */ new WeakMap(); + this._aug = []; + this._tabster.focusedElement.unsubscribe(this._onFocus); + } + createModalizer(element, props, sys) { + var _a; + if (true) ; + const modalizer = new Modalizer(this._tabster, element, this._onModalizerDispose, props, sys, this.activeElements); + const id = modalizer.id; + const userId = props.id; + this._modalizers[id] = modalizer; + let part = this._parts[userId]; + if (!part) { + part = this._parts[userId] = {}; + } + part[id] = modalizer; + const focusedElement = (_a = this._tabster.focusedElement.getFocusedElement()) !== null && _a !== void 0 ? _a : null; + if (element !== focusedElement && dom.nodeContains(element, focusedElement)) { + if (userId !== this.activeId) { + this.setActive(modalizer); + } else { + modalizer.makeActive(true); + } + } + return modalizer; + } + isAugmented(element) { + return this._augMap.has(element); + } + hiddenUpdate() { + if (this._hiddenUpdateTimer) { + return; + } + this._hiddenUpdateTimer = this._win().setTimeout(() => { + delete this._hiddenUpdateTimer; + this._hiddenUpdate(); + }, 250); + } + setActive(modalizer) { + const userId = modalizer === null || modalizer === void 0 ? void 0 : modalizer.userId; + const activeId = this.activeId; + if (activeId === userId) { + return; + } + this.activeId = userId; + if (activeId) { + const part = this._parts[activeId]; + if (part) { + for (const id of Object.keys(part)) { + part[id].makeActive(false); + } + } + } + if (userId) { + const part = this._parts[userId]; + if (part) { + for (const id of Object.keys(part)) { + part[id].makeActive(true); + } + } + } + this.currentIsOthersAccessible = modalizer === null || modalizer === void 0 ? void 0 : modalizer.getProps().isOthersAccessible; + this.hiddenUpdate(); + const activationHistory = this._activationHistory; + if (activationHistory[0] !== userId && (userId !== void 0 || activationHistory.length > 0)) { + activationHistory.unshift(userId); + } + } + focus(elementFromModalizer, noFocusFirst, noFocusDefault) { + const tabster = this._tabster; + const ctx = RootAPI.getTabsterContext(tabster, elementFromModalizer); + const modalizer = ctx === null || ctx === void 0 ? void 0 : ctx.modalizer; + if (modalizer) { + this.setActive(modalizer); + const props = modalizer.getProps(); + const modalizerRoot = modalizer.getElement(); + if (modalizerRoot) { + if (noFocusFirst === void 0) { + noFocusFirst = props.isNoFocusFirst; + } + if (!noFocusFirst && tabster.keyboardNavigation.isNavigatingWithKeyboard() && tabster.focusedElement.focusFirst({ + container: modalizerRoot + })) { + return true; + } + if (noFocusDefault === void 0) { + noFocusDefault = props.isNoFocusDefault; + } + if (!noFocusDefault && tabster.focusedElement.focusDefault(modalizerRoot)) { + return true; + } + tabster.focusedElement.resetFocus(modalizerRoot); + } + } else if (true) { + console.error("Element is not in Modalizer.", elementFromModalizer); + } + return false; + } + activate(modalizerElementOrContainer) { + var _a; + const modalizerToActivate = modalizerElementOrContainer ? (_a = RootAPI.getTabsterContext(this._tabster, modalizerElementOrContainer)) === null || _a === void 0 ? void 0 : _a.modalizer : void 0; + if (!modalizerElementOrContainer || modalizerToActivate) { + this.setActive(modalizerToActivate); + return true; + } + return false; + } + acceptElement(element, state) { + var _a; + const modalizerUserId = state.modalizerUserId; + const currentModalizer = (_a = state.currentCtx) === null || _a === void 0 ? void 0 : _a.modalizer; + if (modalizerUserId) { + for (const e of this.activeElements) { + const el = e.get(); + if (el && (dom.nodeContains(element, el) || el === element)) { + return NodeFilter.FILTER_SKIP; + } + } + } + const ret = modalizerUserId === (currentModalizer === null || currentModalizer === void 0 ? void 0 : currentModalizer.userId) || !modalizerUserId && (currentModalizer === null || currentModalizer === void 0 ? void 0 : currentModalizer.getProps().isAlwaysAccessible) ? void 0 : NodeFilter.FILTER_SKIP; + if (ret !== void 0) { + state.skippedFocusable = true; + } + return ret; + } + _hiddenUpdate() { + var _a; + const tabster = this._tabster; + const body = tabster.getWindow().document.body; + const activeId = this.activeId; + const parts = this._parts; + const visibleElements = []; + const hiddenElements = []; + const alwaysAccessibleSelector = this._alwaysAccessibleSelector; + const alwaysAccessibleElements = alwaysAccessibleSelector ? Array.from(dom.querySelectorAll(body, alwaysAccessibleSelector)) : []; + const activeModalizerElements = []; + for (const userId of Object.keys(parts)) { + const modalizerParts = parts[userId]; + for (const id of Object.keys(modalizerParts)) { + const modalizer = modalizerParts[id]; + const el = modalizer.getElement(); + const props = modalizer.getProps(); + const isAlwaysAccessible = props.isAlwaysAccessible; + if (el) { + if (userId === activeId) { + activeModalizerElements.push(el); + if (!this.currentIsOthersAccessible) { + visibleElements.push(el); + } + } else if (isAlwaysAccessible) { + alwaysAccessibleElements.push(el); + } else { + hiddenElements.push(el); + } + } + } + } + const augmentedMap = this._augMap; + const allVisibleElements = visibleElements.length > 0 ? [...visibleElements, ...alwaysAccessibleElements] : void 0; + const newAugmented = []; + const newAugmentedMap = /* @__PURE__ */ new WeakMap(); + const toggle = (element, hide3) => { + var _a2; + const tagName = element.tagName; + if (tagName === "SCRIPT" || tagName === "STYLE") { + return; + } + let isAugmented = false; + if (augmentedMap.has(element)) { + if (hide3) { + isAugmented = true; + } else { + augmentedMap.delete(element); + augmentAttribute(tabster, element, _ariaHidden); + } + } else if (hide3 && !((_a2 = this._accessibleCheck) === null || _a2 === void 0 ? void 0 : _a2.call(this, element, activeModalizerElements)) && augmentAttribute(tabster, element, _ariaHidden, "true")) { + augmentedMap.set(element, true); + isAugmented = true; + } + if (isAugmented) { + newAugmented.push(new WeakHTMLElement(tabster.getWindow, element)); + newAugmentedMap.set(element, true); + } + }; + const walk = (element) => { + var _a2; + for (let el = dom.getFirstElementChild(element); el; el = dom.getNextElementSibling(el)) { + let skip = false; + let containsModalizer = false; + let containedByModalizer = false; + if (allVisibleElements) { + const elParent = tabster.getParent(el); + for (const c of allVisibleElements) { + if (el === c) { + skip = true; + break; + } + if (dom.nodeContains(el, c)) { + containsModalizer = true; + break; + } else if (dom.nodeContains(c, elParent)) { + containedByModalizer = true; + } + } + if (containsModalizer || ((_a2 = el.__tabsterElementFlags) === null || _a2 === void 0 ? void 0 : _a2.noDirectAriaHidden)) { + walk(el); + } else if (!skip && !containedByModalizer) { + toggle(el, true); + } + } else { + toggle(el, false); + } + } + }; + if (!allVisibleElements) { + alwaysAccessibleElements.forEach((e) => toggle(e, false)); + } + hiddenElements.forEach((e) => toggle(e, true)); + if (body) { + walk(body); + } + (_a = this._aug) === null || _a === void 0 ? void 0 : _a.map((e) => e.get()).forEach((e) => { + if (e && !newAugmentedMap.get(e)) { + toggle(e, false); + } + }); + this._aug = newAugmented; + this._augMap = newAugmentedMap; + } + /** + * Called when an element is focused outside of an active modalizer. + * Attempts to pull focus back into the active modalizer + * @param outsideElement - An element being focused outside of the modalizer + */ + _restoreModalizerFocus(outsideElement) { + var _a; + const ownerDocument = outsideElement === null || outsideElement === void 0 ? void 0 : outsideElement.ownerDocument; + if (!outsideElement || !ownerDocument) { + return; + } + const focusedElement = this._tabster.focusedElement.getFocusedElement(); + const focusedElementModalizer = focusedElement && ((_a = RootAPI.getTabsterContext(this._tabster, focusedElement)) === null || _a === void 0 ? void 0 : _a.modalizer); + if (!focusedElement || focusedElement && (focusedElementModalizer === null || focusedElementModalizer === void 0 ? void 0 : focusedElementModalizer.userId) === this.activeId) { + return; + } + const tabster = this._tabster; + const ctx = RootAPI.getTabsterContext(tabster, outsideElement); + const modalizer = ctx === null || ctx === void 0 ? void 0 : ctx.modalizer; + const activeId = this.activeId; + if (!modalizer && !activeId || modalizer && activeId === modalizer.userId) { + return; + } + const container = ctx === null || ctx === void 0 ? void 0 : ctx.root.getElement(); + if (container) { + let toFocus = tabster.focusable.findFirst({ + container, + useActiveModalizer: true + }); + if (toFocus) { + if (outsideElement.compareDocumentPosition(toFocus) & document.DOCUMENT_POSITION_PRECEDING) { + toFocus = tabster.focusable.findLast({ + container, + useActiveModalizer: true + }); + if (!toFocus) { + throw new Error("Something went wrong."); + } + } + tabster.focusedElement.focus(toFocus); + return; + } + } + outsideElement.blur(); + } +}; +var _inputSelector = ["input", "textarea", "*[contenteditable]"].join(", "); +var MoverDummyManager = class extends DummyInputManager { + constructor(element, tabster, getMemorized, sys) { + super(tabster, element, DummyInputManagerPriorities.Mover, sys); + this._onFocusDummyInput = (dummyInput) => { + var _a, _b; + const container = this._element.get(); + const input = dummyInput.input; + if (container && input) { + const ctx = RootAPI.getTabsterContext(this._tabster, container); + let toFocus; + if (ctx) { + toFocus = (_a = FocusedElementState.findNextTabbable(this._tabster, ctx, void 0, input, void 0, !dummyInput.isFirst, true)) === null || _a === void 0 ? void 0 : _a.element; + } + const memorized = (_b = this._getMemorized()) === null || _b === void 0 ? void 0 : _b.get(); + if (memorized && this._tabster.focusable.isFocusable(memorized)) { + toFocus = memorized; + } + if (toFocus) { + nativeFocus(toFocus); + } + } + }; + this._tabster = tabster; + this._getMemorized = getMemorized; + this._setHandlers(this._onFocusDummyInput); + } +}; +var _moverUpdateAdd = 1; +var _moverUpdateAttr = 2; +var _moverUpdateRemove = 3; +var Mover = class extends TabsterPart { + constructor(tabster, element, onDispose, props, sys) { + var _a; + super(tabster, element, props); + this._visible = {}; + this._onIntersection = (entries) => { + for (const entry of entries) { + const el = entry.target; + const id = getElementUId(this._win, el); + let newVisibility; + let fullyVisible = this._fullyVisible; + if (entry.intersectionRatio >= 0.25) { + newVisibility = entry.intersectionRatio >= 0.75 ? Visibilities.Visible : Visibilities.PartiallyVisible; + if (newVisibility === Visibilities.Visible) { + fullyVisible = id; + } + } else { + newVisibility = Visibilities.Invisible; + } + if (this._visible[id] !== newVisibility) { + if (newVisibility === void 0) { + delete this._visible[id]; + if (fullyVisible === id) { + delete this._fullyVisible; + } + } else { + this._visible[id] = newVisibility; + this._fullyVisible = fullyVisible; + } + const state = this.getState(el); + if (state) { + el.dispatchEvent(new MoverStateEvent(state)); + } + } + } + }; + this._win = tabster.getWindow; + this.visibilityTolerance = (_a = props.visibilityTolerance) !== null && _a !== void 0 ? _a : 0.8; + if (this._props.trackState || this._props.visibilityAware) { + this._intersectionObserver = new IntersectionObserver(this._onIntersection, { + threshold: [0, 0.25, 0.5, 0.75, 1] + }); + this._observeState(); + } + this._onDispose = onDispose; + const getMemorized = () => props.memorizeCurrent ? this._current : void 0; + if (!tabster.controlTab) { + this.dummyManager = new MoverDummyManager(this._element, tabster, getMemorized, sys); + } + } + dispose() { + var _a; + this._onDispose(this); + if (this._intersectionObserver) { + this._intersectionObserver.disconnect(); + delete this._intersectionObserver; + } + delete this._current; + delete this._fullyVisible; + delete this._allElements; + delete this._updateQueue; + if (this._unobserve) { + this._unobserve(); + delete this._unobserve; + } + const win = this._win(); + if (this._setCurrentTimer) { + win.clearTimeout(this._setCurrentTimer); + delete this._setCurrentTimer; + } + if (this._updateTimer) { + win.clearTimeout(this._updateTimer); + delete this._updateTimer; + } + (_a = this.dummyManager) === null || _a === void 0 ? void 0 : _a.dispose(); + delete this.dummyManager; + } + setCurrent(element) { + if (element) { + this._current = new WeakHTMLElement(this._win, element); + } else { + this._current = void 0; + } + if ((this._props.trackState || this._props.visibilityAware) && !this._setCurrentTimer) { + this._setCurrentTimer = this._win().setTimeout(() => { + var _a; + delete this._setCurrentTimer; + const changed = []; + if (this._current !== this._prevCurrent) { + changed.push(this._current); + changed.push(this._prevCurrent); + this._prevCurrent = this._current; + } + for (const weak of changed) { + const el = weak === null || weak === void 0 ? void 0 : weak.get(); + if (el && ((_a = this._allElements) === null || _a === void 0 ? void 0 : _a.get(el)) === this) { + const props = this._props; + if (el && (props.visibilityAware !== void 0 || props.trackState)) { + const state = this.getState(el); + if (state) { + el.dispatchEvent(new MoverStateEvent(state)); + } + } + } + } + }); + } + } + getCurrent() { + var _a; + return ((_a = this._current) === null || _a === void 0 ? void 0 : _a.get()) || null; + } + findNextTabbable(currentElement, referenceElement, isBackward, ignoreAccessibility) { + const container = this.getElement(); + const currentIsDummy = container && getDummyInputContainer(currentElement) === container; + if (!container) { + return null; + } + let next = null; + let outOfDOMOrder = false; + let uncontrolled; + if (this._props.tabbable || currentIsDummy || currentElement && !dom.nodeContains(container, currentElement)) { + const findProps = { + currentElement, + referenceElement, + container, + ignoreAccessibility, + useActiveModalizer: true + }; + const findPropsOut = {}; + next = this._tabster.focusable[isBackward ? "findPrev" : "findNext"](findProps, findPropsOut); + outOfDOMOrder = !!findPropsOut.outOfDOMOrder; + uncontrolled = findPropsOut.uncontrolled; + } + return { + element: next, + uncontrolled, + outOfDOMOrder + }; + } + acceptElement(element, state) { + var _a, _b; + if (!FocusedElementState.isTabbing) { + return ((_a = state.currentCtx) === null || _a === void 0 ? void 0 : _a.excludedFromMover) ? NodeFilter.FILTER_REJECT : void 0; + } + const { + memorizeCurrent, + visibilityAware, + hasDefault = true + } = this._props; + const moverElement = this.getElement(); + if (moverElement && (memorizeCurrent || visibilityAware || hasDefault) && (!dom.nodeContains(moverElement, state.from) || getDummyInputContainer(state.from) === moverElement)) { + let found; + if (memorizeCurrent) { + const current = (_b = this._current) === null || _b === void 0 ? void 0 : _b.get(); + if (current && state.acceptCondition(current)) { + found = current; + } + } + if (!found && hasDefault) { + found = this._tabster.focusable.findDefault({ + container: moverElement, + useActiveModalizer: true + }); + } + if (!found && visibilityAware) { + found = this._tabster.focusable.findElement({ + container: moverElement, + useActiveModalizer: true, + isBackward: state.isBackward, + acceptCondition: (el) => { + var _a2; + const id = getElementUId(this._win, el); + const visibility = this._visible[id]; + return moverElement !== el && !!((_a2 = this._allElements) === null || _a2 === void 0 ? void 0 : _a2.get(el)) && state.acceptCondition(el) && (visibility === Visibilities.Visible || visibility === Visibilities.PartiallyVisible && (visibilityAware === Visibilities.PartiallyVisible || !this._fullyVisible)); + } + }); + } + if (found) { + state.found = true; + state.foundElement = found; + state.rejectElementsFrom = moverElement; + state.skippedFocusable = true; + return NodeFilter.FILTER_ACCEPT; + } + } + return void 0; + } + _observeState() { + const element = this.getElement(); + if (this._unobserve || !element || typeof MutationObserver === "undefined") { + return; + } + const win = this._win(); + const allElements = this._allElements = /* @__PURE__ */ new WeakMap(); + const tabsterFocusable = this._tabster.focusable; + let updateQueue = this._updateQueue = []; + const observer = dom.createMutationObserver((mutations) => { + for (const mutation of mutations) { + const target = mutation.target; + const removed = mutation.removedNodes; + const added = mutation.addedNodes; + if (mutation.type === "attributes") { + if (mutation.attributeName === "tabindex") { + updateQueue.push({ + element: target, + type: _moverUpdateAttr + }); + } + } else { + for (let i = 0; i < removed.length; i++) { + updateQueue.push({ + element: removed[i], + type: _moverUpdateRemove + }); + } + for (let i = 0; i < added.length; i++) { + updateQueue.push({ + element: added[i], + type: _moverUpdateAdd + }); + } + } + } + requestUpdate(); + }); + const setElement = (element2, remove) => { + var _a, _b; + const current = allElements.get(element2); + if (current && remove) { + (_a = this._intersectionObserver) === null || _a === void 0 ? void 0 : _a.unobserve(element2); + allElements.delete(element2); + } + if (!current && !remove) { + allElements.set(element2, this); + (_b = this._intersectionObserver) === null || _b === void 0 ? void 0 : _b.observe(element2); + } + }; + const updateElement = (element2) => { + const isFocusable = tabsterFocusable.isFocusable(element2); + const current = allElements.get(element2); + if (current) { + if (!isFocusable) { + setElement(element2, true); + } + } else { + if (isFocusable) { + setElement(element2); + } + } + }; + const addNewElements = (element2) => { + const { + mover + } = getMoverGroupper(element2); + if (mover && mover !== this) { + if (mover.getElement() === element2 && tabsterFocusable.isFocusable(element2)) { + setElement(element2); + } else { + return; + } + } + const walker = createElementTreeWalker(win.document, element2, (node) => { + const { + mover: mover2, + groupper + } = getMoverGroupper(node); + if (mover2 && mover2 !== this) { + return NodeFilter.FILTER_REJECT; + } + const groupperFirstFocusable = groupper === null || groupper === void 0 ? void 0 : groupper.getFirst(true); + if (groupper && groupper.getElement() !== node && groupperFirstFocusable && groupperFirstFocusable !== node) { + return NodeFilter.FILTER_REJECT; + } + if (tabsterFocusable.isFocusable(node)) { + setElement(node); + } + return NodeFilter.FILTER_SKIP; + }); + if (walker) { + walker.currentNode = element2; + while (walker.nextNode()) { + } + } + }; + const removeWalk = (element2) => { + const current = allElements.get(element2); + if (current) { + setElement(element2, true); + } + for (let el = dom.getFirstElementChild(element2); el; el = dom.getNextElementSibling(el)) { + removeWalk(el); + } + }; + const requestUpdate = () => { + if (!this._updateTimer && updateQueue.length) { + this._updateTimer = win.setTimeout(() => { + delete this._updateTimer; + for (const { + element: element2, + type + } of updateQueue) { + switch (type) { + case _moverUpdateAttr: + updateElement(element2); + break; + case _moverUpdateAdd: + addNewElements(element2); + break; + case _moverUpdateRemove: + removeWalk(element2); + break; + } + } + updateQueue = this._updateQueue = []; + }, 0); + } + }; + const getMoverGroupper = (element2) => { + const ret = {}; + for (let el = element2; el; el = dom.getParentElement(el)) { + const toe = getTabsterOnElement(this._tabster, el); + if (toe) { + if (toe.groupper && !ret.groupper) { + ret.groupper = toe.groupper; + } + if (toe.mover) { + ret.mover = toe.mover; + break; + } + } + } + return ret; + }; + updateQueue.push({ + element, + type: _moverUpdateAdd + }); + requestUpdate(); + observer.observe(element, { + childList: true, + subtree: true, + attributes: true, + attributeFilter: ["tabindex"] + }); + this._unobserve = () => { + observer.disconnect(); + }; + } + getState(element) { + const id = getElementUId(this._win, element); + if (id in this._visible) { + const visibility = this._visible[id] || Visibilities.Invisible; + const isCurrent = this._current ? this._current.get() === element : void 0; + return { + isCurrent, + visibility + }; + } + return void 0; + } +}; +function getDistance(ax1, ay1, ax2, ay2, bx1, by1, bx2, by2) { + const xDistance = ax2 < bx1 ? bx1 - ax2 : bx2 < ax1 ? ax1 - bx2 : 0; + const yDistance = ay2 < by1 ? by1 - ay2 : by2 < ay1 ? ay1 - by2 : 0; + return xDistance === 0 ? yDistance : yDistance === 0 ? xDistance : Math.sqrt(xDistance * xDistance + yDistance * yDistance); +} +var MoverAPI = class { + constructor(tabster, getWindow2) { + this._init = () => { + const win = this._win(); + win.addEventListener("keydown", this._onKeyDown, true); + win.addEventListener(MoverMoveFocusEventName, this._onMoveFocus); + win.addEventListener(MoverMemorizedElementEventName, this._onMemorizedElement); + this._tabster.focusedElement.subscribe(this._onFocus); + }; + this._onMoverDispose = (mover) => { + delete this._movers[mover.id]; + }; + this._onFocus = (element) => { + var _a; + let currentFocusableElement = element; + let deepestFocusableElement = element; + for (let el = dom.getParentElement(element); el; el = dom.getParentElement(el)) { + const mover = (_a = getTabsterOnElement(this._tabster, el)) === null || _a === void 0 ? void 0 : _a.mover; + if (mover) { + mover.setCurrent(deepestFocusableElement); + currentFocusableElement = void 0; + } + if (!currentFocusableElement && this._tabster.focusable.isFocusable(el)) { + currentFocusableElement = deepestFocusableElement = el; + } + } + }; + this._onKeyDown = async (event) => { + var _a; + if (this._ignoredInputTimer) { + this._win().clearTimeout(this._ignoredInputTimer); + delete this._ignoredInputTimer; + } + (_a = this._ignoredInputResolve) === null || _a === void 0 ? void 0 : _a.call(this, false); + if (event.ctrlKey || event.altKey || event.shiftKey || event.metaKey) { + return; + } + const key = event.key; + let moverKey; + if (key === Keys.ArrowDown) { + moverKey = MoverKeys.ArrowDown; + } else if (key === Keys.ArrowRight) { + moverKey = MoverKeys.ArrowRight; + } else if (key === Keys.ArrowUp) { + moverKey = MoverKeys.ArrowUp; + } else if (key === Keys.ArrowLeft) { + moverKey = MoverKeys.ArrowLeft; + } else if (key === Keys.PageDown) { + moverKey = MoverKeys.PageDown; + } else if (key === Keys.PageUp) { + moverKey = MoverKeys.PageUp; + } else if (key === Keys.Home) { + moverKey = MoverKeys.Home; + } else if (key === Keys.End) { + moverKey = MoverKeys.End; + } + if (!moverKey) { + return; + } + const focused = this._tabster.focusedElement.getFocusedElement(); + if (!focused || await this._isIgnoredInput(focused, key)) { + return; + } + this._moveFocus(focused, moverKey, event); + }; + this._onMoveFocus = (e) => { + var _a; + const element = e.composedPath()[0]; + const key = (_a = e.detail) === null || _a === void 0 ? void 0 : _a.key; + if (element && key !== void 0 && !e.defaultPrevented) { + this._moveFocus(element, key); + e.stopImmediatePropagation(); + } + }; + this._onMemorizedElement = (e) => { + var _a; + const target = e.composedPath()[0]; + let memorizedElement = (_a = e.detail) === null || _a === void 0 ? void 0 : _a.memorizedElement; + if (target) { + const ctx = RootAPI.getTabsterContext(this._tabster, target); + const mover = ctx === null || ctx === void 0 ? void 0 : ctx.mover; + if (mover) { + if (memorizedElement && !dom.nodeContains(mover.getElement(), memorizedElement)) { + memorizedElement = void 0; + } + mover.setCurrent(memorizedElement); + e.stopImmediatePropagation(); + } + } + }; + this._tabster = tabster; + this._win = getWindow2; + this._movers = {}; + tabster.queueInit(this._init); + } + dispose() { + var _a; + const win = this._win(); + this._tabster.focusedElement.unsubscribe(this._onFocus); + (_a = this._ignoredInputResolve) === null || _a === void 0 ? void 0 : _a.call(this, false); + if (this._ignoredInputTimer) { + win.clearTimeout(this._ignoredInputTimer); + delete this._ignoredInputTimer; + } + win.removeEventListener("keydown", this._onKeyDown, true); + win.removeEventListener(MoverMoveFocusEventName, this._onMoveFocus); + win.removeEventListener(MoverMemorizedElementEventName, this._onMemorizedElement); + Object.keys(this._movers).forEach((moverId) => { + if (this._movers[moverId]) { + this._movers[moverId].dispose(); + delete this._movers[moverId]; + } + }); + } + createMover(element, props, sys) { + if (true) ; + const newMover = new Mover(this._tabster, element, this._onMoverDispose, props, sys); + this._movers[newMover.id] = newMover; + return newMover; + } + moveFocus(fromElement, key) { + return this._moveFocus(fromElement, key); + } + _moveFocus(fromElement, key, relatedEvent) { + var _a, _b; + const tabster = this._tabster; + const ctx = RootAPI.getTabsterContext(tabster, fromElement, { + checkRtl: true + }); + if (!ctx || !ctx.mover || ctx.excludedFromMover || relatedEvent && ctx.ignoreKeydown(relatedEvent)) { + return null; + } + const mover = ctx.mover; + const container = mover.getElement(); + if (ctx.groupperBeforeMover) { + const groupper = ctx.groupper; + if (groupper && !groupper.isActive(true)) { + for (let el = dom.getParentElement(groupper.getElement()); el && el !== container; el = dom.getParentElement(el)) { + if ((_b = (_a = getTabsterOnElement(tabster, el)) === null || _a === void 0 ? void 0 : _a.groupper) === null || _b === void 0 ? void 0 : _b.isActive(true)) { + return null; + } + } + } else { + return null; + } + } + if (!container) { + return null; + } + const focusable = tabster.focusable; + const moverProps = mover.getProps(); + const direction = moverProps.direction || MoverDirections.Both; + const isBoth = direction === MoverDirections.Both; + const isVertical = isBoth || direction === MoverDirections.Vertical; + const isHorizontal = isBoth || direction === MoverDirections.Horizontal; + const isGridLinear = direction === MoverDirections.GridLinear; + const isGrid = isGridLinear || direction === MoverDirections.Grid; + const isCyclic = moverProps.cyclic; + let next; + let scrollIntoViewArg; + let focusedElementRect; + let focusedElementX1 = 0; + let focusedElementX2 = 0; + if (isGrid) { + focusedElementRect = fromElement.getBoundingClientRect(); + focusedElementX1 = Math.ceil(focusedElementRect.left); + focusedElementX2 = Math.floor(focusedElementRect.right); + } + if (ctx.rtl) { + if (key === MoverKeys.ArrowRight) { + key = MoverKeys.ArrowLeft; + } else if (key === MoverKeys.ArrowLeft) { + key = MoverKeys.ArrowRight; + } + } + if (key === MoverKeys.ArrowDown && isVertical || key === MoverKeys.ArrowRight && (isHorizontal || isGrid)) { + next = focusable.findNext({ + currentElement: fromElement, + container, + useActiveModalizer: true + }); + if (next && isGrid) { + const nextElementX1 = Math.ceil(next.getBoundingClientRect().left); + if (!isGridLinear && focusedElementX2 > nextElementX1) { + next = void 0; + } + } else if (!next && isCyclic) { + next = focusable.findFirst({ + container, + useActiveModalizer: true + }); + } + } else if (key === MoverKeys.ArrowUp && isVertical || key === MoverKeys.ArrowLeft && (isHorizontal || isGrid)) { + next = focusable.findPrev({ + currentElement: fromElement, + container, + useActiveModalizer: true + }); + if (next && isGrid) { + const nextElementX2 = Math.floor(next.getBoundingClientRect().right); + if (!isGridLinear && nextElementX2 > focusedElementX1) { + next = void 0; + } + } else if (!next && isCyclic) { + next = focusable.findLast({ + container, + useActiveModalizer: true + }); + } + } else if (key === MoverKeys.Home) { + if (isGrid) { + focusable.findElement({ + container, + currentElement: fromElement, + useActiveModalizer: true, + isBackward: true, + acceptCondition: (el) => { + var _a2; + if (!focusable.isFocusable(el)) { + return false; + } + const nextElementX1 = Math.ceil((_a2 = el.getBoundingClientRect().left) !== null && _a2 !== void 0 ? _a2 : 0); + if (el !== fromElement && focusedElementX1 <= nextElementX1) { + return true; + } + next = el; + return false; + } + }); + } else { + next = focusable.findFirst({ + container, + useActiveModalizer: true + }); + } + } else if (key === MoverKeys.End) { + if (isGrid) { + focusable.findElement({ + container, + currentElement: fromElement, + useActiveModalizer: true, + acceptCondition: (el) => { + var _a2; + if (!focusable.isFocusable(el)) { + return false; + } + const nextElementX1 = Math.ceil((_a2 = el.getBoundingClientRect().left) !== null && _a2 !== void 0 ? _a2 : 0); + if (el !== fromElement && focusedElementX1 >= nextElementX1) { + return true; + } + next = el; + return false; + } + }); + } else { + next = focusable.findLast({ + container, + useActiveModalizer: true + }); + } + } else if (key === MoverKeys.PageUp) { + focusable.findElement({ + currentElement: fromElement, + container, + useActiveModalizer: true, + isBackward: true, + acceptCondition: (el) => { + if (!focusable.isFocusable(el)) { + return false; + } + if (isElementVerticallyVisibleInContainer(this._win, el, mover.visibilityTolerance)) { + next = el; + return false; + } + return true; + } + }); + if (isGrid && next) { + const firstColumnX1 = Math.ceil(next.getBoundingClientRect().left); + focusable.findElement({ + currentElement: next, + container, + useActiveModalizer: true, + acceptCondition: (el) => { + if (!focusable.isFocusable(el)) { + return false; + } + const nextElementX1 = Math.ceil(el.getBoundingClientRect().left); + if (focusedElementX1 < nextElementX1 || firstColumnX1 >= nextElementX1) { + return true; + } + next = el; + return false; + } + }); + } + scrollIntoViewArg = false; + } else if (key === MoverKeys.PageDown) { + focusable.findElement({ + currentElement: fromElement, + container, + useActiveModalizer: true, + acceptCondition: (el) => { + if (!focusable.isFocusable(el)) { + return false; + } + if (isElementVerticallyVisibleInContainer(this._win, el, mover.visibilityTolerance)) { + next = el; + return false; + } + return true; + } + }); + if (isGrid && next) { + const lastColumnX1 = Math.ceil(next.getBoundingClientRect().left); + focusable.findElement({ + currentElement: next, + container, + useActiveModalizer: true, + isBackward: true, + acceptCondition: (el) => { + if (!focusable.isFocusable(el)) { + return false; + } + const nextElementX1 = Math.ceil(el.getBoundingClientRect().left); + if (focusedElementX1 > nextElementX1 || lastColumnX1 <= nextElementX1) { + return true; + } + next = el; + return false; + } + }); + } + scrollIntoViewArg = true; + } else if (isGrid) { + const isBackward = key === MoverKeys.ArrowUp; + const ax1 = focusedElementX1; + const ay1 = Math.ceil(focusedElementRect.top); + const ax2 = focusedElementX2; + const ay2 = Math.floor(focusedElementRect.bottom); + let targetElement; + let lastDistance; + let lastIntersection = 0; + focusable.findAll({ + container, + currentElement: fromElement, + isBackward, + onElement: (el) => { + const rect = el.getBoundingClientRect(); + const bx1 = Math.ceil(rect.left); + const by1 = Math.ceil(rect.top); + const bx2 = Math.floor(rect.right); + const by2 = Math.floor(rect.bottom); + if (isBackward && ay1 < by2 || !isBackward && ay2 > by1) { + return true; + } + const xIntersectionWidth = Math.ceil(Math.min(ax2, bx2)) - Math.floor(Math.max(ax1, bx1)); + const minWidth = Math.ceil(Math.min(ax2 - ax1, bx2 - bx1)); + if (xIntersectionWidth > 0 && minWidth >= xIntersectionWidth) { + const intersection = xIntersectionWidth / minWidth; + if (intersection > lastIntersection) { + targetElement = el; + lastIntersection = intersection; + } + } else if (lastIntersection === 0) { + const distance = getDistance(ax1, ay1, ax2, ay2, bx1, by1, bx2, by2); + if (lastDistance === void 0 || distance < lastDistance) { + lastDistance = distance; + targetElement = el; + } + } else if (lastIntersection > 0) { + return false; + } + return true; + } + }); + next = targetElement; + } + if (next && (!relatedEvent || relatedEvent && container.dispatchEvent(new TabsterMoveFocusEvent({ + by: "mover", + owner: container, + next, + relatedEvent + })))) { + if (scrollIntoViewArg !== void 0) { + scrollIntoView(this._win, next, scrollIntoViewArg); + } + if (relatedEvent) { + relatedEvent.preventDefault(); + relatedEvent.stopImmediatePropagation(); + } + nativeFocus(next); + return next; + } + return null; + } + async _isIgnoredInput(element, key) { + if (element.getAttribute("aria-expanded") === "true" && (element.hasAttribute("aria-activedescendant") || element.getAttribute("role") === "combobox")) { + return true; + } + if (matchesSelector(element, _inputSelector)) { + let selectionStart = 0; + let selectionEnd = 0; + let textLength = 0; + let asyncRet; + if (element.tagName === "INPUT" || element.tagName === "TEXTAREA") { + const type = element.type; + const value = element.value; + textLength = (value || "").length; + if (type === "email" || type === "number") { + if (textLength) { + const selection = dom.getSelection(element); + if (selection) { + const initialLength = selection.toString().length; + const isBackward = key === Keys.ArrowLeft || key === Keys.ArrowUp; + selection.modify("extend", isBackward ? "backward" : "forward", "character"); + if (initialLength !== selection.toString().length) { + selection.modify("extend", isBackward ? "forward" : "backward", "character"); + return true; + } else { + textLength = 0; + } + } + } + } else { + const selStart = element.selectionStart; + if (selStart === null) { + return type === "hidden"; + } + selectionStart = selStart || 0; + selectionEnd = element.selectionEnd || 0; + } + } else if (element.contentEditable === "true") { + asyncRet = new (getPromise(this._win))((resolve) => { + this._ignoredInputResolve = (value) => { + delete this._ignoredInputResolve; + resolve(value); + }; + const win = this._win(); + if (this._ignoredInputTimer) { + win.clearTimeout(this._ignoredInputTimer); + } + const { + anchorNode: prevAnchorNode, + focusNode: prevFocusNode, + anchorOffset: prevAnchorOffset, + focusOffset: prevFocusOffset + } = dom.getSelection(element) || {}; + this._ignoredInputTimer = win.setTimeout(() => { + var _a, _b, _c; + delete this._ignoredInputTimer; + const { + anchorNode, + focusNode, + anchorOffset, + focusOffset + } = dom.getSelection(element) || {}; + if (anchorNode !== prevAnchorNode || focusNode !== prevFocusNode || anchorOffset !== prevAnchorOffset || focusOffset !== prevFocusOffset) { + (_a = this._ignoredInputResolve) === null || _a === void 0 ? void 0 : _a.call(this, false); + return; + } + selectionStart = anchorOffset || 0; + selectionEnd = focusOffset || 0; + textLength = ((_b = element.textContent) === null || _b === void 0 ? void 0 : _b.length) || 0; + if (anchorNode && focusNode) { + if (dom.nodeContains(element, anchorNode) && dom.nodeContains(element, focusNode)) { + if (anchorNode !== element) { + let anchorFound = false; + const addOffsets = (node) => { + if (node === anchorNode) { + anchorFound = true; + } else if (node === focusNode) { + return true; + } + const nodeText = node.textContent; + if (nodeText && !dom.getFirstChild(node)) { + const len = nodeText.length; + if (anchorFound) { + if (focusNode !== anchorNode) { + selectionEnd += len; + } + } else { + selectionStart += len; + selectionEnd += len; + } + } + let stop = false; + for (let e = dom.getFirstChild(node); e && !stop; e = e.nextSibling) { + stop = addOffsets(e); + } + return stop; + }; + addOffsets(element); + } + } + } + (_c = this._ignoredInputResolve) === null || _c === void 0 ? void 0 : _c.call(this, true); + }, 0); + }); + } + if (asyncRet && !await asyncRet) { + return true; + } + if (selectionStart !== selectionEnd) { + return true; + } + if (selectionStart > 0 && (key === Keys.ArrowLeft || key === Keys.ArrowUp || key === Keys.Home)) { + return true; + } + if (selectionStart < textLength && (key === Keys.ArrowRight || key === Keys.ArrowDown || key === Keys.End)) { + return true; + } + } + return false; + } +}; +function observeMutations(doc, tabster, updateTabsterByAttribute2, syncState) { + if (typeof MutationObserver === "undefined") { + return () => { + }; + } + const getWindow2 = tabster.getWindow; + let elementByUId; + const onMutation = (mutations) => { + var _a, _b, _c, _d, _e; + const removedNodes = /* @__PURE__ */ new Set(); + for (const mutation of mutations) { + const target = mutation.target; + const removed = mutation.removedNodes; + const added = mutation.addedNodes; + if (mutation.type === "attributes") { + if (mutation.attributeName === TABSTER_ATTRIBUTE_NAME) { + if (!removedNodes.has(target)) { + updateTabsterByAttribute2(tabster, target); + } + } + } else { + for (let i = 0; i < removed.length; i++) { + const removedNode = removed[i]; + removedNodes.add(removedNode); + updateTabsterElements(removedNode, true); + (_b = (_a = tabster._dummyObserver).domChanged) === null || _b === void 0 ? void 0 : _b.call(_a, target); + } + for (let i = 0; i < added.length; i++) { + updateTabsterElements(added[i]); + (_d = (_c = tabster._dummyObserver).domChanged) === null || _d === void 0 ? void 0 : _d.call(_c, target); + } + } + } + removedNodes.clear(); + (_e = tabster.modalizer) === null || _e === void 0 ? void 0 : _e.hiddenUpdate(); + }; + function updateTabsterElements(node, removed) { + if (!elementByUId) { + elementByUId = getInstanceContext(getWindow2).elementByUId; + } + processNode(node, removed); + const walker = createElementTreeWalker(doc, node, (element) => { + return processNode(element, removed); + }); + if (walker) { + while (walker.nextNode()) { + } + } + } + function processNode(element, removed) { + var _a; + if (!element.getAttribute) { + return NodeFilter.FILTER_SKIP; + } + const uid = element.__tabsterElementUID; + if (uid && elementByUId) { + if (removed) { + delete elementByUId[uid]; + } else { + (_a = elementByUId[uid]) !== null && _a !== void 0 ? _a : elementByUId[uid] = new WeakHTMLElement(getWindow2, element); + } + } + if (getTabsterOnElement(tabster, element) || element.hasAttribute(TABSTER_ATTRIBUTE_NAME)) { + updateTabsterByAttribute2(tabster, element, removed); + } + return NodeFilter.FILTER_SKIP; + } + const observer = dom.createMutationObserver(onMutation); + if (syncState) { + updateTabsterElements(getWindow2().document.body); + } + observer.observe(doc, { + childList: true, + subtree: true, + attributes: true, + attributeFilter: [TABSTER_ATTRIBUTE_NAME] + }); + return () => { + observer.disconnect(); + }; +} +var _conditionCheckTimeout = 100; +var ObservedElementAPI = class extends Subscribable { + constructor(tabster) { + super(); + this._waiting = {}; + this._lastRequestFocusId = 0; + this._observedById = {}; + this._observedByName = {}; + this._currentRequestTimestamp = 0; + this._onFocus = (e) => { + if (e) { + const current = this._currentRequest; + if (current) { + const delta = Date.now() - this._currentRequestTimestamp; + const settleTime = 300; + if (delta >= settleTime) { + delete this._currentRequest; + const elementRef = new WeakRef(e); + current.diagnostics.getCancelTriggeringElement = () => { + var _a; + return (_a = elementRef.deref()) !== null && _a !== void 0 ? _a : null; + }; + current.diagnostics.reason = ObservedElementFailureReasons.CanceledFocusChange; + current.cancel(); + } + } + } + }; + this.onObservedElementUpdate = (element) => { + var _a, _b; + const observed = (_a = getTabsterOnElement(this._tabster, element)) === null || _a === void 0 ? void 0 : _a.observed; + const uid = getElementUId(this._win, element); + let info = this._observedById[uid]; + if (observed && documentContains(element.ownerDocument, element)) { + const isNewElement = !info; + if (!info) { + info = this._observedById[uid] = { + element: new WeakHTMLElement(this._win, element) + }; + } + observed.names.sort(); + const observedNames = observed.names; + const prevNames = info.prevNames; + if (this._isObservedNamesUpdated(observedNames, prevNames)) { + if (prevNames) { + prevNames.forEach((prevName) => { + const obn = this._observedByName[prevName]; + if (obn && obn[uid]) { + if (Object.keys(obn).length > 1) { + delete obn[uid]; + } else { + delete this._observedByName[prevName]; + } + } + }); + } + info.prevNames = observedNames; + this._notifyObservedElementChange(element, observedNames, prevNames, isNewElement); + } + observedNames.forEach((observedName) => { + let obn = this._observedByName[observedName]; + if (!obn) { + obn = this._observedByName[observedName] = {}; + } + obn[uid] = info; + this._waitConditional(observedName); + }); + } else if (info) { + const prevNames = info.prevNames; + if (prevNames) { + prevNames.forEach((prevName) => { + const obn = this._observedByName[prevName]; + if (obn && obn[uid]) { + if (Object.keys(obn).length > 1) { + delete obn[uid]; + } else { + delete this._observedByName[prevName]; + } + } + }); + (_b = this.onObservedElementChange) === null || _b === void 0 ? void 0 : _b.call(this, { + element, + type: "removed", + names: [], + removedNames: prevNames + }); + } + delete this._observedById[uid]; + } + }; + this._tabster = tabster; + this._win = tabster.getWindow; + tabster.queueInit(() => { + this._tabster.focusedElement.subscribe(this._onFocus); + }); + } + dispose() { + this._tabster.focusedElement.unsubscribe(this._onFocus); + for (const key of Object.keys(this._waiting)) { + this._rejectWaiting(key); + } + this._observedById = {}; + this._observedByName = {}; + this.onObservedElementChange = void 0; + } + _rejectWaiting(key, shouldResolve) { + const w = this._waiting[key]; + if (w) { + const win = this._win(); + if (w.timer) { + win.clearTimeout(w.timer); + } + if (w.conditionTimer) { + win.clearTimeout(w.conditionTimer); + } + if (!shouldResolve && w.reject) { + w.reject(); + } else if (shouldResolve && w.resolve) { + w.resolve(null); + } + delete this._waiting[key]; + } + } + _populateTimeoutDiagnostics(request, observedName, timeout, startTime) { + const elementInDOM = this.getElement(observedName); + const inDOM = !!elementInDOM; + let isAccessible; + let isFocusable; + let reason; + if (!elementInDOM) { + reason = ObservedElementFailureReasons.TimeoutElementNotInDOM; + } else { + isAccessible = this._tabster.focusable.isAccessible(elementInDOM); + isFocusable = this._tabster.focusable.isFocusable(elementInDOM, true); + if (!isAccessible) { + reason = ObservedElementFailureReasons.TimeoutElementNotAccessible; + } else if (!isFocusable) { + reason = ObservedElementFailureReasons.TimeoutElementNotFocusable; + } else { + reason = ObservedElementFailureReasons.TimeoutElementNotReady; + } + } + request.diagnostics.reason = reason; + request.diagnostics.waitForElementDuration = Date.now() - startTime; + request.diagnostics.targetState = { + inDOM, + isAccessible, + isFocusable + }; + } + _isObservedNamesUpdated(cur, prev) { + if (!prev || cur.length !== prev.length) { + return true; + } + for (let i = 0; i < cur.length; ++i) { + if (cur[i] !== prev[i]) { + return true; + } + } + return false; + } + _notifyObservedElementChange(element, observedNames, prevNames, isNewElement) { + if (!this.onObservedElementChange) { + return; + } + const addedNames = observedNames.filter((name) => !prevNames || !prevNames.includes(name)); + const removedNames = prevNames ? prevNames.filter((name) => !observedNames.includes(name)) : []; + if (isNewElement) { + this.onObservedElementChange({ + element, + type: "added", + names: observedNames, + addedNames: observedNames + }); + } else if (addedNames.length > 0 || removedNames.length > 0) { + this.onObservedElementChange({ + element, + type: "updated", + names: observedNames, + addedNames: addedNames.length > 0 ? addedNames : void 0, + removedNames: removedNames.length > 0 ? removedNames : void 0 + }); + } + } + /** + * Returns all registered observed names with their respective elements and full names arrays + * + * @returns Map> A map where keys are observed names + * and values are arrays of objects containing the element and its complete names array (in the order they were defined) + */ + getAllObservedElements() { + const result = /* @__PURE__ */ new Map(); + for (const name of Object.keys(this._observedByName)) { + const elementsWithNames = []; + const observed = this._observedByName[name]; + for (const uid of Object.keys(observed)) { + const el = observed[uid].element.get(); + if (el) { + const info = this._observedById[uid]; + elementsWithNames.push({ + element: el, + names: (info === null || info === void 0 ? void 0 : info.prevNames) || [] + }); + } + } + if (elementsWithNames.length > 0) { + result.set(name, elementsWithNames); + } + } + return result; + } + /** + * Returns existing element by observed name + * + * @param observedName An observed name + * @param accessibility Optionally, return only if the element is accessible or focusable + * @returns HTMLElement | null + */ + getElement(observedName, accessibility) { + const o = this._observedByName[observedName]; + if (o) { + for (const uid of Object.keys(o)) { + let el = o[uid].element.get() || null; + if (el) { + if (accessibility === ObservedElementAccessibilities.Accessible && !this._tabster.focusable.isAccessible(el) || accessibility === ObservedElementAccessibilities.Focusable && !this._tabster.focusable.isFocusable(el, true)) { + el = null; + } + } else { + delete o[uid]; + delete this._observedById[uid]; + } + return el; + } + } + return null; + } + /** + * Waits for the element to appear in the DOM and returns it. + * + * @param observedName An observed name + * @param timeout Wait no longer than this timeout + * @param accessibility Optionally, wait for the element to also become accessible or focusable before returning it + * @returns Promise + */ + waitElement(observedName, timeout, accessibility) { + const startTime = Date.now(); + const el = this.getElement(observedName, accessibility); + if (el) { + return { + result: getPromise(this._win).resolve(el), + cancel: () => { + }, + status: ObservedElementRequestStatuses.Succeeded, + diagnostics: { + waitForElementDuration: Date.now() - startTime + } + }; + } + let prefix; + if (accessibility === ObservedElementAccessibilities.Accessible) { + prefix = "a"; + } else if (accessibility === ObservedElementAccessibilities.Focusable) { + prefix = "f"; + } else { + prefix = "_"; + } + const key = prefix + observedName; + let w = this._waiting[key]; + if (w && w.request) { + return w.request; + } + w = this._waiting[key] = { + timer: this._win().setTimeout(() => { + if (w.conditionTimer) { + this._win().clearTimeout(w.conditionTimer); + } + delete this._waiting[key]; + if (w.request) { + w.request.status = ObservedElementRequestStatuses.TimedOut; + this._populateTimeoutDiagnostics(w.request, observedName, timeout, startTime); + } + if (w.resolve) { + w.resolve(null); + } + }, timeout) + }; + const promise = new (getPromise(this._win))((resolve, reject) => { + w.resolve = resolve; + w.reject = reject; + }).catch(() => { + return null; + }); + const request = { + result: promise, + cancel: () => { + if (request.status === ObservedElementRequestStatuses.Waiting) { + request.status = ObservedElementRequestStatuses.Canceled; + request.diagnostics.waitForElementDuration = Date.now() - startTime; + } + this._rejectWaiting(key, true); + }, + status: ObservedElementRequestStatuses.Waiting, + diagnostics: {} + }; + w.request = request; + if (accessibility && this.getElement(observedName)) { + this._waitConditional(observedName); + } + return request; + } + requestFocus(observedName, timeout, options = {}) { + const requestId = ++this._lastRequestFocusId; + const currentRequestFocus = this._currentRequest; + if (currentRequestFocus) { + currentRequestFocus.diagnostics.reason = ObservedElementFailureReasons.SupersededByNewRequest; + currentRequestFocus.cancel(); + } + const request = this.waitElement(observedName, timeout, ObservedElementAccessibilities.Focusable); + this._currentRequest = request; + this._currentRequestTimestamp = Date.now(); + const ret = { + result: request.result.then((element) => { + if (this._lastRequestFocusId !== requestId) { + request.diagnostics.reason = ObservedElementFailureReasons.SupersededByNewRequest; + return false; + } + if (!element) { + if (request.diagnostics.reason === void 0) { + request.diagnostics.reason = ObservedElementFailureReasons.TimeoutElementNotInDOM; + } + return false; + } + const focusResult = this._tabster.focusedElement.focus(element, true, void 0, options.preventScroll); + if (!focusResult) { + request.diagnostics.reason = ObservedElementFailureReasons.FocusCallFailed; + } + return focusResult; + }), + cancel: () => { + request.cancel(); + }, + status: request.status, + diagnostics: request.diagnostics + }; + request.result.finally(() => { + if (this._currentRequest === request) { + delete this._currentRequest; + } + ret.status = request.status; + }); + return ret; + } + _waitConditional(observedName) { + const waitingElementKey = "_" + observedName; + const waitingAccessibleElementKey = "a" + observedName; + const waitingFocusableElementKey = "f" + observedName; + const waitingElement = this._waiting[waitingElementKey]; + const waitingAccessibleElement = this._waiting[waitingAccessibleElementKey]; + const waitingFocusableElement = this._waiting[waitingFocusableElementKey]; + const win = this._win(); + const resolve = (element, key, waiting, accessibility) => { + var _a; + const observed = (_a = getTabsterOnElement(this._tabster, element)) === null || _a === void 0 ? void 0 : _a.observed; + if (!observed || !observed.names.includes(observedName)) { + return; + } + if (waiting.timer) { + win.clearTimeout(waiting.timer); + } + delete this._waiting[key]; + if (waiting.request) { + waiting.request.status = ObservedElementRequestStatuses.Succeeded; + } + if (waiting.resolve) { + waiting.resolve(element); + } + this.trigger(element, { + names: [observedName], + details: observed.details, + accessibility + }); + }; + if (waitingElement) { + const element = this.getElement(observedName); + if (element && documentContains(element.ownerDocument, element)) { + resolve(element, waitingElementKey, waitingElement, ObservedElementAccessibilities.Any); + } + } + if (waitingAccessibleElement && !waitingAccessibleElement.conditionTimer) { + const resolveAccessible = () => { + const element = this.getElement(observedName); + if (element && documentContains(element.ownerDocument, element) && this._tabster.focusable.isAccessible(element)) { + resolve(element, waitingAccessibleElementKey, waitingAccessibleElement, ObservedElementAccessibilities.Accessible); + } else { + waitingAccessibleElement.conditionTimer = win.setTimeout(resolveAccessible, _conditionCheckTimeout); + } + }; + resolveAccessible(); + } + if (waitingFocusableElement && !waitingFocusableElement.conditionTimer) { + const resolveFocusable = () => { + const element = this.getElement(observedName); + if (element && documentContains(element.ownerDocument, element) && this._tabster.focusable.isFocusable(element, true)) { + resolve(element, waitingFocusableElementKey, waitingFocusableElement, ObservedElementAccessibilities.Focusable); + } else { + waitingFocusableElement.conditionTimer = win.setTimeout(resolveFocusable, _conditionCheckTimeout); + } + }; + resolveFocusable(); + } + } +}; +var UncontrolledAPI = class { + constructor(isUncontrolledCompletely) { + this._isUncontrolledCompletely = isUncontrolledCompletely; + } + isUncontrolledCompletely(element, completely) { + var _a; + const isUncontrolledCompletely = (_a = this._isUncontrolledCompletely) === null || _a === void 0 ? void 0 : _a.call(this, element, completely); + return isUncontrolledCompletely === void 0 ? completely : isUncontrolledCompletely; + } +}; +var Restorer = class extends TabsterPart { + constructor(tabster, element, props) { + var _a; + super(tabster, element, props); + this._hasFocus = false; + this._onFocusOut = (e) => { + var _a2; + const element2 = (_a2 = this._element) === null || _a2 === void 0 ? void 0 : _a2.get(); + if (element2 && e.relatedTarget === null) { + element2.dispatchEvent(new RestorerRestoreFocusEvent()); + } + if (element2 && !dom.nodeContains(element2, e.relatedTarget)) { + this._hasFocus = false; + } + }; + this._onFocusIn = () => { + this._hasFocus = true; + }; + if (this._props.type === RestorerTypes.Source) { + const element2 = (_a = this._element) === null || _a === void 0 ? void 0 : _a.get(); + element2 === null || element2 === void 0 ? void 0 : element2.addEventListener("focusout", this._onFocusOut); + element2 === null || element2 === void 0 ? void 0 : element2.addEventListener("focusin", this._onFocusIn); + this._hasFocus = dom.nodeContains(element2, element2 && dom.getActiveElement(element2.ownerDocument)); + } + } + dispose() { + var _a; + if (this._props.type === RestorerTypes.Source) { + const element = (_a = this._element) === null || _a === void 0 ? void 0 : _a.get(); + element === null || element === void 0 ? void 0 : element.removeEventListener("focusout", this._onFocusOut); + element === null || element === void 0 ? void 0 : element.removeEventListener("focusin", this._onFocusIn); + if (this._hasFocus) { + const doc = this._tabster.getWindow().document; + doc.body.dispatchEvent(new RestorerRestoreFocusEvent()); + } + } + } +}; +var History = class _History { + constructor(getWindow2) { + this._stack = []; + this._getWindow = getWindow2; + } + /** + * Push a weak element to the top of the history stack. + * If the stack is full, the bottom weak element is removed. + * If the element is already at the top of the stack, it is not duplicated. + */ + push(element) { + var _a; + if (((_a = this._stack[this._stack.length - 1]) === null || _a === void 0 ? void 0 : _a.get()) === element) { + return; + } + if (this._stack.length > _History.DEPTH) { + this._stack.shift(); + } + this._stack.push(new WeakHTMLElement(this._getWindow, element)); + } + /** + * Pop the first element from the history that satisfies the callback. + * The history is searched from the top to the bottom (from the most recent to the least recent). + * + * If a weak reference to the element is broken, + * or the element is no longer in the DOM, + * the element is removed from the top of the stack while popping. + * + * If no matching element is found, undefined is returned. + * If the stack is empty, undefined is returned. + */ + pop(filter = () => true) { + var _a; + const doc = this._getWindow().document; + for (let index = this._stack.length - 1; index >= 0; index--) { + const maybeElement = (_a = this._stack.pop()) === null || _a === void 0 ? void 0 : _a.get(); + if (maybeElement && dom.nodeContains(doc.body, dom.getParentElement(maybeElement)) && filter(maybeElement)) { + return maybeElement; + } + } + return void 0; + } +}; +History.DEPTH = 10; +var RestorerAPI = class { + constructor(tabster) { + this._onRestoreFocus = (e) => { + var _a, _b; + this._focusedElementState.cancelAsyncFocus(AsyncFocusSources.Restorer); + const source = e.composedPath()[0]; + if (source) { + const sourceId = (_b = (_a = getTabsterOnElement(this._tabster, source)) === null || _a === void 0 ? void 0 : _a.restorer) === null || _b === void 0 ? void 0 : _b.getProps().id; + this._focusedElementState.requestAsyncFocus(AsyncFocusSources.Restorer, () => this._restoreFocus(source, sourceId), 0); + } + }; + this._onFocusIn = (element) => { + var _a; + if (!element) { + return; + } + const tabsterAttribute = getTabsterOnElement(this._tabster, element); + if (((_a = tabsterAttribute === null || tabsterAttribute === void 0 ? void 0 : tabsterAttribute.restorer) === null || _a === void 0 ? void 0 : _a.getProps().type) !== RestorerTypes.Target) { + return; + } + this._history.push(element); + }; + this._restoreFocus = (source, sourceId) => { + var _a; + const doc = this._getWindow().document; + if (dom.getActiveElement(doc) !== doc.body) { + return; + } + if ( + // clicking on any empty space focuses body - this is can be a false positive + !this._keyboardNavState.isNavigatingWithKeyboard() && // Source no longer exists on DOM - always restore focus + dom.nodeContains(doc.body, source) + ) { + return; + } + const getId = (element) => { + var _a2, _b; + const restorerProps = (_b = (_a2 = getTabsterOnElement(this._tabster, element)) === null || _a2 === void 0 ? void 0 : _a2.restorer) === null || _b === void 0 ? void 0 : _b.getProps(); + return restorerProps ? restorerProps.id : null; + }; + (_a = this._history.pop((target) => sourceId === getId(target))) === null || _a === void 0 ? void 0 : _a.focus(); + }; + this._tabster = tabster; + this._getWindow = tabster.getWindow; + this._getWindow().addEventListener(RestorerRestoreFocusEventName, this._onRestoreFocus); + this._history = new History(this._getWindow); + this._keyboardNavState = tabster.keyboardNavigation; + this._focusedElementState = tabster.focusedElement; + this._focusedElementState.subscribe(this._onFocusIn); + } + dispose() { + const win = this._getWindow(); + this._focusedElementState.unsubscribe(this._onFocusIn); + this._focusedElementState.cancelAsyncFocus(AsyncFocusSources.Restorer); + win.removeEventListener(RestorerRestoreFocusEventName, this._onRestoreFocus); + } + createRestorer(element, props) { + const restorer = new Restorer(this._tabster, element, props); + if (props.type === RestorerTypes.Target && dom.getActiveElement(element.ownerDocument) === element) { + this._history.push(element); + } + return restorer; + } +}; +function getActiveElement(doc) { + var _a; + let activeElement = doc.activeElement; + while ((_a = activeElement === null || activeElement === void 0 ? void 0 : activeElement.shadowRoot) === null || _a === void 0 ? void 0 : _a.activeElement) { + activeElement = activeElement.shadowRoot.activeElement; + } + return activeElement; +} +function nodeContains(node, otherNode) { + var _a, _b; + if (!node || !otherNode) { + return false; + } + let currentNode = otherNode; + while (currentNode) { + if (currentNode === node) { + return true; + } + if (typeof currentNode.assignedElements !== "function" && ((_a = currentNode.assignedSlot) === null || _a === void 0 ? void 0 : _a.parentNode)) { + currentNode = (_b = currentNode.assignedSlot) === null || _b === void 0 ? void 0 : _b.parentNode; + } else if (currentNode.nodeType === document.DOCUMENT_FRAGMENT_NODE) { + currentNode = currentNode.host; + } else { + currentNode = currentNode.parentNode; + } + } + return false; +} +function getParentNode(node) { + if (!node) { + return null; + } + if (node.nodeType === Node.DOCUMENT_FRAGMENT_NODE && node.host) { + return node.host; + } + return node.parentNode; +} +function getParentElement(element) { + for (let parentNode = getParentNode(element); parentNode; parentNode = getParentNode(parentNode)) { + if (parentNode.nodeType === Node.ELEMENT_NODE) { + return parentNode; + } + } + return null; +} +function getFirstChild(node) { + if (!node) { + return null; + } + if (node.shadowRoot) { + const child = getFirstChild(node.shadowRoot); + if (child) { + return child; + } + } + return node.firstChild; +} +function getLastChild$1(node) { + if (!node) { + return null; + } + if (!node.lastChild && node.shadowRoot) { + return getLastChild$1(node.shadowRoot); + } + return node.lastChild; +} +function getNextSibling(node) { + return (node === null || node === void 0 ? void 0 : node.nextSibling) || null; +} +function getPreviousSibling(node) { + var _a; + if (!node) { + return null; + } + let sibling = node.previousSibling; + if (!sibling && ((_a = node.parentElement) === null || _a === void 0 ? void 0 : _a.shadowRoot)) { + sibling = getLastChild$1(node.parentElement.shadowRoot); + } + return sibling; +} +function getFirstElementChild(element) { + let child = getFirstChild(element); + while (child && child.nodeType !== Node.ELEMENT_NODE) { + child = getNextSibling(child); + } + return child; +} +function getLastElementChild(element) { + let child = getLastChild$1(element); + while (child && child.nodeType !== Node.ELEMENT_NODE) { + child = getPreviousSibling(child); + } + return child; +} +function getNextElementSibling(element) { + let sibling = getNextSibling(element); + while (sibling && sibling.nodeType !== Node.ELEMENT_NODE) { + sibling = getNextSibling(sibling); + } + return sibling; +} +function getPreviousElementSibling(element) { + let sibling = getPreviousSibling(element); + while (sibling && sibling.nodeType !== Node.ELEMENT_NODE) { + sibling = getPreviousSibling(sibling); + } + return sibling; +} +function appendChild(parent2, child) { + const shadowRoot = parent2.shadowRoot; + return shadowRoot ? shadowRoot.appendChild(child) : parent2.appendChild(child); +} +function insertBefore(parent2, child, referenceChild) { + const shadowRoot = parent2.shadowRoot; + return shadowRoot ? shadowRoot.insertBefore(child, referenceChild) : parent2.insertBefore(child, referenceChild); +} +function getSelection(ref) { + var _a; + const win = (_a = ref.ownerDocument) === null || _a === void 0 ? void 0 : _a.defaultView; + if (!win) { + return null; + } + for (let el = ref; el; el = el.parentNode) { + if (el.nodeType === Node.DOCUMENT_FRAGMENT_NODE) { + const tmp = el; + if (tmp.getSelection) { + return tmp.getSelection() || null; + } + break; + } + } + return win.getSelection() || null; +} +function getElementsByName(referenceElement, name) { + for (let el = referenceElement; el; el = el.parentNode) { + if (el.nodeType === Node.DOCUMENT_FRAGMENT_NODE) { + return el.querySelectorAll(`[name=${name}]`); + } + } + return referenceElement.ownerDocument.getElementsByName(name); +} +function getLastChild(container) { + let lastChild = null; + for (let i = getLastElementChild(container); i; i = getLastElementChild(i)) { + lastChild = i; + } + return lastChild || void 0; +} +var ShadowTreeWalker = class { + constructor(doc, root, whatToShow, filter) { + this._walkerStack = []; + this._currentSetFor = /* @__PURE__ */ new Set(); + this._acceptNode = (node) => { + var _a; + if (node.nodeType === Node.ELEMENT_NODE) { + const shadowRoot2 = node.shadowRoot; + if (shadowRoot2) { + const walker = this._doc.createTreeWalker(shadowRoot2, this.whatToShow, { + acceptNode: this._acceptNode + }); + this._walkerStack.unshift(walker); + return NodeFilter.FILTER_ACCEPT; + } else { + if (typeof this.filter === "function") { + return this.filter(node); + } else if ((_a = this.filter) === null || _a === void 0 ? void 0 : _a.acceptNode) { + return this.filter.acceptNode(node); + } else if (this.filter === null) { + return NodeFilter.FILTER_ACCEPT; + } + } + } + return NodeFilter.FILTER_SKIP; + }; + this._doc = doc; + this.root = root; + this.filter = filter !== null && filter !== void 0 ? filter : null; + this.whatToShow = whatToShow !== null && whatToShow !== void 0 ? whatToShow : NodeFilter.SHOW_ALL; + this._currentNode = root; + this._walkerStack.unshift(doc.createTreeWalker(root, whatToShow, this._acceptNode)); + const shadowRoot = root.shadowRoot; + if (shadowRoot) { + const walker = this._doc.createTreeWalker(shadowRoot, this.whatToShow, { + acceptNode: this._acceptNode + }); + this._walkerStack.unshift(walker); + } + } + get currentNode() { + return this._currentNode; + } + set currentNode(node) { + if (!nodeContains(this.root, node)) { + throw new Error("Cannot set currentNode to a node that is not contained by the root node."); + } + const walkers = []; + let curNode = node; + let currentWalkerCurrentNode = node; + this._currentNode = node; + while (curNode && curNode !== this.root) { + if (curNode.nodeType === Node.DOCUMENT_FRAGMENT_NODE) { + const shadowRoot = curNode; + const walker2 = this._doc.createTreeWalker(shadowRoot, this.whatToShow, { + acceptNode: this._acceptNode + }); + walkers.push(walker2); + walker2.currentNode = currentWalkerCurrentNode; + this._currentSetFor.add(walker2); + curNode = currentWalkerCurrentNode = shadowRoot.host; + } else { + curNode = curNode.parentNode; + } + } + const walker = this._doc.createTreeWalker(this.root, this.whatToShow, { + acceptNode: this._acceptNode + }); + walkers.push(walker); + walker.currentNode = currentWalkerCurrentNode; + this._currentSetFor.add(walker); + this._walkerStack = walkers; + } + firstChild() { + if (true) { + throw new Error("Method not implemented."); + } + return null; + } + lastChild() { + if (true) { + throw new Error("Method not implemented."); + } + return null; + } + nextNode() { + var _a; + const nextNode = this._walkerStack[0].nextNode(); + if (nextNode) { + const shadowRoot = nextNode.shadowRoot; + if (shadowRoot) { + let nodeResult; + if (typeof this.filter === "function") { + nodeResult = this.filter(nextNode); + } else if ((_a = this.filter) === null || _a === void 0 ? void 0 : _a.acceptNode) { + nodeResult = this.filter.acceptNode(nextNode); + } + if (nodeResult === NodeFilter.FILTER_ACCEPT) { + return nextNode; + } + return this.nextNode(); + } + return nextNode; + } else { + if (this._walkerStack.length > 1) { + this._walkerStack.shift(); + return this.nextNode(); + } else { + return null; + } + } + } + previousNode() { + var _a, _b; + const currentWalker = this._walkerStack[0]; + if (currentWalker.currentNode === currentWalker.root) { + if (this._currentSetFor.has(currentWalker)) { + this._currentSetFor.delete(currentWalker); + if (this._walkerStack.length > 1) { + this._walkerStack.shift(); + return this.previousNode(); + } else { + return null; + } + } + const lastChild = getLastChild(currentWalker.root); + if (lastChild) { + currentWalker.currentNode = lastChild; + let nodeResult; + if (typeof this.filter === "function") { + nodeResult = this.filter(lastChild); + } else if ((_a = this.filter) === null || _a === void 0 ? void 0 : _a.acceptNode) { + nodeResult = this.filter.acceptNode(lastChild); + } + if (nodeResult === NodeFilter.FILTER_ACCEPT) { + return lastChild; + } + } + } + const previousNode = currentWalker.previousNode(); + if (previousNode) { + const shadowRoot = previousNode.shadowRoot; + if (shadowRoot) { + let nodeResult; + if (typeof this.filter === "function") { + nodeResult = this.filter(previousNode); + } else if ((_b = this.filter) === null || _b === void 0 ? void 0 : _b.acceptNode) { + nodeResult = this.filter.acceptNode(previousNode); + } + if (nodeResult === NodeFilter.FILTER_ACCEPT) { + return previousNode; + } + return this.previousNode(); + } + return previousNode; + } else { + if (this._walkerStack.length > 1) { + this._walkerStack.shift(); + return this.previousNode(); + } else { + return null; + } + } + } + nextSibling() { + if (true) { + throw new Error("Method not implemented."); + } + return null; + } + previousSibling() { + if (true) { + throw new Error("Method not implemented."); + } + return null; + } + parentNode() { + if (true) { + throw new Error("Method not implemented."); + } + return null; + } +}; +function createShadowTreeWalker(doc, root, whatToShow, filter) { + return new ShadowTreeWalker(doc, root, whatToShow, filter); +} +var ShadowMutationObserver = class _ShadowMutationObserver { + static _overrideAttachShadow(win) { + const origAttachShadow = win.Element.prototype.attachShadow; + if (origAttachShadow.__origAttachShadow) { + return; + } + Element.prototype.attachShadow = function(options) { + const shadowRoot = origAttachShadow.call(this, options); + for (const shadowObserver of _ShadowMutationObserver._shadowObservers) { + shadowObserver._addSubObserver(shadowRoot); + } + return shadowRoot; + }; + Element.prototype.attachShadow.__origAttachShadow = origAttachShadow; + } + constructor(callback) { + this._isObserving = false; + this._callbackWrapper = (mutations, observer) => { + for (const mutation of mutations) { + if (mutation.type === "childList") { + const removed = mutation.removedNodes; + const added = mutation.addedNodes; + for (let i = 0; i < removed.length; i++) { + this._walkShadows(removed[i], true); + } + for (let i = 0; i < added.length; i++) { + this._walkShadows(added[i]); + } + } + } + this._callback(mutations, observer); + }; + this._callback = callback; + this._observer = new MutationObserver(this._callbackWrapper); + this._subObservers = /* @__PURE__ */ new Map(); + } + _addSubObserver(shadowRoot) { + if (!this._options || !this._callback || this._subObservers.has(shadowRoot)) { + return; + } + if (this._options.subtree && nodeContains(this._root, shadowRoot)) { + const subObserver = new MutationObserver(this._callbackWrapper); + this._subObservers.set(shadowRoot, subObserver); + if (this._isObserving) { + subObserver.observe(shadowRoot, this._options); + } + this._walkShadows(shadowRoot); + } + } + disconnect() { + this._isObserving = false; + delete this._options; + _ShadowMutationObserver._shadowObservers.delete(this); + for (const subObserver of this._subObservers.values()) { + subObserver.disconnect(); + } + this._subObservers.clear(); + this._observer.disconnect(); + } + observe(target, options) { + const doc = target.nodeType === Node.DOCUMENT_NODE ? target : target.ownerDocument; + const win = doc === null || doc === void 0 ? void 0 : doc.defaultView; + if (!doc || !win) { + return; + } + _ShadowMutationObserver._overrideAttachShadow(win); + _ShadowMutationObserver._shadowObservers.add(this); + this._root = target; + this._options = options; + this._isObserving = true; + this._observer.observe(target, options); + this._walkShadows(target); + } + _walkShadows(target, remove) { + const doc = target.nodeType === Node.DOCUMENT_NODE ? target : target.ownerDocument; + if (!doc) { + return; + } + if (target === doc) { + target = doc.body; + } else { + const shadowRoot = target.shadowRoot; + if (shadowRoot) { + this._addSubObserver(shadowRoot); + return; + } + } + const walker = doc.createTreeWalker(target, NodeFilter.SHOW_ELEMENT, { + acceptNode: (node) => { + if (node.nodeType === Node.ELEMENT_NODE) { + if (remove) { + const subObserver = this._subObservers.get(node); + if (subObserver) { + subObserver.disconnect(); + this._subObservers.delete(node); + } + } else { + const shadowRoot = node.shadowRoot; + if (shadowRoot) { + this._addSubObserver(shadowRoot); + } + } + } + return NodeFilter.FILTER_SKIP; + } + }); + walker.nextNode(); + } + takeRecords() { + const records = this._observer.takeRecords(); + for (const subObserver of this._subObservers.values()) { + records.push(...subObserver.takeRecords()); + } + return records; + } +}; +ShadowMutationObserver._shadowObservers = /* @__PURE__ */ new Set(); +function createShadowMutationObserver(callback) { + return new ShadowMutationObserver(callback); +} +function shadowQuerySelector(node, selector, all) { + const elements = []; + walk(node, selector); + return elements; + function walk(from, selector2) { + let el = null; + const walker = document.createTreeWalker(from, NodeFilter.SHOW_ELEMENT, { + acceptNode: (n) => { + if (n.nodeType === Node.ELEMENT_NODE) { + if (n.matches(selector2)) { + el = n; + elements.push(el); + return all ? NodeFilter.FILTER_SKIP : NodeFilter.FILTER_ACCEPT; + } + const shadowRoot = n.shadowRoot; + if (shadowRoot) { + walk(shadowRoot, selector2); + return !all && elements.length ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP; + } + } + return NodeFilter.FILTER_SKIP; + } + }); + walker.nextNode(); + } +} +function querySelectorAll(node, selector) { + return shadowQuerySelector(node, selector, true); +} +function querySelector(node, selector) { + return shadowQuerySelector(node, selector, false)[0] || null; +} +function getElementById(doc, id) { + return querySelector(doc, "#" + id); +} +var shadowDOMAPI = Object.freeze({ + __proto__: null, + appendChild, + createMutationObserver: createShadowMutationObserver, + createTreeWalker: createShadowTreeWalker, + getActiveElement, + getElementById, + getElementsByName, + getFirstChild, + getFirstElementChild, + getLastChild: getLastChild$1, + getLastElementChild, + getNextElementSibling, + getNextSibling, + getParentElement, + getParentNode, + getPreviousElementSibling, + getPreviousSibling, + getSelection, + insertBefore, + nodeContains, + querySelector, + querySelectorAll +}); +var Tabster = class { + constructor(tabster) { + this.keyboardNavigation = tabster.keyboardNavigation; + this.focusedElement = tabster.focusedElement; + this.focusable = tabster.focusable; + this.root = tabster.root; + this.uncontrolled = tabster.uncontrolled; + this.core = tabster; + } +}; +var TabsterCore = class { + constructor(win, props) { + var _a, _b; + this._forgetMemorizedElements = []; + this._wrappers = /* @__PURE__ */ new Set(); + this._initQueue = []; + this._version = "8.7.0"; + this._noop = false; + this.getWindow = () => { + if (!this._win) { + throw new Error("Using disposed Tabster."); + } + return this._win; + }; + this._storage = createWeakMap(win); + this._win = win; + const getWindow2 = this.getWindow; + if (props === null || props === void 0 ? void 0 : props.DOMAPI) { + setDOMAPI({ + ...props.DOMAPI + }); + } + this.keyboardNavigation = new KeyboardNavigationState(getWindow2); + this.focusedElement = new FocusedElementState(this, getWindow2); + this.focusable = new FocusableAPI(this); + this.root = new RootAPI(this, props === null || props === void 0 ? void 0 : props.autoRoot); + this.uncontrolled = new UncontrolledAPI( + // TODO: Remove checkUncontrolledTrappingFocus in the next major version. + (props === null || props === void 0 ? void 0 : props.checkUncontrolledCompletely) || (props === null || props === void 0 ? void 0 : props.checkUncontrolledTrappingFocus) + ); + this.controlTab = (_a = props === null || props === void 0 ? void 0 : props.controlTab) !== null && _a !== void 0 ? _a : true; + this.rootDummyInputs = !!(props === null || props === void 0 ? void 0 : props.rootDummyInputs); + this._dummyObserver = new DummyInputObserver(getWindow2); + this.getParent = (_b = props === null || props === void 0 ? void 0 : props.getParent) !== null && _b !== void 0 ? _b : dom.getParentNode; + this.internal = { + stopObserver: () => { + if (this._unobserve) { + this._unobserve(); + delete this._unobserve; + } + }, + resumeObserver: (syncState) => { + if (!this._unobserve) { + const doc = getWindow2().document; + this._unobserve = observeMutations(doc, this, updateTabsterByAttribute, syncState); + } + } + }; + startFakeWeakRefsCleanup(getWindow2); + this.queueInit(() => { + this.internal.resumeObserver(true); + }); + } + /** + * Merges external props with the current props. Not all + * props can/should be mergeable, so let's add more as we move on. + * @param props Tabster props + */ + _mergeProps(props) { + var _a; + if (!props) { + return; + } + this.getParent = (_a = props.getParent) !== null && _a !== void 0 ? _a : this.getParent; + } + createTabster(noRefCount, props) { + const wrapper = new Tabster(this); + if (!noRefCount) { + this._wrappers.add(wrapper); + } + this._mergeProps(props); + return wrapper; + } + disposeTabster(wrapper, allInstances) { + if (allInstances) { + this._wrappers.clear(); + } else { + this._wrappers.delete(wrapper); + } + if (this._wrappers.size === 0) { + this.dispose(); + } + } + dispose() { + var _a, _b, _c, _d, _e, _f, _g, _h; + this.internal.stopObserver(); + const win = this._win; + win === null || win === void 0 ? void 0 : win.clearTimeout(this._initTimer); + delete this._initTimer; + this._initQueue = []; + this._forgetMemorizedElements = []; + if (win && this._forgetMemorizedTimer) { + win.clearTimeout(this._forgetMemorizedTimer); + delete this._forgetMemorizedTimer; + } + (_a = this.outline) === null || _a === void 0 ? void 0 : _a.dispose(); + (_b = this.crossOrigin) === null || _b === void 0 ? void 0 : _b.dispose(); + (_c = this.deloser) === null || _c === void 0 ? void 0 : _c.dispose(); + (_d = this.groupper) === null || _d === void 0 ? void 0 : _d.dispose(); + (_e = this.mover) === null || _e === void 0 ? void 0 : _e.dispose(); + (_f = this.modalizer) === null || _f === void 0 ? void 0 : _f.dispose(); + (_g = this.observedElement) === null || _g === void 0 ? void 0 : _g.dispose(); + (_h = this.restorer) === null || _h === void 0 ? void 0 : _h.dispose(); + this.keyboardNavigation.dispose(); + this.focusable.dispose(); + this.focusedElement.dispose(); + this.root.dispose(); + this._dummyObserver.dispose(); + stopFakeWeakRefsCleanupAndClearStorage(this.getWindow); + clearElementCache(this.getWindow); + this._storage = /* @__PURE__ */ new WeakMap(); + this._wrappers.clear(); + if (win) { + disposeInstanceContext(win); + delete win.__tabsterInstance; + delete this._win; + } + } + storageEntry(element, addremove) { + const storage = this._storage; + let entry = storage.get(element); + if (entry) { + if (addremove === false && Object.keys(entry).length === 0) { + storage.delete(element); + } + } else if (addremove === true) { + entry = {}; + storage.set(element, entry); + } + return entry; + } + forceCleanup() { + if (!this._win) { + return; + } + this._forgetMemorizedElements.push(this._win.document.body); + if (this._forgetMemorizedTimer) { + return; + } + this._forgetMemorizedTimer = this._win.setTimeout(() => { + delete this._forgetMemorizedTimer; + for (let el = this._forgetMemorizedElements.shift(); el; el = this._forgetMemorizedElements.shift()) { + clearElementCache(this.getWindow, el); + FocusedElementState.forgetMemorized(this.focusedElement, el); + } + }, 0); + cleanupFakeWeakRefs(this.getWindow, true); + } + queueInit(callback) { + var _a; + if (!this._win) { + return; + } + this._initQueue.push(callback); + if (!this._initTimer) { + this._initTimer = (_a = this._win) === null || _a === void 0 ? void 0 : _a.setTimeout(() => { + delete this._initTimer; + this.drainInitQueue(); + }, 0); + } + } + drainInitQueue() { + if (!this._win) { + return; + } + const queue = this._initQueue; + this._initQueue = []; + queue.forEach((callback) => callback()); + } +}; +function createTabster(win, props) { + let tabster = getCurrentTabster(win); + if (tabster) { + return tabster.createTabster(false, props); + } + tabster = new TabsterCore(win, props); + win.__tabsterInstance = tabster; + return tabster.createTabster(); +} +function getGroupper(tabster) { + const tabsterCore = tabster.core; + if (!tabsterCore.groupper) { + tabsterCore.groupper = new GroupperAPI(tabsterCore, tabsterCore.getWindow); + } + return tabsterCore.groupper; +} +function getMover(tabster) { + const tabsterCore = tabster.core; + if (!tabsterCore.mover) { + tabsterCore.mover = new MoverAPI(tabsterCore, tabsterCore.getWindow); + } + return tabsterCore.mover; +} +function getModalizer(tabster, alwaysAccessibleSelector, accessibleCheck) { + const tabsterCore = tabster.core; + if (!tabsterCore.modalizer) { + tabsterCore.modalizer = new ModalizerAPI(tabsterCore, alwaysAccessibleSelector, accessibleCheck); + } + return tabsterCore.modalizer; +} +function getObservedElement(tabster) { + const tabsterCore = tabster.core; + if (!tabsterCore.observedElement) { + tabsterCore.observedElement = new ObservedElementAPI(tabsterCore); + } + return tabsterCore.observedElement; +} +function getRestorer(tabster) { + const tabsterCore = tabster.core; + if (!tabsterCore.restorer) { + tabsterCore.restorer = new RestorerAPI(tabsterCore); + } + return tabsterCore.restorer; +} +function disposeTabster(tabster, allInstances) { + tabster.core.disposeTabster(tabster, allInstances); +} +function getCurrentTabster(win) { + return win.__tabsterInstance; +} +var Types = Object.freeze({ + __proto__: null +}); +var EventsTypes = Object.freeze({ + __proto__: null +}); + +// node_modules/@fluentui/react-tabster/lib/hooks/useTabster.js +var React42 = __toESM(require_react()); +var DEFAULT_FACTORY = (tabster) => { + return tabster; +}; +function createTabsterWithConfig(targetDocument) { + const defaultView = (targetDocument === null || targetDocument === void 0 ? void 0 : targetDocument.defaultView) || void 0; + const shadowDOMAPI2 = defaultView === null || defaultView === void 0 ? void 0 : defaultView.__tabsterShadowDOMAPI; + if (defaultView) { + return createTabster(defaultView, { + autoRoot: {}, + controlTab: false, + getParent, + // The non-undefined return value of checkUncontrolledCompletely() dominates the value that the element might + // have in its `uncontrolled: { completely: true }` part of the tabster attribute. We must make sure to return + // undefined if we want the value from tabster attribute to be respected. + checkUncontrolledCompletely: (element) => { + var _element_firstElementChild; + return ((_element_firstElementChild = element.firstElementChild) === null || _element_firstElementChild === void 0 ? void 0 : _element_firstElementChild.hasAttribute("data-is-focus-trap-zone-bumper")) === true || void 0; + }, + DOMAPI: shadowDOMAPI2 + }); + } +} +function useTabster(factory = DEFAULT_FACTORY) { + const { targetDocument } = useFluent(); + const factoryResultRef = React42.useRef(null); + useIsomorphicLayoutEffect(() => { + const tabster = createTabsterWithConfig(targetDocument); + if (tabster) { + factoryResultRef.current = factory(tabster); + return () => { + disposeTabster(tabster); + factoryResultRef.current = null; + }; + } + }, [ + targetDocument, + factory + ]); + if (true) { + const previousFactory = usePrevious(factory); + if (previousFactory !== null && previousFactory !== factory) { + throw new Error([ + "@fluentui/react-tabster: ", + "The factory function passed to useTabster has changed. This should not ever happen." + ].join("\n")); + } + } + return factoryResultRef; +} + +// node_modules/@fluentui/react-tabster/lib/hooks/useTabsterAttributes.js +var React43 = __toESM(require_react()); +var useTabsterAttributes = (props) => { + useTabster(); + const strAttr = getTabsterAttribute(props, true); + return React43.useMemo(() => ({ + [TABSTER_ATTRIBUTE_NAME]: strAttr + }), [ + strAttr + ]); +}; + +// node_modules/@fluentui/react-tabster/lib/hooks/useArrowNavigationGroup.js +var useArrowNavigationGroup = (options = {}) => { + const { + circular, + axis, + memorizeCurrent = true, + tabbable, + ignoreDefaultKeydown, + // eslint-disable-next-line @typescript-eslint/naming-convention + unstable_hasDefault + } = options; + useTabster(getMover); + return useTabsterAttributes({ + mover: { + cyclic: !!circular, + direction: axisToMoverDirection(axis !== null && axis !== void 0 ? axis : "vertical"), + memorizeCurrent, + tabbable, + hasDefault: unstable_hasDefault + }, + ...ignoreDefaultKeydown && { + focusable: { + ignoreKeydown: ignoreDefaultKeydown + } + } + }); +}; +function axisToMoverDirection(axis) { + switch (axis) { + case "horizontal": + return MoverDirections.Horizontal; + case "grid": + return MoverDirections.Grid; + case "grid-linear": + return MoverDirections.GridLinear; + case "both": + return MoverDirections.Both; + case "vertical": + default: + return MoverDirections.Vertical; + } +} + +// node_modules/@fluentui/react-tabster/lib/hooks/useFocusableGroup.js +var useFocusableGroup = (options) => { + useTabster(getGroupper); + return useTabsterAttributes({ + groupper: { + tabbability: getTabbability(options === null || options === void 0 ? void 0 : options.tabBehavior) + }, + focusable: { + ignoreKeydown: options === null || options === void 0 ? void 0 : options.ignoreDefaultKeydown + } + }); +}; +var getTabbability = (tabBehavior) => { + switch (tabBehavior) { + case "unlimited": + return GroupperTabbabilities.Unlimited; + case "limited": + return GroupperTabbabilities.Limited; + case "limited-trap-focus": + return GroupperTabbabilities.LimitedTrapFocus; + default: + return void 0; + } +}; + +// node_modules/@fluentui/react-tabster/lib/hooks/useFocusFinders.js +var React44 = __toESM(require_react()); +var useFocusFinders = () => { + const tabsterRef = useTabster(); + const { targetDocument } = useFluent(); + const findAllFocusable = React44.useCallback((container, acceptCondition) => { + var _tabsterRef_current; + return container && ((_tabsterRef_current = tabsterRef.current) === null || _tabsterRef_current === void 0 ? void 0 : _tabsterRef_current.focusable.findAll({ + container, + acceptCondition + })) || []; + }, [ + tabsterRef + ]); + const findFirstFocusable = React44.useCallback((container) => { + var _tabsterRef_current; + return container && ((_tabsterRef_current = tabsterRef.current) === null || _tabsterRef_current === void 0 ? void 0 : _tabsterRef_current.focusable.findFirst({ + container + })); + }, [ + tabsterRef + ]); + const findLastFocusable = React44.useCallback((container) => { + var _tabsterRef_current; + return container && ((_tabsterRef_current = tabsterRef.current) === null || _tabsterRef_current === void 0 ? void 0 : _tabsterRef_current.focusable.findLast({ + container + })); + }, [ + tabsterRef + ]); + const findNextFocusable = React44.useCallback((currentElement, options = {}) => { + if (!tabsterRef.current || !targetDocument || !currentElement) { + return null; + } + const { container = targetDocument.body } = options; + return tabsterRef.current.focusable.findNext({ + currentElement, + container + }); + }, [ + tabsterRef, + targetDocument + ]); + const findPrevFocusable = React44.useCallback((currentElement, options = {}) => { + if (!tabsterRef.current || !targetDocument || !currentElement) { + return null; + } + const { container = targetDocument.body } = options; + return tabsterRef.current.focusable.findPrev({ + currentElement, + container + }); + }, [ + tabsterRef, + targetDocument + ]); + return { + findAllFocusable, + findFirstFocusable, + findLastFocusable, + findNextFocusable, + findPrevFocusable + }; +}; + +// node_modules/@fluentui/react-tabster/lib/hooks/useFocusVisible.js +var React45 = __toESM(require_react()); + +// node_modules/@fluentui/react-tabster/lib/focus/constants.js +var KEYBOARD_NAV_ATTRIBUTE = "data-keyboard-nav"; +var KEYBOARD_NAV_SELECTOR = `:global([${KEYBOARD_NAV_ATTRIBUTE}])`; +var FOCUS_VISIBLE_ATTR = "data-fui-focus-visible"; +var FOCUS_WITHIN_ATTR = "data-fui-focus-within"; +var defaultOptions = { + style: {}, + selector: "focus", + customizeSelector: (selector) => selector +}; + +// node_modules/@fluentui/react-tabster/lib/focus/focusVisiblePolyfill.js +function applyFocusVisiblePolyfill(scope, targetWindow) { + if (alreadyInScope(scope)) { + return () => void 0; + } + const state = { + current: void 0 + }; + const keyborg = createKeyborg(targetWindow); + function registerElementIfNavigating(el) { + if (keyborg.isNavigatingWithKeyboard() && isHTMLElement(el)) { + state.current = el; + el.setAttribute(FOCUS_VISIBLE_ATTR, ""); + } + } + function disposeCurrentElement() { + if (state.current) { + state.current.removeAttribute(FOCUS_VISIBLE_ATTR); + state.current = void 0; + } + } + keyborg.subscribe((isNavigatingWithKeyboard) => { + if (!isNavigatingWithKeyboard) { + disposeCurrentElement(); + } else { + registerElementIfNavigating(targetWindow.document.activeElement); + } + }); + const keyborgListener = (e) => { + disposeCurrentElement(); + const target = e.composedPath()[0]; + registerElementIfNavigating(target); + }; + const blurListener = (e) => { + if (!e.relatedTarget || isHTMLElement(e.relatedTarget) && !scope.contains(e.relatedTarget)) { + disposeCurrentElement(); + } + }; + scope.addEventListener(KEYBORG_FOCUSIN, keyborgListener); + scope.addEventListener("focusout", blurListener); + scope.focusVisible = true; + if (scope.contains(targetWindow.document.activeElement)) { + registerElementIfNavigating(targetWindow.document.activeElement); + } + return () => { + disposeCurrentElement(); + scope.removeEventListener(KEYBORG_FOCUSIN, keyborgListener); + scope.removeEventListener("focusout", blurListener); + scope.focusVisible = void 0; + disposeKeyborg(keyborg); + }; +} +function alreadyInScope(el) { + if (!el) { + return false; + } + if (el.focusVisible) { + return true; + } + return alreadyInScope(el === null || el === void 0 ? void 0 : el.parentElement); +} + +// node_modules/@fluentui/react-tabster/lib/hooks/useFocusVisible.js +function useFocusVisible(options = {}) { + const contextValue = useFluent(); + const scopeRef = React45.useRef(null); + var _options_targetDocument; + const targetDocument = (_options_targetDocument = options.targetDocument) !== null && _options_targetDocument !== void 0 ? _options_targetDocument : contextValue.targetDocument; + React45.useEffect(() => { + if ((targetDocument === null || targetDocument === void 0 ? void 0 : targetDocument.defaultView) && scopeRef.current) { + return applyFocusVisiblePolyfill(scopeRef.current, targetDocument.defaultView); + } + }, [ + scopeRef, + targetDocument + ]); + return scopeRef; +} + +// node_modules/@fluentui/react-tabster/lib/hooks/useFocusWithin.js +var React46 = __toESM(require_react()); + +// node_modules/@fluentui/react-tabster/lib/focus/focusWithinPolyfill.js +function applyFocusWithinPolyfill(element, win) { + const keyborg = createKeyborg(win); + keyborg.subscribe((isNavigatingWithKeyboard) => { + if (!isNavigatingWithKeyboard) { + removeFocusWithinClass(element); + } + }); + const keyborgListener = (e) => { + if (keyborg.isNavigatingWithKeyboard() && isHTMLElement2(e.target)) { + applyFocusWithinClass(element); + } + }; + const blurListener = (e) => { + if (!e.relatedTarget || isHTMLElement2(e.relatedTarget) && !element.contains(e.relatedTarget)) { + removeFocusWithinClass(element); + } + }; + element.addEventListener(KEYBORG_FOCUSIN, keyborgListener); + element.addEventListener("focusout", blurListener); + return () => { + element.removeEventListener(KEYBORG_FOCUSIN, keyborgListener); + element.removeEventListener("focusout", blurListener); + disposeKeyborg(keyborg); + }; +} +function applyFocusWithinClass(el) { + el.setAttribute(FOCUS_WITHIN_ATTR, ""); +} +function removeFocusWithinClass(el) { + el.removeAttribute(FOCUS_WITHIN_ATTR); +} +function isHTMLElement2(target) { + if (!target) { + return false; + } + return Boolean(target && typeof target === "object" && "classList" in target && "contains" in target); +} + +// node_modules/@fluentui/react-tabster/lib/hooks/useFocusWithin.js +function useFocusWithin() { + const { targetDocument } = useFluent(); + const elementRef = React46.useRef(null); + React46.useEffect(() => { + if ((targetDocument === null || targetDocument === void 0 ? void 0 : targetDocument.defaultView) && elementRef.current) { + return applyFocusWithinPolyfill(elementRef.current, targetDocument.defaultView); + } + }, [ + elementRef, + targetDocument + ]); + return elementRef; +} + +// node_modules/@fluentui/react-tabster/lib/hooks/useKeyboardNavAttribute.js +var React47 = __toESM(require_react()); +function useKeyboardNavAttribute() { + const { targetDocument } = useFluent(); + const keyborg = React47.useMemo(() => targetDocument && createKeyborg(targetDocument.defaultView), [ + targetDocument + ]); + const ref = React47.useRef(null); + React47.useEffect(() => { + if (keyborg) { + setBooleanAttribute(ref, KEYBOARD_NAV_ATTRIBUTE, keyborg.isNavigatingWithKeyboard()); + const cb = (next) => { + setBooleanAttribute(ref, KEYBOARD_NAV_ATTRIBUTE, next); + }; + keyborg.subscribe(cb); + return () => keyborg.unsubscribe(cb); + } + }, [ + keyborg + ]); + return ref; +} +function setBooleanAttribute(elementRef, attribute, value) { + if (!elementRef.current) { + return; + } + if (value) { + elementRef.current.setAttribute(attribute, ""); + } else { + elementRef.current.removeAttribute(attribute); + } +} + +// node_modules/@fluentui/react-tabster/lib/hooks/useOnKeyboardNavigationChange.js +var React49 = __toESM(require_react()); + +// node_modules/@fluentui/react-tabster/lib/hooks/useKeyborgRef.js +var React48 = __toESM(require_react()); +function useKeyborgRef() { + const { targetDocument } = useFluent(); + const keyborgRef = React48.useRef(null); + React48.useEffect(() => { + const targetWindow = targetDocument === null || targetDocument === void 0 ? void 0 : targetDocument.defaultView; + if (targetWindow) { + const keyborg = createKeyborg(targetWindow); + keyborgRef.current = keyborg; + return () => { + disposeKeyborg(keyborg); + keyborgRef.current = null; + }; + } + }, [ + targetDocument + ]); + return keyborgRef; +} + +// node_modules/@fluentui/react-tabster/lib/hooks/useOnKeyboardNavigationChange.js +function useOnKeyboardNavigationChange(callback) { + const keyborgRef = useKeyborgRef(); + const eventCallback = useEventCallback(callback); + React49.useEffect(() => { + const keyborg = keyborgRef.current; + if (keyborg) { + const cb = (next) => { + eventCallback(next); + }; + keyborg.subscribe(cb); + cb(keyborg.isNavigatingWithKeyboard()); + return () => { + keyborg.unsubscribe(cb); + }; + } + }, [ + keyborgRef, + eventCallback + ]); +} + +// node_modules/@fluentui/react-tabster/lib/hooks/useModalAttributes.js +var DangerousNeverHiddenAttribute = "data-tabster-never-hide"; +var DangerousNeverHiddenPropObject = { + [DangerousNeverHiddenAttribute]: "" +}; +function useDangerousNeverHidden_unstable() { + return DangerousNeverHiddenPropObject; +} +var tabsterAccessibleCheck = (element) => { + return element.hasAttribute(DangerousNeverHiddenAttribute); +}; +function initTabsterModules(tabster) { + getModalizer(tabster, void 0, tabsterAccessibleCheck); + getRestorer(tabster); +} +var useModalAttributes = (options = {}) => { + const { trapFocus, alwaysFocusable, legacyTrapFocus } = options; + useTabster(initTabsterModules); + const id = useId2("modal-", options.id); + const modalAttributes = useTabsterAttributes({ + restorer: { + type: RestorerTypes.Source + }, + ...trapFocus && { + modalizer: { + id, + isOthersAccessible: !trapFocus, + isAlwaysAccessible: alwaysFocusable, + isTrapped: legacyTrapFocus && trapFocus + } + } + }); + const triggerAttributes = useTabsterAttributes({ + restorer: { + type: RestorerTypes.Target + } + }); + return { + modalAttributes, + triggerAttributes + }; +}; + +// node_modules/@fluentui/react-tabster/lib/hooks/useObservedElement.js +function useObservedElement(name) { + useTabster(getObservedElement); + return useTabsterAttributes({ + observed: { + names: Array.isArray(name) ? name : [ + name + ] + } + }); +} + +// node_modules/@fluentui/react-tabster/lib/hooks/useMergeTabsterAttributes.js +var React50 = __toESM(require_react()); +var useMergedTabsterAttributes_unstable = (...attributes) => { + "use no memo"; + const stringAttributes = attributes.reduce((acc, curr) => { + if (curr === null || curr === void 0 ? void 0 : curr[TABSTER_ATTRIBUTE_NAME]) { + acc.push(curr[TABSTER_ATTRIBUTE_NAME]); + } + return acc; + }, []); + if (true) { + useWarnIfUnstableAttributes(stringAttributes); + } + return React50.useMemo( + () => ({ + [TABSTER_ATTRIBUTE_NAME]: stringAttributes.length > 0 ? stringAttributes.reduce(mergeJSONStrings) : void 0 + }), + // disable exhaustive-deps because we want to memoize the result of the reduction + // this is safe because the collection of attributes is not expected to change at runtime + // eslint-disable-next-line react-hooks/exhaustive-deps + stringAttributes + ); +}; +var mergeJSONStrings = (a, b) => JSON.stringify(Object.assign(safelyParseJSON(a), safelyParseJSON(b))); +var safelyParseJSON = (json) => { + try { + return JSON.parse(json); + } catch { + return {}; + } +}; +var useWarnIfUnstableAttributes = (attributes) => { + "use no memo"; + const initialAttributesRef = React50.useRef(attributes); + let isStable = initialAttributesRef.current.length === attributes.length; + if (initialAttributesRef.current !== attributes && isStable) { + for (let i = 0; i < attributes.length; i++) { + if (initialAttributesRef.current[i] !== attributes[i]) { + isStable = false; + break; + } + } + } + React50.useEffect(() => { + if (!isStable) { + const error = new Error(); + console.warn( + /** #__DE-INDENT__ */ + ` + @fluentui/react-tabster [useMergedTabsterAttributes]: + The attributes passed to the hook changed at runtime. + This might lead to unexpected behavior, please ensure that the attributes are stable. + ${error.stack} + ` + ); + } + }, [ + isStable + ]); +}; + +// node_modules/@fluentui/react-tabster/lib/hooks/useFocusObserved.js +var React51 = __toESM(require_react()); +function useFocusObserved(name, options = {}) { + const { timeout = 1e3 } = options; + const observedAPIRef = useTabster(getObservedElement); + return React51.useCallback(() => { + const observerAPI = observedAPIRef.current; + if (observerAPI) { + return observerAPI.requestFocus(name, timeout); + } + return { + result: Promise.resolve(false), + cancel: () => null + }; + }, [ + observedAPIRef, + name, + timeout + ]); +} + +// node_modules/@fluentui/react-tabster/lib/hooks/useRestoreFocus.js +function useRestoreFocusTarget() { + useTabster(getRestorer); + return getTabsterAttribute({ + restorer: { + type: RestorerTypes.Target + } + }); +} +function useRestoreFocusSource() { + useTabster(getRestorer); + return getTabsterAttribute({ + restorer: { + type: RestorerTypes.Source + } + }); +} + +// node_modules/@fluentui/react-tabster/lib/hooks/useUncontrolledFocus.js +function useUncontrolledFocus() { + useTabster(); + return getTabsterAttribute({ + uncontrolled: {} + }); +} + +// node_modules/@fluentui/react-tabster/lib/hooks/useIsNavigatingWithKeyboard.js +var React52 = __toESM(require_react()); +function useIsNavigatingWithKeyboard() { + const keyborgRef = useKeyborgRef(); + return React52.useCallback(() => { + var _keyborgRef_current; + var _keyborgRef_current_isNavigatingWithKeyboard; + return (_keyborgRef_current_isNavigatingWithKeyboard = (_keyborgRef_current = keyborgRef.current) === null || _keyborgRef_current === void 0 ? void 0 : _keyborgRef_current.isNavigatingWithKeyboard()) !== null && _keyborgRef_current_isNavigatingWithKeyboard !== void 0 ? _keyborgRef_current_isNavigatingWithKeyboard : false; + }, [ + keyborgRef + ]); +} + +// node_modules/@fluentui/react-tabster/lib/hooks/useSetKeyboardNavigation.js +var React53 = __toESM(require_react()); +function useSetKeyboardNavigation() { + const keyborgRef = useKeyborgRef(); + return React53.useCallback((isNavigatingWithKeyboard) => { + var _keyborgRef_current; + (_keyborgRef_current = keyborgRef.current) === null || _keyborgRef_current === void 0 ? void 0 : _keyborgRef_current.setVal(isNavigatingWithKeyboard); + }, [ + keyborgRef + ]); +} + +// node_modules/@fluentui/react-tabster/lib/hooks/useFocusedElementChange.js +var React54 = __toESM(require_react()); +function useFocusedElementChange(callback) { + const { targetDocument } = useFluent(); + const listener = useEventCallback(callback); + React54.useEffect(() => { + const tabster = createTabsterWithConfig(targetDocument); + if (tabster) { + tabster.focusedElement.subscribe(listener); + return () => { + tabster.focusedElement.unsubscribe(listener); + disposeTabster(tabster); + }; + } + }, [ + listener, + targetDocument + ]); +} + +// node_modules/@fluentui/react-tabster/lib/hooks/useActivateModal.js +var React55 = __toESM(require_react()); +function useActivateModal() { + const modalizerRefAPI = useTabster(getModalizer); + const [setActivateModalTimeout] = useTimeout(); + const activateModal = React55.useCallback((elementFromModal) => { + setActivateModalTimeout(() => { + var _modalizerRefAPI_current; + (_modalizerRefAPI_current = modalizerRefAPI.current) === null || _modalizerRefAPI_current === void 0 ? void 0 : _modalizerRefAPI_current.activate(elementFromModal); + }, 0); + }, [ + modalizerRefAPI, + setActivateModalTimeout + ]); + return activateModal; +} + +// node_modules/@fluentui/react-tabster/lib/focus/createCustomFocusIndicatorStyle.js +function createCustomFocusIndicatorStyle(style, { selector: selectorType = defaultOptions.selector, customizeSelector = defaultOptions.customizeSelector } = defaultOptions) { + return { + [customizeSelector(createBaseSelector(selectorType))]: style + }; +} +function createBaseSelector(selectorType) { + switch (selectorType) { + case "focus": + return `&[${FOCUS_VISIBLE_ATTR}]`; + case "focus-within": + return `&[${FOCUS_WITHIN_ATTR}]:focus-within`; + } +} + +// node_modules/@fluentui/tokens/lib/global/colors.js +var grey = { + "2": "#050505", + "4": "#0a0a0a", + "6": "#0f0f0f", + "8": "#141414", + "10": "#1a1a1a", + "12": "#1f1f1f", + "14": "#242424", + "16": "#292929", + "18": "#2e2e2e", + "20": "#333333", + "22": "#383838", + "24": "#3d3d3d", + "26": "#424242", + "28": "#474747", + "30": "#4d4d4d", + "32": "#525252", + "34": "#575757", + "36": "#5c5c5c", + "38": "#616161", + "40": "#666666", + "42": "#6b6b6b", + "44": "#707070", + "46": "#757575", + "48": "#7a7a7a", + "50": "#808080", + "52": "#858585", + "54": "#8a8a8a", + "56": "#8f8f8f", + "58": "#949494", + "60": "#999999", + "62": "#9e9e9e", + "64": "#a3a3a3", + "66": "#a8a8a8", + "68": "#adadad", + "70": "#b3b3b3", + "72": "#b8b8b8", + "74": "#bdbdbd", + "76": "#c2c2c2", + "78": "#c7c7c7", + "80": "#cccccc", + "82": "#d1d1d1", + "84": "#d6d6d6", + "86": "#dbdbdb", + "88": "#e0e0e0", + "90": "#e6e6e6", + "92": "#ebebeb", + "94": "#f0f0f0", + "96": "#f5f5f5", + "98": "#fafafa", + "99": "#fcfcfc" +}; +var whiteAlpha = { + "5": "rgba(255, 255, 255, 0.05)", + "10": "rgba(255, 255, 255, 0.1)", + "20": "rgba(255, 255, 255, 0.2)", + "30": "rgba(255, 255, 255, 0.3)", + "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)", + "90": "rgba(255, 255, 255, 0.9)" +}; +var blackAlpha = { + "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)", + "60": "rgba(0, 0, 0, 0.6)", + "70": "rgba(0, 0, 0, 0.7)", + "80": "rgba(0, 0, 0, 0.8)", + "90": "rgba(0, 0, 0, 0.9)" +}; +var grey10Alpha = { + "5": "rgba(26, 26, 26, 0.05)", + "10": "rgba(26, 26, 26, 0.1)", + "20": "rgba(26, 26, 26, 0.2)", + "30": "rgba(26, 26, 26, 0.3)", + "40": "rgba(26, 26, 26, 0.4)", + "50": "rgba(26, 26, 26, 0.5)", + "60": "rgba(26, 26, 26, 0.6)", + "70": "rgba(26, 26, 26, 0.7)", + "80": "rgba(26, 26, 26, 0.8)", + "90": "rgba(26, 26, 26, 0.9)" +}; +var grey12Alpha = { + "5": "rgba(31, 31, 31, 0.05)", + "10": "rgba(31, 31, 31, 0.1)", + "20": "rgba(31, 31, 31, 0.2)", + "30": "rgba(31, 31, 31, 0.3)", + "40": "rgba(31, 31, 31, 0.4)", + "50": "rgba(31, 31, 31, 0.5)", + "60": "rgba(31, 31, 31, 0.6)", + "70": "rgba(31, 31, 31, 0.7)", + "80": "rgba(31, 31, 31, 0.8)", + "90": "rgba(31, 31, 31, 0.9)" +}; +var grey14Alpha = { + "5": "rgba(36, 36, 36, 0.05)", + "10": "rgba(36, 36, 36, 0.1)", + "20": "rgba(36, 36, 36, 0.2)", + "30": "rgba(36, 36, 36, 0.3)", + "40": "rgba(36, 36, 36, 0.4)", + "50": "rgba(36, 36, 36, 0.5)", + "60": "rgba(36, 36, 36, 0.6)", + "70": "rgba(36, 36, 36, 0.7)", + "80": "rgba(36, 36, 36, 0.8)", + "90": "rgba(36, 36, 36, 0.9)" +}; +var white = "#ffffff"; +var black = "#000000"; +var hcHyperlink = "#ffff00"; +var hcHighlight = "#1aebff"; +var hcDisabled = "#3ff23f"; +var hcCanvas = "#000000"; +var hcCanvasText = "#ffffff"; +var hcHighlightText = "#000000"; +var hcButtonText = "#000000"; +var hcButtonFace = "#ffffff"; +var darkRed = { + shade50: "#130204", + shade40: "#230308", + shade30: "#420610", + shade20: "#590815", + shade10: "#690a19", + primary: "#750b1c", + tint10: "#861b2c", + tint20: "#962f3f", + tint30: "#ac4f5e", + tint40: "#d69ca5", + tint50: "#e9c7cd", + tint60: "#f9f0f2" +}; +var cranberry = { + shade50: "#200205", + shade40: "#3b0509", + shade30: "#6e0811", + shade20: "#960b18", + shade10: "#b10e1c", + primary: "#c50f1f", + tint10: "#cc2635", + tint20: "#d33f4c", + tint30: "#dc626d", + tint40: "#eeacb2", + tint50: "#f6d1d5", + tint60: "#fdf3f4" +}; +var red = { + shade50: "#210809", + shade40: "#3f1011", + shade30: "#751d1f", + shade20: "#9f282b", + shade10: "#bc2f32", + primary: "#d13438", + tint10: "#d7494c", + tint20: "#dc5e62", + tint30: "#e37d80", + tint40: "#f1bbbc", + tint50: "#f8dadb", + tint60: "#fdf6f6" +}; +var darkOrange = { + shade50: "#230900", + shade40: "#411200", + shade30: "#7a2101", + shade20: "#a62d01", + shade10: "#c43501", + primary: "#da3b01", + tint10: "#de501c", + tint20: "#e36537", + tint30: "#e9835e", + tint40: "#f4bfab", + tint50: "#f9dcd1", + tint60: "#fdf6f3" +}; +var pumpkin = { + shade50: "#200d03", + shade40: "#3d1805", + shade30: "#712d09", + shade20: "#9a3d0c", + shade10: "#b6480e", + primary: "#ca5010", + tint10: "#d06228", + tint20: "#d77440", + tint30: "#df8e64", + tint40: "#efc4ad", + tint50: "#f7dfd2", + tint60: "#fdf7f4" +}; +var orange = { + shade50: "#271002", + shade40: "#4a1e04", + shade30: "#8a3707", + shade20: "#bc4b09", + shade10: "#de590b", + primary: "#f7630c", + tint10: "#f87528", + tint20: "#f98845", + tint30: "#faa06b", + tint40: "#fdcfb4", + tint50: "#fee5d7", + tint60: "#fff9f5" +}; +var peach = { + shade50: "#291600", + shade40: "#4d2a00", + shade30: "#8f4e00", + shade20: "#c26a00", + shade10: "#e67e00", + primary: "#ff8c00", + tint10: "#ff9a1f", + tint20: "#ffa83d", + tint30: "#ffba66", + tint40: "#ffddb3", + tint50: "#ffedd6", + tint60: "#fffaf5" +}; +var marigold = { + shade50: "#251a00", + shade40: "#463100", + shade30: "#835b00", + shade20: "#b27c00", + shade10: "#d39300", + primary: "#eaa300", + tint10: "#edad1c", + tint20: "#efb839", + tint30: "#f2c661", + tint40: "#f9e2ae", + tint50: "#fcefd3", + tint60: "#fefbf4" +}; +var yellow = { + shade50: "#282400", + shade40: "#4c4400", + shade30: "#817400", + shade20: "#c0ad00", + shade10: "#e4cc00", + primary: "#fde300", + tint10: "#fde61e", + tint20: "#fdea3d", + tint30: "#feee66", + tint40: "#fef7b2", + tint50: "#fffad6", + tint60: "#fffef5" +}; +var gold = { + shade50: "#1f1900", + shade40: "#3a2f00", + shade30: "#6c5700", + shade20: "#937700", + shade10: "#ae8c00", + primary: "#c19c00", + tint10: "#c8a718", + tint20: "#d0b232", + tint30: "#dac157", + tint40: "#ecdfa5", + tint50: "#f5eece", + tint60: "#fdfbf2" +}; +var brass = { + shade50: "#181202", + shade40: "#2e2103", + shade30: "#553e06", + shade20: "#745408", + shade10: "#89640a", + primary: "#986f0b", + tint10: "#a47d1e", + tint20: "#b18c34", + tint30: "#c1a256", + tint40: "#e0cea2", + tint50: "#efe4cb", + tint60: "#fbf8f2" +}; +var brown = { + shade50: "#170e07", + shade40: "#2b1a0e", + shade30: "#50301a", + shade20: "#6c4123", + shade10: "#804d29", + primary: "#8e562e", + tint10: "#9c663f", + tint20: "#a97652", + tint30: "#bb8f6f", + tint40: "#ddc3b0", + tint50: "#edded3", + tint60: "#faf7f4" +}; +var forest = { + shade50: "#0c1501", + shade40: "#162702", + shade30: "#294903", + shade20: "#376304", + shade10: "#427505", + primary: "#498205", + tint10: "#599116", + tint20: "#6ba02b", + tint30: "#85b44c", + tint40: "#bdd99b", + tint50: "#dbebc7", + tint60: "#f6faf0" +}; +var seafoam = { + shade50: "#002111", + shade40: "#003d20", + shade30: "#00723b", + shade20: "#009b51", + shade10: "#00b85f", + primary: "#00cc6a", + tint10: "#19d279", + tint20: "#34d889", + tint30: "#5ae0a0", + tint40: "#a8f0cd", + tint50: "#cff7e4", + tint60: "#f3fdf8" +}; +var lightGreen = { + shade50: "#031a02", + shade40: "#063004", + shade30: "#0b5a08", + shade20: "#0e7a0b", + shade10: "#11910d", + primary: "#13a10e", + tint10: "#27ac22", + tint20: "#3db838", + tint30: "#5ec75a", + tint40: "#a7e3a5", + tint50: "#cef0cd", + tint60: "#f2fbf2" +}; +var green = { + shade50: "#031403", + shade40: "#052505", + shade30: "#094509", + shade20: "#0c5e0c", + shade10: "#0e700e", + primary: "#107c10", + tint10: "#218c21", + tint20: "#359b35", + tint30: "#54b054", + tint40: "#9fd89f", + tint50: "#c9eac9", + tint60: "#f1faf1" +}; +var darkGreen = { + shade50: "#021102", + shade40: "#032003", + shade30: "#063b06", + shade20: "#085108", + shade10: "#0a5f0a", + primary: "#0b6a0b", + tint10: "#1a7c1a", + tint20: "#2d8e2d", + tint30: "#4da64d", + tint40: "#9ad29a", + tint50: "#c6e7c6", + tint60: "#f0f9f0" +}; +var lightTeal = { + shade50: "#001d1f", + shade40: "#00373a", + shade30: "#00666d", + shade20: "#008b94", + shade10: "#00a5af", + primary: "#00b7c3", + tint10: "#18bfca", + tint20: "#32c8d1", + tint30: "#58d3db", + tint40: "#a6e9ed", + tint50: "#cef3f5", + tint60: "#f2fcfd" +}; +var teal = { + shade50: "#001516", + shade40: "#012728", + shade30: "#02494c", + shade20: "#026467", + shade10: "#037679", + primary: "#038387", + tint10: "#159195", + tint20: "#2aa0a4", + tint30: "#4cb4b7", + tint40: "#9bd9db", + tint50: "#c7ebec", + tint60: "#f0fafa" +}; +var steel = { + shade50: "#000f12", + shade40: "#001b22", + shade30: "#00333f", + shade20: "#004555", + shade10: "#005265", + primary: "#005b70", + tint10: "#0f6c81", + tint20: "#237d92", + tint30: "#4496a9", + tint40: "#94c8d4", + tint50: "#c3e1e8", + tint60: "#eff7f9" +}; +var blue = { + shade50: "#001322", + shade40: "#002440", + shade30: "#004377", + shade20: "#005ba1", + shade10: "#006cbf", + primary: "#0078d4", + tint10: "#1a86d9", + tint20: "#3595de", + tint30: "#5caae5", + tint40: "#a9d3f2", + tint50: "#d0e7f8", + tint60: "#f3f9fd" +}; +var royalBlue = { + shade50: "#000c16", + shade40: "#00172a", + shade30: "#002c4e", + shade20: "#003b6a", + shade10: "#00467e", + primary: "#004e8c", + tint10: "#125e9a", + tint20: "#286fa8", + tint30: "#4a89ba", + tint40: "#9abfdc", + tint50: "#c7dced", + tint60: "#f0f6fa" +}; +var cornflower = { + shade50: "#0d1126", + shade40: "#182047", + shade30: "#2c3c85", + shade20: "#3c51b4", + shade10: "#4760d5", + primary: "#4f6bed", + tint10: "#637cef", + tint20: "#778df1", + tint30: "#93a4f4", + tint40: "#c8d1fa", + tint50: "#e1e6fc", + tint60: "#f7f9fe" +}; +var navy = { + shade50: "#00061d", + shade40: "#000c36", + shade30: "#001665", + shade20: "#001e89", + shade10: "#0023a2", + primary: "#0027b4", + tint10: "#173bbd", + tint20: "#3050c6", + tint30: "#546fd2", + tint40: "#a3b2e8", + tint50: "#ccd5f3", + tint60: "#f2f4fc" +}; +var lavender = { + shade50: "#120f25", + shade40: "#221d46", + shade30: "#3f3682", + shade20: "#5649b0", + shade10: "#6656d1", + primary: "#7160e8", + tint10: "#8172eb", + tint20: "#9184ee", + tint30: "#a79cf1", + tint40: "#d2ccf8", + tint50: "#e7e4fb", + tint60: "#f9f8fe" +}; +var purple = { + shade50: "#0f0717", + shade40: "#1c0e2b", + shade30: "#341a51", + shade20: "#46236e", + shade10: "#532982", + primary: "#5c2e91", + tint10: "#6b3f9e", + tint20: "#7c52ab", + tint30: "#9470bd", + tint40: "#c6b1de", + tint50: "#e0d3ed", + tint60: "#f7f4fb" +}; +var grape = { + shade50: "#160418", + shade40: "#29072e", + shade30: "#4c0d55", + shade20: "#671174", + shade10: "#7a1589", + primary: "#881798", + tint10: "#952aa4", + tint20: "#a33fb1", + tint30: "#b55fc1", + tint40: "#d9a7e0", + tint50: "#eaceef", + tint60: "#faf2fb" +}; +var berry = { + shade50: "#1f091d", + shade40: "#3a1136", + shade30: "#6d2064", + shade20: "#932b88", + shade10: "#af33a1", + primary: "#c239b3", + tint10: "#c94cbc", + tint20: "#d161c4", + tint30: "#da7ed0", + tint40: "#edbbe7", + tint50: "#f5daf2", + tint60: "#fdf5fc" +}; +var lilac = { + shade50: "#1c0b1f", + shade40: "#35153a", + shade30: "#63276d", + shade20: "#863593", + shade10: "#9f3faf", + primary: "#b146c2", + tint10: "#ba58c9", + tint20: "#c36bd1", + tint30: "#cf87da", + tint40: "#e6bfed", + tint50: "#f2dcf5", + tint60: "#fcf6fd" +}; +var pink = { + shade50: "#24091b", + shade40: "#441232", + shade30: "#80215d", + shade20: "#ad2d7e", + shade10: "#cd3595", + primary: "#e43ba6", + tint10: "#e750b0", + tint20: "#ea66ba", + tint30: "#ef85c8", + tint40: "#f7c0e3", + tint50: "#fbddf0", + tint60: "#fef6fb" +}; +var magenta = { + shade50: "#1f0013", + shade40: "#390024", + shade30: "#6b0043", + shade20: "#91005a", + shade10: "#ac006b", + primary: "#bf0077", + tint10: "#c71885", + tint20: "#ce3293", + tint30: "#d957a8", + tint40: "#eca5d1", + tint50: "#f5cee6", + tint60: "#fcf2f9" +}; +var plum = { + shade50: "#13000c", + shade40: "#240017", + shade30: "#43002b", + shade20: "#5a003b", + shade10: "#6b0045", + primary: "#77004d", + tint10: "#87105d", + tint20: "#98246f", + tint30: "#ad4589", + tint40: "#d696c0", + tint50: "#e9c4dc", + tint60: "#faf0f6" +}; +var beige = { + shade50: "#141313", + shade40: "#252323", + shade30: "#444241", + shade20: "#5d5958", + shade10: "#6e6968", + primary: "#7a7574", + tint10: "#8a8584", + tint20: "#9a9594", + tint30: "#afabaa", + tint40: "#d7d4d4", + tint50: "#eae8e8", + tint60: "#faf9f9" +}; +var mink = { + shade50: "#0f0e0e", + shade40: "#1c1b1a", + shade30: "#343231", + shade20: "#474443", + shade10: "#54514f", + primary: "#5d5a58", + tint10: "#706d6b", + tint20: "#84817e", + tint30: "#9e9b99", + tint40: "#cecccb", + tint50: "#e5e4e3", + tint60: "#f8f8f8" +}; +var platinum = { + shade50: "#111314", + shade40: "#1f2426", + shade30: "#3b4447", + shade20: "#505c60", + shade10: "#5f6d71", + primary: "#69797e", + tint10: "#79898d", + tint20: "#89989d", + tint30: "#a0adb2", + tint40: "#cdd6d8", + tint50: "#e4e9ea", + tint60: "#f8f9fa" +}; +var anchor = { + shade50: "#090a0b", + shade40: "#111315", + shade30: "#202427", + shade20: "#2b3135", + shade10: "#333a3f", + primary: "#394146", + tint10: "#4d565c", + tint20: "#626c72", + tint30: "#808a90", + tint40: "#bcc3c7", + tint50: "#dbdfe1", + tint60: "#f6f7f8" +}; + +// node_modules/@fluentui/tokens/lib/global/colorPalette.js +var statusSharedColors = { + red, + green, + darkOrange, + yellow, + berry, + lightGreen, + marigold +}; +var personaSharedColors = { + 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 +}; +var mappedStatusColors = { + cranberry, + green, + orange +}; + +// node_modules/@fluentui/tokens/lib/sharedColorNames.js +var statusSharedColorNames = [ + "red", + "green", + "darkOrange", + "yellow", + "berry", + "lightGreen", + "marigold" +]; +var personaSharedColorNames = [ + "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" +]; + +// node_modules/@fluentui/tokens/lib/statusColorMapping.js +var statusColorMapping = { + success: "green", + warning: "orange", + danger: "cranberry" +}; + +// node_modules/@fluentui/tokens/lib/alias/lightColorPalette.js +var statusColorPaletteTokens = statusSharedColorNames.reduce((acc, sharedColor) => { + const color2 = sharedColor.slice(0, 1).toUpperCase() + sharedColor.slice(1); + const sharedColorTokens = { + [`colorPalette${color2}Background1`]: statusSharedColors[sharedColor].tint60, + [`colorPalette${color2}Background2`]: statusSharedColors[sharedColor].tint40, + [`colorPalette${color2}Background3`]: statusSharedColors[sharedColor].primary, + [`colorPalette${color2}Foreground1`]: statusSharedColors[sharedColor].shade10, + [`colorPalette${color2}Foreground2`]: statusSharedColors[sharedColor].shade30, + [`colorPalette${color2}Foreground3`]: statusSharedColors[sharedColor].primary, + [`colorPalette${color2}BorderActive`]: statusSharedColors[sharedColor].primary, + [`colorPalette${color2}Border1`]: statusSharedColors[sharedColor].tint40, + [`colorPalette${color2}Border2`]: statusSharedColors[sharedColor].primary + }; + return Object.assign(acc, sharedColorTokens); +}, {}); +statusColorPaletteTokens.colorPaletteYellowForeground1 = statusSharedColors.yellow.shade30; +statusColorPaletteTokens.colorPaletteRedForegroundInverted = statusSharedColors.red.tint20; +statusColorPaletteTokens.colorPaletteGreenForegroundInverted = statusSharedColors.green.tint20; +statusColorPaletteTokens.colorPaletteYellowForegroundInverted = statusSharedColors.yellow.tint40; +var personaColorPaletteTokens = personaSharedColorNames.reduce((acc, sharedColor) => { + const color2 = sharedColor.slice(0, 1).toUpperCase() + sharedColor.slice(1); + const sharedColorTokens = { + [`colorPalette${color2}Background2`]: personaSharedColors[sharedColor].tint40, + [`colorPalette${color2}Foreground2`]: personaSharedColors[sharedColor].shade30, + [`colorPalette${color2}BorderActive`]: personaSharedColors[sharedColor].primary + }; + return Object.assign(acc, sharedColorTokens); +}, {}); +var colorPaletteTokens = { + ...statusColorPaletteTokens, + ...personaColorPaletteTokens +}; +var colorStatusTokens = Object.entries(statusColorMapping).reduce((acc, [statusColor, sharedColor]) => { + const color2 = statusColor.slice(0, 1).toUpperCase() + statusColor.slice(1); + const statusColorTokens = { + [`colorStatus${color2}Background1`]: mappedStatusColors[sharedColor].tint60, + [`colorStatus${color2}Background2`]: mappedStatusColors[sharedColor].tint40, + [`colorStatus${color2}Background3`]: mappedStatusColors[sharedColor].primary, + [`colorStatus${color2}Foreground1`]: mappedStatusColors[sharedColor].shade10, + [`colorStatus${color2}Foreground2`]: mappedStatusColors[sharedColor].shade30, + [`colorStatus${color2}Foreground3`]: mappedStatusColors[sharedColor].primary, + [`colorStatus${color2}ForegroundInverted`]: mappedStatusColors[sharedColor].tint30, + [`colorStatus${color2}BorderActive`]: mappedStatusColors[sharedColor].primary, + [`colorStatus${color2}Border1`]: mappedStatusColors[sharedColor].tint40, + [`colorStatus${color2}Border2`]: mappedStatusColors[sharedColor].primary + }; + return Object.assign(acc, statusColorTokens); +}, {}); +colorStatusTokens.colorStatusDangerBackground3Hover = mappedStatusColors[statusColorMapping.danger].shade10; +colorStatusTokens.colorStatusDangerBackground3Pressed = mappedStatusColors[statusColorMapping.danger].shade20; +colorStatusTokens.colorStatusWarningForeground1 = mappedStatusColors[statusColorMapping.warning].shade20; +colorStatusTokens.colorStatusWarningForeground3 = mappedStatusColors[statusColorMapping.warning].shade20; +colorStatusTokens.colorStatusWarningBorder2 = mappedStatusColors[statusColorMapping.warning].shade20; + +// node_modules/@fluentui/tokens/lib/alias/lightColor.js +var generateColorTokens = (brand) => ({ + colorNeutralForeground1: grey[14], + colorNeutralForeground1Hover: grey[14], + colorNeutralForeground1Pressed: grey[14], + colorNeutralForeground1Selected: grey[14], + colorNeutralForeground2: grey[26], + colorNeutralForeground2Hover: grey[14], + colorNeutralForeground2Pressed: grey[14], + colorNeutralForeground2Selected: grey[14], + colorNeutralForeground2BrandHover: brand[80], + colorNeutralForeground2BrandPressed: brand[70], + colorNeutralForeground2BrandSelected: brand[80], + colorNeutralForeground3: grey[38], + colorNeutralForeground3Hover: grey[26], + colorNeutralForeground3Pressed: grey[26], + colorNeutralForeground3Selected: grey[26], + colorNeutralForeground3BrandHover: brand[80], + colorNeutralForeground3BrandPressed: brand[70], + colorNeutralForeground3BrandSelected: brand[80], + colorNeutralForeground4: grey[44], + colorNeutralForeground5: grey[38], + colorNeutralForeground5Hover: grey[14], + colorNeutralForeground5Pressed: grey[14], + colorNeutralForeground5Selected: grey[14], + colorNeutralForegroundDisabled: grey[74], + colorNeutralForegroundInvertedDisabled: whiteAlpha[40], + colorBrandForegroundLink: brand[70], + colorBrandForegroundLinkHover: brand[60], + colorBrandForegroundLinkPressed: brand[40], + colorBrandForegroundLinkSelected: brand[70], + colorNeutralForeground2Link: grey[26], + colorNeutralForeground2LinkHover: grey[14], + colorNeutralForeground2LinkPressed: grey[14], + colorNeutralForeground2LinkSelected: grey[14], + colorCompoundBrandForeground1: brand[80], + colorCompoundBrandForeground1Hover: brand[70], + colorCompoundBrandForeground1Pressed: brand[60], + colorBrandForeground1: brand[80], + colorBrandForeground2: brand[70], + colorBrandForeground2Hover: brand[60], + colorBrandForeground2Pressed: brand[30], + colorNeutralForeground1Static: grey[14], + colorNeutralForegroundStaticInverted: white, + colorNeutralForegroundInverted: white, + colorNeutralForegroundInvertedHover: white, + colorNeutralForegroundInvertedPressed: white, + colorNeutralForegroundInvertedSelected: white, + colorNeutralForegroundInverted2: white, + colorNeutralForegroundOnBrand: white, + colorNeutralForegroundInvertedLink: white, + colorNeutralForegroundInvertedLinkHover: white, + colorNeutralForegroundInvertedLinkPressed: white, + colorNeutralForegroundInvertedLinkSelected: white, + colorBrandForegroundInverted: brand[100], + colorBrandForegroundInvertedHover: brand[110], + colorBrandForegroundInvertedPressed: brand[100], + colorBrandForegroundOnLight: brand[80], + colorBrandForegroundOnLightHover: brand[70], + colorBrandForegroundOnLightPressed: brand[50], + colorBrandForegroundOnLightSelected: brand[60], + colorNeutralBackground1: white, + colorNeutralBackground1Hover: grey[96], + colorNeutralBackground1Pressed: grey[88], + colorNeutralBackground1Selected: grey[92], + colorNeutralBackground2: grey[98], + colorNeutralBackground2Hover: grey[94], + colorNeutralBackground2Pressed: grey[86], + colorNeutralBackground2Selected: grey[90], + colorNeutralBackground3: grey[96], + colorNeutralBackground3Hover: grey[92], + colorNeutralBackground3Pressed: grey[84], + colorNeutralBackground3Selected: grey[88], + colorNeutralBackground4: grey[94], + colorNeutralBackground4Hover: grey[98], + colorNeutralBackground4Pressed: grey[96], + colorNeutralBackground4Selected: white, + colorNeutralBackground5: grey[92], + colorNeutralBackground5Hover: grey[96], + colorNeutralBackground5Pressed: grey[94], + colorNeutralBackground5Selected: grey[98], + colorNeutralBackground6: grey[90], + colorNeutralBackground7: "#00000000", + colorNeutralBackground7Hover: grey[92], + colorNeutralBackground7Pressed: grey[84], + colorNeutralBackground7Selected: "#00000000", + colorNeutralBackground8: grey[99], + colorNeutralBackgroundInverted: grey[16], + colorNeutralBackgroundInvertedHover: grey[24], + colorNeutralBackgroundInvertedPressed: grey[12], + colorNeutralBackgroundInvertedSelected: grey[22], + colorNeutralBackgroundStatic: grey[20], + colorNeutralBackgroundAlpha: whiteAlpha[50], + colorNeutralBackgroundAlpha2: whiteAlpha[80], + colorSubtleBackground: "transparent", + colorSubtleBackgroundHover: grey[96], + colorSubtleBackgroundPressed: grey[88], + colorSubtleBackgroundSelected: grey[92], + colorSubtleBackgroundLightAlphaHover: whiteAlpha[70], + colorSubtleBackgroundLightAlphaPressed: whiteAlpha[50], + colorSubtleBackgroundLightAlphaSelected: "transparent", + colorSubtleBackgroundInverted: "transparent", + colorSubtleBackgroundInvertedHover: blackAlpha[10], + colorSubtleBackgroundInvertedPressed: blackAlpha[30], + colorSubtleBackgroundInvertedSelected: blackAlpha[20], + colorTransparentBackground: "transparent", + colorTransparentBackgroundHover: "transparent", + colorTransparentBackgroundPressed: "transparent", + colorTransparentBackgroundSelected: "transparent", + colorNeutralBackgroundDisabled: grey[94], + colorNeutralBackgroundDisabled2: white, + colorNeutralBackgroundInvertedDisabled: whiteAlpha[10], + colorNeutralStencil1: grey[90], + colorNeutralStencil2: grey[98], + colorNeutralStencil1Alpha: blackAlpha[10], + colorNeutralStencil2Alpha: blackAlpha[5], + colorBackgroundOverlay: blackAlpha[40], + colorScrollbarOverlay: blackAlpha[50], + colorBrandBackground: brand[80], + colorBrandBackgroundHover: brand[70], + colorBrandBackgroundPressed: brand[40], + colorBrandBackgroundSelected: brand[60], + colorCompoundBrandBackground: brand[80], + colorCompoundBrandBackgroundHover: brand[70], + colorCompoundBrandBackgroundPressed: brand[60], + colorBrandBackgroundStatic: brand[80], + colorBrandBackground2: brand[160], + colorBrandBackground2Hover: brand[150], + colorBrandBackground2Pressed: brand[130], + colorBrandBackground3Static: brand[60], + colorBrandBackground4Static: brand[40], + colorBrandBackgroundInverted: white, + colorBrandBackgroundInvertedHover: brand[160], + colorBrandBackgroundInvertedPressed: brand[140], + colorBrandBackgroundInvertedSelected: brand[150], + colorNeutralCardBackground: grey[98], + colorNeutralCardBackgroundHover: white, + colorNeutralCardBackgroundPressed: grey[96], + colorNeutralCardBackgroundSelected: grey[92], + colorNeutralCardBackgroundDisabled: grey[94], + colorNeutralStrokeAccessible: grey[38], + colorNeutralStrokeAccessibleHover: grey[34], + colorNeutralStrokeAccessiblePressed: grey[30], + colorNeutralStrokeAccessibleSelected: brand[80], + colorNeutralStroke1: grey[82], + colorNeutralStroke1Hover: grey[78], + colorNeutralStroke1Pressed: grey[70], + colorNeutralStroke1Selected: grey[74], + colorNeutralStroke2: grey[88], + colorNeutralStroke3: grey[94], + colorNeutralStroke4: grey[92], + colorNeutralStroke4Hover: grey[88], + colorNeutralStroke4Pressed: grey[84], + colorNeutralStroke4Selected: grey[92], + colorNeutralStrokeSubtle: grey[88], + colorNeutralStrokeOnBrand: white, + colorNeutralStrokeOnBrand2: white, + colorNeutralStrokeOnBrand2Hover: white, + colorNeutralStrokeOnBrand2Pressed: white, + colorNeutralStrokeOnBrand2Selected: white, + colorBrandStroke1: brand[80], + colorBrandStroke2: brand[140], + colorBrandStroke2Hover: brand[120], + colorBrandStroke2Pressed: brand[80], + colorBrandStroke2Contrast: brand[140], + colorCompoundBrandStroke: brand[80], + colorCompoundBrandStrokeHover: brand[70], + colorCompoundBrandStrokePressed: brand[60], + colorNeutralStrokeDisabled: grey[88], + colorNeutralStrokeDisabled2: grey[92], + colorNeutralStrokeInvertedDisabled: whiteAlpha[40], + colorTransparentStroke: "transparent", + colorTransparentStrokeInteractive: "transparent", + colorTransparentStrokeDisabled: "transparent", + colorNeutralStrokeAlpha: blackAlpha[5], + colorNeutralStrokeAlpha2: whiteAlpha[20], + colorStrokeFocus1: white, + colorStrokeFocus2: black, + 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)" +}); + +// node_modules/@fluentui/tokens/lib/global/borderRadius.js +var borderRadius = { + borderRadiusNone: "0", + borderRadiusSmall: "2px", + borderRadiusMedium: "4px", + borderRadiusLarge: "6px", + borderRadiusXLarge: "8px", + borderRadius2XLarge: "12px", + borderRadius3XLarge: "16px", + borderRadius4XLarge: "24px", + borderRadius5XLarge: "32px", + borderRadius6XLarge: "40px", + borderRadiusCircular: "10000px" +}; + +// node_modules/@fluentui/tokens/lib/global/curves.js +var curves = { + 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)" +}; + +// node_modules/@fluentui/tokens/lib/global/durations.js +var durations = { + durationUltraFast: "50ms", + durationFaster: "100ms", + durationFast: "150ms", + durationNormal: "200ms", + durationGentle: "250ms", + durationSlow: "300ms", + durationSlower: "400ms", + durationUltraSlow: "500ms" +}; + +// node_modules/@fluentui/tokens/lib/global/fonts.js +var fontSizes = { + fontSizeBase100: "10px", + fontSizeBase200: "12px", + fontSizeBase300: "14px", + fontSizeBase400: "16px", + fontSizeBase500: "20px", + fontSizeBase600: "24px", + fontSizeHero700: "28px", + fontSizeHero800: "32px", + fontSizeHero900: "40px", + fontSizeHero1000: "68px" +}; +var lineHeights = { + lineHeightBase100: "14px", + lineHeightBase200: "16px", + lineHeightBase300: "20px", + lineHeightBase400: "22px", + lineHeightBase500: "28px", + lineHeightBase600: "32px", + lineHeightHero700: "36px", + lineHeightHero800: "40px", + lineHeightHero900: "52px", + lineHeightHero1000: "92px" +}; +var fontWeights = { + fontWeightRegular: 400, + fontWeightMedium: 500, + fontWeightSemibold: 600, + fontWeightBold: 700 +}; +var fontFamilies = { + 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" +}; + +// node_modules/@fluentui/tokens/lib/global/spacings.js +var spacings = { + none: "0", + xxs: "2px", + xs: "4px", + sNudge: "6px", + s: "8px", + mNudge: "10px", + m: "12px", + l: "16px", + xl: "20px", + xxl: "24px", + xxxl: "32px" +}; +var horizontalSpacings = { + spacingHorizontalNone: spacings.none, + spacingHorizontalXXS: spacings.xxs, + spacingHorizontalXS: spacings.xs, + spacingHorizontalSNudge: spacings.sNudge, + spacingHorizontalS: spacings.s, + spacingHorizontalMNudge: spacings.mNudge, + spacingHorizontalM: spacings.m, + spacingHorizontalL: spacings.l, + spacingHorizontalXL: spacings.xl, + spacingHorizontalXXL: spacings.xxl, + spacingHorizontalXXXL: spacings.xxxl +}; +var verticalSpacings = { + spacingVerticalNone: spacings.none, + spacingVerticalXXS: spacings.xxs, + spacingVerticalXS: spacings.xs, + spacingVerticalSNudge: spacings.sNudge, + spacingVerticalS: spacings.s, + spacingVerticalMNudge: spacings.mNudge, + spacingVerticalM: spacings.m, + spacingVerticalL: spacings.l, + spacingVerticalXL: spacings.xl, + spacingVerticalXXL: spacings.xxl, + spacingVerticalXXXL: spacings.xxxl +}; + +// node_modules/@fluentui/tokens/lib/global/strokeWidths.js +var strokeWidths = { + strokeWidthThin: "1px", + strokeWidthThick: "2px", + strokeWidthThicker: "3px", + strokeWidthThickest: "4px" +}; + +// node_modules/@fluentui/tokens/lib/tokens.js +var tokens = { + // Color tokens + colorNeutralForeground1: "var(--colorNeutralForeground1)", + colorNeutralForeground1Hover: "var(--colorNeutralForeground1Hover)", + colorNeutralForeground1Pressed: "var(--colorNeutralForeground1Pressed)", + colorNeutralForeground1Selected: "var(--colorNeutralForeground1Selected)", + colorNeutralForeground2: "var(--colorNeutralForeground2)", + colorNeutralForeground2Hover: "var(--colorNeutralForeground2Hover)", + colorNeutralForeground2Pressed: "var(--colorNeutralForeground2Pressed)", + colorNeutralForeground2Selected: "var(--colorNeutralForeground2Selected)", + colorNeutralForeground2BrandHover: "var(--colorNeutralForeground2BrandHover)", + colorNeutralForeground2BrandPressed: "var(--colorNeutralForeground2BrandPressed)", + colorNeutralForeground2BrandSelected: "var(--colorNeutralForeground2BrandSelected)", + colorNeutralForeground3: "var(--colorNeutralForeground3)", + colorNeutralForeground3Hover: "var(--colorNeutralForeground3Hover)", + colorNeutralForeground3Pressed: "var(--colorNeutralForeground3Pressed)", + colorNeutralForeground3Selected: "var(--colorNeutralForeground3Selected)", + colorNeutralForeground3BrandHover: "var(--colorNeutralForeground3BrandHover)", + colorNeutralForeground3BrandPressed: "var(--colorNeutralForeground3BrandPressed)", + colorNeutralForeground3BrandSelected: "var(--colorNeutralForeground3BrandSelected)", + colorNeutralForeground4: "var(--colorNeutralForeground4)", + colorNeutralForeground5: "var(--colorNeutralForeground5)", + colorNeutralForeground5Hover: "var(--colorNeutralForeground5Hover)", + colorNeutralForeground5Pressed: "var(--colorNeutralForeground5Pressed)", + colorNeutralForeground5Selected: "var(--colorNeutralForeground5Selected)", + colorNeutralForegroundDisabled: "var(--colorNeutralForegroundDisabled)", + colorBrandForegroundLink: "var(--colorBrandForegroundLink)", + colorBrandForegroundLinkHover: "var(--colorBrandForegroundLinkHover)", + colorBrandForegroundLinkPressed: "var(--colorBrandForegroundLinkPressed)", + colorBrandForegroundLinkSelected: "var(--colorBrandForegroundLinkSelected)", + colorNeutralForeground2Link: "var(--colorNeutralForeground2Link)", + colorNeutralForeground2LinkHover: "var(--colorNeutralForeground2LinkHover)", + colorNeutralForeground2LinkPressed: "var(--colorNeutralForeground2LinkPressed)", + colorNeutralForeground2LinkSelected: "var(--colorNeutralForeground2LinkSelected)", + colorCompoundBrandForeground1: "var(--colorCompoundBrandForeground1)", + colorCompoundBrandForeground1Hover: "var(--colorCompoundBrandForeground1Hover)", + colorCompoundBrandForeground1Pressed: "var(--colorCompoundBrandForeground1Pressed)", + colorNeutralForegroundOnBrand: "var(--colorNeutralForegroundOnBrand)", + colorNeutralForegroundInverted: "var(--colorNeutralForegroundInverted)", + colorNeutralForegroundInvertedHover: "var(--colorNeutralForegroundInvertedHover)", + colorNeutralForegroundInvertedPressed: "var(--colorNeutralForegroundInvertedPressed)", + colorNeutralForegroundInvertedSelected: "var(--colorNeutralForegroundInvertedSelected)", + colorNeutralForegroundInverted2: "var(--colorNeutralForegroundInverted2)", + colorNeutralForegroundStaticInverted: "var(--colorNeutralForegroundStaticInverted)", + colorNeutralForegroundInvertedLink: "var(--colorNeutralForegroundInvertedLink)", + colorNeutralForegroundInvertedLinkHover: "var(--colorNeutralForegroundInvertedLinkHover)", + colorNeutralForegroundInvertedLinkPressed: "var(--colorNeutralForegroundInvertedLinkPressed)", + colorNeutralForegroundInvertedLinkSelected: "var(--colorNeutralForegroundInvertedLinkSelected)", + colorNeutralForegroundInvertedDisabled: "var(--colorNeutralForegroundInvertedDisabled)", + colorBrandForeground1: "var(--colorBrandForeground1)", + colorBrandForeground2: "var(--colorBrandForeground2)", + colorBrandForeground2Hover: "var(--colorBrandForeground2Hover)", + colorBrandForeground2Pressed: "var(--colorBrandForeground2Pressed)", + colorNeutralForeground1Static: "var(--colorNeutralForeground1Static)", + colorBrandForegroundInverted: "var(--colorBrandForegroundInverted)", + colorBrandForegroundInvertedHover: "var(--colorBrandForegroundInvertedHover)", + colorBrandForegroundInvertedPressed: "var(--colorBrandForegroundInvertedPressed)", + colorBrandForegroundOnLight: "var(--colorBrandForegroundOnLight)", + colorBrandForegroundOnLightHover: "var(--colorBrandForegroundOnLightHover)", + colorBrandForegroundOnLightPressed: "var(--colorBrandForegroundOnLightPressed)", + colorBrandForegroundOnLightSelected: "var(--colorBrandForegroundOnLightSelected)", + colorNeutralBackground1: "var(--colorNeutralBackground1)", + colorNeutralBackground1Hover: "var(--colorNeutralBackground1Hover)", + colorNeutralBackground1Pressed: "var(--colorNeutralBackground1Pressed)", + colorNeutralBackground1Selected: "var(--colorNeutralBackground1Selected)", + colorNeutralBackground2: "var(--colorNeutralBackground2)", + colorNeutralBackground2Hover: "var(--colorNeutralBackground2Hover)", + colorNeutralBackground2Pressed: "var(--colorNeutralBackground2Pressed)", + colorNeutralBackground2Selected: "var(--colorNeutralBackground2Selected)", + colorNeutralBackground3: "var(--colorNeutralBackground3)", + colorNeutralBackground3Hover: "var(--colorNeutralBackground3Hover)", + colorNeutralBackground3Pressed: "var(--colorNeutralBackground3Pressed)", + colorNeutralBackground3Selected: "var(--colorNeutralBackground3Selected)", + colorNeutralBackground4: "var(--colorNeutralBackground4)", + colorNeutralBackground4Hover: "var(--colorNeutralBackground4Hover)", + colorNeutralBackground4Pressed: "var(--colorNeutralBackground4Pressed)", + colorNeutralBackground4Selected: "var(--colorNeutralBackground4Selected)", + colorNeutralBackground5: "var(--colorNeutralBackground5)", + colorNeutralBackground5Hover: "var(--colorNeutralBackground5Hover)", + colorNeutralBackground5Pressed: "var(--colorNeutralBackground5Pressed)", + colorNeutralBackground5Selected: "var(--colorNeutralBackground5Selected)", + colorNeutralBackground6: "var(--colorNeutralBackground6)", + colorNeutralBackground7: "var(--colorNeutralBackground7)", + colorNeutralBackground7Hover: "var(--colorNeutralBackground7Hover)", + colorNeutralBackground7Pressed: "var(--colorNeutralBackground7Pressed)", + colorNeutralBackground7Selected: "var(--colorNeutralBackground7Selected)", + colorNeutralBackground8: "var(--colorNeutralBackground8)", + colorNeutralBackgroundInverted: "var(--colorNeutralBackgroundInverted)", + colorNeutralBackgroundInvertedHover: "var(--colorNeutralBackgroundInvertedHover)", + colorNeutralBackgroundInvertedPressed: "var(--colorNeutralBackgroundInvertedPressed)", + colorNeutralBackgroundInvertedSelected: "var(--colorNeutralBackgroundInvertedSelected)", + colorNeutralBackgroundStatic: "var(--colorNeutralBackgroundStatic)", + colorNeutralBackgroundAlpha: "var(--colorNeutralBackgroundAlpha)", + colorNeutralBackgroundAlpha2: "var(--colorNeutralBackgroundAlpha2)", + colorSubtleBackground: "var(--colorSubtleBackground)", + colorSubtleBackgroundHover: "var(--colorSubtleBackgroundHover)", + colorSubtleBackgroundPressed: "var(--colorSubtleBackgroundPressed)", + colorSubtleBackgroundSelected: "var(--colorSubtleBackgroundSelected)", + colorSubtleBackgroundLightAlphaHover: "var(--colorSubtleBackgroundLightAlphaHover)", + colorSubtleBackgroundLightAlphaPressed: "var(--colorSubtleBackgroundLightAlphaPressed)", + colorSubtleBackgroundLightAlphaSelected: "var(--colorSubtleBackgroundLightAlphaSelected)", + colorSubtleBackgroundInverted: "var(--colorSubtleBackgroundInverted)", + colorSubtleBackgroundInvertedHover: "var(--colorSubtleBackgroundInvertedHover)", + colorSubtleBackgroundInvertedPressed: "var(--colorSubtleBackgroundInvertedPressed)", + colorSubtleBackgroundInvertedSelected: "var(--colorSubtleBackgroundInvertedSelected)", + colorTransparentBackground: "var(--colorTransparentBackground)", + colorTransparentBackgroundHover: "var(--colorTransparentBackgroundHover)", + colorTransparentBackgroundPressed: "var(--colorTransparentBackgroundPressed)", + colorTransparentBackgroundSelected: "var(--colorTransparentBackgroundSelected)", + colorNeutralBackgroundDisabled: "var(--colorNeutralBackgroundDisabled)", + colorNeutralBackgroundDisabled2: "var(--colorNeutralBackgroundDisabled2)", + colorNeutralBackgroundInvertedDisabled: "var(--colorNeutralBackgroundInvertedDisabled)", + colorNeutralStencil1: "var(--colorNeutralStencil1)", + colorNeutralStencil2: "var(--colorNeutralStencil2)", + colorNeutralStencil1Alpha: "var(--colorNeutralStencil1Alpha)", + colorNeutralStencil2Alpha: "var(--colorNeutralStencil2Alpha)", + colorBackgroundOverlay: "var(--colorBackgroundOverlay)", + colorScrollbarOverlay: "var(--colorScrollbarOverlay)", + colorBrandBackground: "var(--colorBrandBackground)", + colorBrandBackgroundHover: "var(--colorBrandBackgroundHover)", + colorBrandBackgroundPressed: "var(--colorBrandBackgroundPressed)", + colorBrandBackgroundSelected: "var(--colorBrandBackgroundSelected)", + colorCompoundBrandBackground: "var(--colorCompoundBrandBackground)", + colorCompoundBrandBackgroundHover: "var(--colorCompoundBrandBackgroundHover)", + colorCompoundBrandBackgroundPressed: "var(--colorCompoundBrandBackgroundPressed)", + colorBrandBackgroundStatic: "var(--colorBrandBackgroundStatic)", + colorBrandBackground2: "var(--colorBrandBackground2)", + colorBrandBackground2Hover: "var(--colorBrandBackground2Hover)", + colorBrandBackground2Pressed: "var(--colorBrandBackground2Pressed)", + colorBrandBackground3Static: "var(--colorBrandBackground3Static)", + colorBrandBackground4Static: "var(--colorBrandBackground4Static)", + colorBrandBackgroundInverted: "var(--colorBrandBackgroundInverted)", + colorBrandBackgroundInvertedHover: "var(--colorBrandBackgroundInvertedHover)", + colorBrandBackgroundInvertedPressed: "var(--colorBrandBackgroundInvertedPressed)", + colorBrandBackgroundInvertedSelected: "var(--colorBrandBackgroundInvertedSelected)", + colorNeutralCardBackground: "var(--colorNeutralCardBackground)", + colorNeutralCardBackgroundHover: "var(--colorNeutralCardBackgroundHover)", + colorNeutralCardBackgroundPressed: "var(--colorNeutralCardBackgroundPressed)", + colorNeutralCardBackgroundSelected: "var(--colorNeutralCardBackgroundSelected)", + colorNeutralCardBackgroundDisabled: "var(--colorNeutralCardBackgroundDisabled)", + colorNeutralStrokeAccessible: "var(--colorNeutralStrokeAccessible)", + colorNeutralStrokeAccessibleHover: "var(--colorNeutralStrokeAccessibleHover)", + colorNeutralStrokeAccessiblePressed: "var(--colorNeutralStrokeAccessiblePressed)", + colorNeutralStrokeAccessibleSelected: "var(--colorNeutralStrokeAccessibleSelected)", + colorNeutralStroke1: "var(--colorNeutralStroke1)", + colorNeutralStroke1Hover: "var(--colorNeutralStroke1Hover)", + colorNeutralStroke1Pressed: "var(--colorNeutralStroke1Pressed)", + colorNeutralStroke1Selected: "var(--colorNeutralStroke1Selected)", + colorNeutralStroke2: "var(--colorNeutralStroke2)", + colorNeutralStroke3: "var(--colorNeutralStroke3)", + colorNeutralStroke4: "var(--colorNeutralStroke4)", + colorNeutralStroke4Hover: "var(--colorNeutralStroke4Hover)", + colorNeutralStroke4Pressed: "var(--colorNeutralStroke4Pressed)", + colorNeutralStroke4Selected: "var(--colorNeutralStroke4Selected)", + colorNeutralStrokeSubtle: "var(--colorNeutralStrokeSubtle)", + colorNeutralStrokeOnBrand: "var(--colorNeutralStrokeOnBrand)", + colorNeutralStrokeOnBrand2: "var(--colorNeutralStrokeOnBrand2)", + colorNeutralStrokeOnBrand2Hover: "var(--colorNeutralStrokeOnBrand2Hover)", + colorNeutralStrokeOnBrand2Pressed: "var(--colorNeutralStrokeOnBrand2Pressed)", + colorNeutralStrokeOnBrand2Selected: "var(--colorNeutralStrokeOnBrand2Selected)", + colorBrandStroke1: "var(--colorBrandStroke1)", + colorBrandStroke2: "var(--colorBrandStroke2)", + colorBrandStroke2Hover: "var(--colorBrandStroke2Hover)", + colorBrandStroke2Pressed: "var(--colorBrandStroke2Pressed)", + colorBrandStroke2Contrast: "var(--colorBrandStroke2Contrast)", + colorCompoundBrandStroke: "var(--colorCompoundBrandStroke)", + colorCompoundBrandStrokeHover: "var(--colorCompoundBrandStrokeHover)", + colorCompoundBrandStrokePressed: "var(--colorCompoundBrandStrokePressed)", + colorNeutralStrokeDisabled: "var(--colorNeutralStrokeDisabled)", + colorNeutralStrokeDisabled2: "var(--colorNeutralStrokeDisabled2)", + colorNeutralStrokeInvertedDisabled: "var(--colorNeutralStrokeInvertedDisabled)", + colorTransparentStroke: "var(--colorTransparentStroke)", + colorTransparentStrokeInteractive: "var(--colorTransparentStrokeInteractive)", + colorTransparentStrokeDisabled: "var(--colorTransparentStrokeDisabled)", + colorNeutralStrokeAlpha: "var(--colorNeutralStrokeAlpha)", + colorNeutralStrokeAlpha2: "var(--colorNeutralStrokeAlpha2)", + colorStrokeFocus1: "var(--colorStrokeFocus1)", + colorStrokeFocus2: "var(--colorStrokeFocus2)", + colorNeutralShadowAmbient: "var(--colorNeutralShadowAmbient)", + colorNeutralShadowKey: "var(--colorNeutralShadowKey)", + colorNeutralShadowAmbientLighter: "var(--colorNeutralShadowAmbientLighter)", + colorNeutralShadowKeyLighter: "var(--colorNeutralShadowKeyLighter)", + colorNeutralShadowAmbientDarker: "var(--colorNeutralShadowAmbientDarker)", + colorNeutralShadowKeyDarker: "var(--colorNeutralShadowKeyDarker)", + colorBrandShadowAmbient: "var(--colorBrandShadowAmbient)", + colorBrandShadowKey: "var(--colorBrandShadowKey)", + // Color palette tokens + // Color palette red tokens + colorPaletteRedBackground1: "var(--colorPaletteRedBackground1)", + colorPaletteRedBackground2: "var(--colorPaletteRedBackground2)", + colorPaletteRedBackground3: "var(--colorPaletteRedBackground3)", + colorPaletteRedBorderActive: "var(--colorPaletteRedBorderActive)", + colorPaletteRedBorder1: "var(--colorPaletteRedBorder1)", + colorPaletteRedBorder2: "var(--colorPaletteRedBorder2)", + colorPaletteRedForeground1: "var(--colorPaletteRedForeground1)", + colorPaletteRedForeground2: "var(--colorPaletteRedForeground2)", + colorPaletteRedForeground3: "var(--colorPaletteRedForeground3)", + colorPaletteRedForegroundInverted: "var(--colorPaletteRedForegroundInverted)", + // Color palette green tokens + colorPaletteGreenBackground1: "var(--colorPaletteGreenBackground1)", + colorPaletteGreenBackground2: "var(--colorPaletteGreenBackground2)", + colorPaletteGreenBackground3: "var(--colorPaletteGreenBackground3)", + colorPaletteGreenBorderActive: "var(--colorPaletteGreenBorderActive)", + colorPaletteGreenBorder1: "var(--colorPaletteGreenBorder1)", + colorPaletteGreenBorder2: "var(--colorPaletteGreenBorder2)", + colorPaletteGreenForeground1: "var(--colorPaletteGreenForeground1)", + colorPaletteGreenForeground2: "var(--colorPaletteGreenForeground2)", + colorPaletteGreenForeground3: "var(--colorPaletteGreenForeground3)", + colorPaletteGreenForegroundInverted: "var(--colorPaletteGreenForegroundInverted)", + // Color palette dark orange tokens + colorPaletteDarkOrangeBackground1: "var(--colorPaletteDarkOrangeBackground1)", + colorPaletteDarkOrangeBackground2: "var(--colorPaletteDarkOrangeBackground2)", + colorPaletteDarkOrangeBackground3: "var(--colorPaletteDarkOrangeBackground3)", + colorPaletteDarkOrangeBorderActive: "var(--colorPaletteDarkOrangeBorderActive)", + colorPaletteDarkOrangeBorder1: "var(--colorPaletteDarkOrangeBorder1)", + colorPaletteDarkOrangeBorder2: "var(--colorPaletteDarkOrangeBorder2)", + colorPaletteDarkOrangeForeground1: "var(--colorPaletteDarkOrangeForeground1)", + colorPaletteDarkOrangeForeground2: "var(--colorPaletteDarkOrangeForeground2)", + colorPaletteDarkOrangeForeground3: "var(--colorPaletteDarkOrangeForeground3)", + // Color palette yellow tokens + colorPaletteYellowBackground1: "var(--colorPaletteYellowBackground1)", + colorPaletteYellowBackground2: "var(--colorPaletteYellowBackground2)", + colorPaletteYellowBackground3: "var(--colorPaletteYellowBackground3)", + colorPaletteYellowBorderActive: "var(--colorPaletteYellowBorderActive)", + colorPaletteYellowBorder1: "var(--colorPaletteYellowBorder1)", + colorPaletteYellowBorder2: "var(--colorPaletteYellowBorder2)", + colorPaletteYellowForeground1: "var(--colorPaletteYellowForeground1)", + colorPaletteYellowForeground2: "var(--colorPaletteYellowForeground2)", + colorPaletteYellowForeground3: "var(--colorPaletteYellowForeground3)", + colorPaletteYellowForegroundInverted: "var(--colorPaletteYellowForegroundInverted)", + // Color palette berry tokens + colorPaletteBerryBackground1: "var(--colorPaletteBerryBackground1)", + colorPaletteBerryBackground2: "var(--colorPaletteBerryBackground2)", + colorPaletteBerryBackground3: "var(--colorPaletteBerryBackground3)", + colorPaletteBerryBorderActive: "var(--colorPaletteBerryBorderActive)", + colorPaletteBerryBorder1: "var(--colorPaletteBerryBorder1)", + colorPaletteBerryBorder2: "var(--colorPaletteBerryBorder2)", + colorPaletteBerryForeground1: "var(--colorPaletteBerryForeground1)", + colorPaletteBerryForeground2: "var(--colorPaletteBerryForeground2)", + colorPaletteBerryForeground3: "var(--colorPaletteBerryForeground3)", + // Color palette marigold tokens + colorPaletteMarigoldBackground1: "var(--colorPaletteMarigoldBackground1)", + colorPaletteMarigoldBackground2: "var(--colorPaletteMarigoldBackground2)", + colorPaletteMarigoldBackground3: "var(--colorPaletteMarigoldBackground3)", + colorPaletteMarigoldBorderActive: "var(--colorPaletteMarigoldBorderActive)", + colorPaletteMarigoldBorder1: "var(--colorPaletteMarigoldBorder1)", + colorPaletteMarigoldBorder2: "var(--colorPaletteMarigoldBorder2)", + colorPaletteMarigoldForeground1: "var(--colorPaletteMarigoldForeground1)", + colorPaletteMarigoldForeground2: "var(--colorPaletteMarigoldForeground2)", + colorPaletteMarigoldForeground3: "var(--colorPaletteMarigoldForeground3)", + // Color palette light green tokens + colorPaletteLightGreenBackground1: "var(--colorPaletteLightGreenBackground1)", + colorPaletteLightGreenBackground2: "var(--colorPaletteLightGreenBackground2)", + colorPaletteLightGreenBackground3: "var(--colorPaletteLightGreenBackground3)", + colorPaletteLightGreenBorderActive: "var(--colorPaletteLightGreenBorderActive)", + colorPaletteLightGreenBorder1: "var(--colorPaletteLightGreenBorder1)", + colorPaletteLightGreenBorder2: "var(--colorPaletteLightGreenBorder2)", + colorPaletteLightGreenForeground1: "var(--colorPaletteLightGreenForeground1)", + colorPaletteLightGreenForeground2: "var(--colorPaletteLightGreenForeground2)", + colorPaletteLightGreenForeground3: "var(--colorPaletteLightGreenForeground3)", + // Color palette anchor tokens + colorPaletteAnchorBackground2: "var(--colorPaletteAnchorBackground2)", + colorPaletteAnchorBorderActive: "var(--colorPaletteAnchorBorderActive)", + colorPaletteAnchorForeground2: "var(--colorPaletteAnchorForeground2)", + // Color palette beige tokens + colorPaletteBeigeBackground2: "var(--colorPaletteBeigeBackground2)", + colorPaletteBeigeBorderActive: "var(--colorPaletteBeigeBorderActive)", + colorPaletteBeigeForeground2: "var(--colorPaletteBeigeForeground2)", + // Color palette blue tokens + colorPaletteBlueBackground2: "var(--colorPaletteBlueBackground2)", + colorPaletteBlueBorderActive: "var(--colorPaletteBlueBorderActive)", + colorPaletteBlueForeground2: "var(--colorPaletteBlueForeground2)", + // Color palette brass tokens + colorPaletteBrassBackground2: "var(--colorPaletteBrassBackground2)", + colorPaletteBrassBorderActive: "var(--colorPaletteBrassBorderActive)", + colorPaletteBrassForeground2: "var(--colorPaletteBrassForeground2)", + // Color palette brown tokens + colorPaletteBrownBackground2: "var(--colorPaletteBrownBackground2)", + colorPaletteBrownBorderActive: "var(--colorPaletteBrownBorderActive)", + colorPaletteBrownForeground2: "var(--colorPaletteBrownForeground2)", + // Color palette cornflower tokens + colorPaletteCornflowerBackground2: "var(--colorPaletteCornflowerBackground2)", + colorPaletteCornflowerBorderActive: "var(--colorPaletteCornflowerBorderActive)", + colorPaletteCornflowerForeground2: "var(--colorPaletteCornflowerForeground2)", + // Color palette cranberry tokens + colorPaletteCranberryBackground2: "var(--colorPaletteCranberryBackground2)", + colorPaletteCranberryBorderActive: "var(--colorPaletteCranberryBorderActive)", + colorPaletteCranberryForeground2: "var(--colorPaletteCranberryForeground2)", + // Color palette dark green tokens + colorPaletteDarkGreenBackground2: "var(--colorPaletteDarkGreenBackground2)", + colorPaletteDarkGreenBorderActive: "var(--colorPaletteDarkGreenBorderActive)", + colorPaletteDarkGreenForeground2: "var(--colorPaletteDarkGreenForeground2)", + // Color palette dark red tokens + colorPaletteDarkRedBackground2: "var(--colorPaletteDarkRedBackground2)", + colorPaletteDarkRedBorderActive: "var(--colorPaletteDarkRedBorderActive)", + colorPaletteDarkRedForeground2: "var(--colorPaletteDarkRedForeground2)", + // Color palette forest tokens + colorPaletteForestBackground2: "var(--colorPaletteForestBackground2)", + colorPaletteForestBorderActive: "var(--colorPaletteForestBorderActive)", + colorPaletteForestForeground2: "var(--colorPaletteForestForeground2)", + // Color palette gold tokens + colorPaletteGoldBackground2: "var(--colorPaletteGoldBackground2)", + colorPaletteGoldBorderActive: "var(--colorPaletteGoldBorderActive)", + colorPaletteGoldForeground2: "var(--colorPaletteGoldForeground2)", + // Color palette grape tokens + colorPaletteGrapeBackground2: "var(--colorPaletteGrapeBackground2)", + colorPaletteGrapeBorderActive: "var(--colorPaletteGrapeBorderActive)", + colorPaletteGrapeForeground2: "var(--colorPaletteGrapeForeground2)", + // Color palette lavender tokens + colorPaletteLavenderBackground2: "var(--colorPaletteLavenderBackground2)", + colorPaletteLavenderBorderActive: "var(--colorPaletteLavenderBorderActive)", + colorPaletteLavenderForeground2: "var(--colorPaletteLavenderForeground2)", + // Color palette light teal tokens + colorPaletteLightTealBackground2: "var(--colorPaletteLightTealBackground2)", + colorPaletteLightTealBorderActive: "var(--colorPaletteLightTealBorderActive)", + colorPaletteLightTealForeground2: "var(--colorPaletteLightTealForeground2)", + // Color palette lilac tokens + colorPaletteLilacBackground2: "var(--colorPaletteLilacBackground2)", + colorPaletteLilacBorderActive: "var(--colorPaletteLilacBorderActive)", + colorPaletteLilacForeground2: "var(--colorPaletteLilacForeground2)", + // Color palette magenta tokens + colorPaletteMagentaBackground2: "var(--colorPaletteMagentaBackground2)", + colorPaletteMagentaBorderActive: "var(--colorPaletteMagentaBorderActive)", + colorPaletteMagentaForeground2: "var(--colorPaletteMagentaForeground2)", + // Color palette mink tokens + colorPaletteMinkBackground2: "var(--colorPaletteMinkBackground2)", + colorPaletteMinkBorderActive: "var(--colorPaletteMinkBorderActive)", + colorPaletteMinkForeground2: "var(--colorPaletteMinkForeground2)", + // Color palette navy tokens + colorPaletteNavyBackground2: "var(--colorPaletteNavyBackground2)", + colorPaletteNavyBorderActive: "var(--colorPaletteNavyBorderActive)", + colorPaletteNavyForeground2: "var(--colorPaletteNavyForeground2)", + // Color palette peach tokens + colorPalettePeachBackground2: "var(--colorPalettePeachBackground2)", + colorPalettePeachBorderActive: "var(--colorPalettePeachBorderActive)", + colorPalettePeachForeground2: "var(--colorPalettePeachForeground2)", + // Color palette pink tokens + colorPalettePinkBackground2: "var(--colorPalettePinkBackground2)", + colorPalettePinkBorderActive: "var(--colorPalettePinkBorderActive)", + colorPalettePinkForeground2: "var(--colorPalettePinkForeground2)", + // Color palette platinum tokens + colorPalettePlatinumBackground2: "var(--colorPalettePlatinumBackground2)", + colorPalettePlatinumBorderActive: "var(--colorPalettePlatinumBorderActive)", + colorPalettePlatinumForeground2: "var(--colorPalettePlatinumForeground2)", + // Color palette plum tokens + colorPalettePlumBackground2: "var(--colorPalettePlumBackground2)", + colorPalettePlumBorderActive: "var(--colorPalettePlumBorderActive)", + colorPalettePlumForeground2: "var(--colorPalettePlumForeground2)", + // Color palette pumpkin tokens + colorPalettePumpkinBackground2: "var(--colorPalettePumpkinBackground2)", + colorPalettePumpkinBorderActive: "var(--colorPalettePumpkinBorderActive)", + colorPalettePumpkinForeground2: "var(--colorPalettePumpkinForeground2)", + // Color palette purple tokens + colorPalettePurpleBackground2: "var(--colorPalettePurpleBackground2)", + colorPalettePurpleBorderActive: "var(--colorPalettePurpleBorderActive)", + colorPalettePurpleForeground2: "var(--colorPalettePurpleForeground2)", + // Color palette royal blue tokens + colorPaletteRoyalBlueBackground2: "var(--colorPaletteRoyalBlueBackground2)", + colorPaletteRoyalBlueBorderActive: "var(--colorPaletteRoyalBlueBorderActive)", + colorPaletteRoyalBlueForeground2: "var(--colorPaletteRoyalBlueForeground2)", + // Color palette seafoam tokens + colorPaletteSeafoamBackground2: "var(--colorPaletteSeafoamBackground2)", + colorPaletteSeafoamBorderActive: "var(--colorPaletteSeafoamBorderActive)", + colorPaletteSeafoamForeground2: "var(--colorPaletteSeafoamForeground2)", + // Color palette steel tokens + colorPaletteSteelBackground2: "var(--colorPaletteSteelBackground2)", + colorPaletteSteelBorderActive: "var(--colorPaletteSteelBorderActive)", + colorPaletteSteelForeground2: "var(--colorPaletteSteelForeground2)", + // Color palette teal tokens + colorPaletteTealBackground2: "var(--colorPaletteTealBackground2)", + colorPaletteTealBorderActive: "var(--colorPaletteTealBorderActive)", + colorPaletteTealForeground2: "var(--colorPaletteTealForeground2)", + // Color status success tokens + colorStatusSuccessBackground1: "var(--colorStatusSuccessBackground1)", + colorStatusSuccessBackground2: "var(--colorStatusSuccessBackground2)", + colorStatusSuccessBackground3: "var(--colorStatusSuccessBackground3)", + colorStatusSuccessForeground1: "var(--colorStatusSuccessForeground1)", + colorStatusSuccessForeground2: "var(--colorStatusSuccessForeground2)", + colorStatusSuccessForeground3: "var(--colorStatusSuccessForeground3)", + colorStatusSuccessForegroundInverted: "var(--colorStatusSuccessForegroundInverted)", + colorStatusSuccessBorderActive: "var(--colorStatusSuccessBorderActive)", + colorStatusSuccessBorder1: "var(--colorStatusSuccessBorder1)", + colorStatusSuccessBorder2: "var(--colorStatusSuccessBorder2)", + // Color status warning tokens + colorStatusWarningBackground1: "var(--colorStatusWarningBackground1)", + colorStatusWarningBackground2: "var(--colorStatusWarningBackground2)", + colorStatusWarningBackground3: "var(--colorStatusWarningBackground3)", + colorStatusWarningForeground1: "var(--colorStatusWarningForeground1)", + colorStatusWarningForeground2: "var(--colorStatusWarningForeground2)", + colorStatusWarningForeground3: "var(--colorStatusWarningForeground3)", + colorStatusWarningForegroundInverted: "var(--colorStatusWarningForegroundInverted)", + colorStatusWarningBorderActive: "var(--colorStatusWarningBorderActive)", + colorStatusWarningBorder1: "var(--colorStatusWarningBorder1)", + colorStatusWarningBorder2: "var(--colorStatusWarningBorder2)", + // Color status danger tokens + colorStatusDangerBackground1: "var(--colorStatusDangerBackground1)", + colorStatusDangerBackground2: "var(--colorStatusDangerBackground2)", + colorStatusDangerBackground3: "var(--colorStatusDangerBackground3)", + colorStatusDangerBackground3Hover: "var(--colorStatusDangerBackground3Hover)", + colorStatusDangerBackground3Pressed: "var(--colorStatusDangerBackground3Pressed)", + colorStatusDangerForeground1: "var(--colorStatusDangerForeground1)", + colorStatusDangerForeground2: "var(--colorStatusDangerForeground2)", + colorStatusDangerForeground3: "var(--colorStatusDangerForeground3)", + colorStatusDangerForegroundInverted: "var(--colorStatusDangerForegroundInverted)", + colorStatusDangerBorderActive: "var(--colorStatusDangerBorderActive)", + colorStatusDangerBorder1: "var(--colorStatusDangerBorder1)", + colorStatusDangerBorder2: "var(--colorStatusDangerBorder2)", + // Border radius tokens + borderRadiusNone: "var(--borderRadiusNone)", + borderRadiusSmall: "var(--borderRadiusSmall)", + borderRadiusMedium: "var(--borderRadiusMedium)", + borderRadiusLarge: "var(--borderRadiusLarge)", + borderRadiusXLarge: "var(--borderRadiusXLarge)", + borderRadius2XLarge: "var(--borderRadius2XLarge)", + borderRadius3XLarge: "var(--borderRadius3XLarge)", + borderRadius4XLarge: "var(--borderRadius4XLarge)", + borderRadius5XLarge: "var(--borderRadius5XLarge)", + borderRadius6XLarge: "var(--borderRadius6XLarge)", + borderRadiusCircular: "var(--borderRadiusCircular)", + // Font family tokens + fontFamilyBase: "var(--fontFamilyBase)", + fontFamilyMonospace: "var(--fontFamilyMonospace)", + fontFamilyNumeric: "var(--fontFamilyNumeric)", + // Font size tokens + fontSizeBase100: "var(--fontSizeBase100)", + fontSizeBase200: "var(--fontSizeBase200)", + fontSizeBase300: "var(--fontSizeBase300)", + fontSizeBase400: "var(--fontSizeBase400)", + fontSizeBase500: "var(--fontSizeBase500)", + fontSizeBase600: "var(--fontSizeBase600)", + fontSizeHero700: "var(--fontSizeHero700)", + fontSizeHero800: "var(--fontSizeHero800)", + fontSizeHero900: "var(--fontSizeHero900)", + fontSizeHero1000: "var(--fontSizeHero1000)", + // Font weight tokens + fontWeightRegular: "var(--fontWeightRegular)", + fontWeightMedium: "var(--fontWeightMedium)", + fontWeightSemibold: "var(--fontWeightSemibold)", + fontWeightBold: "var(--fontWeightBold)", + // Line height tokens + lineHeightBase100: "var(--lineHeightBase100)", + lineHeightBase200: "var(--lineHeightBase200)", + lineHeightBase300: "var(--lineHeightBase300)", + lineHeightBase400: "var(--lineHeightBase400)", + lineHeightBase500: "var(--lineHeightBase500)", + lineHeightBase600: "var(--lineHeightBase600)", + lineHeightHero700: "var(--lineHeightHero700)", + lineHeightHero800: "var(--lineHeightHero800)", + lineHeightHero900: "var(--lineHeightHero900)", + lineHeightHero1000: "var(--lineHeightHero1000)", + // Shadow tokens + shadow2: "var(--shadow2)", + shadow4: "var(--shadow4)", + shadow8: "var(--shadow8)", + shadow16: "var(--shadow16)", + shadow28: "var(--shadow28)", + shadow64: "var(--shadow64)", + // Shadow brand tokens + shadow2Brand: "var(--shadow2Brand)", + shadow4Brand: "var(--shadow4Brand)", + shadow8Brand: "var(--shadow8Brand)", + shadow16Brand: "var(--shadow16Brand)", + shadow28Brand: "var(--shadow28Brand)", + shadow64Brand: "var(--shadow64Brand)", + // Stroke width tokens + strokeWidthThin: "var(--strokeWidthThin)", + strokeWidthThick: "var(--strokeWidthThick)", + strokeWidthThicker: "var(--strokeWidthThicker)", + strokeWidthThickest: "var(--strokeWidthThickest)", + // Spacings + spacingHorizontalNone: "var(--spacingHorizontalNone)", + spacingHorizontalXXS: "var(--spacingHorizontalXXS)", + spacingHorizontalXS: "var(--spacingHorizontalXS)", + spacingHorizontalSNudge: "var(--spacingHorizontalSNudge)", + spacingHorizontalS: "var(--spacingHorizontalS)", + spacingHorizontalMNudge: "var(--spacingHorizontalMNudge)", + spacingHorizontalM: "var(--spacingHorizontalM)", + spacingHorizontalL: "var(--spacingHorizontalL)", + spacingHorizontalXL: "var(--spacingHorizontalXL)", + spacingHorizontalXXL: "var(--spacingHorizontalXXL)", + spacingHorizontalXXXL: "var(--spacingHorizontalXXXL)", + spacingVerticalNone: "var(--spacingVerticalNone)", + spacingVerticalXXS: "var(--spacingVerticalXXS)", + spacingVerticalXS: "var(--spacingVerticalXS)", + spacingVerticalSNudge: "var(--spacingVerticalSNudge)", + spacingVerticalS: "var(--spacingVerticalS)", + spacingVerticalMNudge: "var(--spacingVerticalMNudge)", + spacingVerticalM: "var(--spacingVerticalM)", + spacingVerticalL: "var(--spacingVerticalL)", + spacingVerticalXL: "var(--spacingVerticalXL)", + spacingVerticalXXL: "var(--spacingVerticalXXL)", + spacingVerticalXXXL: "var(--spacingVerticalXXXL)", + // Durations + durationUltraFast: "var(--durationUltraFast)", + durationFaster: "var(--durationFaster)", + durationFast: "var(--durationFast)", + durationNormal: "var(--durationNormal)", + durationGentle: "var(--durationGentle)", + durationSlow: "var(--durationSlow)", + durationSlower: "var(--durationSlower)", + durationUltraSlow: "var(--durationUltraSlow)", + // Curves + curveAccelerateMax: "var(--curveAccelerateMax)", + curveAccelerateMid: "var(--curveAccelerateMid)", + curveAccelerateMin: "var(--curveAccelerateMin)", + curveDecelerateMax: "var(--curveDecelerateMax)", + curveDecelerateMid: "var(--curveDecelerateMid)", + curveDecelerateMin: "var(--curveDecelerateMin)", + curveEasyEaseMax: "var(--curveEasyEaseMax)", + curveEasyEase: "var(--curveEasyEase)", + curveLinear: "var(--curveLinear)", + /** + * ZIndexes + * Special case where the tokens contain default values + * ZIndexes are not mandatory, so they are not included in the theme, but can be used as tokens with default values + */ + /** + * Elevation 0 + * Can be used for background elements, like surfaces + */ + zIndexBackground: "var(--zIndexBackground, 0)", + /** + * Elevation 2 + * Can be used content that is on top of the background, like cards + */ + zIndexContent: "var(--zIndexContent, 1)", + /** + * Elevation 4 + * Can be used for overlays, like the backdrop of a modal + */ + zIndexOverlay: "var(--zIndexOverlay, 1000)", + /** + * Elevation 8 + * Can be used for popups, like modals and drawers + */ + zIndexPopup: "var(--zIndexPopup, 2000)", + /** + * Elevation 16 + * Can be used for messages, like snackbars and toasts + */ + zIndexMessages: "var(--zIndexMessages, 3000)", + /** + * Elevation 28 + * Can be used for floating elements, like dropdowns + */ + zIndexFloating: "var(--zIndexFloating, 4000)", + /** + * Elevation 64 + * Can be used for high priority floating elements, like tooltips + */ + zIndexPriority: "var(--zIndexPriority, 5000)", + /** + * Special elevation + * Can be used for elements that need to be above everything else, like debug overlays + */ + zIndexDebug: "var(--zIndexDebug, 6000)" +}; + +// node_modules/@fluentui/tokens/lib/global/typographyStyles.js +var typographyStyles = { + body1: { + fontFamily: tokens.fontFamilyBase, + fontSize: tokens.fontSizeBase300, + fontWeight: tokens.fontWeightRegular, + lineHeight: tokens.lineHeightBase300 + }, + body1Strong: { + fontFamily: tokens.fontFamilyBase, + fontSize: tokens.fontSizeBase300, + fontWeight: tokens.fontWeightSemibold, + lineHeight: tokens.lineHeightBase300 + }, + body1Stronger: { + fontFamily: tokens.fontFamilyBase, + fontSize: tokens.fontSizeBase300, + fontWeight: tokens.fontWeightBold, + lineHeight: tokens.lineHeightBase300 + }, + body2: { + fontFamily: tokens.fontFamilyBase, + fontSize: tokens.fontSizeBase400, + fontWeight: tokens.fontWeightRegular, + lineHeight: tokens.lineHeightBase400 + }, + caption1: { + fontFamily: tokens.fontFamilyBase, + fontSize: tokens.fontSizeBase200, + fontWeight: tokens.fontWeightRegular, + lineHeight: tokens.lineHeightBase200 + }, + caption1Strong: { + fontFamily: tokens.fontFamilyBase, + fontSize: tokens.fontSizeBase200, + fontWeight: tokens.fontWeightSemibold, + lineHeight: tokens.lineHeightBase200 + }, + caption1Stronger: { + fontFamily: tokens.fontFamilyBase, + fontSize: tokens.fontSizeBase200, + fontWeight: tokens.fontWeightBold, + lineHeight: tokens.lineHeightBase200 + }, + caption2: { + fontFamily: tokens.fontFamilyBase, + fontSize: tokens.fontSizeBase100, + fontWeight: tokens.fontWeightRegular, + lineHeight: tokens.lineHeightBase100 + }, + caption2Strong: { + fontFamily: tokens.fontFamilyBase, + fontSize: tokens.fontSizeBase100, + fontWeight: tokens.fontWeightSemibold, + lineHeight: tokens.lineHeightBase100 + }, + subtitle1: { + fontFamily: tokens.fontFamilyBase, + fontSize: tokens.fontSizeBase500, + fontWeight: tokens.fontWeightSemibold, + lineHeight: tokens.lineHeightBase500 + }, + subtitle2: { + fontFamily: tokens.fontFamilyBase, + fontSize: tokens.fontSizeBase400, + fontWeight: tokens.fontWeightSemibold, + lineHeight: tokens.lineHeightBase400 + }, + subtitle2Stronger: { + fontFamily: tokens.fontFamilyBase, + fontSize: tokens.fontSizeBase400, + fontWeight: tokens.fontWeightBold, + lineHeight: tokens.lineHeightBase400 + }, + title1: { + fontFamily: tokens.fontFamilyBase, + fontSize: tokens.fontSizeHero800, + fontWeight: tokens.fontWeightSemibold, + lineHeight: tokens.lineHeightHero800 + }, + title2: { + fontFamily: tokens.fontFamilyBase, + fontSize: tokens.fontSizeHero700, + fontWeight: tokens.fontWeightSemibold, + lineHeight: tokens.lineHeightHero700 + }, + title3: { + fontFamily: tokens.fontFamilyBase, + fontSize: tokens.fontSizeBase600, + fontWeight: tokens.fontWeightSemibold, + lineHeight: tokens.lineHeightBase600 + }, + largeTitle: { + fontFamily: tokens.fontFamilyBase, + fontSize: tokens.fontSizeHero900, + fontWeight: tokens.fontWeightSemibold, + lineHeight: tokens.lineHeightHero900 + }, + display: { + fontFamily: tokens.fontFamilyBase, + fontSize: tokens.fontSizeHero1000, + fontWeight: tokens.fontWeightSemibold, + lineHeight: tokens.lineHeightHero1000 + } +}; + +// node_modules/@fluentui/tokens/lib/utils/shadows.js +function createShadowTokens(ambientColor, keyColor, tokenSuffix = "") { + return { + [`shadow2${tokenSuffix}`]: `0 0 2px ${ambientColor}, 0 1px 2px ${keyColor}`, + [`shadow4${tokenSuffix}`]: `0 0 2px ${ambientColor}, 0 2px 4px ${keyColor}`, + [`shadow8${tokenSuffix}`]: `0 0 2px ${ambientColor}, 0 4px 8px ${keyColor}`, + [`shadow16${tokenSuffix}`]: `0 0 2px ${ambientColor}, 0 8px 16px ${keyColor}`, + [`shadow28${tokenSuffix}`]: `0 0 8px ${ambientColor}, 0 14px 28px ${keyColor}`, + [`shadow64${tokenSuffix}`]: `0 0 8px ${ambientColor}, 0 32px 64px ${keyColor}` + }; +} + +// node_modules/@fluentui/tokens/lib/utils/createLightTheme.js +var createLightTheme = (brand) => { + const colorTokens = generateColorTokens(brand); + return { + ...borderRadius, + ...fontSizes, + ...lineHeights, + ...fontFamilies, + ...fontWeights, + ...strokeWidths, + ...horizontalSpacings, + ...verticalSpacings, + ...durations, + ...curves, + ...colorTokens, + ...colorPaletteTokens, + ...colorStatusTokens, + ...createShadowTokens(colorTokens.colorNeutralShadowAmbient, colorTokens.colorNeutralShadowKey), + ...createShadowTokens(colorTokens.colorBrandShadowAmbient, colorTokens.colorBrandShadowKey, "Brand") + }; +}; + +// node_modules/@fluentui/tokens/lib/global/brandColors.js +var brandWeb = { + 10: `#061724`, + 20: `#082338`, + 30: `#0a2e4a`, + 40: `#0c3b5e`, + 50: `#0e4775`, + 60: `#0f548c`, + 70: `#115ea3`, + 80: `#0f6cbd`, + 90: `#2886de`, + 100: `#479ef5`, + 110: `#62abf5`, + 120: `#77b7f7`, + 130: `#96c6fa`, + 140: `#b4d6fa`, + 150: `#cfe4fa`, + 160: `#ebf3fc` +}; +var brandTeams = { + 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` +}; +var brandTeamsV21 = { + 10: `#29274f`, + 20: `#2f2a5e`, + 30: `#352e70`, + 40: `#3b3185`, + 50: `#44359e`, + 60: `#4d3aba`, + 70: `#5a40db`, + 80: `#654cf5`, + 90: `#7769fa`, + 100: `#887dff`, + 110: `#9791ff`, + 120: `#aba8ff`, + 130: `#bab8ff`, + 140: `#c8c7ff`, + 150: `#dcdbff`, + 160: `#e8e8ff` +}; + +// node_modules/@fluentui/tokens/lib/alias/teamsFontFamilies.js +var fontFamilies2 = { + ...fontFamilies, + fontFamilyBase: '-apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Apple Color Emoji", "Segoe UI Emoji", sans-serif' +}; + +// node_modules/@fluentui/tokens/lib/themes/teams/lightTheme.js +var teamsLightTheme = { + ...createLightTheme(brandTeams), + ...fontFamilies2 +}; +var teamsLightV21Theme = { + ...createLightTheme(brandTeamsV21), + ...fontFamilies2 +}; + +// node_modules/@fluentui/tokens/lib/alias/darkColorPalette.js +var statusColorPaletteTokens2 = statusSharedColorNames.reduce((acc, sharedColor) => { + const color2 = sharedColor.slice(0, 1).toUpperCase() + sharedColor.slice(1); + const sharedColorTokens = { + [`colorPalette${color2}Background1`]: statusSharedColors[sharedColor].shade40, + [`colorPalette${color2}Background2`]: statusSharedColors[sharedColor].shade30, + [`colorPalette${color2}Background3`]: statusSharedColors[sharedColor].primary, + [`colorPalette${color2}Foreground1`]: statusSharedColors[sharedColor].tint30, + [`colorPalette${color2}Foreground2`]: statusSharedColors[sharedColor].tint40, + [`colorPalette${color2}Foreground3`]: statusSharedColors[sharedColor].tint20, + [`colorPalette${color2}BorderActive`]: statusSharedColors[sharedColor].tint30, + [`colorPalette${color2}Border1`]: statusSharedColors[sharedColor].primary, + [`colorPalette${color2}Border2`]: statusSharedColors[sharedColor].tint20 + }; + return Object.assign(acc, sharedColorTokens); +}, {}); +statusColorPaletteTokens2.colorPaletteRedForeground3 = statusSharedColors.red.tint30; +statusColorPaletteTokens2.colorPaletteRedBorder2 = statusSharedColors.red.tint30; +statusColorPaletteTokens2.colorPaletteGreenForeground3 = statusSharedColors.green.tint40; +statusColorPaletteTokens2.colorPaletteGreenBorder2 = statusSharedColors.green.tint40; +statusColorPaletteTokens2.colorPaletteDarkOrangeForeground3 = statusSharedColors.darkOrange.tint30; +statusColorPaletteTokens2.colorPaletteDarkOrangeBorder2 = statusSharedColors.darkOrange.tint30; +statusColorPaletteTokens2.colorPaletteRedForegroundInverted = statusSharedColors.red.primary; +statusColorPaletteTokens2.colorPaletteGreenForegroundInverted = statusSharedColors.green.primary; +statusColorPaletteTokens2.colorPaletteYellowForegroundInverted = statusSharedColors.yellow.shade30; +var personaColorPaletteTokens2 = personaSharedColorNames.reduce((acc, sharedColor) => { + const color2 = sharedColor.slice(0, 1).toUpperCase() + sharedColor.slice(1); + const sharedColorTokens = { + [`colorPalette${color2}Background2`]: personaSharedColors[sharedColor].shade30, + [`colorPalette${color2}Foreground2`]: personaSharedColors[sharedColor].tint40, + [`colorPalette${color2}BorderActive`]: personaSharedColors[sharedColor].tint30 + }; + return Object.assign(acc, sharedColorTokens); +}, {}); +personaColorPaletteTokens2.colorPaletteDarkRedBackground2 = personaSharedColors.darkRed.shade20; +personaColorPaletteTokens2.colorPalettePlumBackground2 = personaSharedColors.plum.shade20; +var colorPaletteTokens2 = { + ...statusColorPaletteTokens2, + ...personaColorPaletteTokens2 +}; +var colorStatusTokens2 = Object.entries(statusColorMapping).reduce((acc, [statusColor, sharedColor]) => { + const color2 = statusColor.slice(0, 1).toUpperCase() + statusColor.slice(1); + const statusColorTokens = { + [`colorStatus${color2}Background1`]: mappedStatusColors[sharedColor].shade40, + [`colorStatus${color2}Background2`]: mappedStatusColors[sharedColor].shade30, + [`colorStatus${color2}Background3`]: mappedStatusColors[sharedColor].primary, + [`colorStatus${color2}Foreground1`]: mappedStatusColors[sharedColor].tint30, + [`colorStatus${color2}Foreground2`]: mappedStatusColors[sharedColor].tint40, + [`colorStatus${color2}Foreground3`]: mappedStatusColors[sharedColor].tint20, + [`colorStatus${color2}BorderActive`]: mappedStatusColors[sharedColor].tint30, + [`colorStatus${color2}ForegroundInverted`]: mappedStatusColors[sharedColor].shade10, + [`colorStatus${color2}Border1`]: mappedStatusColors[sharedColor].primary, + [`colorStatus${color2}Border2`]: mappedStatusColors[sharedColor].tint20 + }; + return Object.assign(acc, statusColorTokens); +}, {}); +colorStatusTokens2.colorStatusDangerBackground3Hover = mappedStatusColors[statusColorMapping.danger].shade10; +colorStatusTokens2.colorStatusDangerBackground3Pressed = mappedStatusColors[statusColorMapping.danger].shade20; +colorStatusTokens2.colorStatusDangerForeground3 = mappedStatusColors[statusColorMapping.danger].tint40; +colorStatusTokens2.colorStatusDangerBorder2 = mappedStatusColors[statusColorMapping.danger].tint30; +colorStatusTokens2.colorStatusSuccessForeground3 = mappedStatusColors[statusColorMapping.success].tint40; +colorStatusTokens2.colorStatusSuccessBorder2 = mappedStatusColors[statusColorMapping.success].tint40; +colorStatusTokens2.colorStatusWarningForegroundInverted = mappedStatusColors[statusColorMapping.warning].shade20; + +// node_modules/@fluentui/tokens/lib/alias/teamsDarkColor.js +var generateColorTokens2 = (brand) => ({ + colorNeutralForeground1: white, + colorNeutralForeground1Hover: white, + colorNeutralForeground1Pressed: white, + colorNeutralForeground1Selected: white, + colorNeutralForeground2: grey[84], + colorNeutralForeground2Hover: white, + colorNeutralForeground2Pressed: white, + colorNeutralForeground2Selected: white, + colorNeutralForeground2BrandHover: brand[100], + colorNeutralForeground2BrandPressed: brand[90], + colorNeutralForeground2BrandSelected: brand[100], + colorNeutralForeground3: grey[68], + colorNeutralForeground3Hover: grey[84], + colorNeutralForeground3Pressed: grey[84], + colorNeutralForeground3Selected: grey[84], + colorNeutralForeground3BrandHover: brand[100], + colorNeutralForeground3BrandPressed: brand[90], + colorNeutralForeground3BrandSelected: brand[100], + colorNeutralForeground4: grey[60], + colorNeutralForeground5: grey[68], + colorNeutralForeground5Hover: white, + colorNeutralForeground5Pressed: white, + colorNeutralForeground5Selected: white, + colorNeutralForegroundDisabled: grey[36], + colorNeutralForegroundInvertedDisabled: whiteAlpha[40], + colorBrandForegroundLink: brand[100], + colorBrandForegroundLinkHover: brand[110], + colorBrandForegroundLinkPressed: brand[90], + colorBrandForegroundLinkSelected: brand[100], + colorNeutralForeground2Link: grey[84], + colorNeutralForeground2LinkHover: white, + colorNeutralForeground2LinkPressed: white, + colorNeutralForeground2LinkSelected: white, + colorCompoundBrandForeground1: brand[100], + colorCompoundBrandForeground1Hover: brand[110], + colorCompoundBrandForeground1Pressed: brand[90], + colorBrandForeground1: brand[100], + colorBrandForeground2: brand[120], + colorBrandForeground2Hover: brand[130], + colorBrandForeground2Pressed: brand[160], + colorNeutralForeground1Static: grey[14], + colorNeutralForegroundStaticInverted: white, + colorNeutralForegroundInverted: grey[14], + colorNeutralForegroundInvertedHover: grey[14], + colorNeutralForegroundInvertedPressed: grey[14], + colorNeutralForegroundInvertedSelected: grey[14], + colorNeutralForegroundInverted2: grey[14], + colorNeutralForegroundOnBrand: white, + colorNeutralForegroundInvertedLink: white, + colorNeutralForegroundInvertedLinkHover: white, + colorNeutralForegroundInvertedLinkPressed: white, + colorNeutralForegroundInvertedLinkSelected: white, + colorBrandForegroundInverted: brand[80], + colorBrandForegroundInvertedHover: brand[70], + colorBrandForegroundInvertedPressed: brand[60], + colorBrandForegroundOnLight: brand[80], + colorBrandForegroundOnLightHover: brand[70], + colorBrandForegroundOnLightPressed: brand[50], + colorBrandForegroundOnLightSelected: brand[60], + colorNeutralBackground1: grey[16], + colorNeutralBackground1Hover: grey[24], + colorNeutralBackground1Pressed: grey[12], + colorNeutralBackground1Selected: grey[22], + colorNeutralBackground2: grey[14], + colorNeutralBackground2Hover: grey[22], + colorNeutralBackground2Pressed: grey[10], + colorNeutralBackground2Selected: grey[20], + colorNeutralBackground3: grey[12], + colorNeutralBackground3Hover: grey[20], + colorNeutralBackground3Pressed: grey[8], + colorNeutralBackground3Selected: grey[18], + colorNeutralBackground4: grey[8], + colorNeutralBackground4Hover: grey[16], + colorNeutralBackground4Pressed: grey[4], + colorNeutralBackground4Selected: grey[14], + colorNeutralBackground5: grey[4], + colorNeutralBackground5Hover: grey[12], + colorNeutralBackground5Pressed: black, + colorNeutralBackground5Selected: grey[10], + colorNeutralBackground6: grey[20], + colorNeutralBackground7: "#00000000", + colorNeutralBackground7Hover: grey[10], + colorNeutralBackground7Pressed: grey[4], + colorNeutralBackground7Selected: "#00000000", + colorNeutralBackground8: grey[16], + colorNeutralBackgroundInverted: white, + colorNeutralBackgroundInvertedHover: grey[96], + colorNeutralBackgroundInvertedPressed: grey[88], + colorNeutralBackgroundInvertedSelected: grey[92], + colorNeutralBackgroundStatic: grey[24], + colorNeutralBackgroundAlpha: grey10Alpha[50], + colorNeutralBackgroundAlpha2: grey12Alpha[70], + colorSubtleBackground: "transparent", + colorSubtleBackgroundHover: grey[22], + colorSubtleBackgroundPressed: grey[18], + colorSubtleBackgroundSelected: grey[20], + colorSubtleBackgroundLightAlphaHover: grey14Alpha[80], + colorSubtleBackgroundLightAlphaPressed: grey14Alpha[50], + colorSubtleBackgroundLightAlphaSelected: "transparent", + colorSubtleBackgroundInverted: "transparent", + colorSubtleBackgroundInvertedHover: blackAlpha[10], + colorSubtleBackgroundInvertedPressed: blackAlpha[30], + colorSubtleBackgroundInvertedSelected: blackAlpha[20], + colorTransparentBackground: "transparent", + colorTransparentBackgroundHover: "transparent", + colorTransparentBackgroundPressed: "transparent", + colorTransparentBackgroundSelected: "transparent", + colorNeutralBackgroundDisabled: grey[8], + colorNeutralBackgroundDisabled2: grey[16], + colorNeutralBackgroundInvertedDisabled: whiteAlpha[10], + colorNeutralStencil1: grey[34], + colorNeutralStencil2: grey[20], + colorNeutralStencil1Alpha: whiteAlpha[10], + colorNeutralStencil2Alpha: whiteAlpha[5], + colorBackgroundOverlay: blackAlpha[50], + colorScrollbarOverlay: whiteAlpha[60], + colorBrandBackground: brand[70], + colorBrandBackgroundHover: brand[80], + colorBrandBackgroundPressed: brand[40], + colorBrandBackgroundSelected: brand[60], + colorCompoundBrandBackground: brand[100], + colorCompoundBrandBackgroundHover: brand[110], + colorCompoundBrandBackgroundPressed: brand[90], + colorBrandBackgroundStatic: brand[80], + colorBrandBackground2: brand[20], + colorBrandBackground2Hover: brand[40], + colorBrandBackground2Pressed: brand[10], + colorBrandBackground3Static: brand[60], + colorBrandBackground4Static: brand[40], + colorBrandBackgroundInverted: white, + colorBrandBackgroundInvertedHover: brand[160], + colorBrandBackgroundInvertedPressed: brand[140], + colorBrandBackgroundInvertedSelected: brand[150], + colorNeutralCardBackground: grey[20], + colorNeutralCardBackgroundHover: grey[24], + colorNeutralCardBackgroundPressed: grey[18], + colorNeutralCardBackgroundSelected: grey[22], + colorNeutralCardBackgroundDisabled: grey[8], + colorNeutralStrokeAccessible: grey[68], + colorNeutralStrokeAccessibleHover: grey[74], + colorNeutralStrokeAccessiblePressed: grey[70], + colorNeutralStrokeAccessibleSelected: brand[100], + colorNeutralStroke1: grey[40], + colorNeutralStroke1Hover: grey[46], + colorNeutralStroke1Pressed: grey[42], + colorNeutralStroke1Selected: grey[44], + colorNeutralStroke2: grey[32], + colorNeutralStroke3: grey[24], + colorNeutralStroke4: grey[24], + colorNeutralStroke4Hover: grey[18], + colorNeutralStroke4Pressed: grey[14], + colorNeutralStroke4Selected: grey[24], + colorNeutralStrokeSubtle: grey[4], + colorNeutralStrokeOnBrand: grey[16], + colorNeutralStrokeOnBrand2: white, + colorNeutralStrokeOnBrand2Hover: white, + colorNeutralStrokeOnBrand2Pressed: white, + colorNeutralStrokeOnBrand2Selected: white, + colorBrandStroke1: brand[100], + colorBrandStroke2: brand[50], + colorBrandStroke2Hover: brand[50], + colorBrandStroke2Pressed: brand[30], + colorBrandStroke2Contrast: brand[50], + colorCompoundBrandStroke: brand[90], + colorCompoundBrandStrokeHover: brand[100], + colorCompoundBrandStrokePressed: brand[80], + colorNeutralStrokeDisabled: grey[26], + colorNeutralStrokeDisabled2: grey[24], + colorNeutralStrokeInvertedDisabled: whiteAlpha[40], + colorTransparentStroke: "transparent", + colorTransparentStrokeInteractive: "transparent", + colorTransparentStrokeDisabled: "transparent", + colorNeutralStrokeAlpha: whiteAlpha[10], + colorNeutralStrokeAlpha2: whiteAlpha[20], + colorStrokeFocus1: black, + colorStrokeFocus2: white, + 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)" +}); + +// node_modules/@fluentui/tokens/lib/utils/createTeamsDarkTheme.js +var createTeamsDarkTheme = (brand) => { + const colorTokens = generateColorTokens2(brand); + return { + ...borderRadius, + ...fontSizes, + ...lineHeights, + ...fontFamilies, + ...fontWeights, + ...strokeWidths, + ...horizontalSpacings, + ...verticalSpacings, + ...durations, + ...curves, + ...colorTokens, + ...colorPaletteTokens2, + ...colorStatusTokens2, + ...createShadowTokens(colorTokens.colorNeutralShadowAmbient, colorTokens.colorNeutralShadowKey), + ...createShadowTokens(colorTokens.colorBrandShadowAmbient, colorTokens.colorBrandShadowKey, "Brand") + }; +}; + +// node_modules/@fluentui/tokens/lib/themes/teams/darkTheme.js +var teamsDarkTheme = { + ...createTeamsDarkTheme(brandTeams), + ...fontFamilies2 +}; +var teamsDarkV21Theme = { + ...createTeamsDarkTheme(brandTeamsV21), + ...fontFamilies2 +}; + +// node_modules/@fluentui/tokens/lib/alias/highContrastColorPalette.js +var statusColorPaletteTokens3 = statusSharedColorNames.reduce((acc, sharedColor) => { + const color2 = sharedColor.slice(0, 1).toUpperCase() + sharedColor.slice(1); + const sharedColorTokens = { + [`colorPalette${color2}Background1`]: hcCanvas, + [`colorPalette${color2}Background2`]: hcCanvas, + [`colorPalette${color2}Background3`]: hcCanvasText, + [`colorPalette${color2}Foreground1`]: hcCanvasText, + [`colorPalette${color2}Foreground2`]: hcCanvasText, + [`colorPalette${color2}Foreground3`]: hcCanvasText, + [`colorPalette${color2}BorderActive`]: hcHighlight, + [`colorPalette${color2}Border1`]: hcCanvasText, + [`colorPalette${color2}Border2`]: hcCanvasText + }; + return Object.assign(acc, sharedColorTokens); +}, {}); +statusColorPaletteTokens3.colorPaletteRedForegroundInverted = hcCanvasText; +statusColorPaletteTokens3.colorPaletteGreenForegroundInverted = hcCanvasText; +statusColorPaletteTokens3.colorPaletteYellowForegroundInverted = hcCanvasText; +var personaColorPaletteTokens3 = personaSharedColorNames.reduce((acc, sharedColor) => { + const color2 = sharedColor.slice(0, 1).toUpperCase() + sharedColor.slice(1); + const sharedColorTokens = { + [`colorPalette${color2}Background2`]: hcCanvas, + [`colorPalette${color2}Foreground2`]: hcCanvasText, + [`colorPalette${color2}BorderActive`]: hcHighlight + }; + return Object.assign(acc, sharedColorTokens); +}, {}); +var colorPaletteTokens3 = { + ...statusColorPaletteTokens3, + ...personaColorPaletteTokens3 +}; +var colorStatusTokens3 = Object.entries(statusColorMapping).reduce((acc, [statusColor, sharedColor]) => { + const color2 = statusColor.slice(0, 1).toUpperCase() + statusColor.slice(1); + const statusColorTokens = { + [`colorStatus${color2}Background1`]: hcCanvas, + [`colorStatus${color2}Background2`]: hcCanvas, + [`colorStatus${color2}Background3`]: hcCanvasText, + [`colorStatus${color2}Foreground1`]: hcCanvasText, + [`colorStatus${color2}Foreground2`]: hcCanvasText, + [`colorStatus${color2}Foreground3`]: hcCanvasText, + [`colorStatus${color2}BorderActive`]: hcHighlight, + [`colorStatus${color2}ForegroundInverted`]: hcCanvasText, + [`colorStatus${color2}Border1`]: hcCanvasText, + [`colorStatus${color2}Border2`]: hcCanvasText + }; + return Object.assign(acc, statusColorTokens); +}, {}); +colorStatusTokens3.colorStatusDangerBackground3Hover = hcHighlight; +colorStatusTokens3.colorStatusDangerBackground3Pressed = hcHighlight; + +// node_modules/@fluentui/tokens/lib/alias/highContrastColor.js +var generateColorTokens3 = () => ({ + colorNeutralForeground1: hcCanvasText, + colorNeutralForeground1Hover: hcHighlightText, + colorNeutralForeground1Pressed: hcHighlightText, + colorNeutralForeground1Selected: hcHighlightText, + colorNeutralForeground2: hcCanvasText, + colorNeutralForeground2Hover: hcHighlightText, + colorNeutralForeground2Pressed: hcHighlightText, + colorNeutralForeground2Selected: hcHighlightText, + colorNeutralForeground2BrandHover: hcHighlightText, + colorNeutralForeground2BrandPressed: hcHighlightText, + colorNeutralForeground2BrandSelected: hcHighlightText, + colorNeutralForeground3: hcCanvasText, + colorNeutralForeground3Hover: hcHighlightText, + colorNeutralForeground3Pressed: hcHighlightText, + colorNeutralForeground3Selected: hcHighlightText, + colorNeutralForeground3BrandHover: hcHighlightText, + colorNeutralForeground3BrandPressed: hcHighlightText, + colorNeutralForeground3BrandSelected: hcHighlightText, + colorNeutralForeground4: hcCanvasText, + colorNeutralForeground5: hcCanvasText, + colorNeutralForeground5Hover: hcHighlightText, + colorNeutralForeground5Pressed: hcHighlightText, + colorNeutralForeground5Selected: hcHighlightText, + colorNeutralForegroundDisabled: hcDisabled, + colorNeutralForegroundInvertedDisabled: hcDisabled, + colorBrandForegroundLink: hcHyperlink, + colorBrandForegroundLinkHover: hcHyperlink, + colorBrandForegroundLinkPressed: hcHyperlink, + colorBrandForegroundLinkSelected: hcHyperlink, + colorNeutralForeground2Link: hcHyperlink, + colorNeutralForeground2LinkHover: hcHyperlink, + colorNeutralForeground2LinkPressed: hcHyperlink, + colorNeutralForeground2LinkSelected: hcHyperlink, + colorCompoundBrandForeground1: hcHighlight, + colorCompoundBrandForeground1Hover: hcHighlight, + colorCompoundBrandForeground1Pressed: hcHighlight, + colorBrandForeground1: hcCanvasText, + colorBrandForeground2: hcCanvasText, + colorBrandForeground2Hover: hcCanvasText, + colorBrandForeground2Pressed: hcCanvasText, + colorNeutralForeground1Static: hcCanvas, + colorNeutralForegroundStaticInverted: hcCanvasText, + colorNeutralForegroundInverted: hcHighlightText, + colorNeutralForegroundInvertedHover: hcHighlightText, + colorNeutralForegroundInvertedPressed: hcHighlightText, + colorNeutralForegroundInvertedSelected: hcHighlightText, + colorNeutralForegroundInverted2: hcCanvasText, + colorNeutralForegroundOnBrand: hcButtonText, + colorNeutralForegroundInvertedLink: hcHyperlink, + colorNeutralForegroundInvertedLinkHover: hcHyperlink, + colorNeutralForegroundInvertedLinkPressed: hcHyperlink, + colorNeutralForegroundInvertedLinkSelected: hcHyperlink, + colorBrandForegroundInverted: hcCanvasText, + colorBrandForegroundInvertedHover: hcHighlightText, + colorBrandForegroundInvertedPressed: hcHighlightText, + colorBrandForegroundOnLight: hcButtonText, + colorBrandForegroundOnLightHover: hcHighlightText, + colorBrandForegroundOnLightPressed: hcHighlightText, + colorBrandForegroundOnLightSelected: hcHighlightText, + colorNeutralBackground1: hcCanvas, + colorNeutralBackground1Hover: hcHighlight, + colorNeutralBackground1Pressed: hcHighlight, + colorNeutralBackground1Selected: hcHighlight, + colorNeutralBackground2: hcCanvas, + colorNeutralBackground2Hover: hcHighlight, + colorNeutralBackground2Pressed: hcHighlight, + colorNeutralBackground2Selected: hcHighlight, + colorNeutralBackground3: hcCanvas, + colorNeutralBackground3Hover: hcHighlight, + colorNeutralBackground3Pressed: hcHighlight, + colorNeutralBackground3Selected: hcHighlight, + colorNeutralBackground4: hcCanvas, + colorNeutralBackground4Hover: hcHighlight, + colorNeutralBackground4Pressed: hcHighlight, + colorNeutralBackground4Selected: hcHighlight, + colorNeutralBackground5: hcCanvas, + colorNeutralBackground5Hover: hcHighlight, + colorNeutralBackground5Pressed: hcHighlight, + colorNeutralBackground5Selected: hcHighlight, + colorNeutralBackground6: hcCanvas, + colorNeutralBackground7: hcCanvas, + colorNeutralBackground7Hover: hcHighlight, + colorNeutralBackground7Pressed: hcHighlight, + colorNeutralBackground7Selected: hcHighlight, + colorNeutralBackground8: hcCanvas, + colorNeutralBackgroundInverted: hcCanvas, + colorNeutralBackgroundInvertedHover: hcHighlight, + colorNeutralBackgroundInvertedPressed: hcHighlight, + colorNeutralBackgroundInvertedSelected: hcHighlight, + colorNeutralBackgroundStatic: hcCanvas, + colorNeutralBackgroundAlpha: hcCanvas, + colorNeutralBackgroundAlpha2: hcCanvas, + colorSubtleBackground: "transparent", + colorSubtleBackgroundHover: hcHighlight, + colorSubtleBackgroundPressed: hcHighlight, + colorSubtleBackgroundSelected: hcHighlight, + colorSubtleBackgroundLightAlphaHover: hcHighlight, + colorSubtleBackgroundLightAlphaPressed: hcHighlight, + colorSubtleBackgroundLightAlphaSelected: hcHighlight, + colorSubtleBackgroundInverted: "transparent", + colorSubtleBackgroundInvertedHover: hcHighlight, + colorSubtleBackgroundInvertedPressed: hcHighlight, + colorSubtleBackgroundInvertedSelected: hcHighlight, + colorTransparentBackground: "transparent", + colorTransparentBackgroundHover: hcHighlight, + colorTransparentBackgroundPressed: hcHighlight, + colorTransparentBackgroundSelected: hcHighlight, + colorNeutralBackgroundDisabled: hcCanvas, + colorNeutralBackgroundDisabled2: hcDisabled, + colorNeutralBackgroundInvertedDisabled: hcCanvas, + colorNeutralStencil1: hcCanvasText, + colorNeutralStencil2: hcCanvasText, + colorNeutralStencil1Alpha: hcCanvasText, + colorNeutralStencil2Alpha: hcCanvasText, + colorBackgroundOverlay: blackAlpha[50], + colorScrollbarOverlay: hcButtonFace, + colorBrandBackground: hcButtonFace, + colorBrandBackgroundHover: hcHighlight, + colorBrandBackgroundPressed: hcHighlight, + colorBrandBackgroundSelected: hcHighlight, + colorCompoundBrandBackground: hcHighlight, + colorCompoundBrandBackgroundHover: hcHighlight, + colorCompoundBrandBackgroundPressed: hcHighlight, + colorBrandBackgroundStatic: hcCanvas, + colorBrandBackground2: hcCanvas, + colorBrandBackground2Hover: hcCanvas, + colorBrandBackground2Pressed: hcCanvas, + colorBrandBackground3Static: hcCanvas, + colorBrandBackground4Static: hcCanvas, + colorBrandBackgroundInverted: hcButtonFace, + colorBrandBackgroundInvertedHover: hcHighlight, + colorBrandBackgroundInvertedPressed: hcHighlight, + colorBrandBackgroundInvertedSelected: hcHighlight, + colorNeutralCardBackground: hcCanvas, + colorNeutralCardBackgroundHover: hcHighlight, + colorNeutralCardBackgroundPressed: hcHighlight, + colorNeutralCardBackgroundSelected: hcHighlight, + colorNeutralCardBackgroundDisabled: hcCanvas, + colorNeutralStrokeAccessible: hcCanvasText, + colorNeutralStrokeAccessibleHover: hcHighlight, + colorNeutralStrokeAccessiblePressed: hcHighlight, + colorNeutralStrokeAccessibleSelected: hcHighlight, + colorNeutralStroke1: hcCanvasText, + colorNeutralStroke1Hover: hcHighlight, + colorNeutralStroke1Pressed: hcHighlight, + colorNeutralStroke1Selected: hcHighlight, + colorNeutralStroke2: hcCanvasText, + colorNeutralStroke3: hcCanvasText, + colorNeutralStroke4: hcCanvasText, + colorNeutralStroke4Hover: hcHighlight, + colorNeutralStroke4Pressed: hcHighlight, + colorNeutralStroke4Selected: hcHighlight, + colorNeutralStrokeSubtle: hcCanvasText, + colorNeutralStrokeOnBrand: hcCanvas, + colorNeutralStrokeOnBrand2: hcCanvasText, + colorNeutralStrokeOnBrand2Hover: hcCanvasText, + colorNeutralStrokeOnBrand2Pressed: hcCanvasText, + colorNeutralStrokeOnBrand2Selected: hcCanvasText, + colorBrandStroke1: hcCanvasText, + colorBrandStroke2: hcCanvasText, + colorBrandStroke2Hover: hcHighlight, + colorBrandStroke2Pressed: hcHighlight, + colorBrandStroke2Contrast: hcCanvas, + colorCompoundBrandStroke: hcHighlight, + colorCompoundBrandStrokeHover: hcHighlight, + colorCompoundBrandStrokePressed: hcHighlight, + colorNeutralStrokeDisabled: hcDisabled, + colorNeutralStrokeDisabled2: hcDisabled, + colorNeutralStrokeInvertedDisabled: hcDisabled, + colorTransparentStroke: hcCanvasText, + colorTransparentStrokeInteractive: hcHighlight, + colorTransparentStrokeDisabled: hcDisabled, + colorNeutralStrokeAlpha: hcCanvasText, + colorNeutralStrokeAlpha2: hcCanvas, + colorStrokeFocus1: hcCanvas, + colorStrokeFocus2: hcHighlight, + 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)" +}); + +// node_modules/@fluentui/tokens/lib/utils/createHighContrastTheme.js +var createHighContrastTheme = () => { + const colorTokens = generateColorTokens3(); + return { + ...borderRadius, + ...fontSizes, + ...lineHeights, + ...fontFamilies, + ...fontWeights, + ...strokeWidths, + ...horizontalSpacings, + ...verticalSpacings, + ...durations, + ...curves, + ...colorTokens, + ...colorPaletteTokens3, + ...colorStatusTokens3, + ...createShadowTokens(colorTokens.colorNeutralShadowAmbient, colorTokens.colorNeutralShadowKey), + ...createShadowTokens(colorTokens.colorBrandShadowAmbient, colorTokens.colorBrandShadowKey, "Brand") + }; +}; + +// node_modules/@fluentui/tokens/lib/themes/teams/highContrastTheme.js +var teamsHighContrastTheme = { + ...createHighContrastTheme(), + ...fontFamilies2 +}; + +// node_modules/@fluentui/tokens/lib/themes/web/lightTheme.js +var webLightTheme = createLightTheme(brandWeb); + +// node_modules/@fluentui/tokens/lib/alias/darkColor.js +var generateColorTokens4 = (brand) => ({ + colorNeutralForeground1: white, + colorNeutralForeground1Hover: white, + colorNeutralForeground1Pressed: white, + colorNeutralForeground1Selected: white, + colorNeutralForeground2: grey[84], + colorNeutralForeground2Hover: white, + colorNeutralForeground2Pressed: white, + colorNeutralForeground2Selected: white, + colorNeutralForeground2BrandHover: brand[100], + colorNeutralForeground2BrandPressed: brand[90], + colorNeutralForeground2BrandSelected: brand[100], + colorNeutralForeground3: grey[68], + colorNeutralForeground3Hover: grey[84], + colorNeutralForeground3Pressed: grey[84], + colorNeutralForeground3Selected: grey[84], + colorNeutralForeground3BrandHover: brand[100], + colorNeutralForeground3BrandPressed: brand[90], + colorNeutralForeground3BrandSelected: brand[100], + colorNeutralForeground4: grey[60], + colorNeutralForeground5: grey[68], + colorNeutralForeground5Hover: white, + colorNeutralForeground5Pressed: white, + colorNeutralForeground5Selected: white, + colorNeutralForegroundDisabled: grey[36], + colorNeutralForegroundInvertedDisabled: whiteAlpha[40], + colorBrandForegroundLink: brand[100], + colorBrandForegroundLinkHover: brand[110], + colorBrandForegroundLinkPressed: brand[90], + colorBrandForegroundLinkSelected: brand[100], + colorNeutralForeground2Link: grey[84], + colorNeutralForeground2LinkHover: white, + colorNeutralForeground2LinkPressed: white, + colorNeutralForeground2LinkSelected: white, + colorCompoundBrandForeground1: brand[100], + colorCompoundBrandForeground1Hover: brand[110], + colorCompoundBrandForeground1Pressed: brand[90], + colorBrandForeground1: brand[100], + colorBrandForeground2: brand[110], + colorBrandForeground2Hover: brand[130], + colorBrandForeground2Pressed: brand[160], + colorNeutralForeground1Static: grey[14], + colorNeutralForegroundStaticInverted: white, + colorNeutralForegroundInverted: grey[14], + colorNeutralForegroundInvertedHover: grey[14], + colorNeutralForegroundInvertedPressed: grey[14], + colorNeutralForegroundInvertedSelected: grey[14], + colorNeutralForegroundInverted2: grey[14], + colorNeutralForegroundOnBrand: white, + colorNeutralForegroundInvertedLink: white, + colorNeutralForegroundInvertedLinkHover: white, + colorNeutralForegroundInvertedLinkPressed: white, + colorNeutralForegroundInvertedLinkSelected: white, + colorBrandForegroundInverted: brand[80], + colorBrandForegroundInvertedHover: brand[70], + colorBrandForegroundInvertedPressed: brand[60], + colorBrandForegroundOnLight: brand[80], + colorBrandForegroundOnLightHover: brand[70], + colorBrandForegroundOnLightPressed: brand[50], + colorBrandForegroundOnLightSelected: brand[60], + colorNeutralBackground1: grey[16], + colorNeutralBackground1Hover: grey[24], + colorNeutralBackground1Pressed: grey[12], + colorNeutralBackground1Selected: grey[22], + colorNeutralBackground2: grey[12], + colorNeutralBackground2Hover: grey[20], + colorNeutralBackground2Pressed: grey[8], + colorNeutralBackground2Selected: grey[18], + colorNeutralBackground3: grey[8], + colorNeutralBackground3Hover: grey[16], + colorNeutralBackground3Pressed: grey[4], + colorNeutralBackground3Selected: grey[14], + colorNeutralBackground4: grey[4], + colorNeutralBackground4Hover: grey[12], + colorNeutralBackground4Pressed: black, + colorNeutralBackground4Selected: grey[10], + colorNeutralBackground5: black, + colorNeutralBackground5Hover: grey[8], + colorNeutralBackground5Pressed: grey[2], + colorNeutralBackground5Selected: grey[6], + colorNeutralBackground6: grey[20], + colorNeutralBackground7: "#00000000", + colorNeutralBackground7Hover: grey[10], + colorNeutralBackground7Pressed: grey[4], + colorNeutralBackground7Selected: "#00000000", + colorNeutralBackground8: grey[16], + colorNeutralBackgroundInverted: white, + colorNeutralBackgroundInvertedHover: grey[96], + colorNeutralBackgroundInvertedPressed: grey[88], + colorNeutralBackgroundInvertedSelected: grey[92], + colorNeutralBackgroundStatic: grey[24], + colorNeutralBackgroundAlpha: grey10Alpha[50], + colorNeutralBackgroundAlpha2: grey12Alpha[70], + colorSubtleBackground: "transparent", + colorSubtleBackgroundHover: grey[22], + colorSubtleBackgroundPressed: grey[18], + colorSubtleBackgroundSelected: grey[20], + colorSubtleBackgroundLightAlphaHover: grey14Alpha[80], + colorSubtleBackgroundLightAlphaPressed: grey14Alpha[50], + colorSubtleBackgroundLightAlphaSelected: "transparent", + colorSubtleBackgroundInverted: "transparent", + colorSubtleBackgroundInvertedHover: blackAlpha[10], + colorSubtleBackgroundInvertedPressed: blackAlpha[30], + colorSubtleBackgroundInvertedSelected: blackAlpha[20], + colorTransparentBackground: "transparent", + colorTransparentBackgroundHover: "transparent", + colorTransparentBackgroundPressed: "transparent", + colorTransparentBackgroundSelected: "transparent", + colorNeutralBackgroundDisabled: grey[8], + colorNeutralBackgroundDisabled2: grey[16], + colorNeutralBackgroundInvertedDisabled: whiteAlpha[10], + colorNeutralStencil1: grey[34], + colorNeutralStencil2: grey[20], + colorNeutralStencil1Alpha: whiteAlpha[10], + colorNeutralStencil2Alpha: whiteAlpha[5], + colorBackgroundOverlay: blackAlpha[50], + colorScrollbarOverlay: whiteAlpha[60], + colorBrandBackground: brand[70], + colorBrandBackgroundHover: brand[80], + colorBrandBackgroundPressed: brand[40], + colorBrandBackgroundSelected: brand[60], + colorCompoundBrandBackground: brand[100], + colorCompoundBrandBackgroundHover: brand[110], + colorCompoundBrandBackgroundPressed: brand[90], + colorBrandBackgroundStatic: brand[80], + colorBrandBackground2: brand[20], + colorBrandBackground2Hover: brand[40], + colorBrandBackground2Pressed: brand[10], + colorBrandBackground3Static: brand[60], + colorBrandBackground4Static: brand[40], + colorBrandBackgroundInverted: white, + colorBrandBackgroundInvertedHover: brand[160], + colorBrandBackgroundInvertedPressed: brand[140], + colorBrandBackgroundInvertedSelected: brand[150], + colorNeutralCardBackground: grey[20], + colorNeutralCardBackgroundHover: grey[24], + colorNeutralCardBackgroundPressed: grey[18], + colorNeutralCardBackgroundSelected: grey[22], + colorNeutralCardBackgroundDisabled: grey[8], + colorNeutralStrokeAccessible: grey[68], + colorNeutralStrokeAccessibleHover: grey[74], + colorNeutralStrokeAccessiblePressed: grey[70], + colorNeutralStrokeAccessibleSelected: brand[100], + colorNeutralStroke1: grey[40], + colorNeutralStroke1Hover: grey[46], + colorNeutralStroke1Pressed: grey[42], + colorNeutralStroke1Selected: grey[44], + colorNeutralStroke2: grey[32], + colorNeutralStroke3: grey[24], + colorNeutralStroke4: grey[24], + colorNeutralStroke4Hover: grey[18], + colorNeutralStroke4Pressed: grey[14], + colorNeutralStroke4Selected: grey[24], + colorNeutralStrokeSubtle: grey[4], + colorNeutralStrokeOnBrand: grey[16], + colorNeutralStrokeOnBrand2: white, + colorNeutralStrokeOnBrand2Hover: white, + colorNeutralStrokeOnBrand2Pressed: white, + colorNeutralStrokeOnBrand2Selected: white, + colorBrandStroke1: brand[100], + colorBrandStroke2: brand[50], + colorBrandStroke2Hover: brand[50], + colorBrandStroke2Pressed: brand[30], + colorBrandStroke2Contrast: brand[50], + colorCompoundBrandStroke: brand[100], + colorCompoundBrandStrokeHover: brand[110], + colorCompoundBrandStrokePressed: brand[90], + colorNeutralStrokeDisabled: grey[26], + colorNeutralStrokeDisabled2: grey[24], + colorNeutralStrokeInvertedDisabled: whiteAlpha[40], + colorTransparentStroke: "transparent", + colorTransparentStrokeInteractive: "transparent", + colorTransparentStrokeDisabled: "transparent", + colorNeutralStrokeAlpha: whiteAlpha[10], + colorNeutralStrokeAlpha2: whiteAlpha[20], + colorStrokeFocus1: black, + colorStrokeFocus2: white, + 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)" +}); + +// node_modules/@fluentui/tokens/lib/utils/createDarkTheme.js +var createDarkTheme = (brand) => { + const colorTokens = generateColorTokens4(brand); + return { + ...borderRadius, + ...fontSizes, + ...lineHeights, + ...fontFamilies, + ...fontWeights, + ...strokeWidths, + ...horizontalSpacings, + ...verticalSpacings, + ...durations, + ...curves, + ...colorTokens, + ...colorPaletteTokens2, + ...colorStatusTokens2, + ...createShadowTokens(colorTokens.colorNeutralShadowAmbient, colorTokens.colorNeutralShadowKey), + ...createShadowTokens(colorTokens.colorBrandShadowAmbient, colorTokens.colorBrandShadowKey, "Brand") + }; +}; + +// node_modules/@fluentui/tokens/lib/themes/web/darkTheme.js +var webDarkTheme = createDarkTheme(brandWeb); + +// node_modules/@fluentui/tokens/lib/themeToTokensObject.js +function themeToTokensObject(theme) { + const tokens2 = {}; + const keys = Object.keys(theme); + for (const key of keys) { + tokens2[key] = `var(--${String(key)})`; + } + return tokens2; +} + +// node_modules/@fluentui/react-tabster/lib/focus/createFocusOutlineStyle.js +function getOutlinePosition({ outlineWidth, outlineOffset }, position) { + const offsetValue = (outlineOffset === null || outlineOffset === void 0 ? void 0 : outlineOffset[position]) || outlineOffset; + if (!outlineOffset) { + return `calc(${outlineWidth} * -1)`; + } + return `calc(0px - ${outlineWidth} - ${offsetValue})`; +} +var getFocusOutlineStyles = (options) => { + const { outlineRadius, outlineColor, outlineWidth } = options; + return { + ...shorthands.borderColor("transparent"), + "@media (forced-colors: active)": { + "::after": { + ...shorthands.borderColor("Highlight") + } + }, + "::after": { + content: '""', + position: "absolute", + pointerEvents: "none", + zIndex: 1, + border: `${outlineWidth} solid ${outlineColor}`, + borderRadius: outlineRadius, + top: getOutlinePosition(options, "top"), + right: getOutlinePosition(options, "right"), + bottom: getOutlinePosition(options, "bottom"), + left: getOutlinePosition(options, "left") + } + }; +}; +var createFocusOutlineStyle = ({ enableOutline = false, selector = defaultOptions.selector, customizeSelector, style = defaultOptions.style } = defaultOptions) => ({ + ":focus": { + outlineStyle: enableOutline ? void 0 : "none" + }, + ":focus-visible": { + outlineStyle: enableOutline ? void 0 : "none" + }, + ...createCustomFocusIndicatorStyle(getFocusOutlineStyles({ + outlineColor: tokens.colorStrokeFocus2, + outlineRadius: tokens.borderRadiusMedium, + // FIXME: tokens.strokeWidthThick causes some weird bugs + outlineWidth: "2px", + ...style + }), { + selector, + customizeSelector + }) +}); + +// node_modules/@fluentui/react-tabster/lib/tabster-types-6.0.1-do-not-use.js +var FocusableSelector = [ + "a[href]", + "button:not([disabled])", + "input:not([disabled])", + "select:not([disabled])", + "textarea:not([disabled])", + "*[tabindex]", + "*[contenteditable]" +].join(", "); + +// node_modules/@fluentui/react-provider/lib/components/FluentProvider/useFluentProvider.js +var React57 = __toESM(require_react()); + +// node_modules/@fluentui/react-provider/lib/components/FluentProvider/useFluentProviderThemeStyleTag.js +var React56 = __toESM(require_react()); + +// node_modules/@fluentui/react-provider/lib/components/FluentProvider/useFluentProviderStyles.styles.js +var fluentProviderClassNames = { + root: "fui-FluentProvider" +}; +var useStyles = __styles({ + 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);}"] +}); +var useFluentProviderStyles_unstable = (state) => { + "use no memo"; + const renderer = useRenderer(); + const styles = useStyles({ + dir: state.dir, + renderer + }); + state.root.className = mergeClasses(fluentProviderClassNames.root, state.themeClassName, styles.root, state.root.className); + return state; +}; + +// node_modules/@fluentui/react-provider/lib/components/FluentProvider/useFluentProviderThemeStyleTag.js +var useInsertionEffect2 = React56["useInsertionEffect"] ? React56["useInsertionEffect"] : useIsomorphicLayoutEffect; +var createStyleTag = (target, elementAttributes) => { + if (!(target === null || target === void 0 ? void 0 : target.head)) { + return void 0; + } + const tag = target.createElement("style"); + Object.keys(elementAttributes).forEach((attrName) => { + tag.setAttribute(attrName, elementAttributes[attrName]); + }); + target.head.appendChild(tag); + return tag; +}; +var insertSheet = (tag, rule) => { + const sheet = tag.sheet; + if (sheet) { + if (sheet.cssRules.length > 0) { + sheet.deleteRule(0); + } + sheet.insertRule(rule, 0); + } else if (true) { + console.error("FluentProvider: No sheet available on styleTag, styles will not be inserted into DOM."); + } +}; +var useFluentProviderThemeStyleTag = (options) => { + "use no memo"; + const { targetDocument, theme, rendererAttributes } = options; + const styleTag = React56.useRef(void 0); + const styleTagId = useId2(fluentProviderClassNames.root); + const styleElementAttributes = rendererAttributes; + const rule = React56.useMemo(() => createCSSRuleFromTheme(`.${styleTagId}`, theme), [ + theme, + styleTagId + ]); + if (true) { + React56.useMemo(() => { + if (targetDocument) { + var _styleElement_textContent; + const providerElementSelector = `.${fluentProviderClassNames.root}.${styleTagId}`; + const providerElements = targetDocument.querySelectorAll(providerElementSelector); + const styleElementSelector = `style[id="${styleTagId}"]`; + const styleElements = targetDocument.querySelectorAll(styleElementSelector); + if (styleElements.length > 1) { + console.error([ + "@fluentui/react-provider: We found multiple