diff --git a/assets/dotfiles/equibop-config/equicord-settings.json b/assets/dotfiles/equibop-config/equicord-settings.json new file mode 100644 index 0000000..a2e7cb6 --- /dev/null +++ b/assets/dotfiles/equibop-config/equicord-settings.json @@ -0,0 +1,1219 @@ +{ + "autoUpdate": false, + "cloud": { + "authenticated": false, + "settingsSync": false, + "url": "https://cloud.equicord.org/", + "settingsSyncVersion": 1783824631066 + }, + "enableOnlineThemes": true, + "enabledThemeLinks": [ + "https://raw.githubusercontent.com/refact0r/midnight-discord/refs/heads/master/themes/midnight.theme.css" + ], + "plugins": { + "AltKrispSwitch": { + "enabled": true + }, + "BetterAudioPlayer": { + "enabled": true, + "oscilloscope": true, + "oscilloscopeColor": "255, 255, 255", + "oscilloscopeSolidColor": false, + "spectrograph": true, + "spectrographColor": "33, 150, 243", + "spectrographSolidColor": false + }, + "BetterCommands": { + "allowNewlinesInCommands": true, + "autoFillArguments": true, + "enabled": true + }, + "BetterGifPicker": { + "enabled": true, + "keepOpen": false + }, + "BetterSettings": { + "disableFade": true, + "eagerLoad": true, + "enabled": true, + "organizeMenu": true + }, + "BetterUploadButton": { + "enabled": true + }, + "ClearURLs": { + "enabled": true + }, + "Declutter": { + "alwaysShowUsername": true, + "enabled": true, + "removeAvatarDecoration": false, + "removeClanTag": false, + "removeNameplate": false, + "removeProfileEffect": false, + "removeQuestsAboveDms": true, + "removeShopAboveDms": true, + "removeButtonTooltips": false, + "removeAudioMenus": true, + "removeServerBoostInfo": true, + "removeBillingSettings": true, + "removeGiftButton": true, + "removeUnavailableEmojiPicker": true + }, + "DisableCallIdle": { + "enabled": true + }, + "EquicordHelper": { + "accountStandingButton": false, + "disableAdoptTagPrompt": false, + "enabled": true, + "forceRoleIcon": false, + "hideVoiceIndicatorForMutedChannels": false, + "jsonGateway": false, + "noBulletPoints": false, + "noMirroredCamera": false, + "noModalAnimation": false, + "removeActivitySection": false, + "restoreFileDownloadButton": false, + "showYourOwnActivityButtons": false + }, + "FakeNitro": { + "disableEmbedPermissionCheck": false, + "emojiSize": 48, + "enableEmojiBypass": true, + "enableStickerBypass": true, + "enableStreamQualityBypass": true, + "enabled": true, + "hyperLinkText": "{{NAME}}", + "stickerSize": 160, + "transformCompoundSentence": false, + "transformEmojis": true, + "transformStickers": true, + "useEmojiHyperLinks": true, + "useStickerHyperLinks": true + }, + "FixYoutubeEmbeds": { + "enabled": true, + "youtubeDescription": false + }, + "ForceOwnerCrown": { + "enabled": true + }, + "FullUserInChatbox": { + "enabled": true + }, + "NewPluginsManager": { + "enabled": true + }, + "NoTrack": { + "disableAnalytics": true, + "enabled": true + }, + "Settings": { + "enabled": true, + "includeVencordInfoWhenCopying": true, + "settingsLocation": "aboveNitro" + }, + "WebKeybinds": { + "enabled": true + }, + "WebScreenShareFixes": { + "enabled": true + }, + "YoutubeAdblock": { + "enabled": true + }, + "ChatInputButtonAPI": { + "enabled": false + }, + "CommandsAPI": { + "enabled": true + }, + "DynamicImageModalAPI": { + "enabled": false + }, + "MemberListDecoratorsAPI": { + "enabled": false + }, + "MessageAccessoriesAPI": { + "enabled": true + }, + "MessageDecorationsAPI": { + "enabled": false + }, + "MessageEventsAPI": { + "enabled": true + }, + "MessagePopoverAPI": { + "enabled": true + }, + "MessageUpdaterAPI": { + "enabled": false + }, + "NicknameIconsAPI": { + "enabled": false + }, + "ServerListAPI": { + "enabled": false + }, + "UserSettingsAPI": { + "enabled": true + }, + "AccountPanelServerProfile": { + "enabled": false + }, + "AlwaysAnimate": { + "enabled": false + }, + "AlwaysExpandRoles": { + "enabled": false + }, + "AlwaysTrust": { + "enabled": false + }, + "AnonymiseFileNames": { + "enabled": false + }, + "AppleMusicRichPresence": { + "enabled": false + }, + "WebRichPresence": { + "enabled": false + }, + "BetterFolders": { + "enabled": false + }, + "BetterGifAltText": { + "enabled": false + }, + "BetterRoleContext": { + "enabled": false + }, + "BetterRoleDot": { + "enabled": false + }, + "BetterSessions": { + "enabled": false + }, + "BiggerStreamPreview": { + "enabled": false + }, + "BlurNSFW": { + "enabled": false + }, + "CallTimer": { + "enabled": false + }, + "CharacterCounter": { + "enabled": false + }, + "ClientTheme": { + "enabled": false + }, + "ColorSighted": { + "enabled": false + }, + "ConsoleJanitor": { + "enabled": false + }, + "ConsoleShortcuts": { + "enabled": false + }, + "CopyEmojiMarkdown": { + "enabled": false + }, + "CopyFileContents": { + "enabled": false + }, + "CopyStickerLinks": { + "enabled": false + }, + "CopyUserURLs": { + "enabled": false + }, + "CrashHandler": { + "enabled": true + }, + "CustomCommands": { + "enabled": false + }, + "CustomIdle": { + "enabled": false + }, + "CustomRPC": { + "enabled": false + }, + "Dearrow": { + "enabled": false + }, + "Decor": { + "enabled": false + }, + "DontRoundMyTimestamps": { + "enabled": false + }, + "Experiments": { + "enabled": false + }, + "ExpressionCloner": { + "enabled": false + }, + "F8Break": { + "enabled": false + }, + "FakeProfileThemes": { + "enabled": false + }, + "FavoriteEmojiFirst": { + "enabled": false + }, + "FavoriteGifSearch": { + "enabled": false + }, + "FixCodeblockGap": { + "enabled": false + }, + "FixImagesQuality": { + "enabled": false + }, + "FixSpotifyEmbeds": { + "enabled": false + }, + "FriendInvites": { + "enabled": false + }, + "FullSearchContext": { + "enabled": false + }, + "GameActivityToggle": { + "enabled": false + }, + "GifPaste": { + "enabled": false + }, + "GreetStickerPicker": { + "enabled": false + }, + "HideMedia": { + "enabled": false + }, + "ILoveSpam": { + "enabled": false + }, + "IgnoreActivities": { + "enabled": false + }, + "ImageFilename": { + "enabled": false + }, + "ImageLink": { + "enabled": false + }, + "ImageZoom": { + "enabled": false + }, + "ImplicitRelationships": { + "enabled": false + }, + "IrcColors": { + "enabled": false + }, + "KeepCurrentChannel": { + "enabled": false + }, + "LastFMRichPresence": { + "enabled": false + }, + "LoadingQuotes": { + "enabled": false + }, + "MemberCount": { + "enabled": false + }, + "MentionAvatars": { + "enabled": false + }, + "MessageClickActions": { + "enabled": false + }, + "MessageLatency": { + "enabled": false + }, + "MessageLinkEmbeds": { + "enabled": false + }, + "MessageLogger": { + "enabled": false + }, + "MoreQuickReactions": { + "enabled": false + }, + "MutualGroupDMs": { + "enabled": false + }, + "NewGuildSettings": { + "enabled": false + }, + "NoBlockedMessages": { + "enabled": false + }, + "NoDevtoolsWarning": { + "enabled": false + }, + "NoF1": { + "enabled": false + }, + "NoMaskedUrlPaste": { + "enabled": false + }, + "NoMiddleClickPaste": { + "enabled": false + }, + "NoMosaic": { + "enabled": false + }, + "NoOnboardingDelay": { + "enabled": false + }, + "NoPendingCount": { + "enabled": false + }, + "NoProfileThemes": { + "enabled": false + }, + "NoReplyMention": { + "enabled": false + }, + "NoServerEmojis": { + "enabled": false + }, + "NoTypingAnimation": { + "enabled": false + }, + "NoUnblockToJump": { + "enabled": false + }, + "NotificationVolume": { + "enabled": false + }, + "OnePingPerDM": { + "enabled": false + }, + "OpenInApp": { + "enabled": false + }, + "OverrideForumDefaults": { + "enabled": false + }, + "PauseInvitesForever": { + "enabled": false + }, + "PermissionFreeWill": { + "enabled": false + }, + "PermissionsViewer": { + "enabled": false + }, + "PetPet": { + "enabled": false + }, + "PictureInPicture": { + "enabled": false + }, + "PinDMs": { + "enabled": false + }, + "PlainFolderIcon": { + "enabled": false + }, + "PlatformIndicators": { + "enabled": false + }, + "PreviewMessage": { + "enabled": false + }, + "QuickMention": { + "enabled": false + }, + "QuickReply": { + "enabled": false + }, + "ReactErrorDecoder": { + "enabled": false + }, + "ReadAllNotificationsButton": { + "enabled": false + }, + "RelationshipNotifier": { + "enabled": false + }, + "ReplaceGoogleSearch": { + "enabled": false + }, + "ReplyTimestamp": { + "enabled": false + }, + "RevealAllSpoilers": { + "enabled": false + }, + "ReverseImageSearch": { + "enabled": false + }, + "ReviewDB": { + "enabled": false + }, + "RoleColorEverywhere": { + "enabled": false + }, + "SecretRingToneEnabler": { + "enabled": false + }, + "Summaries": { + "enabled": false + }, + "SendTimestamps": { + "enabled": false + }, + "ServerInfo": { + "enabled": false + }, + "ServerListIndicators": { + "enabled": false + }, + "ShikiCodeblocks": { + "enabled": false + }, + "ShowAllMessageButtons": { + "enabled": false + }, + "ShowConnections": { + "enabled": false + }, + "ShowHiddenChannels": { + "enabled": false + }, + "ShowHiddenThings": { + "enabled": false + }, + "ShowMeYourName": { + "enabled": false + }, + "ShowTimeoutDuration": { + "enabled": false + }, + "SilentMessageToggle": { + "enabled": false + }, + "SilentTyping": { + "enabled": false + }, + "SortFriends": { + "enabled": false + }, + "SpotifyCrack": { + "enabled": false + }, + "SpotifyShareCommands": { + "enabled": false + }, + "StartupTimings": { + "enabled": false + }, + "StickerPaste": { + "enabled": false + }, + "StreamerModeOn": { + "enabled": false + }, + "SuperReactionTweaks": { + "enabled": false + }, + "TextReplace": { + "enabled": false + }, + "ThemeAttributes": { + "enabled": false + }, + "Translate": { + "enabled": false + }, + "TypingIndicator": { + "enabled": false + }, + "TypingTweaks": { + "enabled": false + }, + "Unindent": { + "enabled": false + }, + "UnlockedAvatarZoom": { + "enabled": false + }, + "UnsuppressEmbeds": { + "enabled": false + }, + "UserMessagesPronouns": { + "enabled": false + }, + "UserVoiceShow": { + "enabled": false + }, + "USRBG": { + "enabled": false + }, + "ValidReply": { + "enabled": false + }, + "ValidUser": { + "enabled": false + }, + "VoiceChatDoubleClick": { + "enabled": false + }, + "VcNarrator": { + "enabled": false + }, + "ViewIcons": { + "enabled": false + }, + "ViewRaw": { + "enabled": false + }, + "VoiceDownload": { + "enabled": false + }, + "VoiceMessages": { + "enabled": false + }, + "VolumeBooster": { + "enabled": false + }, + "WhoReacted": { + "enabled": false + }, + "XSOverlay": { + "enabled": false + }, + "AudioPlayerAPI": { + "enabled": false + }, + "HeaderBarAPI": { + "enabled": true + }, + "ProfileCollectionsAPI": { + "enabled": false + }, + "ProfileSectionsAPI": { + "enabled": false + }, + "SurfaceClassesAPI": { + "enabled": false + }, + "UserAreaAPI": { + "enabled": false + }, + "ConcatenatedModules": { + "enabled": false + }, + "AdvancedPermissions": { + "enabled": false + }, + "AlwaysExpandProfiles": { + "enabled": false + }, + "Animalese": { + "enabled": false + }, + "AtSomeone": { + "enabled": false + }, + "AutoZipper": { + "enabled": false + }, + "BannersEverywhere": { + "enabled": false + }, + "DecodeBase64": { + "enabled": false + }, + "BetterActivities": { + "enabled": false + }, + "BetterBanReasons": { + "enabled": false + }, + "BetterBlockedUsers": { + "enabled": false + }, + "BetterForwards": { + "enabled": false + }, + "BetterInvites": { + "enabled": false + }, + "BetterPlusReacts": { + "enabled": false + }, + "BlockKeywords": { + "enabled": false + }, + "BlockKrisp": { + "enabled": false + }, + "BypassPinPrompt": { + "enabled": false + }, + "BypassStatus": { + "enabled": false + }, + "ChannelBadges": { + "enabled": false + }, + "ChannelTabs": { + "enabled": false + }, + "CleanChannelName": { + "enabled": false + }, + "CleanerChannelGroups": { + "enabled": false + }, + "ClickableRoles": { + "enabled": false + }, + "ClientSideBlock": { + "enabled": false + }, + "ClipUpload": { + "enabled": false + }, + "CollapsibleUI": { + "enabled": false + }, + "CommandPalette": { + "enabled": false + }, + "ContentWarning": { + "enabled": false + }, + "CopyProfileColors": { + "enabled": false + }, + "CopyStatusUrls": { + "enabled": false + }, + "CopyUserMention": { + "enabled": false + }, + "CursorBuddy": { + "enabled": false + }, + "CustomFolderIcons": { + "enabled": false + }, + "CustomSounds": { + "enabled": false + }, + "CustomStatusTimeouts": { + "enabled": false + }, + "CustomTimestamps": { + "enabled": false + }, + "CustomUserColors": { + "enabled": false + }, + "DisableCameras": { + "enabled": false + }, + "DiscordDevBanner": { + "enabled": false + }, + "DownloadAllAttachments": { + "enabled": true + }, + "DragFavoriteEmotes": { + "enabled": false + }, + "Dragify": { + "enabled": false + }, + "EquibopStreamFixes": { + "enabled": false + }, + "EquicordToolbox": { + "enabled": false + }, + "Equissant": { + "enabled": false + }, + "ExitSounds": { + "enabled": false + }, + "ExportMessages": { + "enabled": false + }, + "FastDeleteChannels": { + "enabled": false + }, + "FavouriteAnything": { + "enabled": false + }, + "FileUpload": { + "enabled": false + }, + "FindReply": { + "enabled": false + }, + "FixFileExtensions": { + "enabled": false + }, + "FollowVoiceUser": { + "enabled": false + }, + "FontLoader": { + "enabled": false + }, + "FrequentQuickSwitcher": { + "enabled": false + }, + "FriendCodes": { + "enabled": false + }, + "FriendTags": { + "enabled": false + }, + "FriendshipRanks": { + "enabled": false + }, + "FullVCPFP": { + "enabled": false + }, + "Ghosted": { + "enabled": false + }, + "GifCollections": { + "enabled": false + }, + "GifMaker": { + "enabled": false + }, + "GitHubRepos": { + "enabled": false + }, + "GlobalBadges": { + "enabled": false + }, + "GoogleThat": { + "enabled": false + }, + "GuildPickerDumper": { + "enabled": false + }, + "HideChatButtons": { + "enabled": false + }, + "HideMessages": { + "enabled": false + }, + "HideServers": { + "enabled": false + }, + "HomeTyping": { + "enabled": false + }, + "HopOn": { + "enabled": false + }, + "Husk": { + "enabled": false + }, + "IRememberYou": { + "enabled": false + }, + "IconViewer": { + "enabled": false + }, + "IdleAutoRestart": { + "enabled": false + }, + "IgnoreCalls": { + "enabled": false + }, + "InRole": { + "enabled": false + }, + "Ingtoninator": { + "enabled": false + }, + "InstantScreenshare": { + "enabled": false + }, + "InvisibleChat": { + "enabled": false + }, + "InviteDefaults": { + "enabled": false + }, + "JumpTo": { + "enabled": false + }, + "KeyboardNavigation": { + "enabled": false + }, + "KeyboardSounds": { + "enabled": false + }, + "KeywordNotify": { + "enabled": false + }, + "LastActive": { + "enabled": false + }, + "LimitlessScreenshare": { + "enabled": false + }, + "LoginWithQR": { + "enabled": false + }, + "MarkdownTables": { + "enabled": false + }, + "MediaPlaybackSpeed": { + "enabled": false + }, + "MessageBurst": { + "enabled": false + }, + "MessageColors": { + "enabled": false + }, + "MessageFetchTimer": { + "enabled": false + }, + "MessageLinkTooltip": { + "enabled": false + }, + "MessageLoggerEnhanced": { + "enabled": false + }, + "MessageNotifier": { + "enabled": false + }, + "MessagePeek": { + "enabled": false + }, + "MessageTranslate": { + "enabled": false + }, + "MicLoopbackTester": { + "enabled": false + }, + "MiddleClickTweaks": { + "enabled": false + }, + "MoreCommands": { + "enabled": false + }, + "MoreStickers": { + "enabled": false + }, + "MoreUserTags": { + "enabled": false + }, + "Moyai": { + "enabled": false + }, + "MusicControls": { + "enabled": false + }, + "NeverPausePreviews": { + "enabled": false + }, + "NoNitroUpsell": { + "enabled": false + }, + "NoPushToTalk": { + "enabled": false + }, + "NoRoleHeaders": { + "enabled": false + }, + "NormalizeMessageLinks": { + "enabled": false + }, + "OrbolayBridge": { + "enabled": false + }, + "PartyMode": { + "enabled": false + }, + "CancelFriendRequest": { + "enabled": false + }, + "PinIcon": { + "enabled": false + }, + "PingNotifications": { + "enabled": false + }, + "PlatformSpoofer": { + "enabled": false + }, + "PolishWording": { + "enabled": false + }, + "ProfileSets": { + "enabled": false + }, + "Questify": { + "enabled": false, + "migrationVersion": 1 + }, + "Quoter": { + "enabled": false + }, + "RandomVoice": { + "enabled": false + }, + "RecentDMSwitcher": { + "enabled": false + }, + "RemixRevived": { + "enabled": false + }, + "RepeatMessages": { + "enabled": false + }, + "ReplyPingControl": { + "enabled": false + }, + "RichMagnetLinks": { + "enabled": false + }, + "RichPresence": { + "enabled": false + }, + "RPCEditor": { + "enabled": false + }, + "SaveFavoriteGIFs": { + "enabled": false + }, + "ScheduledMessages": { + "enabled": false + }, + "ScreenRecorder": { + "enabled": false + }, + "SearchFix": { + "enabled": false + }, + "SedEnhanced": { + "enabled": false + }, + "SekaiStickers": { + "enabled": false + }, + "ServerSearch": { + "enabled": false + }, + "ShowBadgesInChat": { + "enabled": false + }, + "ShowMessageEmbeds": { + "enabled": false + }, + "ShowResourceChannels": { + "enabled": false + }, + "ShowSongName": { + "enabled": false + }, + "Signature": { + "enabled": false + }, + "SilenceUsers": { + "enabled": false + }, + "Snowfall": { + "enabled": false + }, + "Soggy": { + "enabled": false + }, + "SongLink": { + "enabled": false + }, + "SongSpotlight": { + "enabled": false + }, + "SplitLargeMessages": { + "enabled": false + }, + "SpotifyActivityToggle": { + "enabled": false + }, + "StatusPresets": { + "enabled": false + }, + "StatusWhileActive": { + "enabled": false + }, + "SteamStatusSync": { + "enabled": false + }, + "StickerBlocker": { + "enabled": false + }, + "StopAutoUnread": { + "enabled": false + }, + "Streaks": { + "enabled": false + }, + "StreamingCodecDisabler": { + "enabled": false + }, + "TalkInReverse": { + "enabled": false + }, + "ThemeLibrary": { + "enabled": false + }, + "TidalEmbeds": { + "enabled": false + }, + "TiktokTTS": { + "enabled": false + }, + "Timezones": { + "enabled": false + }, + "Title": { + "enabled": false + }, + "ToastNotifications": { + "enabled": false + }, + "ToggleVideoBind": { + "enabled": false + }, + "ToneIndicators": { + "enabled": false + }, + "Translate+": { + "enabled": false + }, + "TriviaAI": { + "enabled": false + }, + "UnitConverter": { + "enabled": false + }, + "UniversalMention": { + "enabled": false + }, + "UnlimitedAccounts": { + "enabled": false + }, + "UnreadCountBadge": { + "enabled": false + }, + "UrlHighlighter": { + "enabled": false + }, + "UserPFP": { + "enabled": false + }, + "VcNarratorCustom": { + "enabled": false + }, + "VCPanelSettings": { + "enabled": false + }, + "VoiceButtons": { + "enabled": false + }, + "VoiceChannelLog": { + "enabled": false + }, + "VoiceChatUtilities": { + "enabled": false + }, + "VoiceJoinMessages": { + "enabled": false + }, + "VoiceMessageTranscriber": { + "enabled": false + }, + "VoiceRejoin": { + "enabled": false + }, + "VoiceStats": { + "enabled": false + }, + "WaitForSlot": { + "enabled": false + }, + "WebpackTarball": { + "enabled": false + }, + "WhitelistedEmojis": { + "enabled": false + }, + "WhosWatching": { + "enabled": false + }, + "WigglyText": { + "enabled": false + }, + "WriteUpperCase": { + "enabled": false + }, + "ZipPreview": { + "enabled": false + }, + "ConcatenatedComponentExtractor": { + "enabled": true + }, + "DisableDeepLinks": { + "enabled": true + }, + "SupportHelper": { + "enabled": true + }, + "WebContextMenus": { + "enabled": true + } + }, + "useQuickCss": true, + "autoUpdateNotification": true, + "themeLinks": [], + "eagerPatches": false, + "enabledThemes": [], + "pinnedThemes": [], + "themeNames": {}, + "themeActivationModes": {}, + "enableReactDevtools": false, + "mainWindowFrameless": false, + "frameless": false, + "transparent": false, + "winCtrlQ": false, + "windowsMaterial": "none", + "disableMinSize": false, + "winNativeTitleBar": false, + "uiElements": { + "chatBarButtons": {}, + "messagePopoverButtons": {} + }, + "notifications": { + "timeout": 5000, + "position": "bottom-right", + "useNative": "not-focused", + "missed": true, + "logLimit": 50 + }, + "ignoreResetWarning": false, + "userCssVars": {} +} \ No newline at end of file diff --git a/assets/dotfiles/equibop-config/quickCss.css b/assets/dotfiles/equibop-config/quickCss.css new file mode 100644 index 0000000..744cb21 --- /dev/null +++ b/assets/dotfiles/equibop-config/quickCss.css @@ -0,0 +1,12 @@ +/* color options */ +:root { + --colors: on; /* off: discord default colors, on: midnight custom colors */ + + /* text colors */ + --text-0: var(--bg-4); /* text on colored elements */ + --text-1: hsl(220, 45%, 95%); /* other normally white text */ + --text-2: hsl(220, 25%, 75%); /* headings and important text */ + --text-3: hsl(220, 20%, 65%); /* normal text */ + --text-4: hsl(220, 15%, 55%); /* icon buttons and channels */ + --text-5: hsl(220, 15%, 45%); /* muted channels/chats and timestamps */ +}; diff --git a/assets/dotfiles/equibop-config/settings.json b/assets/dotfiles/equibop-config/settings.json new file mode 100644 index 0000000..776ad2d --- /dev/null +++ b/assets/dotfiles/equibop-config/settings.json @@ -0,0 +1,16 @@ +{ + "appBadge": true, + "arRPC": false, + "autoStartMinimized": false, + "customTitleBar": true, + "discordBranch": "stable", + "enableMenu": false, + "enableSplashScreen": true, + "hardwareAcceleration": true, + "minimizeToTray": true, + "tray": true, + "splashColor": "rgb(133, 146, 173)", + "splashBackground": "rgb(22, 24, 29)", + "hardwareVideoAcceleration": true, + "clickTrayToShowHide": true +} \ No newline at end of file diff --git a/assets/OxygenDarkEdit.colors b/assets/dotfiles/takamaki/OxygenDarkEdit.colors old mode 100755 new mode 100644 similarity index 88% rename from assets/OxygenDarkEdit.colors rename to assets/dotfiles/takamaki/OxygenDarkEdit.colors index 2ef1191..b9e8699 --- a/assets/OxygenDarkEdit.colors +++ b/assets/dotfiles/takamaki/OxygenDarkEdit.colors @@ -21,8 +21,8 @@ IntensityEffect=0 [Colors:Button] BackgroundAlternate=50,49,48 BackgroundNormal=57,53,50 -DecorationFocus=255,217,190 -DecorationHover=255,229,208 +DecorationFocus=60,158,211 +DecorationHover=60,158,211 ForegroundActive=146,76,157 ForegroundInactive=137,136,135 ForegroundLink=0,87,174 @@ -49,8 +49,8 @@ ForegroundVisited=150,111,232 [Colors:Selection] BackgroundAlternate=62,138,204 BackgroundNormal=60,158,211 -DecorationFocus=240,213,194 -DecorationHover=255,229,208 +DecorationFocus=60,158,211 +DecorationHover=60,158,211 ForegroundActive=108,36,119 ForegroundInactive=58,52,47 ForegroundLink=0,49,110 @@ -63,8 +63,8 @@ ForegroundVisited=69,40,134 [Colors:Tooltip] BackgroundAlternate=49,45,38 BackgroundNormal=24,21,19 -DecorationFocus=240,213,194 -DecorationHover=255,229,208 +DecorationFocus=60,158,211 +DecorationHover=60,158,211 ForegroundActive=255,128,224 ForegroundInactive=137,136,135 ForegroundLink=88,172,255 @@ -77,8 +77,8 @@ ForegroundVisited=150,111,232 [Colors:View] BackgroundAlternate=33,31,30 BackgroundNormal=30,29,29 -DecorationFocus=240,213,194 -DecorationHover=255,229,208 +DecorationFocus=60,158,211 +DecorationHover=60,158,211 ForegroundActive=146,76,157 ForegroundInactive=137,136,135 ForegroundLink=0,87,174 @@ -91,8 +91,8 @@ ForegroundVisited=100,74,155 [Colors:Window] BackgroundAlternate=31,31,31 BackgroundNormal=38,36,35 -DecorationFocus=240,213,194 -DecorationHover=255,229,208 +DecorationFocus=60,158,211 +DecorationHover=60,158,211 ForegroundActive=146,76,157 ForegroundInactive=137,136,135 ForegroundLink=0,87,174 @@ -104,6 +104,7 @@ ForegroundVisited=100,74,155 [General] Name=Oxygen Dark edit +TitlebarIsAccentColored=false shadeSortColumn=true [KDE] @@ -114,4 +115,5 @@ activeBackground=56,51,49 activeBlend=0,0,0 activeForeground=59,57,55 inactiveBackground=24,23,23 +inactiveBlend=60,158,211 inactiveForeground=218,206,195 diff --git a/assets/dotfiles/takamaki/autostart-config/equibop.desktop b/assets/dotfiles/takamaki/autostart-config/equibop.desktop new file mode 100644 index 0000000..d3c64b0 --- /dev/null +++ b/assets/dotfiles/takamaki/autostart-config/equibop.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Categories=Network;InstantMessaging;Chat +Exec=equibop %U +GenericName=Internet Messenger +Icon=equibop +Keywords=discord;equibop;electron;chat +Name=Equibop +StartupWMClass=Equibop +Type=Application +Version=1.5 diff --git a/assets/dotfiles/takamaki/autostart-config/steam.desktop b/assets/dotfiles/takamaki/autostart-config/steam.desktop new file mode 100644 index 0000000..80c4ed7 --- /dev/null +++ b/assets/dotfiles/takamaki/autostart-config/steam.desktop @@ -0,0 +1,48 @@ +[Desktop Entry] +Actions=Store;Community;Library;Servers;Screenshots;News;Settings;BigPicture;Friends; +Categories=Network;FileTransfer;Game; +Comment=Application for managing and playing games on Steam +Exec=steam %U +Icon=steam +MimeType=x-scheme-handler/steam;x-scheme-handler/steamlink; +Name=Steam +PrefersNonDefaultGPU=true +Terminal=false +Type=Application +X-KDE-RunOnDiscreteGpu=true + +[Desktop Action BigPicture] +Exec=steam steam://open/bigpicture +Name=Big Picture + +[Desktop Action Community] +Exec=steam steam://url/CommunityHome/ +Name=Community + +[Desktop Action Friends] +Exec=steam steam://open/friends +Name=Friends + +[Desktop Action Library] +Exec=steam steam://open/games +Name=Library + +[Desktop Action News] +Exec=steam steam://openurl/https://store.steampowered.com/news +Name=News + +[Desktop Action Screenshots] +Exec=steam steam://open/screenshots +Name=Screenshots + +[Desktop Action Servers] +Exec=steam steam://open/servers +Name=Servers + +[Desktop Action Settings] +Exec=steam steam://open/settings +Name=Settings + +[Desktop Action Store] +Exec=steam steam://store +Name=Store diff --git a/assets/dotfiles/takamaki/easyeffects-config/deepfilternetrc b/assets/dotfiles/takamaki/easyeffects-config/deepfilternetrc new file mode 100644 index 0000000..d4b0e0f --- /dev/null +++ b/assets/dotfiles/takamaki/easyeffects-config/deepfilternetrc @@ -0,0 +1,7 @@ +[sie][DeepFilterNet#0] +attenuationLimit=30 +maxDfProcessingThreshold=5 +maxErbProcessingThreshold=0 +minProcessingBuffer=5 +minProcessingThreshold=-5 +postFilterBeta=0.029999999329447746 diff --git a/assets/dotfiles/takamaki/easyeffects-config/deesserrc b/assets/dotfiles/takamaki/easyeffects-config/deesserrc new file mode 100644 index 0000000..7a89c74 --- /dev/null +++ b/assets/dotfiles/takamaki/easyeffects-config/deesserrc @@ -0,0 +1,2 @@ +[sie][Deesser#0] +outputGain=25 diff --git a/assets/dotfiles/takamaki/easyeffects-config/easyeffectsrc b/assets/dotfiles/takamaki/easyeffects-config/easyeffectsrc new file mode 100644 index 0000000..81d3148 --- /dev/null +++ b/assets/dotfiles/takamaki/easyeffects-config/easyeffectsrc @@ -0,0 +1,23 @@ +[EffectsPipelines] +ignoreSystemNotifications=false + +[StreamInputs] +inputDevice=alsa_input.usb-Focusrite_Scarlett_2i2_USB_Y8PK1YT167E441-00.HiFi__Mic1__source +mostUsedPresets=mic-filtering +plugins=deesser#0,equalizer#0,equalizer#1,limiter#0 +usedPresets=mic-filtering:96 +visiblePage=pluginsPage +visiblePlugin=deesser#0 + +[StreamOutputs] +outputDevice=alsa_output.usb-Focusrite_Scarlett_2i2_USB_Y8PK1YT167E441-00.HiFi__Line__sink +plugins=equalizer#0 +visiblePage=pluginsPage +visiblePlugin=equalizer#0 + +[Window] +autostartOnLogin=true +height=996 +showTrayIcon=false +visiblePage=inputPage +width=1912 diff --git a/assets/dotfiles/takamaki/easyeffects-config/equalizerrc b/assets/dotfiles/takamaki/easyeffects-config/equalizerrc new file mode 100644 index 0000000..2d50229 --- /dev/null +++ b/assets/dotfiles/takamaki/easyeffects-config/equalizerrc @@ -0,0 +1,289 @@ +[sie][Equalizer#0] +inputGain=-0.1 +numBands=16 + +[sie][Equalizer#0#left] +band0Frequency=125 +band0Gain=9.73 +band0Q=1 +band0Type=0 +band10Frequency=550 +band10Gain=-7.98 +band11Frequency=571.057 +band11Type=0 +band12Frequency=900 +band12Gain=-12.45 +band12Q=3 +band13Frequency=2500 +band13Gain=-2.72 +band14Frequency=3000 +band14Gain=-5.98 +band14Q=2 +band15Frequency=4000 +band15Gain=-2.53 +band15Q=1 +band15Type=3 +band16Type=0 +band17Type=0 +band18Type=0 +band19Type=0 +band1Frequency=126 +band1Type=0 +band20Type=0 +band21Type=0 +band22Type=0 +band23Type=0 +band24Type=0 +band25Type=0 +band26Type=0 +band27Type=0 +band28Type=0 +band29Type=0 +band2Frequency=150 +band2Gain=-36 +band2Q=1.5 +band2Slope=1 +band2Type=5 +band30Type=0 +band31Type=0 +band3Frequency=156.38 +band3Type=0 +band4Frequency=175 +band4Gain=8.37 +band4Q=2 +band5Frequency=194.06 +band5Type=0 +band6Frequency=240.81 +band6Type=0 +band7Frequency=250 +band7Gain=-18.49 +band7Q=2 +band8Frequency=298.834 +band8Type=0 +band9Frequency=370.834 +band9Type=0 + +[sie][Equalizer#0#right] +band0Frequency=125 +band0Gain=9.73 +band0Q=1 +band0Type=0 +band10Frequency=550 +band10Gain=-7.98 +band11Frequency=571.057 +band11Type=0 +band12Frequency=900 +band12Gain=-12.45 +band12Q=3 +band13Frequency=2500 +band13Gain=-2.72 +band14Frequency=3000 +band14Gain=-5.98 +band14Q=2 +band15Frequency=4000 +band15Gain=-2.53 +band15Q=1 +band15Type=3 +band16Type=0 +band17Type=0 +band18Type=0 +band19Type=0 +band1Frequency=126 +band1Type=0 +band20Type=0 +band21Type=0 +band22Type=0 +band23Type=0 +band24Type=0 +band25Type=0 +band26Type=0 +band27Type=0 +band28Type=0 +band29Type=0 +band2Frequency=150 +band2Gain=-36 +band2Q=1.5 +band2Slope=1 +band2Type=5 +band30Type=0 +band31Type=0 +band3Frequency=156.38 +band3Type=0 +band4Frequency=175 +band4Gain=8.37 +band4Q=2 +band5Frequency=194.06 +band5Type=0 +band6Frequency=240.81 +band6Type=0 +band7Frequency=250 +band7Gain=-18.49 +band7Q=2 +band8Frequency=298.834 +band8Type=0 +band9Frequency=370.834 +band9Type=0 + +[sie][Equalizer#1] +outputGain=5 + +[sie][Equalizer#1#left] +band12Frequency=600 +band12Gain=-6.62 +band12Q=1.5 +band13Frequency=1500 +band13Gain=-8.37 +band13Q=2 +band7Frequency=125 +band7Q=1 +band7Slope=2 +band7Type=2 +band8Gain=-7.2 +band8Q=1 + +[sie][Equalizer#1#right] +band12Frequency=600 +band12Gain=-6.62 +band12Q=1.5 +band13Frequency=1500 +band13Gain=-8.37 +band13Q=2 +band7Frequency=125 +band7Q=1 +band7Slope=2 +band7Type=2 +band8Gain=-7.2 +band8Q=1 + +[soe][Equalizer#0] +numBands=10 + +[soe][Equalizer#0#left] +band0Frequency=35 +band0Gain=-8.199999809265137 +band0Mode=6 +band0Q=0.5 +band10Type=0 +band11Type=0 +band12Type=0 +band13Type=0 +band14Type=0 +band15Type=0 +band16Type=0 +band17Type=0 +band18Type=0 +band19Type=0 +band1Frequency=105 +band1Gain=5.5 +band1Mode=6 +band1Q=0.6666666865348816 +band1Type=5 +band20Type=0 +band21Type=0 +band22Type=0 +band23Type=0 +band24Type=0 +band25Type=0 +band26Type=0 +band27Type=0 +band28Type=0 +band29Type=0 +band2Frequency=130 +band2Gain=-6.300000190734863 +band2Mode=6 +band2Q=1.399999976158142 +band30Type=0 +band31Type=0 +band3Frequency=195 +band3Gain=-2.799999952316284 +band3Mode=6 +band3Q=2.200000047683716 +band4Frequency=360 +band4Gain=4 +band4Mode=6 +band4Q=3 +band5Frequency=820 +band5Gain=3.200000047683716 +band5Mode=6 +band5Q=3 +band6Frequency=950 +band6Gain=-2.799999952316284 +band6Mode=6 +band6Q=2.5 +band7Frequency=2400 +band7Gain=13.5 +band7Mode=6 +band7Q=0.8999999761581421 +band8Frequency=4250 +band8Gain=-5 +band8Mode=6 +band8Q=4 +band9Frequency=6650 +band9Gain=-6.699999809265137 +band9Mode=6 +band9Q=4 + +[soe][Equalizer#0#right] +band0Frequency=35 +band0Gain=-8.199999809265137 +band0Mode=6 +band0Q=0.5 +band10Type=0 +band11Type=0 +band12Type=0 +band13Type=0 +band14Type=0 +band15Type=0 +band16Type=0 +band17Type=0 +band18Type=0 +band19Type=0 +band1Frequency=105 +band1Gain=5.5 +band1Mode=6 +band1Q=0.6666666865348816 +band1Type=5 +band20Type=0 +band21Type=0 +band22Type=0 +band23Type=0 +band24Type=0 +band25Type=0 +band26Type=0 +band27Type=0 +band28Type=0 +band29Type=0 +band2Frequency=130 +band2Gain=-6.300000190734863 +band2Mode=6 +band2Q=1.399999976158142 +band30Type=0 +band31Type=0 +band3Frequency=195 +band3Gain=-2.799999952316284 +band3Mode=6 +band3Q=2.200000047683716 +band4Frequency=360 +band4Gain=4 +band4Mode=6 +band4Q=3 +band5Frequency=820 +band5Gain=3.200000047683716 +band5Mode=6 +band5Q=3 +band6Frequency=950 +band6Gain=-2.799999952316284 +band6Mode=6 +band6Q=2.5 +band7Frequency=2400 +band7Gain=13.5 +band7Mode=6 +band7Q=0.8999999761581421 +band8Frequency=4250 +band8Gain=-5 +band8Mode=6 +band8Q=4 +band9Frequency=6650 +band9Gain=-6.699999809265137 +band9Mode=6 +band9Q=4 diff --git a/assets/dotfiles/takamaki/easyeffects-config/gaterc b/assets/dotfiles/takamaki/easyeffects-config/gaterc new file mode 100644 index 0000000..d19a32c --- /dev/null +++ b/assets/dotfiles/takamaki/easyeffects-config/gaterc @@ -0,0 +1,22 @@ +[sie][Gate#0] +attack=0 +curveThreshold=-50 +curveZone=-8 +hpfFrequency=300 +hysteresisThreshold=-18 +hysteresisZone=-5 +lpfFrequency=2500 +outputGain=5 +reduction=-30 +release=150 +sidechainLookahead=1.0000000000000007 +sidechainMode=1 +sidechainReactivity=5 + +[sie][Gate#1] +attack=0 +curveThreshold=-36 +curveZone=-5 +reduction=-72 +release=200 +sidechainMode=1 diff --git a/assets/dotfiles/takamaki/easyeffects-config/limiterrc b/assets/dotfiles/takamaki/easyeffects-config/limiterrc new file mode 100644 index 0000000..7a4745f --- /dev/null +++ b/assets/dotfiles/takamaki/easyeffects-config/limiterrc @@ -0,0 +1,6 @@ +[sie][Limiter#0] +alrKnee=-0.5 +alrRelease=30 +attack=2 +lookahead=2 +release=4 diff --git a/assets/dotfiles/takamaki/kde-config/dolphinrc b/assets/dotfiles/takamaki/kde-config/dolphinrc new file mode 100644 index 0000000..889a9a1 --- /dev/null +++ b/assets/dotfiles/takamaki/kde-config/dolphinrc @@ -0,0 +1,26 @@ +MenuBar=Disabled + +[DetailsMode] +PreviewSize=32 + +[ExtractDialog] +2 screens: Height=480 +2 screens: Width=892 +DirHistory[$e]=$HOME/.local/share/Steam/steamapps/common/NieRAutomata + +[General] +Version=202 +ViewPropsTimestamp=2026,6,2,0,33,58.909 + +[KFileDialog Settings] +Places Icons Auto-resize=false +Places Icons Static Size=22 + +[MainWindow] +MenuBar=Disabled + +[Notification Messages] +warnAboutRisksBeforeActingAsAdmin=false + +[Search] +What=FileContents diff --git a/assets/dotfiles/takamaki/kde-config/katerc b/assets/dotfiles/takamaki/kde-config/katerc new file mode 100644 index 0000000..1673b42 --- /dev/null +++ b/assets/dotfiles/takamaki/kde-config/katerc @@ -0,0 +1,38 @@ +[General] +Days Meta Infos=30 +PinnedDocuments= +Save Meta Infos=true +Show Full Path in Title=false +Show Menu Bar=true +Show Status Bar=true +Show Tab Bar=true +Show Url Nav Bar=true + +[KTextEditor Renderer] +Animate Bracket Matching=false +Auto Color Theme Selection=true +Color Theme=Breeze Dark +Line Height Multiplier=1 +Show Indentation Lines=false +Show Whole Bracket Expression=false +Text Font=monospace,9,-1,2,400,0,0,0,0,0,0,0,0,0,0,1,,0,0 +Text Font Features= +Word Wrap Marker=false + +[MainWindow] +1536x864 screen: XPosition=479 +1536x864 screen: YPosition=237 +2 screens: Height=865 +2 screens: Width=640 +eDP-1=eDP-1 + +[filetree] +editShade=30,78,103 +listMode=false +middleClickToClose=false +shadingEnabled=true +showCloseButton=false +showFullPathOnRoots=false +showToolbar=true +sortRole=0 +viewShade=77,46,91 diff --git a/assets/dotfiles/takamaki/kde-config/kdeglobals b/assets/dotfiles/takamaki/kde-config/kdeglobals new file mode 100644 index 0000000..3490b77 --- /dev/null +++ b/assets/dotfiles/takamaki/kde-config/kdeglobals @@ -0,0 +1,157 @@ +[ColorEffects:Disabled] +ChangeSelectionColor= +Color=56,56,56 +ColorAmount=0 +ColorEffect=0 +ContrastAmount=0.65 +ContrastEffect=1 +Enable= +IntensityAmount=0.1 +IntensityEffect=2 + +[ColorEffects:Inactive] +ChangeSelectionColor=true +Color=112,111,110 +ColorAmount=-0.9 +ColorEffect=1 +ContrastAmount=0.25 +ContrastEffect=2 +Enable=true +IntensityAmount=0 +IntensityEffect=0 + +[Colors:Button] +BackgroundAlternate=59,126,162 +BackgroundNormal=57,53,50 +DecorationFocus=60,158,211 +DecorationHover=60,158,211 +ForegroundActive=60,158,211 +ForegroundInactive=137,136,135 +ForegroundLink=173,215,249 +ForegroundNegative=191,3,3 +ForegroundNeutral=176,128,0 +ForegroundNormal=255,234,225 +ForegroundPositive=0,110,40 +ForegroundVisited=100,74,155 + +[Colors:Complementary] +BackgroundAlternate=61,55,53 +BackgroundNormal=24,21,19 +DecorationFocus=60,158,211 +DecorationHover=60,158,211 +ForegroundActive=60,158,211 +ForegroundInactive=137,136,135 +ForegroundLink=60,158,211 +ForegroundNegative=191,3,3 +ForegroundNeutral=176,128,0 +ForegroundNormal=231,253,255 +ForegroundPositive=0,110,40 +ForegroundVisited=150,111,232 + +[Colors:Selection] +BackgroundAlternate=51,119,156 +BackgroundNormal=51,119,156 +DecorationFocus=60,158,211 +DecorationHover=60,158,211 +ForegroundActive=60,158,211 +ForegroundInactive=255,255,255 +ForegroundLink=44,115,154 +ForegroundNegative=156,14,14 +ForegroundNeutral=255,221,0 +ForegroundNormal=255,255,255 +ForegroundPositive=128,255,128 +ForegroundVisited=69,40,134 + +[Colors:Tooltip] +BackgroundAlternate=49,45,38 +BackgroundNormal=24,21,19 +DecorationFocus=60,158,211 +DecorationHover=60,158,211 +ForegroundActive=60,158,211 +ForegroundInactive=137,136,135 +ForegroundLink=60,158,211 +ForegroundNegative=191,3,3 +ForegroundNeutral=176,128,0 +ForegroundNormal=255,242,228 +ForegroundPositive=0,110,40 +ForegroundVisited=150,111,232 + +[Colors:View] +BackgroundAlternate=33,31,30 +BackgroundNormal=30,29,29 +DecorationFocus=60,158,211 +DecorationHover=60,158,211 +ForegroundActive=60,158,211 +ForegroundInactive=137,136,135 +ForegroundLink=60,158,211 +ForegroundNegative=191,3,3 +ForegroundNeutral=176,128,0 +ForegroundNormal=255,230,222 +ForegroundPositive=0,110,40 +ForegroundVisited=100,74,155 + +[Colors:Window] +BackgroundAlternate=31,31,31 +BackgroundNormal=38,36,35 +DecorationFocus=60,158,211 +DecorationHover=60,158,211 +ForegroundActive=60,158,211 +ForegroundInactive=137,136,135 +ForegroundLink=60,158,211 +ForegroundNegative=191,3,3 +ForegroundNeutral=176,128,0 +ForegroundNormal=255,232,223 +ForegroundPositive=0,110,40 +ForegroundVisited=100,74,155 + +[General] +AccentColor=60,158,211 +ColorSchemeHash=82e93d78587406ec3d30434f190464b5f4e0076f +LastUsedCustomAccentColor=60,158,211 +TerminalApplication=kitty +TerminalService=kitty.desktop + +[Icons] +Theme=Papirus-Dark + +[KDE] +AnimationDurationFactor=0.25 +LookAndFeelPackage=org.kde.oxygen +contrast=7 +frameContrast=0.2 +widgetStyle=Oxygen + +[KFileDialog Settings] +Allow Expansion=false +Automatically select filename extension=true +Breadcrumb Navigation=true +Decoration position=2 +Show Full Path=false +Show Inline Previews=true +Show Preview=false +Show Speedbar=true +Show hidden files=true +Sort by=Date +Sort directories first=true +Sort hidden files last=false +Sort reversed=false +Speedbar Width=140 +View Style=DetailTree + +[KScreen] +ScreenScaleFactors=HDMI-A-2=1;DP-2=1; +XwaylandClientsScale=false + +[Shortcuts] +ShowHideHiddenFiles=Ctrl+H + +[Sounds] +Theme=oxygen + +[WM] +activeBackground=56,51,49 +activeBlend=0,0,0 +activeForeground=59,57,55 +inactiveBackground=24,23,23 +inactiveBlend=60,158,211 +inactiveForeground=218,206,195 diff --git a/assets/dotfiles/takamaki/kde-config/kglobalshortcutsrc b/assets/dotfiles/takamaki/kde-config/kglobalshortcutsrc new file mode 100644 index 0000000..81d14d3 --- /dev/null +++ b/assets/dotfiles/takamaki/kde-config/kglobalshortcutsrc @@ -0,0 +1,341 @@ +[ActivityManager] +_k_friendly_name=Activity Manager +switch-to-activity-108db269-52e5-42e2-a5c7-3311070945d8=none,none,Switch to activity "Default" +switch-to-activity-1fd490ea-8d81-443c-be53-7f8aa0d96c75=none,none,Switch to activity "Default" + +[KDE Keyboard Layout Switcher] +Switch to Last-Used Keyboard Layout=Meta+Alt+L,Meta+Alt+L,Switch to Last-Used Keyboard Layout +Switch to Next Keyboard Layout=Meta+Alt+K,Meta+Alt+K,Switch to Next Keyboard Layout +_k_friendly_name=Keyboard Layout Switcher + +[electron] +Toggle Mute=none,none,Toggle Mute +_k_friendly_name=electron + +[kaccess] +Toggle Screen Reader On and Off=Meta+Alt+S,Meta+Alt+S,Toggle Screen Reader On and Off +_k_friendly_name=Accessibility + +[kmix] +_k_friendly_name=Audio Volume +decrease_microphone_volume=Microphone Volume Down,Microphone Volume Down,Decrease Microphone Volume +decrease_volume=Volume Down,Volume Down,Decrease Volume +decrease_volume_small=Shift+Volume Down,Shift+Volume Down,Decrease Volume by 1% +increase_microphone_volume=Microphone Volume Up,Microphone Volume Up,Increase Microphone Volume +increase_volume=Volume Up,Volume Up,Increase Volume +increase_volume_small=Shift+Volume Up,Shift+Volume Up,Increase Volume by 1% +mic_mute=Microphone Mute\tMeta+Volume Mute,Microphone Mute\tMeta+Volume Mute,Mute Microphone +mute=Volume Mute,Volume Mute,Mute +push_to_talk=none,none,Push to talk + +[ksmserver] +Halt Without Confirmation=none,,Shut Down Without Confirmation +Lock Session=Screensaver\tMeta+L,Meta+L\tScreensaver,Lock Session +Log Out=Ctrl+Alt+Del,Ctrl+Alt+Del,Show Logout Screen +Log Out Without Confirmation=none,,Log Out Without Confirmation +LogOut=none,,Log Out +Reboot=none,,Reboot +Reboot Without Confirmation=none,,Reboot Without Confirmation +Shut Down=none,,Shut Down +_k_friendly_name=Session Management + +[kwin] +Activate Window Demanding Attention=Meta+Ctrl+A,Meta+Ctrl+A,Activate Window Demanding Attention +Cycle Overview=none,none,Cycle through Overview and Grid View +Cycle Overview Opposite=none,none,Cycle through Grid View and Overview +Decrease Opacity=none,,Decrease Opacity of Active Window by 5% +Edit Tiles=Meta+T,Meta+T,Toggle Tiles Editor +Expose=Ctrl+F9\tMeta+F9,Meta+F9\tCtrl+F9,Toggle Present Windows (Current desktop) +ExposeAll=Launch (C)\tCtrl+F10\tMeta+F10,Meta+F10\tLaunch (C)\tCtrl+F10,Toggle Present Windows (All desktops) +ExposeClass=Ctrl+F7\tMeta+F7,Meta+F7\tCtrl+F7,Toggle Present Windows (Window class) +ExposeClassCurrentDesktop=none,none,Toggle Present Windows (Window class on current desktop) +Grid View=Meta+G,Meta+G,Toggle Grid View +Increase Opacity=none,,Increase Opacity of Active Window by 5% +Kill Window=Meta+Ctrl+Esc,Meta+Ctrl+Esc,Kill Window +KrohnkiteBTreeLayout=none,none,Krohnkite: BTree Layout +KrohnkiteColumnsLayout=none,none,Krohnkite: Columns Layout +KrohnkiteDecrease=Meta+D,none,Krohnkite: Decrease +KrohnkiteFloatAll=Meta+Shift+F,none,Krohnkite: Toggle Float All +KrohnkiteFloatingLayout=none,none,Krohnkite: Floating Layout +KrohnkiteFocusDown=Meta+J,none,Krohnkite: Focus Down +KrohnkiteFocusLeft=Meta+H,none,Krohnkite: Focus Left +KrohnkiteFocusNext=Meta+.,none,Krohnkite: Focus Next +KrohnkiteFocusPrev=Meta+\\,,none,Krohnkite: Focus Previous +KrohnkiteFocusRight=,none,Krohnkite: Focus Right +KrohnkiteFocusUp=Meta+K,none,Krohnkite: Focus Up +KrohnkiteGrowHeight=Meta+Ctrl+J,none,Krohnkite: Grow Height +KrohnkiteIncrease=Meta+I,none,Krohnkite: Increase +KrohnkiteMonocleLayout=Meta+M,none,Krohnkite: Monocle Layout +KrohnkiteNextLayout=Meta+\\\\,none,Krohnkite: Next Layout +KrohnkitePreviousLayout=Meta+|,none,Krohnkite: Previous Layout +KrohnkiteQuarterLayout=none,none,Krohnkite: Quarter Layout +KrohnkiteRotate=Meta+R,none,Krohnkite: Rotate +KrohnkiteRotatePart=Meta+Shift+R,none,Krohnkite: Rotate Part +KrohnkiteSetMaster=none,none,Krohnkite: Set master +KrohnkiteShiftDown=Meta+Shift+J,none,Krohnkite: Move Down/Next +KrohnkiteShiftLeft=Meta+Shift+H,none,Krohnkite: Move Left +KrohnkiteShiftRight=Meta+Shift+L,none,Krohnkite: Move Right +KrohnkiteShiftUp=Meta+Shift+K,none,Krohnkite: Move Up/Prev +KrohnkiteShrinkHeight=Meta+Ctrl+K,none,Krohnkite: Shrink Height +KrohnkiteShrinkWidth=Meta+Ctrl+H,none,Krohnkite: Shrink Width +KrohnkiteSpiralLayout=none,none,Krohnkite: Spiral Layout +KrohnkiteSpreadLayout=none,none,Krohnkite: Spread Layout +KrohnkiteStackedLayout=none,none,Krohnkite: Stacked Layout +KrohnkiteStairLayout=none,none,Krohnkite: Stair Layout +KrohnkiteTileLayout=,none,Krohnkite: Tile Layout +KrohnkiteToggleFloat=Meta+F,none,Krohnkite: Toggle Float +KrohnkiteTreeColumnLayout=none,none,Krohnkite: Three Column Layout +KrohnkitegrowWidth=Meta+Ctrl+L,none,Krohnkite: Grow Width +KrohnkitetoggleDock=none,none,Krohnkite: Toggle Dock +Move Tablet to Next LogicalOutput=none,none,Move the tablet to the next output +MoveMouseToCenter=Meta+F6,Meta+F6,Move Mouse to Centre +MoveMouseToFocus=Meta+F5,Meta+F5,Move Mouse to Focus +MoveZoomDown=none,none,Move Zoomed Area Downwards +MoveZoomLeft=none,none,Move Zoomed Area to Left +MoveZoomRight=none,none,Move Zoomed Area to Right +MoveZoomUp=none,none,Move Zoomed Area Upwards +Overview=Meta+W,Meta+W,Toggle Overview +Setup Window Shortcut=none,,Setup Window Shortcut +Show Desktop=,Meta+D,Peek at Desktop +Switch One Desktop Down=Meta+Ctrl+Down,Meta+Ctrl+Down,Switch One Desktop Down +Switch One Desktop Up=Meta+Ctrl+Up,Meta+Ctrl+Up,Switch One Desktop Up +Switch One Desktop to the Left=Meta+Ctrl+Left,Meta+Ctrl+Left,Switch One Desktop to the Left +Switch One Desktop to the Right=Meta+Ctrl+Right,Meta+Ctrl+Right,Switch One Desktop to the Right +Switch Window Down=Meta+Alt+Down,Meta+Alt+Down,Switch to Window Below +Switch Window Left=Meta+Alt+Left,Meta+Alt+Left,Switch to Window to the Left +Switch Window Right=Meta+Alt+Right,Meta+Alt+Right,Switch to Window to the Right +Switch Window Up=Meta+Alt+Up,Meta+Alt+Up,Switch to Window Above +Switch to Desktop 1=Ctrl+F1\tMeta+F1,Meta+F1\tCtrl+F1,Switch to Desktop 1 +Switch to Desktop 10=none,,Switch to Desktop 10 +Switch to Desktop 11=none,,Switch to Desktop 11 +Switch to Desktop 12=none,,Switch to Desktop 12 +Switch to Desktop 13=none,,Switch to Desktop 13 +Switch to Desktop 14=none,,Switch to Desktop 14 +Switch to Desktop 15=none,,Switch to Desktop 15 +Switch to Desktop 16=none,,Switch to Desktop 16 +Switch to Desktop 17=none,,Switch to Desktop 17 +Switch to Desktop 18=none,,Switch to Desktop 18 +Switch to Desktop 19=none,,Switch to Desktop 19 +Switch to Desktop 2=Ctrl+F2\tMeta+F2,Meta+F2\tCtrl+F2,Switch to Desktop 2 +Switch to Desktop 20=none,,Switch to Desktop 20 +Switch to Desktop 21=none,,Switch to Desktop 21 +Switch to Desktop 22=none,,Switch to Desktop 22 +Switch to Desktop 23=none,,Switch to Desktop 23 +Switch to Desktop 24=none,,Switch to Desktop 24 +Switch to Desktop 25=none,,Switch to Desktop 25 +Switch to Desktop 3=Ctrl+F3\tMeta+F3,Meta+F3\tCtrl+F3,Switch to Desktop 3 +Switch to Desktop 4=Ctrl+F4\tMeta+F4,Meta+F4\tCtrl+F4,Switch to Desktop 4 +Switch to Desktop 5=none,,Switch to Desktop 5 +Switch to Desktop 6=none,,Switch to Desktop 6 +Switch to Desktop 7=none,,Switch to Desktop 7 +Switch to Desktop 8=none,,Switch to Desktop 8 +Switch to Desktop 9=none,,Switch to Desktop 9 +Switch to Next Desktop=none,,Switch to Next Desktop +Switch to Next Screen=none,,Switch to Next Screen +Switch to Previous Desktop=none,,Switch to Previous Desktop +Switch to Previous Screen=none,,Switch to Previous Screen +Switch to Screen 0=none,,Switch to Screen 0 +Switch to Screen 1=none,,Switch to Screen 1 +Switch to Screen 2=none,,Switch to Screen 2 +Switch to Screen 3=none,,Switch to Screen 3 +Switch to Screen 4=none,,Switch to Screen 4 +Switch to Screen 5=none,,Switch to Screen 5 +Switch to Screen 6=none,,Switch to Screen 6 +Switch to Screen 7=none,,Switch to Screen 7 +Switch to Screen Above=none,,Switch to Screen Above +Switch to Screen Below=none,,Switch to Screen Below +Switch to Screen to the Left=none,,Switch to Screen to the Left +Switch to Screen to the Right=none,,Switch to Screen to the Right +Toggle Night Color=none,none,Suspend/Resume Night Light +Toggle Window Raise/Lower=none,,Toggle Window Raise/Lower +Walk Through Windows=Alt+Tab\tMeta+Tab,Meta+Tab\tAlt+Tab,Walk Through Windows +Walk Through Windows (Reverse)=Alt+Shift+Tab\tMeta+Shift+Tab,Meta+Shift+Tab\tAlt+Shift+Tab,Walk Through Windows (Reverse) +Walk Through Windows Alternative=none,none,Walk Through Windows Alternative +Walk Through Windows Alternative (Reverse)=none,none,Walk Through Windows Alternative (Reverse) +Walk Through Windows of Current Application=Alt+`\tMeta+`,Meta+`\tAlt+`,Walk Through Windows of Current Application +Walk Through Windows of Current Application (Reverse)=Alt+~\tMeta+~,Meta+~\tAlt+~,Walk Through Windows of Current Application (Reverse) +Walk Through Windows of Current Application Alternative=none,none,Walk Through Windows of Current Application Alternative +Walk Through Windows of Current Application Alternative (Reverse)=none,none,Walk Through Windows of Current Application Alternative (Reverse) +Window Above Other Windows=none,,Keep Window Above Others +Window Below Other Windows=none,,Keep Window Below Others +Window Close=Alt+F4\tMeta+Q,Alt+F4,Close Window +Window Custom Quick Tile Bottom=none,,Custom Quick Tile Window to the Bottom +Window Custom Quick Tile Left=none,,Custom Quick Tile Window to the Left +Window Custom Quick Tile Right=none,,Custom Quick Tile Window to the Right +Window Custom Quick Tile Top=none,,Custom Quick Tile Window to the Top +Window Fullscreen=none,,Make Window Fullscreen +Window Grow Horizontal=none,,Expand Window Horizontally +Window Grow Vertical=none,,Expand Window Vertically +Window Lower=none,,Lower Window +Window Maximize=Meta+PgUp\tMeta+Shift+Up,Meta+PgUp,Maximise Window +Window Maximize Horizontal=none,,Maximise Window Horizontally +Window Maximize Vertical=none,,Maximise Window Vertically +Window Minimize=Meta+PgDown,Meta+PgDown,Minimise Window +Window Move=none,,Move Window +Window Move Center=none,,Move Window to the Centre +Window No Border=none,,Toggle Window Titlebar and Frame +Window On All Desktops=none,,Keep Window on All Desktops +Window One Desktop Down=Meta+Ctrl+Shift+Down,Meta+Ctrl+Shift+Down,Window One Desktop Down +Window One Desktop Up=Meta+Ctrl+Shift+Up,Meta+Ctrl+Shift+Up,Window One Desktop Up +Window One Desktop to the Left=Meta+Ctrl+Shift+Left,Meta+Ctrl+Shift+Left,Window One Desktop to the Left +Window One Desktop to the Right=Meta+Ctrl+Shift+Right,Meta+Ctrl+Shift+Right,Window One Desktop to the Right +Window One Screen Down=none,,Move Window One Screen Down +Window One Screen Up=none,,Move Window One Screen Up +Window One Screen to the Left=none,,Move Window One Screen to the Left +Window One Screen to the Right=none,,Move Window One Screen to the Right +Window Operations Menu=Alt+F3,Alt+F3,Window Menu +Window Pack Down=none,,Move Window Down +Window Pack Left=none,,Move Window Left +Window Pack Right=none,,Move Window Right +Window Pack Up=none,,Move Window Up +Window Quick Tile Bottom=Meta+Down,Meta+Down,Quick Tile Window to the Bottom +Window Quick Tile Bottom Left=none,,Quick Tile Window to the Bottom Left +Window Quick Tile Bottom Right=none,,Quick Tile Window to the Bottom Right +Window Quick Tile Left=Meta+Left,Meta+Left,Quick Tile Window to the Left +Window Quick Tile Right=Meta+Right,Meta+Right,Quick Tile Window to the Right +Window Quick Tile Top=Meta+Up,Meta+Up,Quick Tile Window to the Top +Window Quick Tile Top Left=none,,Quick Tile Window to the Top Left +Window Quick Tile Top Right=none,,Quick Tile Window to the Top Right +Window Raise=none,,Raise Window +Window Resize=none,,Resize Window +Window Restore=Meta+Backspace,Meta+Backspace,Restore Window +Window Shrink Horizontal=none,,Shrink Window Horizontally +Window Shrink Vertical=none,,Shrink Window Vertically +Window to Desktop 1=none,,Window to Desktop 1 +Window to Desktop 10=none,,Window to Desktop 10 +Window to Desktop 11=none,,Window to Desktop 11 +Window to Desktop 12=none,,Window to Desktop 12 +Window to Desktop 13=none,,Window to Desktop 13 +Window to Desktop 14=none,,Window to Desktop 14 +Window to Desktop 15=none,,Window to Desktop 15 +Window to Desktop 16=none,,Window to Desktop 16 +Window to Desktop 17=none,,Window to Desktop 17 +Window to Desktop 18=none,,Window to Desktop 18 +Window to Desktop 19=none,,Window to Desktop 19 +Window to Desktop 2=none,,Window to Desktop 2 +Window to Desktop 20=none,,Window to Desktop 20 +Window to Desktop 21=none,,Window to Desktop 21 +Window to Desktop 22=none,,Window to Desktop 22 +Window to Desktop 23=none,,Window to Desktop 23 +Window to Desktop 24=none,,Window to Desktop 24 +Window to Desktop 25=none,,Window to Desktop 25 +Window to Desktop 3=none,,Window to Desktop 3 +Window to Desktop 4=none,,Window to Desktop 4 +Window to Desktop 5=none,,Window to Desktop 5 +Window to Desktop 6=none,,Window to Desktop 6 +Window to Desktop 7=none,,Window to Desktop 7 +Window to Desktop 8=none,,Window to Desktop 8 +Window to Desktop 9=none,,Window to Desktop 9 +Window to Next Desktop=none,,Window to Next Desktop +Window to Next Screen=Meta+Shift+Right,Meta+Shift+Right,Move Window to Next Screen +Window to Previous Desktop=none,,Window to Previous Desktop +Window to Previous Screen=Meta+Shift+Left,Meta+Shift+Left,Move Window to Previous Screen +Window to Screen 0=none,,Move Window to Screen 0 +Window to Screen 1=none,,Move Window to Screen 1 +Window to Screen 2=none,,Move Window to Screen 2 +Window to Screen 3=none,,Move Window to Screen 3 +Window to Screen 4=none,,Move Window to Screen 4 +Window to Screen 5=none,,Move Window to Screen 5 +Window to Screen 6=none,,Move Window to Screen 6 +Window to Screen 7=none,,Move Window to Screen 7 +_k_friendly_name=KWin +disableInputCapture=Meta+Shift+Esc,Meta+Shift+Esc,Disable Active Input Capture +view_actual_size=Meta+0,Meta+0,Zoom to Actual Size +view_zoom_in=Meta++\tMeta+=,Meta++\tMeta+=,Zoom In +view_zoom_out=Meta+-,Meta+-,Zoom Out + +[mediacontrol] +_k_friendly_name=Media Controller +mediavolumedown=none,,Media volume down +mediavolumeup=none,,Media volume up +nextmedia=Media Next,Media Next,Media playback next +pausemedia=Media Pause,Media Pause,Pause media playback +playmedia=none,,Play media playback +playpausemedia=Media Play,Media Play,Play/Pause media playback +previousmedia=Media Previous,Media Previous,Media playback previous +seekbackwardmedia=Media Rewind,Media Rewind,Media playback seek backward 5s +seekbackwardmedialong=none,,Media playback seek backward 30s +seekforwardmedia=Media Fast Forward,Media Fast Forward,Media playback seek forward 5s +seekforwardmedialong=none,,Media playback seek forward 30s +stopmedia=Media Stop,Media Stop,Stop media playback + +[org_kde_powerdevil] +Decrease Keyboard Brightness=Keyboard Brightness Down,Keyboard Brightness Down,Decrease Keyboard Brightness +Decrease Screen Brightness=Monitor Brightness Down,Monitor Brightness Down,Decrease Screen Brightness +Decrease Screen Brightness Small=Shift+Monitor Brightness Down,Shift+Monitor Brightness Down,Decrease Screen Brightness by 1% +Hibernate=Hibernate,Hibernate,Hibernate +Increase Keyboard Brightness=Keyboard Brightness Up,Keyboard Brightness Up,Increase Keyboard Brightness +Increase Screen Brightness=Monitor Brightness Up,Monitor Brightness Up,Increase Screen Brightness +Increase Screen Brightness Small=Shift+Monitor Brightness Up,Shift+Monitor Brightness Up,Increase Screen Brightness by 1% +PowerDown=Power Down,Power Down,Power Down +PowerOff=Power Off,Power Off,Power Off +Sleep=Sleep,Sleep,Suspend +Toggle Keyboard Backlight=Keyboard Light On/Off,Keyboard Light On/Off,Toggle Keyboard Backlight +Turn Off Screen=none,none,Turn Off Screen +_k_friendly_name=Power Management +powerProfile=Battery,Battery\tMeta+B,Switch Power Profile + +[plasmashell] +Slideshow Wallpaper Next Image=none,,Next Wallpaper Image +_k_friendly_name=plasmashell +activate application launcher=Meta\tAlt+F1,Meta\tAlt+F1,Activate Application Launcher +activate task manager entry 1=Meta+1,Meta+1,Activate Task Manager Entry 1 +activate task manager entry 10=none,,Activate Task Manager Entry 10 +activate task manager entry 2=Meta+2,Meta+2,Activate Task Manager Entry 2 +activate task manager entry 3=Meta+3,Meta+3,Activate Task Manager Entry 3 +activate task manager entry 4=Meta+4,Meta+4,Activate Task Manager Entry 4 +activate task manager entry 5=Meta+5,Meta+5,Activate Task Manager Entry 5 +activate task manager entry 6=Meta+6,Meta+6,Activate Task Manager Entry 6 +activate task manager entry 7=Meta+7,Meta+7,Activate Task Manager Entry 7 +activate task manager entry 8=Meta+8,Meta+8,Activate Task Manager Entry 8 +activate task manager entry 9=Meta+9,Meta+9,Activate Task Manager Entry 9 +activate widget 122=none,none,Activate Panel Widget +activate widget 141=none,none,Activate Peek at Desktop Widget +activate widget 146=none,none,Activate Icons-Only Task Manager Widget +activate widget 173=none,none,Activate Margins Separator Widget +activate widget 176=none,none,Activate Application Menu Widget +activate widget 49=none,none,Activate Application Launcher Widget +clear history=none,none,Clear Notification History +clear-history=none,,Clear Clipboard History +clipboard_action=Meta+Ctrl+X,Meta+Ctrl+X,Automatic Action Popup Menu +cycle-panels=Meta+Alt+P,Meta+Alt+P,Move keyboard focus between panels +cycleNextAction=none,,Next History Item +cyclePrevAction=none,,Previous History Item +edit_clipboard=none,,Edit Contents… +manage activities=none,Meta+Q,Show Activity Switcher +next activity=none,none,Walk through activities +previous activity=Meta+Shift+A,none,Walk through activities (Reverse) +repeat_action=none,,Manually Invoke Action on Current Clipboard +show dashboard=Ctrl+F12,Ctrl+F12,Show Desktop +show-barcode=none,,Show Barcode… +show-on-mouse-pos=Meta+V,Meta+V,Show Clipboard Items at Mouse Position +switch to next activity=none,,Switch to Next Activity +switch to previous activity=none,,Switch to Previous Activity +toggle do not disturb=none,,Toggle do not disturb + +[services][kitty.desktop] +_launch=Meta+Return + +[services][net.local.easyeffects-toggle.sh.desktop] +_launch=Meta+A + +[services][net.local.kitty.desktop] +_launch=Meta+Z + +[services][org.kde.kcalc.desktop] +_launch=Meta+C\tCalculator + +[services][org.kde.plasma-systemmonitor.desktop] +_launch=Ctrl+Shift+Esc\tMeta+Esc + +[services][org.kde.plasma.emojier.desktop] +_launch=\tMeta+Ctrl+Alt+Shift+Space + +[services][org.kde.spectacle.desktop] +RecordRegion= + +[services][systemsettings.desktop] +_launch=Tools\t + +[services][zen.desktop] +_launch=Meta+B diff --git a/assets/dotfiles/takamaki/kde-config/krdpserverrc b/assets/dotfiles/takamaki/kde-config/krdpserverrc new file mode 100644 index 0000000..0c5d9ec --- /dev/null +++ b/assets/dotfiles/takamaki/kde-config/krdpserverrc @@ -0,0 +1,6 @@ +[General] +Autostart=true +Certificate=/home/grey/.local/share/krdpserver/krdp.crt +CertificateKey=/home/grey/.local/share/krdpserver/krdp.key +Quality=70 +SystemUserEnabled=true diff --git a/assets/dotfiles/takamaki/kde-config/kwinrc b/assets/dotfiles/takamaki/kde-config/kwinrc new file mode 100644 index 0000000..8f2a9b8 --- /dev/null +++ b/assets/dotfiles/takamaki/kde-config/kwinrc @@ -0,0 +1,76 @@ +[Desktops] +Id_1=f51562d0-8833-490a-9df6-e8107fc75510 +Number=1 +Rows=1 + +[EdgeBarrier] +CornerBarrier=false +EdgeBarrier=50 + +[Effect-magiclamp] +AnimationDuration=500 + +[Effect-overview] +BorderActivate=9 + +[NightColor] +Active=true +DayTemperature=5800 + +[Plugins] +fadeEnabled=true +krohnkiteEnabled=false +scaleEnabled=false +squashEnabled=false + +[Tiling][01ec3326-faee-4f93-8e88-5934c0a0d889][ec42d78e-fc5d-4742-b9be-d6b73380ae91] +padding=4 +tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]} + +[Tiling][f51562d0-8833-490a-9df6-e8107fc75510][] +padding=4 +tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]} + +[Tiling][f51562d0-8833-490a-9df6-e8107fc75510][13726998-524b-4883-a001-3e0e86211b47] +padding=4 +tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]} + +[Tiling][f51562d0-8833-490a-9df6-e8107fc75510][70a12cca-f0d3-4074-85b3-9c56fb34f544] +padding=4 +tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]} + +[Tiling][f51562d0-8833-490a-9df6-e8107fc75510][833841ba-e901-4427-b47e-b46061c3e4fb] +padding=4 +tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]} + +[Tiling][f51562d0-8833-490a-9df6-e8107fc75510][a21d69b5-0cba-4c17-909c-2433ca1f1037] +padding=4 +tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]} + +[Tiling][f51562d0-8833-490a-9df6-e8107fc75510][e75864b4-0a00-45ac-9283-01e974969966] +padding=4 +tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]} + +[Tiling][f51562d0-8833-490a-9df6-e8107fc75510][ebc44a85-dea6-453d-b744-c4b8630060d0] +padding=4 +tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]} + +[Tiling][f51562d0-8833-490a-9df6-e8107fc75510][ec42d78e-fc5d-4742-b9be-d6b73380ae91] +padding=4 +tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]} + +[Windows] +ElectricBorderCooldown=1000 +ElectricBorderDelay=25 + +[Windows_HDR] +MaxFrameAverage=0 +MaxLuminance=1050 +Reference=850 + +[Xwayland] +XwaylandEisNoPrompt=true + +[org.kde.kdecoration2] +library=org.kde.oxygen +theme=Oxygen diff --git a/assets/dotfiles/takamaki/kde-config/kwinrulesrc b/assets/dotfiles/takamaki/kde-config/kwinrulesrc new file mode 100644 index 0000000..629ac6d --- /dev/null +++ b/assets/dotfiles/takamaki/kde-config/kwinrulesrc @@ -0,0 +1,62 @@ +[6e269139-e147-4600-b813-603af2dfb7b6] +Description=Steam on main monitor +screenrule=2 +wmclass=steam +wmclassmatch=1 + +[8eb5f8f2-74fe-44ca-b70f-737f7fc77918] +Description=Discord on side monitor +position=0,0 +positionrule=2 +wmclass=electron equibop +wmclasscomplete=true +wmclassmatch=1 + +[General] +count=5 +rules=f8bb2828-13c9-44f8-ae9a-b6eb0ab033c6,8eb5f8f2-74fe-44ca-b70f-737f7fc77918,d31dce8f-27d7-4587-ae37-1b4c78320f15,be9eaf4f-eb1a-499f-93de-540ab90d04a0,6e269139-e147-4600-b813-603af2dfb7b6 + +[be9eaf4f-eb1a-499f-93de-540ab90d04a0] +Description=Gamescope on main monitor +screenrule=2 +wmclass=gamescope +wmclassmatch=1 + +[d0c43080-e395-40e9-93fa-c0a5fc99c0ef] +position=1920,0 +positionrule=3 + +[d31dce8f-27d7-4587-ae37-1b4c78320f15] +Description=Zen starts on main monitor +screenrule=3 +title=Zen Browser +titlematch=1 +wmclass=zen +wmclassmatch=1 + +[eab1a47a-379b-478e-ae03-1de07b20b506] +Description=Application settings for equibop +maximizehoriz=true +maximizehorizrule=3 +maximizevert=true +maximizevertrule=3 +position=1920,0 +positionrule=3 +types=1 +wmclass=electron equibop +wmclasscomplete=true +wmclassmatch=1 + +[f2c7d81c-5962-4e8d-bccc-c9ef72f6a430] +position=1080,246 +positionrule=2 + +[f8bb2828-13c9-44f8-ae9a-b6eb0ab033c6] +Description=Window settings for com.hypixel.HytaleLauncher +noborder=true +noborderrule=3 +title=Hytale Launcher +types=1 +wmclass=hytale-launcher com.hypixel.HytaleLauncher +wmclasscomplete=true +wmclassmatch=1 diff --git a/assets/dotfiles/takamaki/kde-config/oxygenrc b/assets/dotfiles/takamaki/kde-config/oxygenrc new file mode 100644 index 0000000..b970a86 --- /dev/null +++ b/assets/dotfiles/takamaki/kde-config/oxygenrc @@ -0,0 +1,8 @@ +[ActiveShadow] +InnerColor=40,97,122 +OuterColor=240,0,0 +ShadowSize=12 +UseOuterColor=false + +[Windeco] +ButtonSize=ButtonLarge diff --git a/assets/dotfiles/takamaki/kde-config/plasma-org.kde.plasma.desktop-appletsrc b/assets/dotfiles/takamaki/kde-config/plasma-org.kde.plasma.desktop-appletsrc new file mode 100644 index 0000000..95139b7 --- /dev/null +++ b/assets/dotfiles/takamaki/kde-config/plasma-org.kde.plasma.desktop-appletsrc @@ -0,0 +1,202 @@ +[ActionPlugins][0] +MiddleButton;NoModifier=org.kde.paste +RightButton;NoModifier=org.kde.contextmenu + +[ActionPlugins][1] +RightButton;NoModifier=org.kde.contextmenu + +[Containments][120] +ItemGeometries-0x0=Applet-178:16,16,464,352,0;Applet-177:2448,16,96,96,0; +ItemGeometriesHorizontal=Applet-178:16,16,464,352,0;Applet-177:2448,16,96,96,0; +activityId=1fd490ea-8d81-443c-be53-7f8aa0d96c75 +formfactor=0 +immutability=1 +lastScreen=0 +location=0 +plugin=org.kde.plasma.folder +wallpaperplugin=org.kde.image + +[Containments][120][Applets][177] +immutability=1 +plugin=org.kde.plasma.trash + +[Containments][120][Applets][178] +activityId= +formfactor=0 +immutability=1 +lastScreen=-1 +location=0 +plugin=org.kde.plasma.folder +wallpaperplugin= + +[Containments][120][Applets][178][Configuration] +activityId= +formfactor=0 +immutability=1 +lastScreen=-1 +location=0 +plugin=org.kde.plasma.folder +wallpaperplugin= + +[Containments][120][ConfigDialog] +DialogHeight=630 +DialogWidth=810 + +[Containments][120][Wallpaper][org.kde.image][General] +Image=file:///home/grey/nixos/assets/expose-air/wallpapers/ExposeAir/contents/images/2560x1440.png +SlidePaths=/home/grey/.local/share/wallpapers/,/nix/store/khgyakz1mszjy7qsrr60x4azxz5s4zzb-breeze-6.6.6/share/wallpapers/,/run/current-system/sw/share/wallpapers/ + +[Containments][121] +ItemGeometries-0x0= +ItemGeometriesVertical= +activityId=1fd490ea-8d81-443c-be53-7f8aa0d96c75 +formfactor=0 +immutability=1 +lastScreen=1 +location=0 +plugin=org.kde.plasma.folder +wallpaperplugin=org.kde.image + +[Containments][121][Wallpaper][org.kde.image][General] +Image=file:///home/grey/nixos/assets/expose-air/wallpapers/ExposeAir/contents/images/2560x1440.png +SlidePaths=/home/grey/.local/share/wallpapers/,/nix/store/khgyakz1mszjy7qsrr60x4azxz5s4zzb-breeze-6.6.6/share/wallpapers/,/run/current-system/sw/share/wallpapers/ + +[Containments][179] +activityId= +formfactor=2 +immutability=1 +lastScreen=0 +location=4 +plugin=org.kde.panel +wallpaperplugin=org.kde.image + +[Containments][179][Applets][180] +immutability=1 +plugin=org.kde.plasma.kickoff + +[Containments][179][Applets][180][Configuration] +popupHeight=514 +popupWidth=651 + +[Containments][179][Applets][180][Configuration][General] +favoritesPortedToKAstats=true +icon=nix-snowflake + +[Containments][179][Applets][181] +immutability=1 +plugin=org.kde.plasma.icontasks + +[Containments][179][Applets][181][Configuration] +iconsOnly=true +launchers=applications:zen-beta.desktop,applications:thunderbird.desktop,applications:org.kde.dolphin.desktop,applications:equibop.desktop,applications:spotify.desktop,applications:steam.desktop,applications:org.prismlauncher.PrismLauncher.desktop,applications:obsidian.desktop,applications:github-desktop.desktop,applications:unityhub.desktop,applications:org.godotengine.Godot4.6.desktop,applications:code.desktop,applications:idea.desktop,applications:clion.desktop,applications:com.obsproject.Studio.desktop,applications:proton.vpn.app.gtk.desktop,applications:systemsettings.desktop,applications:io.ente.auth.desktop,applications:io.github.ilya_zlobintsev.LACT.desktop + +[Containments][179][Applets][181][Configuration][General] +launchers=applications:zen-beta.desktop,applications:thunderbird.desktop,applications:org.kde.dolphin.desktop,applications:equibop.desktop,applications:spotify.desktop,applications:steam.desktop,applications:org.prismlauncher.PrismLauncher.desktop,applications:obsidian.desktop,applications:github-desktop.desktop,applications:unityhub.desktop,applications:org.godotengine.Godot4.6.desktop,applications:code.desktop,applications:idea.desktop,applications:clion.desktop,applications:com.obsproject.Studio.desktop,applications:proton.vpn.app.gtk.desktop,applications:systemsettings.desktop,applications:io.ente.auth.desktop,applications:io.github.ilya_zlobintsev.LACT.desktop + +[Containments][179][Applets][182] +immutability=1 +plugin=org.kde.plasma.marginsseparator + +[Containments][179][Applets][183] +activityId= +formfactor=0 +immutability=1 +lastScreen=-1 +location=0 +plugin=org.kde.plasma.systemtray +popupHeight=432 +popupWidth=432 +wallpaperplugin=org.kde.image + +[Containments][179][Applets][183][Applets][184] +immutability=1 +plugin=org.kde.plasma.clipboard + +[Containments][179][Applets][183][Applets][185] +immutability=1 +plugin=org.kde.plasma.manage-inputmethod + +[Containments][179][Applets][183][Applets][186] +immutability=1 +plugin=org.kde.plasma.devicenotifier + +[Containments][179][Applets][183][Applets][187] +immutability=1 +plugin=org.kde.plasma.cameraindicator + +[Containments][179][Applets][183][Applets][188] +immutability=1 +plugin=org.kde.plasma.notifications + +[Containments][179][Applets][183][Applets][189] +immutability=1 +plugin=org.kde.plasma.keyboardlayout + +[Containments][179][Applets][183][Applets][190] +immutability=1 +plugin=org.kde.plasma.networkmanagement + +[Containments][179][Applets][183][Applets][191] +immutability=1 +plugin=org.kde.plasma.keyboardindicator + +[Containments][179][Applets][183][Applets][192] +immutability=1 +plugin=org.kde.plasma.volume + +[Containments][179][Applets][183][Applets][192][Configuration][General] +migrated=true + +[Containments][179][Applets][183][Applets][193] +immutability=1 +plugin=org.kde.kscreen + +[Containments][179][Applets][183][Applets][194] +immutability=1 +plugin=org.kde.plasma.weather + +[Containments][179][Applets][183][Applets][197] +immutability=1 +plugin=org.kde.plasma.battery + +[Containments][179][Applets][183][Applets][198] +immutability=1 +plugin=org.kde.plasma.brightness + +[Containments][179][Applets][183][Applets][199] +immutability=1 +plugin=org.kde.plasma.bluetooth + +[Containments][179][Applets][183][Applets][200] +immutability=1 +plugin=org.kde.plasma.mediacontroller + +[Containments][179][Applets][183][General] +extraItems=org.kde.plasma.clipboard,org.kde.plasma.manage-inputmethod,org.kde.plasma.devicenotifier,org.kde.plasma.cameraindicator,org.kde.plasma.mediacontroller,org.kde.plasma.notifications,org.kde.plasma.keyboardlayout,org.kde.plasma.networkmanagement,org.kde.plasma.keyboardindicator,org.kde.plasma.volume,org.kde.kscreen,org.kde.plasma.battery,org.kde.plasma.bluetooth,org.kde.plasma.brightness,org.kde.plasma.weather +knownItems=org.kde.plasma.clipboard,org.kde.plasma.manage-inputmethod,org.kde.plasma.devicenotifier,org.kde.plasma.cameraindicator,org.kde.plasma.mediacontroller,org.kde.plasma.notifications,org.kde.plasma.keyboardlayout,org.kde.plasma.networkmanagement,org.kde.plasma.keyboardindicator,org.kde.plasma.volume,org.kde.kscreen,org.kde.plasma.battery,org.kde.plasma.bluetooth,org.kde.plasma.brightness,org.kde.plasma.weather + +[Containments][179][Applets][195] +immutability=1 +plugin=org.kde.plasma.digitalclock + +[Containments][179][Applets][195][Configuration] +popupHeight=400 +popupWidth=560 + +[Containments][179][Applets][195][Configuration][Appearance] +autoFontAndSize=false +fontFamily=Noto Sans +fontSize=12 +fontStyleName=Regular +fontWeight=400 + +[Containments][179][Applets][195][Configuration][ConfigDialog] +DialogHeight=630 +DialogWidth=810 + +[Containments][179][Applets][196] +immutability=1 +plugin=org.kde.plasma.showdesktop + +[Containments][179][General] +AppletOrder=180;181;182;183;195;196 diff --git a/assets/dotfiles/takamaki/kde-config/plasmarc b/assets/dotfiles/takamaki/kde-config/plasmarc new file mode 100644 index 0000000..5e19f6e --- /dev/null +++ b/assets/dotfiles/takamaki/kde-config/plasmarc @@ -0,0 +1,5 @@ +[Theme] +name=exposeair + +[Wallpapers] +usersWallpapers=/home/grey/Pictures/wallpapers/clouds.jpg,/home/grey/nixos/assets/expose-air/wallpapers/ExposeAir/contents/images/2560x1440.png diff --git a/assets/dotfiles/takamaki/kde-config/plasmashellrc b/assets/dotfiles/takamaki/kde-config/plasmashellrc new file mode 100644 index 0000000..c5df659 --- /dev/null +++ b/assets/dotfiles/takamaki/kde-config/plasmashellrc @@ -0,0 +1,11 @@ +[PlasmaTransientsConfig] +lastScreen[$d] + +[PlasmaViews][Panel 179] +floating=0 + +[PlasmaViews][Panel 179][Defaults] +thickness=48 + +[Updates] +performed=/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/containmentactions_middlebutton.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/digitalclock_migrate_font_settings.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/digitalclock_migrate_showseconds_setting.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/digitalclock_rename_timezonedisplay_key.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/folderview_fix_recursive_screenmapping.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/keyboardlayout_migrateiconsetting.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/keyboardlayout_remove_shortcut.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/klipper_clear_config.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/maintain_existing_desktop_icon_sizes.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/mediaframe_migrate_useBackground_setting.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/migrate_font_weights.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/move_desktop_layout_config.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/no_middle_click_paste_on_panels.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/systemloadviewer_systemmonitor.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/unlock_widgets.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/taskmanager_configUpdate_wheelEnabled.js,/run/current-system/sw/share/plasma/shells/org.kde.plasma.desktop/contents/updates/maintain_existing_desktop_icon_sizes.js,/run/current-system/sw/share/plasma/shells/org.kde.plasma.desktop/contents/updates/digitalclock_migrate_showseconds_setting.js,/run/current-system/sw/share/plasma/shells/org.kde.plasma.desktop/contents/updates/unlock_widgets.js,/run/current-system/sw/share/plasma/shells/org.kde.plasma.desktop/contents/updates/taskmanager_configUpdate_wheelEnabled.js,/run/current-system/sw/share/plasma/shells/org.kde.plasma.desktop/contents/updates/keyboardlayout_remove_shortcut.js,/run/current-system/sw/share/plasma/shells/org.kde.plasma.desktop/contents/updates/folderview_fix_recursive_screenmapping.js,/run/current-system/sw/share/plasma/shells/org.kde.plasma.desktop/contents/updates/no_middle_click_paste_on_panels.js,/run/current-system/sw/share/plasma/shells/org.kde.plasma.desktop/contents/updates/containmentactions_middlebutton.js,/run/current-system/sw/share/plasma/shells/org.kde.plasma.desktop/contents/updates/mediaframe_migrate_useBackground_setting.js,/run/current-system/sw/share/plasma/shells/org.kde.plasma.desktop/contents/updates/digitalclock_migrate_font_settings.js,/run/current-system/sw/share/plasma/shells/org.kde.plasma.desktop/contents/updates/migrate_font_weights.js,/run/current-system/sw/share/plasma/shells/org.kde.plasma.desktop/contents/updates/keyboardlayout_migrateiconsetting.js,/run/current-system/sw/share/plasma/shells/org.kde.plasma.desktop/contents/updates/klipper_clear_config.js,/run/current-system/sw/share/plasma/shells/org.kde.plasma.desktop/contents/updates/digitalclock_rename_timezonedisplay_key.js,/run/current-system/sw/share/plasma/shells/org.kde.plasma.desktop/contents/updates/systemloadviewer_systemmonitor.js,/run/current-system/sw/share/plasma/shells/org.kde.plasma.desktop/contents/updates/move_desktop_layout_config.js diff --git a/assets/dotfiles/takamaki/kde-config/powerdevilrc b/assets/dotfiles/takamaki/kde-config/powerdevilrc new file mode 100644 index 0000000..dc5f268 --- /dev/null +++ b/assets/dotfiles/takamaki/kde-config/powerdevilrc @@ -0,0 +1,5 @@ +[AC][SuspendAndShutdown] +AutoSuspendAction=0 + +[BatteryManagement] +PeripheralBatteryLowLevel=15 diff --git a/assets/dotfiles/takamaki/kde-custom-shortcuts/net.local.easyeffects-toggle.sh.desktop b/assets/dotfiles/takamaki/kde-custom-shortcuts/net.local.easyeffects-toggle.sh.desktop new file mode 100644 index 0000000..a195e6b --- /dev/null +++ b/assets/dotfiles/takamaki/kde-custom-shortcuts/net.local.easyeffects-toggle.sh.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Exec=/home/grey/Documents/bash-scripts/easyeffects-toggle.sh +Name=easyeffects-toggle +NoDisplay=true +StartupNotify=false +Type=Application +X-KDE-GlobalAccel-CommandShortcut=true diff --git a/assets/dotfiles/takamaki/kde-custom-shortcuts/net.local.kitty.desktop b/assets/dotfiles/takamaki/kde-custom-shortcuts/net.local.kitty.desktop new file mode 100644 index 0000000..fba9dcb --- /dev/null +++ b/assets/dotfiles/takamaki/kde-custom-shortcuts/net.local.kitty.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Exec=kitty nh os switch ./nixos +Name=Rebuild NixOS flake +NoDisplay=true +StartupNotify=false +Type=Application +X-KDE-GlobalAccel-CommandShortcut=true diff --git a/assets/dotfiles/vscode-config/keybindings.json b/assets/dotfiles/vscode-config/keybindings.json new file mode 100644 index 0000000..7184bc4 --- /dev/null +++ b/assets/dotfiles/vscode-config/keybindings.json @@ -0,0 +1,10 @@ +[ + { + "command": "workbench.action.closeActiveEditor", + "key": "alt+q" + }, + { + "command": "workbench.action.files.newFile", + "key": "alt+enter" + } +] diff --git a/assets/dotfiles/vscode-config/settings.json b/assets/dotfiles/vscode-config/settings.json new file mode 100644 index 0000000..5e2205e --- /dev/null +++ b/assets/dotfiles/vscode-config/settings.json @@ -0,0 +1,56 @@ +{ + "[nix]": { + "editor.tabSize": 2 + }, + "chat.disableAIFeatures": true, + "patternStore.savedPatterns": [ + { + "label": "convert JSON pairs to Nix format", + "find": "\"(\\w+)\": (.+?),?$", + "replace": "$1 = $2;", + "flags": { + "isRegex": true, + "isCaseSensitive": false, + "matchWholeWord": false, + "isMultiline": false + }, + "filesToInclude": "*.nix", + "filesToExclude": "*.json", + "scope": "global" + }, + { + "label": "convert JSON opening bracket to Nix format", + "find": "(\"\\w+\"): \\{$", + "replace": "$1 = {", + "flags": { + "isRegex": true, + "isCaseSensitive": false, + "matchWholeWord": false, + "isMultiline": false + }, + "filesToInclude": "*.nix", + "filesToExclude": "*.json", + "scope": "global" + }, + { + "label": "convert JSON closing bracket to Nix format", + "find": "\\},?$", + "replace": "};", + "flags": { + "isRegex": true, + "isCaseSensitive": false, + "matchWholeWord": false, + "isMultiline": false + }, + "filesToInclude": "*.nix", + "filesToExclude": "*.json", + "scope": "global" + } + ], + "search.exclude": { + "**/assets/**": true, + "**/flake.lock": true + }, + "update.mode": "none", + "workbench.welcomePage.walkthroughs.openOnInstall": false +} diff --git a/assets/dotfiles/vscode-extensions/.gitignore b/assets/dotfiles/vscode-extensions/.gitignore new file mode 100644 index 0000000..478b12f --- /dev/null +++ b/assets/dotfiles/vscode-extensions/.gitignore @@ -0,0 +1,11 @@ +**/README* +**/CHANGELOG* +**/LICENSE* +**/NOTICE* +**/METADATA* +**/*.png +**/*.txt +**/*.md +**/.vsixmanifest +**/images +**/.vscode diff --git a/assets/dotfiles/vscode-extensions/bbenoist.nix-1.0.1/nix.configuration.json b/assets/dotfiles/vscode-extensions/bbenoist.nix-1.0.1/nix.configuration.json new file mode 100644 index 0000000..e2b893b --- /dev/null +++ b/assets/dotfiles/vscode-extensions/bbenoist.nix-1.0.1/nix.configuration.json @@ -0,0 +1,11 @@ +{ + "comments": { + "lineComment": "#", + "blockComment": [ "/*", "*/" ] + }, + "brackets": [ + ["{", "}"], + ["[", "]"], + ["(", ")"] + ] +} diff --git a/assets/dotfiles/vscode-extensions/bbenoist.nix-1.0.1/package.json b/assets/dotfiles/vscode-extensions/bbenoist.nix-1.0.1/package.json new file mode 100644 index 0000000..006131a --- /dev/null +++ b/assets/dotfiles/vscode-extensions/bbenoist.nix-1.0.1/package.json @@ -0,0 +1,49 @@ +{ + "name": "Nix", + "description": "Nix language support for Visual Studio Code.", + "version": "1.0.1", + "publisher": "bbenoist", + "icon": "images/icon.png", + "galleryBanner": { + "color": "#FFFFFF", + "theme": "light" + }, + "license": "SEE LICENSE IN LICENSE.md", + "bugs": { + "url": "https://github.com/bbenoist/vscode-nix/issues" + }, + "homepage": "https://github.com/bbenoist/vscode-nix/blob/master/README.md", + "repository": { + "type": "git", + "url": "https://github.com/bbenoist/vscode-nix.git" + }, + "engines": { + "vscode": "^0.10.1" + }, + "categories": [ + "Languages" + ], + "contributes": { + "languages": [ + { + "id": "nix", + "extensions": [ + ".nix" + ], + "configuration": "./nix.configuration.json" + } + ], + "grammars": [ + { + "language": "nix", + "scopeName": "source.nix", + "path": "./syntaxes/nix.tmLanguage" + } + ] + }, + "__metadata": { + "installedTimestamp": 1783821078168, + "targetPlatform": "undefined", + "size": 120743 + } +} \ No newline at end of file diff --git a/assets/dotfiles/vscode-extensions/bbenoist.nix-1.0.1/syntaxes/nix.tmLanguage b/assets/dotfiles/vscode-extensions/bbenoist.nix-1.0.1/syntaxes/nix.tmLanguage new file mode 100644 index 0000000..dd0a3ff --- /dev/null +++ b/assets/dotfiles/vscode-extensions/bbenoist.nix-1.0.1/syntaxes/nix.tmLanguage @@ -0,0 +1,1798 @@ + + + + + fileTypes + + nix + + name + Nix + patterns + + + include + #expression + + + repository + + attribute-bind + + patterns + + + include + #attribute-name + + + include + #attribute-bind-from-equals + + + + attribute-bind-from-equals + + begin + \= + beginCaptures + + 0 + + name + keyword.operator.bind.nix + + + end + \; + endCaptures + + 0 + + name + punctuation.terminator.bind.nix + + + patterns + + + include + #expression + + + + attribute-inherit + + begin + \binherit\b + beginCaptures + + 0 + + name + keyword.other.inherit.nix + + + end + \; + endCaptures + + 0 + + name + punctuation.terminator.inherit.nix + + + patterns + + + begin + \( + beginCaptures + + 0 + + name + punctuation.section.function.arguments.nix + + + end + (?=\;) + patterns + + + begin + \) + beginCaptures + + 0 + + name + punctuation.section.function.arguments.nix + + + end + (?=\;) + patterns + + + include + #bad-reserved + + + include + #attribute-name-single + + + include + #others + + + + + include + #expression + + + + + begin + (?=[a-zA-Z\_]) + end + (?=\;) + patterns + + + include + #bad-reserved + + + include + #attribute-name-single + + + include + #others + + + + + include + #others + + + + attribute-name + + patterns + + + match + \b[a-zA-Z\_][a-zA-Z0-9\_\'\-]* + name + entity.other.attribute-name.multipart.nix + + + match + \. + + + include + #string-quoted + + + include + #interpolation + + + + attribute-name-single + + match + \b[a-zA-Z\_][a-zA-Z0-9\_\'\-]* + name + entity.other.attribute-name.single.nix + + attrset-contents + + patterns + + + include + #attribute-inherit + + + include + #bad-reserved + + + include + #attribute-bind + + + include + #others + + + + attrset-definition + + begin + (?=\{) + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + begin + (\{) + beginCaptures + + 0 + + name + punctuation.definition.attrset.nix + + + end + (\}) + endCaptures + + 0 + + name + punctuation.definition.attrset.nix + + + patterns + + + include + #attrset-contents + + + + + begin + (?<=\}) + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + include + #expression-cont + + + + + + attrset-definition-brace-opened + + patterns + + + begin + (?<=\}) + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + include + #expression-cont + + + + + begin + (?=.?) + end + \} + endCaptures + + 0 + + name + punctuation.definition.attrset.nix + + + patterns + + + include + #attrset-contents + + + + + + attrset-for-sure + + patterns + + + begin + (?=\brec\b) + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + begin + \brec\b + beginCaptures + + 0 + + name + keyword.other.nix + + + end + (?=\{) + patterns + + + include + #others + + + + + include + #attrset-definition + + + include + #others + + + + + begin + (?=\{\s*(\}|[^,?]*(=|;))) + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + include + #attrset-definition + + + include + #others + + + + + + attrset-or-function + + begin + \{ + beginCaptures + + 0 + + name + punctuation.definition.attrset-or-function.nix + + + end + (?=([\])};]|\b(else|then)\b)) + patterns + + + begin + (?=(\s*\}|\"|\binherit\b|\b[a-zA-Z\_][a-zA-Z0-9\_\'\-]*(\s*\.|\s*=[^=]))) + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + include + #attrset-definition-brace-opened + + + + + begin + (?=(\.\.\.|\b[a-zA-Z\_][a-zA-Z0-9\_\'\-]*\s*[,?])) + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + include + #function-definition-brace-opened + + + + + include + #bad-reserved + + + begin + \b[a-zA-Z\_][a-zA-Z0-9\_\'\-]* + beginCaptures + + 0 + + name + variable.parameter.function.maybe.nix + + + end + (?=([\])};]|\b(else|then)\b)) + patterns + + + begin + (?=\.) + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + include + #attrset-definition-brace-opened + + + + + begin + \s*(\,) + beginCaptures + + 1 + + name + keyword.operator.nix + + + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + include + #function-definition-brace-opened + + + + + begin + (?=\=) + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + include + #attribute-bind-from-equals + + + include + #attrset-definition-brace-opened + + + + + begin + (?=\?) + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + include + #function-parameter-default + + + begin + \, + beginCaptures + + 0 + + name + keyword.operator.nix + + + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + include + #function-definition-brace-opened + + + + + + + include + #others + + + + + include + #others + + + + bad-reserved + + match + \b(if|then|else|assert|with|let|in|rec|inherit)\b + name + invalid.illegal.reserved.nix + + comment + + patterns + + + begin + /\*([^*]|\*[^\/])* + end + \*\/ + name + comment.block.nix + patterns + + + include + #comment-remark + + + + + begin + \# + end + $ + name + comment.line.number-sign.nix + patterns + + + include + #comment-remark + + + + + + comment-remark + + captures + + 1 + + name + markup.bold.comment.nix + + + match + (TODO|FIXME|BUG|\!\!\!):? + + constants + + patterns + + + begin + \b(builtins|true|false|null)\b + beginCaptures + + 0 + + name + constant.language.nix + + + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + include + #expression-cont + + + + + begin + \b(scopedImport|import|isNull|abort|throw|baseNameOf|dirOf|removeAttrs|map|toString|derivationStrict|derivation)\b + beginCaptures + + 0 + + name + support.function.nix + + + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + include + #expression-cont + + + + + begin + \b[0-9]+\b + beginCaptures + + 0 + + name + constant.numeric.nix + + + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + include + #expression-cont + + + + + + expression + + patterns + + + include + #parens-and-cont + + + include + #list-and-cont + + + include + #string + + + include + #interpolation + + + include + #with-assert + + + include + #function-for-sure + + + include + #attrset-for-sure + + + include + #attrset-or-function + + + include + #let + + + include + #if + + + include + #operator-unary + + + include + #constants + + + include + #bad-reserved + + + include + #parameter-name-and-cont + + + include + #others + + + + expression-cont + + begin + (?=.?) + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + include + #parens + + + include + #list + + + include + #string + + + include + #interpolation + + + include + #function-for-sure + + + include + #attrset-for-sure + + + include + #attrset-or-function + + + match + (\bor\b|\.|==|!=|!|\<\=|\<|\>\=|\>|&&|\|\||-\>|//|\?|\+\+|-|\*|/(?=([^*]|$))|\+) + name + keyword.operator.nix + + + include + #constants + + + include + #bad-reserved + + + include + #parameter-name + + + include + #others + + + + function-body + + begin + (@\s*([a-zA-Z\_][a-zA-Z0-9\_\'\-]*)\s*)?(\:) + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + include + #expression + + + + function-body-from-colon + + begin + (\:) + beginCaptures + + 0 + + name + punctuation.definition.function.nix + + + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + include + #expression + + + + function-contents + + patterns + + + include + #bad-reserved + + + include + #function-parameter + + + include + #others + + + + function-definition + + begin + (?=.?) + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + include + #function-body-from-colon + + + begin + (?=.?) + end + (?=\:) + patterns + + + begin + (\b[a-zA-Z\_][a-zA-Z0-9\_\'\-]*) + beginCaptures + + 0 + + name + variable.parameter.function.4.nix + + + end + (?=\:) + patterns + + + begin + \@ + end + (?=\:) + patterns + + + include + #function-header-until-colon-no-arg + + + include + #others + + + + + include + #others + + + + + begin + (?=\{) + end + (?=\:) + patterns + + + include + #function-header-until-colon-with-arg + + + + + + + include + #others + + + + function-definition-brace-opened + + begin + (?=.?) + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + include + #function-body-from-colon + + + begin + (?=.?) + end + (?=\:) + patterns + + + include + #function-header-close-brace-with-arg + + + begin + (?=.?) + end + (?=\}) + patterns + + + include + #function-contents + + + + + + + include + #others + + + + function-for-sure + + patterns + + + begin + (?=(\b[a-zA-Z\_][a-zA-Z0-9\_\'\-]*\s*[:@]|\{[^}]*\}\s*:|\{[^#}"'/=]*[,\?])) + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + include + #function-definition + + + + + + function-header-close-brace-no-arg + + begin + \} + beginCaptures + + 0 + + name + punctuation.definition.entity.function.nix + + + end + (?=\:) + patterns + + + include + #others + + + + function-header-close-brace-with-arg + + begin + \} + beginCaptures + + 0 + + name + punctuation.definition.entity.function.nix + + + end + (?=\:) + patterns + + + include + #function-header-terminal-arg + + + include + #others + + + + function-header-open-brace + + begin + \{ + beginCaptures + + 0 + + name + punctuation.definition.entity.function.2.nix + + + end + (?=\}) + patterns + + + include + #function-contents + + + + function-header-terminal-arg + + begin + (?=@) + end + (?=\:) + patterns + + + begin + \@ + end + (?=\:) + patterns + + + begin + (\b[a-zA-Z\_][a-zA-Z0-9\_\'\-]*) + end + (?=\:) + name + variable.parameter.function.3.nix + + + include + #others + + + + + include + #others + + + + function-header-until-colon-no-arg + + begin + (?=\{) + end + (?=\:) + patterns + + + include + #function-header-open-brace + + + include + #function-header-close-brace-no-arg + + + + function-header-until-colon-with-arg + + begin + (?=\{) + end + (?=\:) + patterns + + + include + #function-header-open-brace + + + include + #function-header-close-brace-with-arg + + + + function-parameter + + patterns + + + begin + (\.\.\.) + end + (,|(?=\})) + name + keyword.operator.nix + patterns + + + include + #others + + + + + begin + \b[a-zA-Z\_][a-zA-Z0-9\_\'\-]* + beginCaptures + + 0 + + name + variable.parameter.function.1.nix + + + end + (,|(?=\})) + endCaptures + + 0 + + name + keyword.operator.nix + + + patterns + + + include + #whitespace + + + include + #comment + + + include + #function-parameter-default + + + include + #expression + + + + + include + #others + + + + function-parameter-default + + begin + \? + beginCaptures + + 0 + + name + keyword.operator.nix + + + end + (?=[,}]) + patterns + + + include + #expression + + + + if + + begin + (?=\bif\b) + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + begin + \bif\b + beginCaptures + + 0 + + name + keyword.other.nix + + + end + \bth(?=en\b) + endCaptures + + 0 + + name + keyword.other.nix + + + patterns + + + include + #expression + + + + + begin + (?<=th)en\b + beginCaptures + + 0 + + name + keyword.other.nix + + + end + \bel(?=se\b) + endCaptures + + 0 + + name + keyword.other.nix + + + patterns + + + include + #expression + + + + + begin + (?<=el)se\b + beginCaptures + + 0 + + name + keyword.other.nix + + + end + (?=([\])};,]|\b(else|then)\b)) + endCaptures + + 0 + + name + keyword.other.nix + + + patterns + + + include + #expression + + + + + + illegal + + match + . + name + invalid.illegal + + interpolation + + begin + \$\{ + beginCaptures + + 0 + + name + punctuation.section.embedded.begin.nix + + + end + \} + endCaptures + + 0 + + name + punctuation.section.embedded.end.nix + + + name + markup.italic + patterns + + + include + #expression + + + + let + + begin + (?=\blet\b) + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + begin + \blet\b + beginCaptures + + 0 + + name + keyword.other.nix + + + end + (?=([\])};,]|\b(in|else|then)\b)) + patterns + + + begin + (?=\{) + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + begin + \{ + end + \} + patterns + + + include + #attrset-contents + + + + + begin + (^|(?<=\})) + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + include + #expression-cont + + + + + include + #others + + + + + include + #attrset-contents + + + include + #others + + + + + begin + \bin\b + beginCaptures + + 0 + + name + keyword.other.nix + + + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + include + #expression + + + + + + list + + begin + \[ + beginCaptures + + 0 + + name + punctuation.definition.list.nix + + + end + \] + endCaptures + + 0 + + name + punctuation.definition.list.nix + + + patterns + + + include + #expression + + + + list-and-cont + + begin + (?=\[) + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + include + #list + + + include + #expression-cont + + + + operator-unary + + match + (!|-) + name + keyword.operator.unary.nix + + others + + patterns + + + include + #whitespace + + + include + #comment + + + include + #illegal + + + + parameter-name + + captures + + 0 + + name + variable.parameter.name.nix + + + match + \b[a-zA-Z\_][a-zA-Z0-9\_\'\-]* + + parameter-name-and-cont + + begin + \b[a-zA-Z\_][a-zA-Z0-9\_\'\-]* + beginCaptures + + 0 + + name + variable.parameter.name.nix + + + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + include + #expression-cont + + + + parens + + begin + \( + beginCaptures + + 0 + + name + punctuation.definition.expression.nix + + + end + \) + endCaptures + + 0 + + name + punctuation.definition.expression.nix + + + patterns + + + include + #expression + + + + parens-and-cont + + begin + (?=\() + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + include + #parens + + + include + #expression-cont + + + + string + + patterns + + + begin + (?=\'\') + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + begin + \'\' + beginCaptures + + 0 + + name + punctuation.definition.string.other.start.nix + + + end + \'\'(?!\$|\'|\\.) + endCaptures + + 0 + + name + punctuation.definition.string.other.end.nix + + + name + string.quoted.other.nix + patterns + + + match + \'\'(\$|\'|\\.) + name + constant.character.escape.nix + + + include + #interpolation + + + + + include + #expression-cont + + + + + begin + (?=\") + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + include + #string-quoted + + + include + #expression-cont + + + + + begin + ([a-zA-Z0-9\.\_\-\+]*(\/[a-zA-Z0-9\.\_\-\+]+)+) + beginCaptures + + 0 + + name + string.unquoted.path.nix + + + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + include + #expression-cont + + + + + begin + (\<[a-zA-Z0-9\.\_\-\+]+(\/[a-zA-Z0-9\.\_\-\+]+)*\>) + beginCaptures + + 0 + + name + string.unquoted.spath.nix + + + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + include + #expression-cont + + + + + begin + ([a-zA-Z][a-zA-Z0-9\+\-\.]*\:[a-zA-Z0-9\%\/\?\:\@\&\=\+\$\,\-\_\.\!\~\*\']+) + beginCaptures + + 0 + + name + string.unquoted.url.nix + + + end + (?=([\])};,]|\b(else|then)\b)) + patterns + + + include + #expression-cont + + + + + + string-quoted + + begin + \" + beginCaptures + + 0 + + name + punctuation.definition.string.double.start.nix + + + end + \" + endCaptures + + 0 + + name + punctuation.definition.string.double.end.nix + + + name + string.quoted.double.nix + patterns + + + match + \\. + name + constant.character.escape.nix + + + include + #interpolation + + + + whitespace + + match + \s+ + + with-assert + + begin + \b(with|assert)\b + beginCaptures + + 0 + + name + keyword.other.nix + + + end + \; + patterns + + + include + #expression + + + + + scopeName + source.nix + uuid + 0514fd5f-acb6-436d-b42c-7643e6d36c8f + + diff --git a/assets/dotfiles/vscode-extensions/extensions.json b/assets/dotfiles/vscode-extensions/extensions.json new file mode 100644 index 0000000..f570da6 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/extensions.json @@ -0,0 +1 @@ +[{"identifier":{"id":"bbenoist.nix","uuid":"5b21bd54-5258-4a3e-887f-193d9bb5f063"},"version":"1.0.1","location":{"$mid":1,"path":"/home/grey/.vscode/extensions/bbenoist.nix-1.0.1","scheme":"file"},"relativeLocation":"bbenoist.nix-1.0.1","metadata":{"installedTimestamp":1783821077845,"pinned":false,"source":"gallery","id":"5b21bd54-5258-4a3e-887f-193d9bb5f063","publisherId":"787ce942-60d4-48d6-b14e-25bdc72bd145","publisherDisplayName":"Baptist BENOIST","targetPlatform":"undefined","updated":false,"private":false,"isPreReleaseVersion":false,"hasPreReleaseVersion":false}},{"identifier":{"id":"kdl-org.kdl","uuid":"85fc99f6-11df-44ee-91ed-ae96cfa2d7ac"},"version":"2.1.3","location":{"$mid":1,"path":"/home/grey/.vscode/extensions/kdl-org.kdl-2.1.3","scheme":"file"},"relativeLocation":"kdl-org.kdl-2.1.3","metadata":{"installedTimestamp":1783821237413,"pinned":false,"source":"gallery","id":"85fc99f6-11df-44ee-91ed-ae96cfa2d7ac","publisherId":"0e4cb19e-bf6d-4e62-a862-ae4b91baf151","publisherDisplayName":"kdl-org","targetPlatform":"undefined","updated":false,"private":false,"isPreReleaseVersion":false,"hasPreReleaseVersion":false}},{"identifier":{"id":"jdunkel.patternstore"},"version":"0.1.12","location":{"$mid":1,"fsPath":"/home/grey/.vscode/extensions/jdunkel.patternstore-0.1.12","external":"file:///home/grey/.vscode/extensions/jdunkel.patternstore-0.1.12","path":"/home/grey/.vscode/extensions/jdunkel.patternstore-0.1.12","scheme":"file"},"relativeLocation":"jdunkel.patternstore-0.1.12","metadata":{"installedTimestamp":1783822349360,"pinned":false,"source":"gallery","id":"936ed925-ee84-4824-9d58-98729b2f744c","publisherId":"6df66903-9b7e-463b-a33d-f4eca8208706","publisherDisplayName":"jdunkel","targetPlatform":"undefined","updated":false,"private":false,"isPreReleaseVersion":false,"hasPreReleaseVersion":false}}] \ No newline at end of file diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/example-settings.json b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/example-settings.json new file mode 100644 index 0000000..17b1ca8 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/example-settings.json @@ -0,0 +1,64 @@ +{ + "patternStore.savedPatterns": [ + { + "label": "Import quotes to angles", + "find": "\"([^\"]+)\"", + "replace": "<$1>", + "flags": { + "isRegex": true, + "isCaseSensitive": false, + "matchWholeWord": false, + "isMultiline": false + }, + "scope": "global" + }, + { + "label": "TODO", + "find": "TODO", + "flags": { + "isRegex": false, + "isCaseSensitive": true, + "matchWholeWord": true, + "isMultiline": false + }, + "scope": "global" + }, + { + "label": "Dynamic module import", + "find": "${prompt:module}([^\"]*)", + "replace": "<${prompt:module}$1>", + "flags": { + "isRegex": true, + "isCaseSensitive": true, + "matchWholeWord": false, + "isMultiline": false + }, + "scope": "global" + }, + { + "label": "Find all TODOs (no replace)", + "find": "TODO", + "flags": { + "isRegex": false, + "isCaseSensitive": true, + "matchWholeWord": true, + "isMultiline": false + }, + "scope": "global" + } + ], + "patternStore.workspacePatterns": [ + { + "label": "Workspace specific pattern", + "find": "oldClass", + "replace": "newClass", + "flags": { + "isRegex": false, + "isCaseSensitive": true, + "matchWholeWord": true, + "isMultiline": false + }, + "scope": "workspace" + } + ] +} diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/@types/uuid/index.d.mts b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/@types/uuid/index.d.mts new file mode 100644 index 0000000..84bc5bd --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/@types/uuid/index.d.mts @@ -0,0 +1,19 @@ +import uuid from "./index.js"; +export import v1 = uuid.v1; +export import v1ToV6 = uuid.v1ToV6; +export import v3 = uuid.v3; +export import v4 = uuid.v4; +export import v5 = uuid.v5; +export import v6 = uuid.v6; +export import v6ToV1 = uuid.v6ToV1; +export import v7 = uuid.v7; +export import NIL = uuid.NIL; +export import MAX = uuid.MAX; +export import version = uuid.version; +export import validate = uuid.validate; +export import stringify = uuid.stringify; +export import parse = uuid.parse; +export import V1Options = uuid.V1Options; +export import V4Options = uuid.V4Options; +export import V6Options = uuid.V6Options; +export import V7Options = uuid.V7Options; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/@types/uuid/package.json b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/@types/uuid/package.json new file mode 100644 index 0000000..56acf25 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/@types/uuid/package.json @@ -0,0 +1,54 @@ +{ + "name": "@types/uuid", + "version": "10.0.0", + "description": "TypeScript definitions for uuid", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uuid", + "license": "MIT", + "contributors": [ + { + "name": "Oliver Hoffmann", + "githubUsername": "iamolivinius", + "url": "https://github.com/iamolivinius" + }, + { + "name": "Felipe Ochoa", + "githubUsername": "felipeochoa", + "url": "https://github.com/felipeochoa" + }, + { + "name": "Chris Barth", + "githubUsername": "cjbarth", + "url": "https://github.com/cjbarth" + }, + { + "name": "Linus Unnebäck", + "githubUsername": "LinusU", + "url": "https://github.com/LinusU" + }, + { + "name": "Christoph Tavan", + "githubUsername": "ctavan", + "url": "https://github.com/ctavan" + } + ], + "main": "", + "types": "index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "types": { + "import": "./index.d.mts", + "default": "./index.d.ts" + } + } + }, + "repository": { + "type": "git", + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/uuid" + }, + "scripts": {}, + "dependencies": {}, + "typesPublisherContentHash": "08fbc5ff7d23aaac1e81b5acf98181d2544ce6ffd5578e9879e2a75f0c087d54", + "typeScriptVersion": "4.7" +} \ No newline at end of file diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/bin/uuid b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/bin/uuid new file mode 100644 index 0000000..b4f612d --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/bin/uuid @@ -0,0 +1,2 @@ +#!/usr/bin/env node +import '../uuid-bin.js'; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/index.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/index.js new file mode 100644 index 0000000..3193e9a --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/index.js @@ -0,0 +1,14 @@ +export { default as MAX } from './max.js'; +export { default as NIL } from './nil.js'; +export { default as parse } from './parse.js'; +export { default as stringify } from './stringify.js'; +export { default as v1 } from './v1.js'; +export { default as v1ToV6 } from './v1ToV6.js'; +export { default as v3 } from './v3.js'; +export { default as v4 } from './v4.js'; +export { default as v5 } from './v5.js'; +export { default as v6 } from './v6.js'; +export { default as v6ToV1 } from './v6ToV1.js'; +export { default as v7 } from './v7.js'; +export { default as validate } from './validate.js'; +export { default as version } from './version.js'; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/max.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/max.js new file mode 100644 index 0000000..58951f6 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/max.js @@ -0,0 +1 @@ +export default 'ffffffff-ffff-ffff-ffff-ffffffffffff'; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/md5.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/md5.js new file mode 100644 index 0000000..4fae485 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/md5.js @@ -0,0 +1,11 @@ +import { createHash } from 'node:crypto'; +function md5(bytes) { + if (Array.isArray(bytes)) { + bytes = Buffer.from(bytes); + } + else if (typeof bytes === 'string') { + bytes = Buffer.from(bytes, 'utf8'); + } + return createHash('md5').update(bytes).digest(); +} +export default md5; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/native.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/native.js new file mode 100644 index 0000000..7f8062b --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/native.js @@ -0,0 +1,2 @@ +import { randomUUID } from 'node:crypto'; +export default { randomUUID }; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/nil.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/nil.js new file mode 100644 index 0000000..de6f830 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/nil.js @@ -0,0 +1 @@ +export default '00000000-0000-0000-0000-000000000000'; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/parse.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/parse.js new file mode 100644 index 0000000..64ac401 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/parse.js @@ -0,0 +1,9 @@ +import validate from './validate.js'; +function parse(uuid) { + if (!validate(uuid)) { + throw TypeError('Invalid UUID'); + } + let v; + return Uint8Array.of((v = parseInt(uuid.slice(0, 8), 16)) >>> 24, (v >>> 16) & 0xff, (v >>> 8) & 0xff, v & 0xff, (v = parseInt(uuid.slice(9, 13), 16)) >>> 8, v & 0xff, (v = parseInt(uuid.slice(14, 18), 16)) >>> 8, v & 0xff, (v = parseInt(uuid.slice(19, 23), 16)) >>> 8, v & 0xff, ((v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000) & 0xff, (v / 0x100000000) & 0xff, (v >>> 24) & 0xff, (v >>> 16) & 0xff, (v >>> 8) & 0xff, v & 0xff); +} +export default parse; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/regex.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/regex.js new file mode 100644 index 0000000..3e38591 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/regex.js @@ -0,0 +1 @@ +export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/rng.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/rng.js new file mode 100644 index 0000000..5dcaf3c --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/rng.js @@ -0,0 +1,10 @@ +import { randomFillSync } from 'node:crypto'; +const rnds8Pool = new Uint8Array(256); +let poolPtr = rnds8Pool.length; +export default function rng() { + if (poolPtr > rnds8Pool.length - 16) { + randomFillSync(rnds8Pool); + poolPtr = 0; + } + return rnds8Pool.slice(poolPtr, (poolPtr += 16)); +} diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/sha1.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/sha1.js new file mode 100644 index 0000000..7dfd27c --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/sha1.js @@ -0,0 +1,11 @@ +import { createHash } from 'node:crypto'; +function sha1(bytes) { + if (Array.isArray(bytes)) { + bytes = Buffer.from(bytes); + } + else if (typeof bytes === 'string') { + bytes = Buffer.from(bytes, 'utf8'); + } + return createHash('sha1').update(bytes).digest(); +} +export default sha1; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/stringify.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/stringify.js new file mode 100644 index 0000000..962738c --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/stringify.js @@ -0,0 +1,35 @@ +import validate from './validate.js'; +const byteToHex = []; +for (let i = 0; i < 256; ++i) { + byteToHex.push((i + 0x100).toString(16).slice(1)); +} +export function unsafeStringify(arr, offset = 0) { + return (byteToHex[arr[offset + 0]] + + byteToHex[arr[offset + 1]] + + byteToHex[arr[offset + 2]] + + byteToHex[arr[offset + 3]] + + '-' + + byteToHex[arr[offset + 4]] + + byteToHex[arr[offset + 5]] + + '-' + + byteToHex[arr[offset + 6]] + + byteToHex[arr[offset + 7]] + + '-' + + byteToHex[arr[offset + 8]] + + byteToHex[arr[offset + 9]] + + '-' + + byteToHex[arr[offset + 10]] + + byteToHex[arr[offset + 11]] + + byteToHex[arr[offset + 12]] + + byteToHex[arr[offset + 13]] + + byteToHex[arr[offset + 14]] + + byteToHex[arr[offset + 15]]).toLowerCase(); +} +function stringify(arr, offset = 0) { + const uuid = unsafeStringify(arr, offset); + if (!validate(uuid)) { + throw TypeError('Stringified UUID is invalid'); + } + return uuid; +} +export default stringify; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/types.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/types.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/types.js @@ -0,0 +1 @@ +export {}; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/uuid-bin.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/uuid-bin.js new file mode 100644 index 0000000..aa4d4ac --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/uuid-bin.js @@ -0,0 +1,70 @@ +import * as assert from 'node:assert/strict'; +import v1 from './v1.js'; +import v3 from './v3.js'; +import v4 from './v4.js'; +import v5 from './v5.js'; +import v6 from './v6.js'; +import v7 from './v7.js'; +function usage() { + console.log('Usage:'); + console.log(' uuid'); + console.log(' uuid v1'); + console.log(' uuid v3 '); + console.log(' uuid v4'); + console.log(' uuid v5 '); + console.log(' uuid v6'); + console.log(' uuid v7'); + console.log(' uuid --help'); + console.log('\nNote: may be "URL" or "DNS" to use the corresponding UUIDs defined by RFC9562'); +} +const args = process.argv.slice(2); +if (args.indexOf('--help') >= 0) { + usage(); + process.exit(0); +} +const version = args.shift() || 'v4'; +switch (version) { + case 'v1': + console.log(v1()); + break; + case 'v3': { + const name = args.shift(); + let namespace = args.shift(); + assert.ok(name != null, 'v3 name not specified'); + assert.ok(namespace != null, 'v3 namespace not specified'); + if (namespace === 'URL') { + namespace = v3.URL; + } + if (namespace === 'DNS') { + namespace = v3.DNS; + } + console.log(v3(name, namespace)); + break; + } + case 'v4': + console.log(v4()); + break; + case 'v5': { + const name = args.shift(); + let namespace = args.shift(); + assert.ok(name != null, 'v5 name not specified'); + assert.ok(namespace != null, 'v5 namespace not specified'); + if (namespace === 'URL') { + namespace = v5.URL; + } + if (namespace === 'DNS') { + namespace = v5.DNS; + } + console.log(v5(name, namespace)); + break; + } + case 'v6': + console.log(v6()); + break; + case 'v7': + console.log(v7()); + break; + default: + usage(); + process.exit(1); +} diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/v1.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/v1.js new file mode 100644 index 0000000..65e3f68 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/v1.js @@ -0,0 +1,83 @@ +import rng from './rng.js'; +import { unsafeStringify } from './stringify.js'; +const _state = {}; +function v1(options, buf, offset) { + let bytes; + const isV6 = options?._v6 ?? false; + if (options) { + const optionsKeys = Object.keys(options); + if (optionsKeys.length === 1 && optionsKeys[0] === '_v6') { + options = undefined; + } + } + if (options) { + bytes = v1Bytes(options.random ?? options.rng?.() ?? rng(), options.msecs, options.nsecs, options.clockseq, options.node, buf, offset); + } + else { + const now = Date.now(); + const rnds = rng(); + updateV1State(_state, now, rnds); + bytes = v1Bytes(rnds, _state.msecs, _state.nsecs, isV6 ? undefined : _state.clockseq, isV6 ? undefined : _state.node, buf, offset); + } + return buf ?? unsafeStringify(bytes); +} +export function updateV1State(state, now, rnds) { + state.msecs ??= -Infinity; + state.nsecs ??= 0; + if (now === state.msecs) { + state.nsecs++; + if (state.nsecs >= 10000) { + state.node = undefined; + state.nsecs = 0; + } + } + else if (now > state.msecs) { + state.nsecs = 0; + } + else if (now < state.msecs) { + state.node = undefined; + } + if (!state.node) { + state.node = rnds.slice(10, 16); + state.node[0] |= 0x01; + state.clockseq = ((rnds[8] << 8) | rnds[9]) & 0x3fff; + } + state.msecs = now; + return state; +} +function v1Bytes(rnds, msecs, nsecs, clockseq, node, buf, offset = 0) { + if (rnds.length < 16) { + throw new Error('Random bytes length must be >= 16'); + } + if (!buf) { + buf = new Uint8Array(16); + offset = 0; + } + else { + if (offset < 0 || offset + 16 > buf.length) { + throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`); + } + } + msecs ??= Date.now(); + nsecs ??= 0; + clockseq ??= ((rnds[8] << 8) | rnds[9]) & 0x3fff; + node ??= rnds.slice(10, 16); + msecs += 12219292800000; + const tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000; + buf[offset++] = (tl >>> 24) & 0xff; + buf[offset++] = (tl >>> 16) & 0xff; + buf[offset++] = (tl >>> 8) & 0xff; + buf[offset++] = tl & 0xff; + const tmh = ((msecs / 0x100000000) * 10000) & 0xfffffff; + buf[offset++] = (tmh >>> 8) & 0xff; + buf[offset++] = tmh & 0xff; + buf[offset++] = ((tmh >>> 24) & 0xf) | 0x10; + buf[offset++] = (tmh >>> 16) & 0xff; + buf[offset++] = (clockseq >>> 8) | 0x80; + buf[offset++] = clockseq & 0xff; + for (let n = 0; n < 6; ++n) { + buf[offset++] = node[n]; + } + return buf; +} +export default v1; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/v1ToV6.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/v1ToV6.js new file mode 100644 index 0000000..da0f763 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/v1ToV6.js @@ -0,0 +1,10 @@ +import parse from './parse.js'; +import { unsafeStringify } from './stringify.js'; +export default function v1ToV6(uuid) { + const v1Bytes = typeof uuid === 'string' ? parse(uuid) : uuid; + const v6Bytes = _v1ToV6(v1Bytes); + return typeof uuid === 'string' ? unsafeStringify(v6Bytes) : v6Bytes; +} +function _v1ToV6(v1Bytes) { + return Uint8Array.of(((v1Bytes[6] & 0x0f) << 4) | ((v1Bytes[7] >> 4) & 0x0f), ((v1Bytes[7] & 0x0f) << 4) | ((v1Bytes[4] & 0xf0) >> 4), ((v1Bytes[4] & 0x0f) << 4) | ((v1Bytes[5] & 0xf0) >> 4), ((v1Bytes[5] & 0x0f) << 4) | ((v1Bytes[0] & 0xf0) >> 4), ((v1Bytes[0] & 0x0f) << 4) | ((v1Bytes[1] & 0xf0) >> 4), ((v1Bytes[1] & 0x0f) << 4) | ((v1Bytes[2] & 0xf0) >> 4), 0x60 | (v1Bytes[2] & 0x0f), v1Bytes[3], v1Bytes[8], v1Bytes[9], v1Bytes[10], v1Bytes[11], v1Bytes[12], v1Bytes[13], v1Bytes[14], v1Bytes[15]); +} diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/v3.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/v3.js new file mode 100644 index 0000000..b5c3781 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/v3.js @@ -0,0 +1,9 @@ +import md5 from './md5.js'; +import v35, { DNS, URL } from './v35.js'; +export { DNS, URL } from './v35.js'; +function v3(value, namespace, buf, offset) { + return v35(0x30, md5, value, namespace, buf, offset); +} +v3.DNS = DNS; +v3.URL = URL; +export default v3; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/v35.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/v35.js new file mode 100644 index 0000000..3fe6573 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/v35.js @@ -0,0 +1,36 @@ +import parse from './parse.js'; +import { unsafeStringify } from './stringify.js'; +export function stringToBytes(str) { + str = unescape(encodeURIComponent(str)); + const bytes = new Uint8Array(str.length); + for (let i = 0; i < str.length; ++i) { + bytes[i] = str.charCodeAt(i); + } + return bytes; +} +export const DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8'; +export const URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8'; +export default function v35(version, hash, value, namespace, buf, offset) { + const valueBytes = typeof value === 'string' ? stringToBytes(value) : value; + const namespaceBytes = typeof namespace === 'string' ? parse(namespace) : namespace; + if (typeof namespace === 'string') { + namespace = parse(namespace); + } + if (namespace?.length !== 16) { + throw TypeError('Namespace must be array-like (16 iterable integer values, 0-255)'); + } + let bytes = new Uint8Array(16 + valueBytes.length); + bytes.set(namespaceBytes); + bytes.set(valueBytes, namespaceBytes.length); + bytes = hash(bytes); + bytes[6] = (bytes[6] & 0x0f) | version; + bytes[8] = (bytes[8] & 0x3f) | 0x80; + if (buf) { + offset = offset || 0; + for (let i = 0; i < 16; ++i) { + buf[offset + i] = bytes[i]; + } + return buf; + } + return unsafeStringify(bytes); +} diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/v4.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/v4.js new file mode 100644 index 0000000..cc9dc2d --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/v4.js @@ -0,0 +1,30 @@ +import native from './native.js'; +import rng from './rng.js'; +import { unsafeStringify } from './stringify.js'; +function _v4(options, buf, offset) { + options = options || {}; + const rnds = options.random ?? options.rng?.() ?? rng(); + if (rnds.length < 16) { + throw new Error('Random bytes length must be >= 16'); + } + rnds[6] = (rnds[6] & 0x0f) | 0x40; + rnds[8] = (rnds[8] & 0x3f) | 0x80; + if (buf) { + offset = offset || 0; + if (offset < 0 || offset + 16 > buf.length) { + throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`); + } + for (let i = 0; i < 16; ++i) { + buf[offset + i] = rnds[i]; + } + return buf; + } + return unsafeStringify(rnds); +} +function v4(options, buf, offset) { + if (native.randomUUID && !buf && !options) { + return native.randomUUID(); + } + return _v4(options, buf, offset); +} +export default v4; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/v5.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/v5.js new file mode 100644 index 0000000..bd470a4 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/v5.js @@ -0,0 +1,9 @@ +import sha1 from './sha1.js'; +import v35, { DNS, URL } from './v35.js'; +export { DNS, URL } from './v35.js'; +function v5(value, namespace, buf, offset) { + return v35(0x50, sha1, value, namespace, buf, offset); +} +v5.DNS = DNS; +v5.URL = URL; +export default v5; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/v6.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/v6.js new file mode 100644 index 0000000..278a339 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/v6.js @@ -0,0 +1,17 @@ +import { unsafeStringify } from './stringify.js'; +import v1 from './v1.js'; +import v1ToV6 from './v1ToV6.js'; +function v6(options, buf, offset) { + options ??= {}; + offset ??= 0; + let bytes = v1({ ...options, _v6: true }, new Uint8Array(16)); + bytes = v1ToV6(bytes); + if (buf) { + for (let i = 0; i < 16; i++) { + buf[offset + i] = bytes[i]; + } + return buf; + } + return unsafeStringify(bytes); +} +export default v6; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/v6ToV1.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/v6ToV1.js new file mode 100644 index 0000000..bfd942f --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/v6ToV1.js @@ -0,0 +1,10 @@ +import parse from './parse.js'; +import { unsafeStringify } from './stringify.js'; +export default function v6ToV1(uuid) { + const v6Bytes = typeof uuid === 'string' ? parse(uuid) : uuid; + const v1Bytes = _v6ToV1(v6Bytes); + return typeof uuid === 'string' ? unsafeStringify(v1Bytes) : v1Bytes; +} +function _v6ToV1(v6Bytes) { + return Uint8Array.of(((v6Bytes[3] & 0x0f) << 4) | ((v6Bytes[4] >> 4) & 0x0f), ((v6Bytes[4] & 0x0f) << 4) | ((v6Bytes[5] & 0xf0) >> 4), ((v6Bytes[5] & 0x0f) << 4) | (v6Bytes[6] & 0x0f), v6Bytes[7], ((v6Bytes[1] & 0x0f) << 4) | ((v6Bytes[2] & 0xf0) >> 4), ((v6Bytes[2] & 0x0f) << 4) | ((v6Bytes[3] & 0xf0) >> 4), 0x10 | ((v6Bytes[0] & 0xf0) >> 4), ((v6Bytes[0] & 0x0f) << 4) | ((v6Bytes[1] & 0xf0) >> 4), v6Bytes[8], v6Bytes[9], v6Bytes[10], v6Bytes[11], v6Bytes[12], v6Bytes[13], v6Bytes[14], v6Bytes[15]); +} diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/v7.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/v7.js new file mode 100644 index 0000000..276c9bf --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/v7.js @@ -0,0 +1,65 @@ +import rng from './rng.js'; +import { unsafeStringify } from './stringify.js'; +const _state = {}; +function v7(options, buf, offset) { + let bytes; + if (options) { + bytes = v7Bytes(options.random ?? options.rng?.() ?? rng(), options.msecs, options.seq, buf, offset); + } + else { + const now = Date.now(); + const rnds = rng(); + updateV7State(_state, now, rnds); + bytes = v7Bytes(rnds, _state.msecs, _state.seq, buf, offset); + } + return buf ?? unsafeStringify(bytes); +} +export function updateV7State(state, now, rnds) { + state.msecs ??= -Infinity; + state.seq ??= 0; + if (now > state.msecs) { + state.seq = (rnds[6] << 23) | (rnds[7] << 16) | (rnds[8] << 8) | rnds[9]; + state.msecs = now; + } + else { + state.seq = (state.seq + 1) | 0; + if (state.seq === 0) { + state.msecs++; + } + } + return state; +} +function v7Bytes(rnds, msecs, seq, buf, offset = 0) { + if (rnds.length < 16) { + throw new Error('Random bytes length must be >= 16'); + } + if (!buf) { + buf = new Uint8Array(16); + offset = 0; + } + else { + if (offset < 0 || offset + 16 > buf.length) { + throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`); + } + } + msecs ??= Date.now(); + seq ??= ((rnds[6] * 0x7f) << 24) | (rnds[7] << 16) | (rnds[8] << 8) | rnds[9]; + buf[offset++] = (msecs / 0x10000000000) & 0xff; + buf[offset++] = (msecs / 0x100000000) & 0xff; + buf[offset++] = (msecs / 0x1000000) & 0xff; + buf[offset++] = (msecs / 0x10000) & 0xff; + buf[offset++] = (msecs / 0x100) & 0xff; + buf[offset++] = msecs & 0xff; + buf[offset++] = 0x70 | ((seq >>> 28) & 0x0f); + buf[offset++] = (seq >>> 20) & 0xff; + buf[offset++] = 0x80 | ((seq >>> 14) & 0x3f); + buf[offset++] = (seq >>> 6) & 0xff; + buf[offset++] = ((seq << 2) & 0xff) | (rnds[10] & 0x03); + buf[offset++] = rnds[11]; + buf[offset++] = rnds[12]; + buf[offset++] = rnds[13]; + buf[offset++] = rnds[14]; + buf[offset++] = rnds[15]; + return buf; +} +export default v7; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/validate.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/validate.js new file mode 100644 index 0000000..444a1a2 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/validate.js @@ -0,0 +1,5 @@ +import REGEX from './regex.js'; +function validate(uuid) { + return typeof uuid === 'string' && REGEX.test(uuid); +} +export default validate; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/version.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/version.js new file mode 100644 index 0000000..bae91d3 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist-node/version.js @@ -0,0 +1,8 @@ +import validate from './validate.js'; +function version(uuid) { + if (!validate(uuid)) { + throw TypeError('Invalid UUID'); + } + return parseInt(uuid.slice(14, 15), 16); +} +export default version; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/index.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/index.js new file mode 100644 index 0000000..3193e9a --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/index.js @@ -0,0 +1,14 @@ +export { default as MAX } from './max.js'; +export { default as NIL } from './nil.js'; +export { default as parse } from './parse.js'; +export { default as stringify } from './stringify.js'; +export { default as v1 } from './v1.js'; +export { default as v1ToV6 } from './v1ToV6.js'; +export { default as v3 } from './v3.js'; +export { default as v4 } from './v4.js'; +export { default as v5 } from './v5.js'; +export { default as v6 } from './v6.js'; +export { default as v6ToV1 } from './v6ToV1.js'; +export { default as v7 } from './v7.js'; +export { default as validate } from './validate.js'; +export { default as version } from './version.js'; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/max.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/max.js new file mode 100644 index 0000000..58951f6 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/max.js @@ -0,0 +1 @@ +export default 'ffffffff-ffff-ffff-ffff-ffffffffffff'; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/md5.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/md5.js new file mode 100644 index 0000000..918be8c --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/md5.js @@ -0,0 +1,135 @@ +function md5(bytes) { + const words = uint8ToUint32(bytes); + const md5Bytes = wordsToMd5(words, bytes.length * 8); + return uint32ToUint8(md5Bytes); +} +function uint32ToUint8(input) { + const bytes = new Uint8Array(input.length * 4); + for (let i = 0; i < input.length * 4; i++) { + bytes[i] = (input[i >> 2] >>> ((i % 4) * 8)) & 0xff; + } + return bytes; +} +function getOutputLength(inputLength8) { + return (((inputLength8 + 64) >>> 9) << 4) + 14 + 1; +} +function wordsToMd5(x, len) { + const xpad = new Uint32Array(getOutputLength(len)).fill(0); + xpad.set(x); + xpad[len >> 5] |= 0x80 << len % 32; + xpad[xpad.length - 1] = len; + x = xpad; + let a = 1732584193; + let b = -271733879; + let c = -1732584194; + let d = 271733878; + for (let i = 0; i < x.length; i += 16) { + const olda = a; + const oldb = b; + const oldc = c; + const oldd = d; + a = md5ff(a, b, c, d, x[i], 7, -680876936); + d = md5ff(d, a, b, c, x[i + 1], 12, -389564586); + c = md5ff(c, d, a, b, x[i + 2], 17, 606105819); + b = md5ff(b, c, d, a, x[i + 3], 22, -1044525330); + a = md5ff(a, b, c, d, x[i + 4], 7, -176418897); + d = md5ff(d, a, b, c, x[i + 5], 12, 1200080426); + c = md5ff(c, d, a, b, x[i + 6], 17, -1473231341); + b = md5ff(b, c, d, a, x[i + 7], 22, -45705983); + a = md5ff(a, b, c, d, x[i + 8], 7, 1770035416); + d = md5ff(d, a, b, c, x[i + 9], 12, -1958414417); + c = md5ff(c, d, a, b, x[i + 10], 17, -42063); + b = md5ff(b, c, d, a, x[i + 11], 22, -1990404162); + a = md5ff(a, b, c, d, x[i + 12], 7, 1804603682); + d = md5ff(d, a, b, c, x[i + 13], 12, -40341101); + c = md5ff(c, d, a, b, x[i + 14], 17, -1502002290); + b = md5ff(b, c, d, a, x[i + 15], 22, 1236535329); + a = md5gg(a, b, c, d, x[i + 1], 5, -165796510); + d = md5gg(d, a, b, c, x[i + 6], 9, -1069501632); + c = md5gg(c, d, a, b, x[i + 11], 14, 643717713); + b = md5gg(b, c, d, a, x[i], 20, -373897302); + a = md5gg(a, b, c, d, x[i + 5], 5, -701558691); + d = md5gg(d, a, b, c, x[i + 10], 9, 38016083); + c = md5gg(c, d, a, b, x[i + 15], 14, -660478335); + b = md5gg(b, c, d, a, x[i + 4], 20, -405537848); + a = md5gg(a, b, c, d, x[i + 9], 5, 568446438); + d = md5gg(d, a, b, c, x[i + 14], 9, -1019803690); + c = md5gg(c, d, a, b, x[i + 3], 14, -187363961); + b = md5gg(b, c, d, a, x[i + 8], 20, 1163531501); + a = md5gg(a, b, c, d, x[i + 13], 5, -1444681467); + d = md5gg(d, a, b, c, x[i + 2], 9, -51403784); + c = md5gg(c, d, a, b, x[i + 7], 14, 1735328473); + b = md5gg(b, c, d, a, x[i + 12], 20, -1926607734); + a = md5hh(a, b, c, d, x[i + 5], 4, -378558); + d = md5hh(d, a, b, c, x[i + 8], 11, -2022574463); + c = md5hh(c, d, a, b, x[i + 11], 16, 1839030562); + b = md5hh(b, c, d, a, x[i + 14], 23, -35309556); + a = md5hh(a, b, c, d, x[i + 1], 4, -1530992060); + d = md5hh(d, a, b, c, x[i + 4], 11, 1272893353); + c = md5hh(c, d, a, b, x[i + 7], 16, -155497632); + b = md5hh(b, c, d, a, x[i + 10], 23, -1094730640); + a = md5hh(a, b, c, d, x[i + 13], 4, 681279174); + d = md5hh(d, a, b, c, x[i], 11, -358537222); + c = md5hh(c, d, a, b, x[i + 3], 16, -722521979); + b = md5hh(b, c, d, a, x[i + 6], 23, 76029189); + a = md5hh(a, b, c, d, x[i + 9], 4, -640364487); + d = md5hh(d, a, b, c, x[i + 12], 11, -421815835); + c = md5hh(c, d, a, b, x[i + 15], 16, 530742520); + b = md5hh(b, c, d, a, x[i + 2], 23, -995338651); + a = md5ii(a, b, c, d, x[i], 6, -198630844); + d = md5ii(d, a, b, c, x[i + 7], 10, 1126891415); + c = md5ii(c, d, a, b, x[i + 14], 15, -1416354905); + b = md5ii(b, c, d, a, x[i + 5], 21, -57434055); + a = md5ii(a, b, c, d, x[i + 12], 6, 1700485571); + d = md5ii(d, a, b, c, x[i + 3], 10, -1894986606); + c = md5ii(c, d, a, b, x[i + 10], 15, -1051523); + b = md5ii(b, c, d, a, x[i + 1], 21, -2054922799); + a = md5ii(a, b, c, d, x[i + 8], 6, 1873313359); + d = md5ii(d, a, b, c, x[i + 15], 10, -30611744); + c = md5ii(c, d, a, b, x[i + 6], 15, -1560198380); + b = md5ii(b, c, d, a, x[i + 13], 21, 1309151649); + a = md5ii(a, b, c, d, x[i + 4], 6, -145523070); + d = md5ii(d, a, b, c, x[i + 11], 10, -1120210379); + c = md5ii(c, d, a, b, x[i + 2], 15, 718787259); + b = md5ii(b, c, d, a, x[i + 9], 21, -343485551); + a = safeAdd(a, olda); + b = safeAdd(b, oldb); + c = safeAdd(c, oldc); + d = safeAdd(d, oldd); + } + return Uint32Array.of(a, b, c, d); +} +function uint8ToUint32(input) { + if (input.length === 0) { + return new Uint32Array(); + } + const output = new Uint32Array(getOutputLength(input.length * 8)).fill(0); + for (let i = 0; i < input.length; i++) { + output[i >> 2] |= (input[i] & 0xff) << ((i % 4) * 8); + } + return output; +} +function safeAdd(x, y) { + const lsw = (x & 0xffff) + (y & 0xffff); + const msw = (x >> 16) + (y >> 16) + (lsw >> 16); + return (msw << 16) | (lsw & 0xffff); +} +function bitRotateLeft(num, cnt) { + return (num << cnt) | (num >>> (32 - cnt)); +} +function md5cmn(q, a, b, x, s, t) { + return safeAdd(bitRotateLeft(safeAdd(safeAdd(a, q), safeAdd(x, t)), s), b); +} +function md5ff(a, b, c, d, x, s, t) { + return md5cmn((b & c) | (~b & d), a, b, x, s, t); +} +function md5gg(a, b, c, d, x, s, t) { + return md5cmn((b & d) | (c & ~d), a, b, x, s, t); +} +function md5hh(a, b, c, d, x, s, t) { + return md5cmn(b ^ c ^ d, a, b, x, s, t); +} +function md5ii(a, b, c, d, x, s, t) { + return md5cmn(c ^ (b | ~d), a, b, x, s, t); +} +export default md5; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/native.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/native.js new file mode 100644 index 0000000..76f44f9 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/native.js @@ -0,0 +1,2 @@ +const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto); +export default { randomUUID }; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/nil.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/nil.js new file mode 100644 index 0000000..de6f830 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/nil.js @@ -0,0 +1 @@ +export default '00000000-0000-0000-0000-000000000000'; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/parse.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/parse.js new file mode 100644 index 0000000..64ac401 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/parse.js @@ -0,0 +1,9 @@ +import validate from './validate.js'; +function parse(uuid) { + if (!validate(uuid)) { + throw TypeError('Invalid UUID'); + } + let v; + return Uint8Array.of((v = parseInt(uuid.slice(0, 8), 16)) >>> 24, (v >>> 16) & 0xff, (v >>> 8) & 0xff, v & 0xff, (v = parseInt(uuid.slice(9, 13), 16)) >>> 8, v & 0xff, (v = parseInt(uuid.slice(14, 18), 16)) >>> 8, v & 0xff, (v = parseInt(uuid.slice(19, 23), 16)) >>> 8, v & 0xff, ((v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000) & 0xff, (v / 0x100000000) & 0xff, (v >>> 24) & 0xff, (v >>> 16) & 0xff, (v >>> 8) & 0xff, v & 0xff); +} +export default parse; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/regex.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/regex.js new file mode 100644 index 0000000..3e38591 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/regex.js @@ -0,0 +1 @@ +export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/rng.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/rng.js new file mode 100644 index 0000000..770f2e2 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/rng.js @@ -0,0 +1,11 @@ +let getRandomValues; +const rnds8 = new Uint8Array(16); +export default function rng() { + if (!getRandomValues) { + if (typeof crypto === 'undefined' || !crypto.getRandomValues) { + throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported'); + } + getRandomValues = crypto.getRandomValues.bind(crypto); + } + return getRandomValues(rnds8); +} diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/sha1.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/sha1.js new file mode 100644 index 0000000..dbb78ae --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/sha1.js @@ -0,0 +1,70 @@ +function f(s, x, y, z) { + switch (s) { + case 0: + return (x & y) ^ (~x & z); + case 1: + return x ^ y ^ z; + case 2: + return (x & y) ^ (x & z) ^ (y & z); + case 3: + return x ^ y ^ z; + } +} +function ROTL(x, n) { + return (x << n) | (x >>> (32 - n)); +} +function sha1(bytes) { + const K = [0x5a827999, 0x6ed9eba1, 0x8f1bbcdc, 0xca62c1d6]; + const H = [0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476, 0xc3d2e1f0]; + const newBytes = new Uint8Array(bytes.length + 1); + newBytes.set(bytes); + newBytes[bytes.length] = 0x80; + bytes = newBytes; + const l = bytes.length / 4 + 2; + const N = Math.ceil(l / 16); + const M = new Array(N); + for (let i = 0; i < N; ++i) { + const arr = new Uint32Array(16); + for (let j = 0; j < 16; ++j) { + arr[j] = + (bytes[i * 64 + j * 4] << 24) | + (bytes[i * 64 + j * 4 + 1] << 16) | + (bytes[i * 64 + j * 4 + 2] << 8) | + bytes[i * 64 + j * 4 + 3]; + } + M[i] = arr; + } + M[N - 1][14] = ((bytes.length - 1) * 8) / Math.pow(2, 32); + M[N - 1][14] = Math.floor(M[N - 1][14]); + M[N - 1][15] = ((bytes.length - 1) * 8) & 0xffffffff; + for (let i = 0; i < N; ++i) { + const W = new Uint32Array(80); + for (let t = 0; t < 16; ++t) { + W[t] = M[i][t]; + } + for (let t = 16; t < 80; ++t) { + W[t] = ROTL(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1); + } + let a = H[0]; + let b = H[1]; + let c = H[2]; + let d = H[3]; + let e = H[4]; + for (let t = 0; t < 80; ++t) { + const s = Math.floor(t / 20); + const T = (ROTL(a, 5) + f(s, b, c, d) + e + K[s] + W[t]) >>> 0; + e = d; + d = c; + c = ROTL(b, 30) >>> 0; + b = a; + a = T; + } + H[0] = (H[0] + a) >>> 0; + H[1] = (H[1] + b) >>> 0; + H[2] = (H[2] + c) >>> 0; + H[3] = (H[3] + d) >>> 0; + H[4] = (H[4] + e) >>> 0; + } + return Uint8Array.of(H[0] >> 24, H[0] >> 16, H[0] >> 8, H[0], H[1] >> 24, H[1] >> 16, H[1] >> 8, H[1], H[2] >> 24, H[2] >> 16, H[2] >> 8, H[2], H[3] >> 24, H[3] >> 16, H[3] >> 8, H[3], H[4] >> 24, H[4] >> 16, H[4] >> 8, H[4]); +} +export default sha1; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/stringify.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/stringify.js new file mode 100644 index 0000000..962738c --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/stringify.js @@ -0,0 +1,35 @@ +import validate from './validate.js'; +const byteToHex = []; +for (let i = 0; i < 256; ++i) { + byteToHex.push((i + 0x100).toString(16).slice(1)); +} +export function unsafeStringify(arr, offset = 0) { + return (byteToHex[arr[offset + 0]] + + byteToHex[arr[offset + 1]] + + byteToHex[arr[offset + 2]] + + byteToHex[arr[offset + 3]] + + '-' + + byteToHex[arr[offset + 4]] + + byteToHex[arr[offset + 5]] + + '-' + + byteToHex[arr[offset + 6]] + + byteToHex[arr[offset + 7]] + + '-' + + byteToHex[arr[offset + 8]] + + byteToHex[arr[offset + 9]] + + '-' + + byteToHex[arr[offset + 10]] + + byteToHex[arr[offset + 11]] + + byteToHex[arr[offset + 12]] + + byteToHex[arr[offset + 13]] + + byteToHex[arr[offset + 14]] + + byteToHex[arr[offset + 15]]).toLowerCase(); +} +function stringify(arr, offset = 0) { + const uuid = unsafeStringify(arr, offset); + if (!validate(uuid)) { + throw TypeError('Stringified UUID is invalid'); + } + return uuid; +} +export default stringify; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/types.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/types.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/types.js @@ -0,0 +1 @@ +export {}; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/uuid-bin.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/uuid-bin.js new file mode 100644 index 0000000..aa4d4ac --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/uuid-bin.js @@ -0,0 +1,70 @@ +import * as assert from 'node:assert/strict'; +import v1 from './v1.js'; +import v3 from './v3.js'; +import v4 from './v4.js'; +import v5 from './v5.js'; +import v6 from './v6.js'; +import v7 from './v7.js'; +function usage() { + console.log('Usage:'); + console.log(' uuid'); + console.log(' uuid v1'); + console.log(' uuid v3 '); + console.log(' uuid v4'); + console.log(' uuid v5 '); + console.log(' uuid v6'); + console.log(' uuid v7'); + console.log(' uuid --help'); + console.log('\nNote: may be "URL" or "DNS" to use the corresponding UUIDs defined by RFC9562'); +} +const args = process.argv.slice(2); +if (args.indexOf('--help') >= 0) { + usage(); + process.exit(0); +} +const version = args.shift() || 'v4'; +switch (version) { + case 'v1': + console.log(v1()); + break; + case 'v3': { + const name = args.shift(); + let namespace = args.shift(); + assert.ok(name != null, 'v3 name not specified'); + assert.ok(namespace != null, 'v3 namespace not specified'); + if (namespace === 'URL') { + namespace = v3.URL; + } + if (namespace === 'DNS') { + namespace = v3.DNS; + } + console.log(v3(name, namespace)); + break; + } + case 'v4': + console.log(v4()); + break; + case 'v5': { + const name = args.shift(); + let namespace = args.shift(); + assert.ok(name != null, 'v5 name not specified'); + assert.ok(namespace != null, 'v5 namespace not specified'); + if (namespace === 'URL') { + namespace = v5.URL; + } + if (namespace === 'DNS') { + namespace = v5.DNS; + } + console.log(v5(name, namespace)); + break; + } + case 'v6': + console.log(v6()); + break; + case 'v7': + console.log(v7()); + break; + default: + usage(); + process.exit(1); +} diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/v1.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/v1.js new file mode 100644 index 0000000..65e3f68 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/v1.js @@ -0,0 +1,83 @@ +import rng from './rng.js'; +import { unsafeStringify } from './stringify.js'; +const _state = {}; +function v1(options, buf, offset) { + let bytes; + const isV6 = options?._v6 ?? false; + if (options) { + const optionsKeys = Object.keys(options); + if (optionsKeys.length === 1 && optionsKeys[0] === '_v6') { + options = undefined; + } + } + if (options) { + bytes = v1Bytes(options.random ?? options.rng?.() ?? rng(), options.msecs, options.nsecs, options.clockseq, options.node, buf, offset); + } + else { + const now = Date.now(); + const rnds = rng(); + updateV1State(_state, now, rnds); + bytes = v1Bytes(rnds, _state.msecs, _state.nsecs, isV6 ? undefined : _state.clockseq, isV6 ? undefined : _state.node, buf, offset); + } + return buf ?? unsafeStringify(bytes); +} +export function updateV1State(state, now, rnds) { + state.msecs ??= -Infinity; + state.nsecs ??= 0; + if (now === state.msecs) { + state.nsecs++; + if (state.nsecs >= 10000) { + state.node = undefined; + state.nsecs = 0; + } + } + else if (now > state.msecs) { + state.nsecs = 0; + } + else if (now < state.msecs) { + state.node = undefined; + } + if (!state.node) { + state.node = rnds.slice(10, 16); + state.node[0] |= 0x01; + state.clockseq = ((rnds[8] << 8) | rnds[9]) & 0x3fff; + } + state.msecs = now; + return state; +} +function v1Bytes(rnds, msecs, nsecs, clockseq, node, buf, offset = 0) { + if (rnds.length < 16) { + throw new Error('Random bytes length must be >= 16'); + } + if (!buf) { + buf = new Uint8Array(16); + offset = 0; + } + else { + if (offset < 0 || offset + 16 > buf.length) { + throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`); + } + } + msecs ??= Date.now(); + nsecs ??= 0; + clockseq ??= ((rnds[8] << 8) | rnds[9]) & 0x3fff; + node ??= rnds.slice(10, 16); + msecs += 12219292800000; + const tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000; + buf[offset++] = (tl >>> 24) & 0xff; + buf[offset++] = (tl >>> 16) & 0xff; + buf[offset++] = (tl >>> 8) & 0xff; + buf[offset++] = tl & 0xff; + const tmh = ((msecs / 0x100000000) * 10000) & 0xfffffff; + buf[offset++] = (tmh >>> 8) & 0xff; + buf[offset++] = tmh & 0xff; + buf[offset++] = ((tmh >>> 24) & 0xf) | 0x10; + buf[offset++] = (tmh >>> 16) & 0xff; + buf[offset++] = (clockseq >>> 8) | 0x80; + buf[offset++] = clockseq & 0xff; + for (let n = 0; n < 6; ++n) { + buf[offset++] = node[n]; + } + return buf; +} +export default v1; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/v1ToV6.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/v1ToV6.js new file mode 100644 index 0000000..da0f763 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/v1ToV6.js @@ -0,0 +1,10 @@ +import parse from './parse.js'; +import { unsafeStringify } from './stringify.js'; +export default function v1ToV6(uuid) { + const v1Bytes = typeof uuid === 'string' ? parse(uuid) : uuid; + const v6Bytes = _v1ToV6(v1Bytes); + return typeof uuid === 'string' ? unsafeStringify(v6Bytes) : v6Bytes; +} +function _v1ToV6(v1Bytes) { + return Uint8Array.of(((v1Bytes[6] & 0x0f) << 4) | ((v1Bytes[7] >> 4) & 0x0f), ((v1Bytes[7] & 0x0f) << 4) | ((v1Bytes[4] & 0xf0) >> 4), ((v1Bytes[4] & 0x0f) << 4) | ((v1Bytes[5] & 0xf0) >> 4), ((v1Bytes[5] & 0x0f) << 4) | ((v1Bytes[0] & 0xf0) >> 4), ((v1Bytes[0] & 0x0f) << 4) | ((v1Bytes[1] & 0xf0) >> 4), ((v1Bytes[1] & 0x0f) << 4) | ((v1Bytes[2] & 0xf0) >> 4), 0x60 | (v1Bytes[2] & 0x0f), v1Bytes[3], v1Bytes[8], v1Bytes[9], v1Bytes[10], v1Bytes[11], v1Bytes[12], v1Bytes[13], v1Bytes[14], v1Bytes[15]); +} diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/v3.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/v3.js new file mode 100644 index 0000000..b5c3781 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/v3.js @@ -0,0 +1,9 @@ +import md5 from './md5.js'; +import v35, { DNS, URL } from './v35.js'; +export { DNS, URL } from './v35.js'; +function v3(value, namespace, buf, offset) { + return v35(0x30, md5, value, namespace, buf, offset); +} +v3.DNS = DNS; +v3.URL = URL; +export default v3; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/v35.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/v35.js new file mode 100644 index 0000000..3fe6573 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/v35.js @@ -0,0 +1,36 @@ +import parse from './parse.js'; +import { unsafeStringify } from './stringify.js'; +export function stringToBytes(str) { + str = unescape(encodeURIComponent(str)); + const bytes = new Uint8Array(str.length); + for (let i = 0; i < str.length; ++i) { + bytes[i] = str.charCodeAt(i); + } + return bytes; +} +export const DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8'; +export const URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8'; +export default function v35(version, hash, value, namespace, buf, offset) { + const valueBytes = typeof value === 'string' ? stringToBytes(value) : value; + const namespaceBytes = typeof namespace === 'string' ? parse(namespace) : namespace; + if (typeof namespace === 'string') { + namespace = parse(namespace); + } + if (namespace?.length !== 16) { + throw TypeError('Namespace must be array-like (16 iterable integer values, 0-255)'); + } + let bytes = new Uint8Array(16 + valueBytes.length); + bytes.set(namespaceBytes); + bytes.set(valueBytes, namespaceBytes.length); + bytes = hash(bytes); + bytes[6] = (bytes[6] & 0x0f) | version; + bytes[8] = (bytes[8] & 0x3f) | 0x80; + if (buf) { + offset = offset || 0; + for (let i = 0; i < 16; ++i) { + buf[offset + i] = bytes[i]; + } + return buf; + } + return unsafeStringify(bytes); +} diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/v4.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/v4.js new file mode 100644 index 0000000..cc9dc2d --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/v4.js @@ -0,0 +1,30 @@ +import native from './native.js'; +import rng from './rng.js'; +import { unsafeStringify } from './stringify.js'; +function _v4(options, buf, offset) { + options = options || {}; + const rnds = options.random ?? options.rng?.() ?? rng(); + if (rnds.length < 16) { + throw new Error('Random bytes length must be >= 16'); + } + rnds[6] = (rnds[6] & 0x0f) | 0x40; + rnds[8] = (rnds[8] & 0x3f) | 0x80; + if (buf) { + offset = offset || 0; + if (offset < 0 || offset + 16 > buf.length) { + throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`); + } + for (let i = 0; i < 16; ++i) { + buf[offset + i] = rnds[i]; + } + return buf; + } + return unsafeStringify(rnds); +} +function v4(options, buf, offset) { + if (native.randomUUID && !buf && !options) { + return native.randomUUID(); + } + return _v4(options, buf, offset); +} +export default v4; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/v5.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/v5.js new file mode 100644 index 0000000..bd470a4 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/v5.js @@ -0,0 +1,9 @@ +import sha1 from './sha1.js'; +import v35, { DNS, URL } from './v35.js'; +export { DNS, URL } from './v35.js'; +function v5(value, namespace, buf, offset) { + return v35(0x50, sha1, value, namespace, buf, offset); +} +v5.DNS = DNS; +v5.URL = URL; +export default v5; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/v6.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/v6.js new file mode 100644 index 0000000..278a339 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/v6.js @@ -0,0 +1,17 @@ +import { unsafeStringify } from './stringify.js'; +import v1 from './v1.js'; +import v1ToV6 from './v1ToV6.js'; +function v6(options, buf, offset) { + options ??= {}; + offset ??= 0; + let bytes = v1({ ...options, _v6: true }, new Uint8Array(16)); + bytes = v1ToV6(bytes); + if (buf) { + for (let i = 0; i < 16; i++) { + buf[offset + i] = bytes[i]; + } + return buf; + } + return unsafeStringify(bytes); +} +export default v6; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/v6ToV1.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/v6ToV1.js new file mode 100644 index 0000000..bfd942f --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/v6ToV1.js @@ -0,0 +1,10 @@ +import parse from './parse.js'; +import { unsafeStringify } from './stringify.js'; +export default function v6ToV1(uuid) { + const v6Bytes = typeof uuid === 'string' ? parse(uuid) : uuid; + const v1Bytes = _v6ToV1(v6Bytes); + return typeof uuid === 'string' ? unsafeStringify(v1Bytes) : v1Bytes; +} +function _v6ToV1(v6Bytes) { + return Uint8Array.of(((v6Bytes[3] & 0x0f) << 4) | ((v6Bytes[4] >> 4) & 0x0f), ((v6Bytes[4] & 0x0f) << 4) | ((v6Bytes[5] & 0xf0) >> 4), ((v6Bytes[5] & 0x0f) << 4) | (v6Bytes[6] & 0x0f), v6Bytes[7], ((v6Bytes[1] & 0x0f) << 4) | ((v6Bytes[2] & 0xf0) >> 4), ((v6Bytes[2] & 0x0f) << 4) | ((v6Bytes[3] & 0xf0) >> 4), 0x10 | ((v6Bytes[0] & 0xf0) >> 4), ((v6Bytes[0] & 0x0f) << 4) | ((v6Bytes[1] & 0xf0) >> 4), v6Bytes[8], v6Bytes[9], v6Bytes[10], v6Bytes[11], v6Bytes[12], v6Bytes[13], v6Bytes[14], v6Bytes[15]); +} diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/v7.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/v7.js new file mode 100644 index 0000000..276c9bf --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/v7.js @@ -0,0 +1,65 @@ +import rng from './rng.js'; +import { unsafeStringify } from './stringify.js'; +const _state = {}; +function v7(options, buf, offset) { + let bytes; + if (options) { + bytes = v7Bytes(options.random ?? options.rng?.() ?? rng(), options.msecs, options.seq, buf, offset); + } + else { + const now = Date.now(); + const rnds = rng(); + updateV7State(_state, now, rnds); + bytes = v7Bytes(rnds, _state.msecs, _state.seq, buf, offset); + } + return buf ?? unsafeStringify(bytes); +} +export function updateV7State(state, now, rnds) { + state.msecs ??= -Infinity; + state.seq ??= 0; + if (now > state.msecs) { + state.seq = (rnds[6] << 23) | (rnds[7] << 16) | (rnds[8] << 8) | rnds[9]; + state.msecs = now; + } + else { + state.seq = (state.seq + 1) | 0; + if (state.seq === 0) { + state.msecs++; + } + } + return state; +} +function v7Bytes(rnds, msecs, seq, buf, offset = 0) { + if (rnds.length < 16) { + throw new Error('Random bytes length must be >= 16'); + } + if (!buf) { + buf = new Uint8Array(16); + offset = 0; + } + else { + if (offset < 0 || offset + 16 > buf.length) { + throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`); + } + } + msecs ??= Date.now(); + seq ??= ((rnds[6] * 0x7f) << 24) | (rnds[7] << 16) | (rnds[8] << 8) | rnds[9]; + buf[offset++] = (msecs / 0x10000000000) & 0xff; + buf[offset++] = (msecs / 0x100000000) & 0xff; + buf[offset++] = (msecs / 0x1000000) & 0xff; + buf[offset++] = (msecs / 0x10000) & 0xff; + buf[offset++] = (msecs / 0x100) & 0xff; + buf[offset++] = msecs & 0xff; + buf[offset++] = 0x70 | ((seq >>> 28) & 0x0f); + buf[offset++] = (seq >>> 20) & 0xff; + buf[offset++] = 0x80 | ((seq >>> 14) & 0x3f); + buf[offset++] = (seq >>> 6) & 0xff; + buf[offset++] = ((seq << 2) & 0xff) | (rnds[10] & 0x03); + buf[offset++] = rnds[11]; + buf[offset++] = rnds[12]; + buf[offset++] = rnds[13]; + buf[offset++] = rnds[14]; + buf[offset++] = rnds[15]; + return buf; +} +export default v7; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/validate.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/validate.js new file mode 100644 index 0000000..444a1a2 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/validate.js @@ -0,0 +1,5 @@ +import REGEX from './regex.js'; +function validate(uuid) { + return typeof uuid === 'string' && REGEX.test(uuid); +} +export default validate; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/version.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/version.js new file mode 100644 index 0000000..bae91d3 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/dist/version.js @@ -0,0 +1,8 @@ +import validate from './validate.js'; +function version(uuid) { + if (!validate(uuid)) { + throw TypeError('Invalid UUID'); + } + return parseInt(uuid.slice(14, 15), 16); +} +export default version; diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/package.json b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/package.json new file mode 100644 index 0000000..ebc7c2b --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/node_modules/uuid/package.json @@ -0,0 +1,119 @@ +{ + "name": "uuid", + "version": "13.0.0", + "description": "RFC9562 UUIDs", + "type": "module", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "commitlint": { + "extends": [ + "@commitlint/config-conventional" + ] + }, + "keywords": [ + "uuid", + "guid", + "rfc4122", + "rfc9562" + ], + "license": "MIT", + "bin": { + "uuid": "./dist-node/bin/uuid" + }, + "sideEffects": false, + "types": "./dist/index.d.ts", + "exports": { + ".": { + "node": "./dist-node/index.js", + "default": "./dist/index.js" + }, + "./package.json": "./package.json" + }, + "files": [ + "dist", + "dist-node", + "!**/test" + ], + "devDependencies": { + "@babel/eslint-parser": "7.27.1", + "@commitlint/cli": "19.8.0", + "@commitlint/config-conventional": "19.8.0", + "@eslint/js": "9.26.0", + "bundlewatch": "0.4.1", + "commander": "13.1.0", + "eslint": "9.26.0", + "eslint-config-prettier": "10.1.2", + "eslint-plugin-prettier": "5.4.0", + "globals": "16.0.0", + "husky": "9.1.7", + "jest": "29.7.0", + "lint-staged": "15.5.2", + "neostandard": "0.12.1", + "npm-run-all": "4.1.5", + "prettier": "3.5.3", + "release-please": "17.0.0", + "runmd": "1.4.1", + "standard-version": "9.5.0", + "typescript": "5.2.2", + "typescript-eslint": "8.32.0" + }, + "optionalDevDependencies": { + "@wdio/browserstack-service": "9.2.1", + "@wdio/cli": "9.2.1", + "@wdio/jasmine-framework": "9.2.1", + "@wdio/local-runner": "9.2.1", + "@wdio/spec-reporter": "9.1.3", + "@wdio/static-server-service": "9.1.3" + }, + "scripts": { + "build": "./scripts/build.sh", + "build:watch": "tsc --watch -p tsconfig.json", + "bundlewatch": "npm run pretest:browser && bundlewatch --config bundlewatch.config.json", + "docs:diff": "npm run docs && git diff --quiet -I \"[0-9a-f-]{36}\" README.md", + "docs": "npm run build && npx runmd --output=README.md README_js.md", + "eslint:check": "eslint src/ test/ examples/ *.[jt]s", + "eslint:fix": "eslint --fix src/ test/ examples/ *.[jt]s", + "examples:browser:rollup:build": "cd examples/browser-rollup && npm run build", + "examples:browser:webpack:build": "cd examples/browser-webpack && npm run build", + "examples:node:esmodules:test": "cd examples/node-esmodules && npm test", + "examples:node:jest:test": "cd examples/node-jest && npm test", + "examples:node:typescript:test": "cd examples/typescript && npm test", + "lint": "npm run eslint:check && npm run prettier:check", + "md": "runmd --watch --output=README.md README_js.md", + "prepack": "npm run build -- --no-pack", + "prepare": "husky", + "prepublishOnly": "npm run build", + "pretest:benchmark": "npm run build", + "pretest:browser": "./scripts/iodd && npm run build && npm-run-all --parallel examples:browser:**", + "pretest:node": "npm run build", + "pretest": "npm run build", + "prettier:check": "prettier --check .", + "prettier:fix": "prettier --write .", + "release": "standard-version --no-verify", + "test:benchmark": "cd examples/benchmark && npm test", + "test:browser": "wdio run ./wdio.conf.js", + "test:node": "npm-run-all --parallel examples:node:**", + "test:watch": "node --test --enable-source-maps --watch dist-node/test/*.js", + "test": "node --test --enable-source-maps dist-node/test/*.js" + }, + "repository": { + "type": "git", + "url": "https://github.com/uuidjs/uuid.git" + }, + "lint-staged": { + "*": [ + "prettier --no-error-on-unmatched-pattern --write" + ], + "*.{js,jsx}": [ + "eslint --no-error-on-unmatched-pattern --fix" + ] + }, + "standard-version": { + "scripts": { + "postchangelog": "prettier --write CHANGELOG.md" + } + }, + "packageManager": "npm@11.3.0" +} diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/out/constants.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/out/constants.js new file mode 100644 index 0000000..e55ed78 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/out/constants.js @@ -0,0 +1,39 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CHOICE_WORKSPACE_DESC = exports.CHOICE_WORKSPACE_LABEL = exports.CHOICE_GLOBAL_DESC = exports.CHOICE_GLOBAL_LABEL = exports.PROMPT_CONFIRM_OVERWRITE = exports.PROMPT_CONFIRM_DELETE = exports.PROMPT_SELECT_PATTERN = exports.PROMPT_SELECT_SCOPE = exports.PROMPT_PATTERN_NAME_PLACEHOLDER = exports.PROMPT_PATTERN_NAME = exports.INFO_PATTERN_DELETED = exports.INFO_PATTERN_SAVED = exports.INFO_PATTERN_LOADED = exports.INFO_NO_PATTERNS = exports.ERR_MANAGING_PATTERNS = exports.ERR_LOADING_PATTERN = exports.ERR_SAVING_PATTERN = exports.ERR_PATTERN_NAME_EMPTY = exports.ERR_NO_SEARCH_STATE = exports.UI_MANAGE_TITLE = exports.UI_SECTION_USER = exports.UI_SECTION_WORKSPACE = exports.UI_NO_PATTERNS_FOUND = exports.UI_NO_PATTERNS = exports.MSG_TYPE_SAVE = exports.MSG_TYPE_LOAD = exports.MSG_TYPE_DELETE = exports.MSG_TYPE_PATTERNS = exports.MSG_TYPE_READY = exports.COMMAND_MANAGE = exports.SCOPE_WORKSPACE = exports.SCOPE_GLOBAL = exports.CONFIG_KEY_WORKSPACE_PATTERNS = exports.CONFIG_KEY_USER_PATTERNS = exports.CONFIG_NAMESPACE = void 0; +exports.CONFIG_NAMESPACE = 'patternStore'; +exports.CONFIG_KEY_USER_PATTERNS = 'savedPatterns'; +exports.CONFIG_KEY_WORKSPACE_PATTERNS = 'workspacePatterns'; +exports.SCOPE_GLOBAL = 'global'; +exports.SCOPE_WORKSPACE = 'workspace'; +exports.COMMAND_MANAGE = 'patternStore.manage'; +exports.MSG_TYPE_READY = 'ready'; +exports.MSG_TYPE_PATTERNS = 'patterns'; +exports.MSG_TYPE_DELETE = 'delete'; +exports.MSG_TYPE_LOAD = 'load'; +exports.MSG_TYPE_SAVE = 'save'; +exports.UI_NO_PATTERNS = 'No patterns yet'; +exports.UI_NO_PATTERNS_FOUND = 'No patterns found'; +exports.UI_SECTION_WORKSPACE = 'Workspace'; +exports.UI_SECTION_USER = 'User'; +exports.UI_MANAGE_TITLE = 'Manage Patterns'; +exports.ERR_NO_SEARCH_STATE = 'Could not read current search state'; +exports.ERR_PATTERN_NAME_EMPTY = 'Pattern name cannot be empty'; +exports.ERR_SAVING_PATTERN = 'Error saving pattern'; +exports.ERR_LOADING_PATTERN = 'Error loading pattern'; +exports.ERR_MANAGING_PATTERNS = 'Error managing patterns'; +exports.INFO_NO_PATTERNS = 'No saved patterns found. Use "PatternStore: Save Pattern" to create one.'; +exports.INFO_PATTERN_LOADED = 'Loaded pattern'; +exports.INFO_PATTERN_SAVED = 'Pattern saved'; +exports.INFO_PATTERN_DELETED = 'Pattern deleted'; +exports.PROMPT_PATTERN_NAME = 'Enter a name for this pattern'; +exports.PROMPT_PATTERN_NAME_PLACEHOLDER = 'e.g., "Replace quotes with angles"'; +exports.PROMPT_SELECT_SCOPE = 'Choose storage scope'; +exports.PROMPT_SELECT_PATTERN = 'Select a pattern to load'; +exports.PROMPT_CONFIRM_DELETE = 'Delete pattern'; +exports.PROMPT_CONFIRM_OVERWRITE = 'already exists. Overwrite?'; +exports.CHOICE_GLOBAL_LABEL = 'Global'; +exports.CHOICE_GLOBAL_DESC = 'Available in all workspaces'; +exports.CHOICE_WORKSPACE_LABEL = 'Workspace'; +exports.CHOICE_WORKSPACE_DESC = 'Only for this workspace'; +//# sourceMappingURL=constants.js.map \ No newline at end of file diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/out/extension.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/out/extension.js new file mode 100644 index 0000000..83ec5c2 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/out/extension.js @@ -0,0 +1,127 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.activate = activate; +exports.deactivate = deactivate; +const vscode = __importStar(require("vscode")); +const storage = __importStar(require("./storage")); +const searchCtx = __importStar(require("./searchCtx")); +const WebviewManager_1 = require("./webview/WebviewManager"); +/** + * Called when the extension is activated + */ +function activate(context) { + console.log('PatternStore extension is now active!'); + // Register command: Manage Patterns + const manageCommand = vscode.commands.registerCommand('patternStore.manage', async () => { + await managePatternsCommand(context.extensionUri); + }); + context.subscriptions.push(manageCommand); +} +/** + * Called when the extension is deactivated + */ +function deactivate() { + console.log('PatternStore extension is now deactivated'); +} +/** + * Command: Save the current search state as a pattern + */ +async function savePatternCommand() { + try { + vscode.window.showInformationMessage('PatternStore: Save Pattern command executed!'); + // Get current search state + const searchState = await searchCtx.getCurrentSearchState(); + if (!searchState) { + vscode.window.showErrorMessage('Could not read current search state'); + return; + } + // Prompt for pattern name + const label = await vscode.window.showInputBox({ + prompt: 'Enter a name for this pattern', + placeHolder: 'e.g., "Replace quotes with angles"', + validateInput: (value) => { + if (!value || value.trim().length === 0) { + return 'Pattern name cannot be empty'; + } + return null; + } + }); + if (!label) { + return; // User cancelled + } + // Ask for scope + const scopeChoice = await vscode.window.showQuickPick([ + { label: 'Global', description: 'Available in all workspaces', value: 'global' }, + { label: 'Workspace', description: 'Only for this workspace', value: 'workspace' } + ], { placeHolder: 'Choose storage scope' }); + if (!scopeChoice) { + return; // User cancelled + } + // Create pattern object + const pattern = { + id: 'new', // Temporary ID for new patterns + label: label.trim(), + find: searchState.find || '', + replace: searchState.replace || '', + flags: searchState.flags || { + isRegex: false, + isCaseSensitive: false, + matchWholeWord: false, + isMultiline: false + }, + scope: scopeChoice.value + }; + // Check if pattern exists (will check when we implement storage) + const exists = storage.patternExists(pattern.label, pattern.scope); + if (exists) { + const overwrite = await vscode.window.showWarningMessage(`A pattern named "${pattern.label}" already exists. Overwrite?`, 'Yes', 'No'); + if (overwrite !== 'Yes') { + return; + } + } + // Save pattern + await storage.savePattern(pattern); + } + catch (error) { + vscode.window.showErrorMessage(`Error saving pattern: ${error}`); + } +} +async function managePatternsCommand(extensionUri) { + console.log('Manage Patterns command pressed - opening webview'); + // For now, just open global patterns. We'll add separate commands later + WebviewManager_1.WebviewManager.show(extensionUri, 'global'); +} +//# sourceMappingURL=extension.js.map \ No newline at end of file diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/out/searchCtx.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/out/searchCtx.js new file mode 100644 index 0000000..3d35fc0 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/out/searchCtx.js @@ -0,0 +1,129 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getCurrentSearchState = getCurrentSearchState; +exports.loadPatternIntoSearch = loadPatternIntoSearch; +const vscode = __importStar(require("vscode")); +/** + * Get the current search state from the Search panel + * Returns null if unable to get the state + * + * NOTE: VS Code doesn't expose search panel state via API. + * This function tries to use editor selection as fallback. + */ +async function getCurrentSearchState() { + // Try to get selected text from active editor + const editor = vscode.window.activeTextEditor; + const selection = editor?.document.getText(editor.selection); + if (selection && selection.length > 0) { + // Use selection as find text + return { + find: selection, + replace: '', + flags: { + isRegex: false, + isCaseSensitive: false, + matchWholeWord: false, + isMultiline: false + } + }; + } + // No selection available - return null + // User will need to enter manually + return null; +} +/** + * Resolve placeholders like ${prompt:varname} in multiple strings + * Prompts once per unique placeholder name and reuses the value + */ +async function resolvePlaceholdersMultiple(texts) { + const RE = /\$\{prompt:([^}]+)\}/g; + // Collect all unique placeholder names across all texts + const allNames = new Set(); + for (const text of texts) { + Array.from(text.matchAll(RE), m => m[1]).forEach(name => allNames.add(name)); + } + const vals = {}; + // Prompt once for each unique placeholder + for (const name of allNames) { + const value = await vscode.window.showInputBox({ + prompt: `Value for ${name}`, + placeHolder: name + }); + if (value === undefined) { + return undefined; // User cancelled + } + vals[name] = value; + } + // Replace placeholders in all texts using the collected values + return texts.map(text => text.replace(RE, (_, name) => vals[name] ?? "")); +} +/** + * Resolve placeholders like ${prompt:varname} in a string (single text version) + */ +async function resolvePlaceholders(text) { + const result = await resolvePlaceholdersMultiple([text]); + return result ? result[0] : undefined; +} +async function loadPatternIntoSearch(pattern) { + try { + const hasReplace = pattern.replace && pattern.replace.trim().length > 0; + const textsToResolve = hasReplace ? [pattern.find, pattern.replace] : [pattern.find]; + const resolved = await resolvePlaceholdersMultiple(textsToResolve); + if (!resolved) { + return; // User cancelled + } + const find = resolved[0]; + const replace = hasReplace ? resolved[1] : ''; + const commandArgs = { + query: find, + replace: replace, + triggerSearch: false, // Don't auto-trigger search + isRegex: pattern.flags.isRegex, + isCaseSensitive: pattern.flags.isCaseSensitive, + matchWholeWord: pattern.flags.matchWholeWord, + preserveCase: false, + filesToInclude: pattern.filesToInclude || '', + filesToExclude: pattern.filesToExclude || '' + }; + await vscode.commands.executeCommand("workbench.action.findInFiles", commandArgs); + vscode.window.showInformationMessage(`✅ Loaded pattern: "${pattern.label}"`); + } + catch (error) { + vscode.window.showErrorMessage(`Failed to load pattern: ${error}`); + throw error; + } +} +//# sourceMappingURL=searchCtx.js.map \ No newline at end of file diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/out/storage.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/out/storage.js new file mode 100644 index 0000000..148a3d4 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/out/storage.js @@ -0,0 +1,158 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getAllPatterns = getAllPatterns; +exports.savePattern = savePattern; +exports.deletePattern = deletePattern; +exports.renamePattern = renamePattern; +exports.patternExists = patternExists; +const vscode = __importStar(require("vscode")); +const C = __importStar(require("./constants")); +/** + * Get patterns from settings and add runtime IDs + */ +function getPatternsByScope(scope) { + const config = vscode.workspace.getConfiguration(C.CONFIG_NAMESPACE); + const configKey = scope === 'global' ? C.CONFIG_KEY_USER_PATTERNS : C.CONFIG_KEY_WORKSPACE_PATTERNS; + let storedPatterns; + if (scope === 'global') { + storedPatterns = config.inspect(C.CONFIG_KEY_USER_PATTERNS)?.globalValue || []; + } + else { + storedPatterns = config.inspect(C.CONFIG_KEY_WORKSPACE_PATTERNS)?.workspaceValue || []; + } + // Add runtime IDs and ensure scope is set + return storedPatterns.map((p, index) => ({ + ...p, + id: `${scope}-${index}`, // Index-based runtime ID + scope: scope + })); +} +function getAllPatterns() { + const workspace = getPatternsByScope('workspace'); + const global = getPatternsByScope('global'); + // Return all patterns - duplicates across scopes are allowed + return [...workspace, ...global]; +} +async function savePattern(pattern) { + const config = vscode.workspace.getConfiguration(C.CONFIG_NAMESPACE); + const configKey = pattern.scope === 'global' ? C.CONFIG_KEY_USER_PATTERNS : C.CONFIG_KEY_WORKSPACE_PATTERNS; + const target = pattern.scope === 'global' + ? vscode.ConfigurationTarget.Global + : vscode.ConfigurationTarget.Workspace; + // Read fresh patterns with runtime IDs + const patternsWithIds = getPatternsByScope(pattern.scope); + // Find existing pattern by ID (runtime ID tells us the index it came from) + const existingIndex = patternsWithIds.findIndex(p => p.id === pattern.id); + const isUpdate = existingIndex !== -1; + // Strip runtime ID before saving + const { id, ...storedPattern } = pattern; + // Create array of stored patterns (without IDs) + let storedPatterns = patternsWithIds.map(p => { + const { id, ...stored } = p; + return stored; + }); + if (isUpdate) { + // Update existing pattern IN PLACE (maintains order) + storedPatterns[existingIndex] = storedPattern; + } + else { + // New pattern - add at beginning + storedPatterns.unshift(storedPattern); + } + // Save to settings (without IDs) + await config.update(configKey, storedPatterns, target); + // Only show message if it's a new pattern (not an update) + if (!isUpdate) { + vscode.window.showInformationMessage(`✅ Pattern "${pattern.label}" saved to ${pattern.scope} settings`); + } +} +async function deletePattern(id, scope) { + const config = vscode.workspace.getConfiguration(C.CONFIG_NAMESPACE); + const configKey = scope === 'global' ? C.CONFIG_KEY_USER_PATTERNS : C.CONFIG_KEY_WORKSPACE_PATTERNS; + const target = scope === 'global' + ? vscode.ConfigurationTarget.Global + : vscode.ConfigurationTarget.Workspace; + // Read fresh patterns with runtime IDs + const patternsWithIds = getPatternsByScope(scope); + // Find pattern by runtime ID + const patternToDelete = patternsWithIds.find(p => p.id === id); + if (!patternToDelete) { + vscode.window.showWarningMessage(`Pattern not found in ${scope} settings`); + return; + } + // Filter out the pattern and strip IDs + const storedPatterns = patternsWithIds + .filter(p => p.id !== id) + .map(p => { + const { id, ...stored } = p; + return stored; + }); + // Save updated list (without IDs) + await config.update(configKey, storedPatterns, target); + vscode.window.showInformationMessage(`🗑️ Pattern "${patternToDelete.label}" deleted from ${scope} settings`); +} +async function renamePattern(id, newLabel, scope) { + const config = vscode.workspace.getConfiguration(C.CONFIG_NAMESPACE); + const configKey = scope === 'global' ? C.CONFIG_KEY_USER_PATTERNS : C.CONFIG_KEY_WORKSPACE_PATTERNS; + const target = scope === 'global' + ? vscode.ConfigurationTarget.Global + : vscode.ConfigurationTarget.Workspace; + // Read fresh patterns with runtime IDs + const patternsWithIds = getPatternsByScope(scope); + // Find pattern by runtime ID + const pattern = patternsWithIds.find(p => p.id === id); + if (!pattern) { + vscode.window.showWarningMessage(`Pattern not found in ${scope} settings`); + return; + } + const oldLabel = pattern.label; + // Update label and strip IDs for saving + const storedPatterns = patternsWithIds.map(p => { + const { id: _id, ...stored } = p; + if (p.id === id) { + return { ...stored, label: newLabel }; + } + return stored; + }); + // Save updated list (without IDs) + await config.update(configKey, storedPatterns, target); + vscode.window.showInformationMessage(`✏️ Pattern renamed from "${oldLabel}" to "${newLabel}" in ${scope} settings`); +} +function patternExists(label, scope) { + const patterns = getPatternsByScope(scope); + return patterns.some(p => p.label === label); +} +//# sourceMappingURL=storage.js.map \ No newline at end of file diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/out/types.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/out/types.js new file mode 100644 index 0000000..11e638d --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/out/types.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=types.js.map \ No newline at end of file diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/out/webview/WebviewManager.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/out/webview/WebviewManager.js new file mode 100644 index 0000000..e556a72 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/out/webview/WebviewManager.js @@ -0,0 +1,266 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.WebviewManager = void 0; +const vscode = __importStar(require("vscode")); +const path = __importStar(require("path")); +const fs = __importStar(require("fs")); +const storage = __importStar(require("../storage")); +const searchCtx = __importStar(require("../searchCtx")); +/** + * Manages the webview panel for pattern management + */ +class WebviewManager { + /** + * Create or show the webview panel + */ + static show(extensionUri, scope) { + const column = vscode.window.activeTextEditor + ? vscode.window.activeTextEditor.viewColumn + : undefined; + // If we already have a panel, show it + if (WebviewManager.currentPanel) { + WebviewManager.currentPanel.panel.reveal(column); + return; + } + const panel = vscode.window.createWebviewPanel('patternStoreManage', 'PatternStore', column || vscode.ViewColumn.One, { + enableScripts: true, + retainContextWhenHidden: true, + }); + WebviewManager.currentPanel = new WebviewManager(panel, extensionUri, scope); + } + constructor(panel, extensionUri, scope) { + this.disposables = []; + this.isInternalSave = false; + this.panel = panel; + this.extensionUri = extensionUri; + this.scope = scope; + // Set initial HTML content + this.panel.webview.html = this.getHtmlContent(); + // Listen for when the panel is disposed + this.panel.onDidDispose(() => this.dispose(), null, this.disposables); + // Handle messages from the webview + this.panel.webview.onDidReceiveMessage(message => { + this.handleMessage(message); + }, null, this.disposables); + // Watch for external config changes + vscode.workspace.onDidChangeConfiguration(e => { + if (e.affectsConfiguration('patternStore')) { + this.handleExternalConfigChange(); + } + }, null, this.disposables); + this.sendPatterns(); + } + sendPatterns(selectId, selectScope, clearSelection) { + const allPatterns = storage.getAllPatterns(); + const workspacePatterns = allPatterns.filter(p => p.scope === 'workspace'); + const userPatterns = allPatterns.filter(p => p.scope === 'global'); + const message = { + type: 'patterns', + workspace: workspacePatterns, + user: userPatterns + }; + if (selectId && selectScope) { + message.selectPattern = { + id: selectId, + scope: selectScope + }; + } + if (clearSelection) { + message.clearSelection = true; + } + this.panel.webview.postMessage(message); + } + /** + * Handle external configuration changes (e.g., manual edits to settings.json) + */ + handleExternalConfigChange() { + // Don't show notification if this was an internal save + if (this.isInternalSave) { + this.isInternalSave = false; + return; + } + // Show warning to user for actual external changes + vscode.window.showWarningMessage('Pattern settings changed externally. Webview reloaded.'); + // Force full reload - this clears any dirty state and rebuilds runtime IDs + // Pass clearSelection flag to force the webview to clear the details view + this.sendPatterns(undefined, undefined, true); + } + async handleMessage(message) { + console.log('Received message from webview:', message); + switch (message.type) { + case 'ready': + // Webview is ready, send patterns + this.sendPatterns(); + break; + case 'delete': + await this.handleDelete(message.id, message.scope); + break; + case 'load': + await this.handleLoad(message.id, message.scope, message.pattern); + break; + case 'create': + await this.handleCreate(message.scope); + break; + case 'save': + await this.handleSave(message.pattern); + break; + } + } + async handleCreate(scope) { + // Generate unique label for new pattern + const existingPatterns = storage.getAllPatterns().filter(p => p.scope === scope); + const baseName = 'New Pattern'; + let label = baseName; + let counter = 1; + while (existingPatterns.some(p => p.label === label)) { + counter++; + label = `${baseName} ${counter}`; + } + const newPattern = { + id: 'new', // Temporary ID for new patterns + label: label, + find: '', + replace: '', + flags: { + isRegex: false, + isCaseSensitive: false, + matchWholeWord: false, + isMultiline: false + }, + scope: scope + }; + // Mark as internal save to suppress external change notification + this.isInternalSave = true; + await storage.savePattern(newPattern); + // New pattern will be at index 0 (savePattern uses unshift) + this.sendPatterns(`${scope}-0`, scope); + } + async handleSave(patternData) { + const { id, label, find, replace, flags, filesToInclude, filesToExclude, scope } = patternData; + const pattern = { + id: id, // Preserve existing ID + label: label, + find: find, + replace: replace, + flags: flags, + filesToInclude: filesToInclude, + filesToExclude: filesToExclude, + scope: scope + }; + // Mark as internal save to suppress external change notification + this.isInternalSave = true; + await storage.savePattern(pattern); + this.sendPatterns(id, scope); + } + async handleDelete(id, scope) { + // Find pattern to get label for confirmation + const allPatterns = storage.getAllPatterns(); + const pattern = allPatterns.find(p => p.id === id && p.scope === scope); + if (!pattern) { + vscode.window.showErrorMessage(`Pattern not found`); + return; + } + // Confirm deletion + const confirm = await vscode.window.showWarningMessage(`Delete pattern "${pattern.label}"?`, { modal: true }, 'Delete'); + if (confirm === 'Delete') { + // Mark as internal save to suppress external change notification + this.isInternalSave = true; + await storage.deletePattern(id, scope); + // Refresh pattern list + this.sendPatterns(); + } + } + async handleLoad(id, scope, providedPattern) { + let pattern = providedPattern; + // If no pattern was provided, look it up + if (!pattern) { + const allPatterns = storage.getAllPatterns(); + pattern = allPatterns.find(p => p.id === id && p.scope === scope); + if (!pattern) { + vscode.window.showErrorMessage(`Pattern "${id}" not found`); + return; + } + } + await searchCtx.loadPatternIntoSearch(pattern); + } + getHtmlContent() { + // Generate nonce for CSP + const nonce = this.getNonce(); + // Get URIs for webview resources + const cspSource = this.panel.webview.cspSource; + // Load HTML, CSS, and JS from files + const htmlPath = path.join(this.extensionUri.fsPath, 'src', 'webview', 'html', 'patternManager.html'); + const cssPath = path.join(this.extensionUri.fsPath, 'src', 'webview', 'css', 'patternManager.css'); + const jsPath = path.join(this.extensionUri.fsPath, 'src', 'webview', 'js', 'patternManager.js'); + let html = fs.readFileSync(htmlPath, 'utf8'); + const css = fs.readFileSync(cssPath, 'utf8'); + const js = fs.readFileSync(jsPath, 'utf8'); + // Build style tag with nonce + const styleTag = ``; + // Replace placeholders + html = html.replace(/{{nonce}}/g, nonce); + html = html.replace(/{{cspSource}}/g, cspSource); + html = html.replace(/{{styleTag}}/g, styleTag); + html = html.replace(/{{script}}/g, js); + return html; + } + /** + * Generate a nonce for CSP + */ + getNonce() { + let text = ''; + const possible = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; + for (let i = 0; i < 32; i++) { + text += possible.charAt(Math.floor(Math.random() * possible.length)); + } + return text; + } + /** + * Clean up resources + */ + dispose() { + WebviewManager.currentPanel = undefined; + this.panel.dispose(); + while (this.disposables.length) { + const disposable = this.disposables.pop(); + if (disposable) { + disposable.dispose(); + } + } + } +} +exports.WebviewManager = WebviewManager; +//# sourceMappingURL=WebviewManager.js.map \ No newline at end of file diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/package.json b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/package.json new file mode 100644 index 0000000..efc397e --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/package.json @@ -0,0 +1,148 @@ +{ + "name": "patternstore", + "displayName": "PatternStore", + "description": "Save and recall reusable regex find/replace pairs in VS Code", + "version": "0.1.12", + "publisher": "jdunkel", + "engines": { + "vscode": "^1.85.0" + }, + "icon": "assets/pattern-store-icon.png", + "repository": { + "type": "git", + "url": "https://github.com/JoachimDunkel/PatternStore" + }, + "keywords": [ + "search", + "replace", + "regex", + "find", + "pattern", + "snippet" + ], + "categories": [ + "Other" + ], + "galleryBanner": { + "color": "#1e1e1e", + "theme": "dark" + }, + "main": "./out/extension.js", + "contributes": { + "commands": [ + { + "command": "patternStore.manage", + "title": "PatternStore: Manage Patterns", + "icon": "$(book)" + } + ], + "configuration": { + "title": "PatternStore", + "properties": { + "patternStore.savedPatterns": { + "type": "array", + "default": [], + "description": "Global patterns available in all workspaces", + "items": { + "type": "object", + "properties": { + "label": { + "type": "string" + }, + "find": { + "type": "string" + }, + "replace": { + "type": "string" + }, + "flags": { + "type": "object" + }, + "filesToInclude": { + "type": "string", + "description": "Files to include (glob pattern, e.g. '*.ts,*.js' or 'src/**')" + }, + "filesToExclude": { + "type": "string", + "description": "Files to exclude (glob pattern, e.g. 'node_modules/**,dist/**')" + }, + "scope": { + "type": "string" + } + } + } + }, + "patternStore.workspacePatterns": { + "type": "array", + "default": [], + "description": "Workspace-specific patterns", + "scope": "resource", + "items": { + "type": "object", + "properties": { + "label": { + "type": "string" + }, + "find": { + "type": "string" + }, + "replace": { + "type": "string" + }, + "flags": { + "type": "object" + }, + "filesToInclude": { + "type": "string", + "description": "Files to include (glob pattern, e.g. '*.ts,*.js' or 'src/**')" + }, + "filesToExclude": { + "type": "string", + "description": "Files to exclude (glob pattern, e.g. 'node_modules/**,dist/**')" + }, + "scope": { + "type": "string" + } + } + } + } + } + }, + "keybindings": [ + { + "command": "patternStore.manage", + "key": "ctrl+alt+r", + "mac": "cmd+alt+r" + } + ], + "menus": { + "view/title": [ + { + "command": "patternStore.manage", + "when": "view == workbench.view.search", + "group": "navigation" + } + ] + } + }, + "scripts": { + "vscode:prepublish": "npm run compile", + "compile": "tsc -p ./", + "watch": "tsc -watch -p ./", + "pretest": "npm run compile && npm run lint", + "lint": "eslint src --ext ts" + }, + "devDependencies": { + "@types/node": "^20.x", + "@types/vscode": "^1.85.0", + "@typescript-eslint/eslint-plugin": "^6.x", + "@typescript-eslint/parser": "^6.x", + "eslint": "^8.x", + "typescript": "^5.3.0" + }, + "__metadata": { + "installedTimestamp": 1783822352061, + "targetPlatform": "undefined", + "size": 1218391 + } +} \ No newline at end of file diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/src/webview/css/patternManager.css b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/src/webview/css/patternManager.css new file mode 100644 index 0000000..1d1131a --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/src/webview/css/patternManager.css @@ -0,0 +1,561 @@ +body { + padding: 0; + margin: 0; + font-family: var(--vscode-font-family); + color: var(--vscode-foreground); +} + +.container { + display: flex; + height: 100vh; + gap: 0; + background: var(--vscode-panel-border); + position: relative; +} + +/* Left panel - Pattern list */ +.pattern-list-panel { + flex: 0 0 300px; + min-width: 200px; + max-width: 600px; + background: var(--vscode-sideBar-background); + display: flex; + flex-direction: column; +} + +/* Resize Handle */ +.resize-handle { + flex: 0 0 4px; + background: var(--vscode-panel-border); + cursor: ew-resize; + position: relative; + user-select: none; +} + +.resize-handle:hover { + background: var(--vscode-focusBorder); +} + +.resize-handle.resizing { + background: var(--vscode-focusBorder); +} + +.search-box { + padding: 8px; + background: var(--vscode-sideBar-background); + border-bottom: 1px solid var(--vscode-panel-border); + position: relative; +} + +.search-wrapper { + position: relative; + display: flex; + align-items: center; +} + +.search-icon { + position: absolute; + left: 8px; + pointer-events: none; + color: var(--vscode-input-placeholderForeground); + font-size: 14px; +} + +.search-input { + width: 100%; + padding: 6px 30px 6px 30px; + background: var(--vscode-input-background); + color: var(--vscode-input-foreground); + border: 1px solid var(--vscode-input-border); + border-radius: 2px; + font-size: 13px; + box-sizing: border-box; +} + +.search-input:focus { + outline: none; + border-color: var(--vscode-focusBorder); +} + +.search-clear { + position: absolute; + right: 6px; + padding: 4px; + background: transparent; + border: none; + cursor: pointer; + color: var(--vscode-input-placeholderForeground); + border-radius: 3px; + display: none; + align-items: center; + justify-content: center; + width: 20px; + height: 20px; + transition: all 0.15s ease; +} + +.search-clear:hover { + background: var(--vscode-toolbar-hoverBackground); + color: var(--vscode-foreground); +} + +.search-clear.visible { + display: flex; +} + +.search-clear .codicon { + font-size: 12px; +} + +.pattern-list { + flex: 1; + overflow-y: auto; + padding: 4px; +} + +.section-header { + padding: 8px 12px; + font-weight: 600; + font-size: 11px; + text-transform: uppercase; + color: var(--vscode-foreground); + opacity: 0.6; + letter-spacing: 0.5px; + margin-top: 8px; + display: flex; + align-items: center; + justify-content: space-between; + user-select: none; +} + +.section-header-left { + display: flex; + align-items: center; + gap: 6px; + cursor: pointer; + flex: 1; +} + +.add-pattern-btn { + padding: 4px; + background: transparent; + border: none; + cursor: pointer; + color: var(--vscode-foreground); + opacity: 0.6; + border-radius: 3px; + display: flex; + align-items: center; + justify-content: center; + width: 20px; + height: 20px; + transition: all 0.15s ease; +} + +.add-pattern-btn:hover { + background: var(--vscode-toolbar-hoverBackground); + opacity: 1; +} + +.add-pattern-btn .codicon { + font-size: 14px; +} + +.section-header:hover { + opacity: 0.8; +} + +.section-header:first-child { + margin-top: 0; +} + +.section-header .codicon { + font-size: 14px; + transition: transform 0.1s ease; +} + +.section-header.collapsed .codicon { + transform: rotate(-90deg); +} + +.section-content { + max-height: 10000px; + overflow: hidden; + transition: max-height 0.15s ease; +} + +.section-content.collapsed { + max-height: 0; +} + +.empty-state { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + padding: 48px 24px; + color: var(--vscode-descriptionForeground); + text-align: center; + font-size: 14px; +} + +.empty-state-section { + padding: 16px; + text-align: center; + color: var(--vscode-descriptionForeground); + font-size: 13px; + opacity: 0.8; +} + +.pattern-item { + padding: 8px 12px; + cursor: pointer; + border-radius: 3px; + margin-bottom: 2px; + display: flex; + align-items: center; + gap: 8px; + position: relative; +} + +.pattern-item:hover { + background: var(--vscode-list-hoverBackground); +} + +.pattern-item:hover .pattern-actions { + opacity: 1; +} + +.pattern-item.selected { + background: var(--vscode-list-activeSelectionBackground); + color: var(--vscode-list-activeSelectionForeground); +} + +.pattern-info { + flex: 1; + min-width: 0; +} + +.pattern-name { + font-weight: 500; + margin-bottom: 2px; +} + +.pattern-preview { + font-size: 12px; + opacity: 0.8; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +.pattern-item-invalid { + border-left: 2px solid var(--vscode-errorForeground); + opacity: 0.8; +} + +.pattern-item-invalid .pattern-name .codicon-warning { + color: var(--vscode-errorForeground); + margin-left: 4px; + font-size: 13px; + vertical-align: middle; +} + +.pattern-item-invalid .pattern-preview { + color: var(--vscode-errorForeground); +} + +.pattern-item-invalid .pattern-preview em { + font-style: italic; + opacity: 0.7; +} + +/* Action buttons */ +.pattern-actions { + display: flex; + gap: 4px; + opacity: 0; + transition: opacity 0.15s ease; +} + +.action-btn { + padding: 4px; + background: transparent; + border: none; + cursor: pointer; + color: var(--vscode-foreground); + opacity: 0.7; + border-radius: 3px; + display: flex; + align-items: center; + justify-content: center; + width: 24px; + height: 24px; +} + +.action-btn:hover { + background: var(--vscode-toolbar-hoverBackground); + opacity: 1; +} + +.action-btn .codicon { + font-size: 16px; +} + +.action-btn.delete:hover { + color: var(--vscode-errorForeground); +} + +.action-btn.load:hover { + color: var(--vscode-textLink-foreground); +} + +/* Right panel - Edit form */ +.edit-panel { + flex: 1; + background: var(--vscode-editor-background); + overflow-y: auto; + padding: 16px; +} + +.edit-empty-state { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + height: 100%; + opacity: 0.5; + text-align: center; + padding: 40px 20px; +} + +.edit-empty-state .codicon { + font-size: 64px; + margin-bottom: 16px; + opacity: 0.6; +} + +.edit-empty-state p { + margin: 4px 0; + font-size: 14px; +} + +.edit-empty-state .hint { + font-size: 12px; + opacity: 0.7; +} + +.edit-form { + display: none; +} + +.edit-form.active { + display: block; +} + +.edit-form-header { + display: flex; + align-items: center; + gap: 8px; + margin-bottom: 12px; +} + +.edit-form h2 { + font-size: 13px; + font-weight: 600; + margin: 0; + text-transform: uppercase; + opacity: 0.8; + white-space: nowrap; +} + +.form-input-inline { + flex: 1; + padding: 4px 6px; + background: var(--vscode-input-background); + color: var(--vscode-input-foreground); + border: 1px solid var(--vscode-input-border); + border-radius: 2px; + font-size: 13px; + font-family: var(--vscode-editor-font-family); + box-sizing: border-box; +} + +.form-input-inline:focus { + outline: none; + border-color: var(--vscode-focusBorder); +} + +.form-group { + margin-bottom: 12px; +} + +.form-label { + display: block; + margin-bottom: 3px; + font-weight: 500; + font-size: 11px; + opacity: 0.8; + text-transform: uppercase; +} + +.form-label-with-options { + display: flex; + align-items: center; + justify-content: space-between; + margin-bottom: 3px; +} + +.form-label-with-options .form-label { + margin-bottom: 0; +} + +.form-input, +.form-textarea { + width: 100%; + padding: 4px 6px; + background: var(--vscode-input-background); + color: var(--vscode-input-foreground); + border: 1px solid var(--vscode-input-border); + border-radius: 2px; + font-size: 13px; + font-family: var(--vscode-editor-font-family); + box-sizing: border-box; +} + +.form-input:focus, +.form-textarea:focus { + outline: none; + border-color: var(--vscode-focusBorder); +} + +.form-input.error, +.form-textarea.error { + border-color: var(--vscode-errorForeground); +} + +.form-input.dirty, +.form-input-inline.dirty, +.form-textarea.dirty { + box-shadow: 0 0 0 1px rgba(106, 153, 85, 0.6); +} + +.form-textarea { + min-height: 60px; + resize: vertical; + font-family: var(--vscode-editor-font-family); +} + +.validation-error { + display: none; + color: var(--vscode-errorForeground); + font-size: 11px; + margin-top: 3px; +} + +.validation-error.visible { + display: block; +} + +.checkbox-group-icons { + display: flex; + gap: 4px; +} + +.toggle-btn { + padding: 4px 8px; + background: var(--vscode-button-secondaryBackground); + color: var(--vscode-button-secondaryForeground); + border: 1px solid transparent; + border-radius: 2px; + cursor: pointer; + display: flex; + align-items: center; + justify-content: center; + transition: all 0.15s ease; + min-width: 28px; + height: 24px; +} + +.toggle-btn:hover { + background: var(--vscode-button-secondaryHoverBackground); +} + +.toggle-btn.active { + background: var(--vscode-button-background); + color: var(--vscode-button-foreground); + border-color: var(--vscode-focusBorder); +} + +.toggle-btn.dirty { + border-color: #6a9955; +} + +.toggle-btn.active.dirty { + background: var(--vscode-button-background); + color: var(--vscode-button-foreground); + border-color: #6a9955; +} + +.toggle-btn .codicon { + font-size: 14px; +} + +.button-group { + display: flex; + gap: 6px; + margin-top: 16px; + padding-top: 12px; + border-top: 1px solid var(--vscode-panel-border); +} + +button { + padding: 5px 12px; + background: var(--vscode-button-background); + color: var(--vscode-button-foreground); + border: none; + border-radius: 2px; + cursor: pointer; + font-size: 12px; +} + +button:hover { + background: var(--vscode-button-hoverBackground); +} + +button.secondary { + background: var(--vscode-button-secondaryBackground); + color: var(--vscode-button-secondaryForeground); +} + +button.secondary:hover { + background: var(--vscode-button-secondaryHoverBackground); +} + +.dirty-indicator { + margin-left: 6px; + color: var(--vscode-editorWarning-foreground); + font-size: 8px; + animation: pulse 2s ease-in-out infinite; + width: 8px; + display: inline-block; + visibility: hidden; +} + +@keyframes pulse { + 0%, 100% { + opacity: 1; + } + 50% { + opacity: 0.5; + } +} + +@keyframes pulseBorder { + 0%, 100% { + border-color: #4ec9b0; + } + 50% { + border-color: #dcdcaa; + } +} \ No newline at end of file diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/src/webview/html/patternManager.html b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/src/webview/html/patternManager.html new file mode 100644 index 0000000..a65ebeb --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/src/webview/html/patternManager.html @@ -0,0 +1,106 @@ + + + + + + + + Manage Patterns + + {{styleTag}} + + + +
+ +
+ +
+ +
No patterns yet
+
+
+ + +
+ +
+
+ +

Select a pattern to edit

+

or create a new one with the + button

+
+ +
+
+

Pattern

+ +
+ +
+
+ +
+ + + + +
+
+ +
+ + + + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+
+
+
+ + + + + \ No newline at end of file diff --git a/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/src/webview/js/patternManager.js b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/src/webview/js/patternManager.js new file mode 100644 index 0000000..30b06fe --- /dev/null +++ b/assets/dotfiles/vscode-extensions/jdunkel.patternstore-0.1.12/src/webview/js/patternManager.js @@ -0,0 +1,857 @@ +const vscode = acquireVsCodeApi(); + +// Store patterns data +let workspacePatterns = []; +let userPatterns = []; +let workspacePatternsMap = new Map(); // id -> pattern +let userPatternsMap = new Map(); // id -> pattern +let searchQuery = ''; + +// Dirty state tracking +let savedPatternState = null; + +// Cache DOM elements for performance +const domCache = { + labelInput: null, + findInput: null, + replaceInput: null, + filesToInclude: null, + filesToExclude: null, + isRegex: null, + isCaseSensitive: null, + matchWholeWord: null, + isRegexBtn: null, + isCaseSensitiveBtn: null, + matchWholeWordBtn: null, + dirtyIndicator: null, + patternList: null, + editForm: null, + editEmptyState: null, + findValidationError: null +}; + +function initDomCache() { + domCache.labelInput = document.getElementById('labelInput'); + domCache.findInput = document.getElementById('findInput'); + domCache.replaceInput = document.getElementById('replaceInput'); + domCache.filesToInclude = document.getElementById('filesToInclude'); + domCache.filesToExclude = document.getElementById('filesToExclude'); + domCache.isRegex = document.getElementById('isRegex'); + domCache.isCaseSensitive = document.getElementById('isCaseSensitive'); + domCache.matchWholeWord = document.getElementById('matchWholeWord'); + domCache.isRegexBtn = document.getElementById('isRegexBtn'); + domCache.isCaseSensitiveBtn = document.getElementById('isCaseSensitiveBtn'); + domCache.matchWholeWordBtn = document.getElementById('matchWholeWordBtn'); + domCache.dirtyIndicator = document.getElementById('dirtyIndicator'); + domCache.patternList = document.getElementById('patternList'); + domCache.editForm = document.getElementById('editForm'); + domCache.editEmptyState = document.getElementById('editEmptyState'); + domCache.findValidationError = document.getElementById('findValidationError'); +} + +function checkIfDirty() { + const state = vscode.getState() || {}; + const currentPattern = state.currentPattern; + + if (!currentPattern || !savedPatternState) { + updateDirtyIndicator(false); + clearAllDirtyClasses(); + return; + } + + // Compare current form values with saved state + const isDirty = + domCache.labelInput.value.trim() !== savedPatternState.label || + domCache.findInput.value !== savedPatternState.find || + domCache.replaceInput.value !== savedPatternState.replace || + domCache.isRegex.checked !== savedPatternState.flags.isRegex || + domCache.isCaseSensitive.checked !== savedPatternState.flags.isCaseSensitive || + domCache.matchWholeWord.checked !== savedPatternState.flags.matchWholeWord || + (domCache.filesToInclude.value.trim() || '') !== (savedPatternState.filesToInclude || '') || + (domCache.filesToExclude.value.trim() || '') !== (savedPatternState.filesToExclude || ''); + + updateDirtyIndicator(isDirty); + updateFieldDirtyStates(); +} + +function updateDirtyIndicator(isDirty) { + if (domCache.dirtyIndicator) { + domCache.dirtyIndicator.style.visibility = isDirty ? 'visible' : 'hidden'; + } +} + +function updateFieldDirtyStates() { + if (!savedPatternState) { + clearAllDirtyClasses(); + return; + } + + // Check text inputs using cached DOM references + if (domCache.labelInput) { + toggleDirtyClass(domCache.labelInput, domCache.labelInput.value.trim() !== savedPatternState.label); + } + if (domCache.findInput) { + toggleDirtyClass(domCache.findInput, domCache.findInput.value !== savedPatternState.find); + } + if (domCache.replaceInput) { + toggleDirtyClass(domCache.replaceInput, domCache.replaceInput.value !== savedPatternState.replace); + } + if (domCache.filesToInclude) { + toggleDirtyClass(domCache.filesToInclude, (domCache.filesToInclude.value.trim() || '') !== (savedPatternState.filesToInclude || '')); + } + if (domCache.filesToExclude) { + toggleDirtyClass(domCache.filesToExclude, (domCache.filesToExclude.value.trim() || '') !== (savedPatternState.filesToExclude || '')); + } + + // Check toggle buttons using cached DOM references + if (domCache.isRegexBtn && domCache.isRegex) { + toggleDirtyClass(domCache.isRegexBtn, domCache.isRegex.checked !== savedPatternState.flags.isRegex); + } + if (domCache.isCaseSensitiveBtn && domCache.isCaseSensitive) { + toggleDirtyClass(domCache.isCaseSensitiveBtn, domCache.isCaseSensitive.checked !== savedPatternState.flags.isCaseSensitive); + } + if (domCache.matchWholeWordBtn && domCache.matchWholeWord) { + toggleDirtyClass(domCache.matchWholeWordBtn, domCache.matchWholeWord.checked !== savedPatternState.flags.matchWholeWord); + } +} + +function toggleDirtyClass(element, isDirty) { + if (isDirty) { + element.classList.add('dirty'); + } else { + element.classList.remove('dirty'); + } +} + +function clearAllDirtyClasses() { + const elements = [ + domCache.labelInput, domCache.findInput, domCache.replaceInput, + domCache.filesToInclude, domCache.filesToExclude, + domCache.isRegexBtn, domCache.isCaseSensitiveBtn, domCache.matchWholeWordBtn + ]; + + elements.forEach(element => { + if (element) { + element.classList.remove('dirty'); + } + }); +} + +function saveDirtyState(pattern) { + savedPatternState = { + label: pattern.label, + find: pattern.find || '', + replace: pattern.replace || '', + flags: { ...pattern.flags }, + filesToInclude: pattern.filesToInclude || '', + filesToExclude: pattern.filesToExclude || '' + }; + updateDirtyIndicator(false); + clearAllDirtyClasses(); +} + +function findPatternById(id, scope) { + const map = scope === 'workspace' ? workspacePatternsMap : userPatternsMap; + return map.get(id); +} + +function rebuildPatternMaps() { + workspacePatternsMap.clear(); + userPatternsMap.clear(); + + workspacePatterns.forEach(p => workspacePatternsMap.set(p.id, p)); + userPatterns.forEach(p => userPatternsMap.set(p.id, p)); +} + +// Get collapse state from localStorage +const getCollapseState = (section) => { + const state = vscode.getState() || {}; + return state[section + '_collapsed'] === true; +}; + +// Get collapse state with a default value if not previously set +const getCollapseStateWithDefault = (section, defaultValue) => { + const state = vscode.getState() || {}; + const key = section + '_collapsed'; + // If user has explicitly set a preference, use it; otherwise use default + return state[key] !== undefined ? state[key] : defaultValue; +}; + +// Save collapse state to localStorage +const setCollapseState = (section, collapsed) => { + const state = vscode.getState() || {}; + state[section + '_collapsed'] = collapsed; + vscode.setState(state); +}; + +window.addEventListener('message', event => { + const message = event.data; + + if (message.type === 'patterns') { + + disablePatternList(false); + document.body.style.cursor = ''; + + workspacePatterns = message.workspace; + userPatterns = message.user; + rebuildPatternMaps(); // Rebuild Maps for O(1) lookups + renderPatternList(); + setupSearchInput(); + + // Force clear selection if requested (e.g., on external config changes) + if (message.clearSelection) { + clearDetailsView(); + } else if (message.selectPattern) { + selectPattern(message.selectPattern.id, message.selectPattern.scope); + } else { + const state = vscode.getState() || {}; + if (state.currentPattern) { + const allPatterns = state.currentPattern.scope === 'workspace' ? workspacePatterns : userPatterns; + const stillExists = allPatterns.some(p => p.id === state.currentPattern.id); + + if (!stillExists) { + clearDetailsView(); + } + } + } + + // Focus search input when webview opens + const searchInput = document.getElementById('searchInput'); + if (searchInput) { + searchInput.focus(); + } + } +}); + +function setupSearchInput() { + const searchInput = document.getElementById('searchInput'); + const searchClear = document.getElementById('searchClear'); + + if (!searchInput || !searchClear) return; + + // if (searchInput.dataset.initialized === 'true') { + // return; + // } + + // searchInput.dataset.initialized = 'true'; + + searchInput.addEventListener('input', (e) => { + searchQuery = e.target.value.toLowerCase(); + + if (searchQuery) { + searchClear.classList.add('visible'); + } else { + searchClear.classList.remove('visible'); + } + + renderPatternList(); + }); + + searchClear.addEventListener('click', () => { + searchInput.value = ''; + searchQuery = ''; + searchClear.classList.remove('visible'); + renderPatternList(); + searchInput.focus(); + }); + + searchInput.addEventListener('keydown', (e) => { + if (e.key === 'Escape' && searchQuery) { + searchInput.value = ''; + searchQuery = ''; + searchClear.classList.remove('visible'); + renderPatternList(); + } + }); +} + +function filterPatterns(patterns) { + if (!searchQuery) return patterns; + + return patterns.filter(pattern => { + const nameMatch = pattern.label.toLowerCase().includes(searchQuery); + const findMatch = pattern.find.toLowerCase().includes(searchQuery); + const replaceMatch = pattern.replace && pattern.replace.toLowerCase().includes(searchQuery); + return nameMatch || findMatch || replaceMatch; + }); +} + + +function renderPatternList() { + const listContainer = document.getElementById('patternList'); + + const filteredWorkspace = filterPatterns(workspacePatterns); + const filteredUser = filterPatterns(userPatterns); + let html = ''; + + if (searchQuery && filteredWorkspace.length === 0 && filteredUser.length === 0) { + listContainer.innerHTML = '
No patterns found
'; + return; + } + + // Collapse empty sections by default, but respect user's saved preference + const workspaceCollapsed = searchQuery ? false : getCollapseStateWithDefault('workspace', filteredWorkspace.length === 0); + html += renderSection('workspace', 'Workspace', filteredWorkspace, workspaceCollapsed); + + const userCollapsed = searchQuery ? false : getCollapseStateWithDefault('user', filteredUser.length === 0); + html += renderSection('user', 'User', filteredUser, userCollapsed); + + listContainer.innerHTML = html; + + document.querySelectorAll('.section-header').forEach(header => { + header.addEventListener('click', toggleSection); + }); + + // Event delegation handles all pattern list interactions, no need to re-attach +} + + +function renderSection(id, title, patterns, collapsed) { + const chevron = collapsed ? 'codicon-chevron-right' : 'codicon-chevron-down'; + const contentClass = collapsed ? 'section-content collapsed' : 'section-content'; + + let html = ` +
+
+ + ${title} (${patterns.length}) +
+ +
+
+ `; + + if (patterns.length === 0) { + html += '
No patterns in this scope
'; + } else { + patterns.forEach(pattern => { + html += renderPatternItem(pattern); + }); + } + + html += '
'; + return html; +} + + +function toggleSection(event) { + if (event.target.closest('.add-pattern-btn')) { + return; + } + + const header = event.currentTarget; + const sectionId = header.dataset.section; + const content = document.querySelector('[data-section-content="' + sectionId + '"]'); + const chevron = header.querySelector('.codicon'); + + const isCollapsed = header.classList.contains('collapsed'); + + if (isCollapsed) { + header.classList.remove('collapsed'); + content.classList.remove('collapsed'); + chevron.classList.remove('codicon-chevron-right'); + chevron.classList.add('codicon-chevron-down'); + setCollapseState(sectionId, false); + } else { + header.classList.add('collapsed'); + content.classList.add('collapsed'); + chevron.classList.remove('codicon-chevron-down'); + chevron.classList.add('codicon-chevron-right'); + setCollapseState(sectionId, true); + } +} + +function renderPatternItem(pattern) { + const preview = pattern.find.substring(0, 40); + const truncated = pattern.find.length > 40 ? '...' : ''; + const isInvalid = !pattern.find || pattern.find.trim() === ''; + const invalidClass = isInvalid ? 'pattern-item-invalid' : ''; + + return ` +
+
+ ${pattern.label} + ${isInvalid ? '' : ''} +
+
${isInvalid ? 'Empty find pattern' : preview + truncated}
+
+
+ ${renderActionButton('trash', 'delete', 'Delete pattern')} + ${renderActionButton('arrow-right', 'load', 'Load to search')} +
+
+ `; +} + +function renderActionButton(icon, action, title) { + return ` + + `; +} + +// Event delegation for pattern list - set up once, works for all items +function setupEventDelegation() { + if (!domCache.patternList) return; + + // Delegate all pattern list events to the parent container + domCache.patternList.addEventListener('click', (event) => { + // Handle pattern item click + const patternItem = event.target.closest('.pattern-item'); + if (patternItem && !event.target.closest('.action-btn') && !event.target.closest('.add-pattern-btn')) { + handlePatternClick(patternItem); + return; + } + + // Handle action button clicks (load, delete) + const actionBtn = event.target.closest('.action-btn'); + if (actionBtn) { + event.stopPropagation(); + handleActionClick(actionBtn); + return; + } + + // Handle add pattern button clicks + const addBtn = event.target.closest('.add-pattern-btn'); + if (addBtn) { + event.stopPropagation(); + handleAddPattern(addBtn); + return; + } + }); +} + +function handlePatternClick(item) { + const id = item.dataset.id; + const scope = item.dataset.scope; + + document.querySelectorAll('.pattern-item').forEach(i => { + i.classList.remove('selected'); + }); + + item.classList.add('selected'); + + const pattern = findPatternById(id, scope); + + if (pattern) { + populateDetailsView(pattern); + } +} + +function populateDetailsView(pattern) { + domCache.editEmptyState.style.display = 'none'; + domCache.editForm.classList.add('active'); + + domCache.labelInput.value = pattern.label; + domCache.findInput.value = pattern.find || ''; + domCache.replaceInput.value = pattern.replace || ''; + + domCache.isRegex.checked = pattern.flags.isRegex; + domCache.isCaseSensitive.checked = pattern.flags.isCaseSensitive; + domCache.matchWholeWord.checked = pattern.flags.matchWholeWord; + + updateToggleButtonState(domCache.isRegexBtn, pattern.flags.isRegex); + updateToggleButtonState(domCache.isCaseSensitiveBtn, pattern.flags.isCaseSensitive); + updateToggleButtonState(domCache.matchWholeWordBtn, pattern.flags.matchWholeWord); + + domCache.findInput.classList.remove('error'); + domCache.findValidationError.classList.remove('visible'); + validateRegexPattern(); + + domCache.filesToInclude.value = pattern.filesToInclude || ''; + domCache.filesToExclude.value = pattern.filesToExclude || ''; + + const state = vscode.getState() || {}; + state.currentPattern = { + id: pattern.id, + label: pattern.label, + scope: pattern.scope + }; + vscode.setState(state); + + // Save the clean state for dirty tracking + saveDirtyState(pattern); +} + +function selectPattern(id, scope) { + const item = document.querySelector( + `.pattern-item[data-id="${id}"][data-scope="${scope}"]` + ); + + if (item) { + item.click(); + } +} + +function handleSavePattern() { + const state = vscode.getState() || {}; + const currentPattern = state.currentPattern; + + if (!currentPattern) { + console.error('No pattern selected to save'); + return; + } + + const label = domCache.labelInput.value.trim(); + const find = domCache.findInput.value; + const replace = domCache.replaceInput.value; + + if (!label) { + alert('Pattern name cannot be empty'); + return; + } + + disablePatternList(true); + document.body.style.cursor = 'wait'; + + const pattern = { + id: currentPattern.id, + label: label, + find: find, + replace: replace, + flags: { + isRegex: domCache.isRegex.checked, + isCaseSensitive: domCache.isCaseSensitive.checked, + matchWholeWord: domCache.matchWholeWord.checked, + isMultiline: false + }, + filesToInclude: domCache.filesToInclude.value.trim() || undefined, + filesToExclude: domCache.filesToExclude.value.trim() || undefined, + scope: currentPattern.scope + }; + + vscode.postMessage({ + type: 'save', + pattern: pattern + }); +} + +function disablePatternList(disabled) { + const listPanel = document.querySelector('.pattern-list-panel'); + if (disabled) { + listPanel.style.pointerEvents = 'none'; + listPanel.style.opacity = '0.6'; + } else { + listPanel.style.pointerEvents = ''; + listPanel.style.opacity = ''; + } +} + +function handleDeletePattern() { + const state = vscode.getState() || {}; + const currentPattern = state.currentPattern; + + if (!currentPattern) { + console.error('No pattern selected to delete'); + return; + } + + vscode.postMessage({ + type: 'delete', + id: currentPattern.id, + scope: currentPattern.scope + }); + +} + +function handleLoadPatternFromDetails() { + const state = vscode.getState() || {}; + const currentPattern = state.currentPattern; + + if (!currentPattern) { + console.error('No pattern selected to load'); + return; + } + + // Build pattern from current form values (may be dirty) + const pattern = { + id: currentPattern.id, + label: domCache.labelInput.value.trim(), + find: domCache.findInput.value, + replace: domCache.replaceInput.value, + flags: { + isRegex: domCache.isRegex.checked, + isCaseSensitive: domCache.isCaseSensitive.checked, + matchWholeWord: domCache.matchWholeWord.checked, + isMultiline: false + }, + filesToInclude: domCache.filesToInclude.value.trim() || undefined, + filesToExclude: domCache.filesToExclude.value.trim() || undefined, + scope: currentPattern.scope + }; + + vscode.postMessage({ + type: 'load', + id: currentPattern.id, + scope: currentPattern.scope, + pattern: pattern + }); +} + +function clearDetailsView() { + domCache.editForm.classList.remove('active'); + domCache.editEmptyState.style.display = 'flex'; + + domCache.labelInput.value = ''; + domCache.findInput.value = ''; + domCache.replaceInput.value = ''; + domCache.isRegex.checked = false; + domCache.isCaseSensitive.checked = false; + domCache.matchWholeWord.checked = false; + domCache.filesToInclude.value = ''; + domCache.filesToExclude.value = ''; + + const state = vscode.getState() || {}; + delete state.currentPattern; + vscode.setState(state); + + document.querySelectorAll('.pattern-item').forEach(i => { + i.classList.remove('selected'); + }); + + // Clear dirty state + savedPatternState = null; + updateDirtyIndicator(false); + clearAllDirtyClasses(); +} + +/** + * Setup toggle buttons for flags + */ +function setupToggleButtons() { + const buttons = [ + { btnId: 'isRegexBtn', checkboxId: 'isRegex' }, + { btnId: 'isCaseSensitiveBtn', checkboxId: 'isCaseSensitive' }, + { btnId: 'matchWholeWordBtn', checkboxId: 'matchWholeWord' } + ]; + + buttons.forEach(({ btnId, checkboxId }) => { + const btn = document.getElementById(btnId); + const checkbox = document.getElementById(checkboxId); + + if (!btn || !checkbox) return; + + btn.addEventListener('click', () => { + checkbox.checked = !checkbox.checked; + updateToggleButtonState(btn, checkbox.checked); + + // Validate regex when regex flag changes + if (checkboxId === 'isRegex') { + validateRegexPattern(); + } + + // Check if field is dirty + checkIfDirty(); + }); + + // Initialize button state + updateToggleButtonState(btn, checkbox.checked); + }); +} + +/** + * Update visual state of toggle button + */ +function updateToggleButtonState(button, isActive) { + if (isActive) { + button.classList.add('active'); + } else { + button.classList.remove('active'); + } +} + +/** + * Validate regex pattern + */ +function validateRegexPattern() { + const isRegex = domCache.isRegex.checked; + + if (!isRegex) { + // Not using regex, clear any errors + domCache.findInput.classList.remove('error'); + domCache.findValidationError.classList.remove('visible'); + domCache.findValidationError.textContent = ''; + return true; + } + + const pattern = domCache.findInput.value; + + if (!pattern) { + // Empty pattern is okay + domCache.findInput.classList.remove('error'); + domCache.findValidationError.classList.remove('visible'); + domCache.findValidationError.textContent = ''; + return true; + } + + try { + new RegExp(pattern); + // Valid regex + domCache.findInput.classList.remove('error'); + domCache.findValidationError.classList.remove('visible'); + domCache.findValidationError.textContent = ''; + return true; + } catch (e) { + // Invalid regex + domCache.findInput.classList.add('error'); + domCache.findValidationError.classList.add('visible'); + domCache.findValidationError.textContent = `Invalid regular expression: ${e.message}`; + return false; + } +} + +function handleAddPattern(button) { + const scope = button.dataset.scope; + + // Visual feedback: disable button temporarily + button.disabled = true; + button.style.opacity = '0.5'; + button.style.cursor = 'wait'; + + vscode.postMessage({ + type: 'create', + scope: scope === 'workspace' ? 'workspace' : 'global' + }); + + // Re-enable after 2 seconds (fallback in case of error) + setTimeout(() => { + button.disabled = false; + button.style.opacity = ''; + button.style.cursor = ''; + }, 2000); +} + +function handleActionClick(button) { + const action = button.dataset.action; + const item = button.closest('.pattern-item'); + const id = item.dataset.id; + const scope = item.dataset.scope; + + if (action === 'delete') { + handleDelete(id, scope); + } else if (action === 'load') { + handleLoad(id, scope); + } +} + +function handleDelete(id, scope) { + vscode.postMessage({ + type: 'delete', + id: id, + scope: scope + }); +} + +function handleLoad(id, scope) { + if (!id || !scope) { + console.error('Pattern not found'); + return; + } + + vscode.postMessage({ + type: 'load', + id: id, + scope: scope + }); +} + +document.getElementById('saveBtn').addEventListener('click', handleSavePattern); +document.getElementById('loadBtn').addEventListener('click', handleLoadPatternFromDetails); + +setupToggleButtons(); + +// Add event listeners to all form inputs for dirty tracking +const formInputs = [ + 'labelInput', 'findInput', 'replaceInput', + 'isRegex', 'isCaseSensitive', 'matchWholeWord', + 'filesToInclude', 'filesToExclude' +]; + +formInputs.forEach(id => { + const element = document.getElementById(id); + if (element) { + element.addEventListener('input', checkIfDirty); + element.addEventListener('change', checkIfDirty); + } +}); + +// Initialize DOM cache for performance +initDomCache(); + +// Set up event delegation for pattern list (once, not per render) +setupEventDelegation(); + +// Resizable panels functionality +function setupResizablePanels() { + const resizeHandle = document.getElementById('resizeHandle'); + const patternListPanel = document.querySelector('.pattern-list-panel'); + + if (!resizeHandle || !patternListPanel) return; + + let isResizing = false; + let startX = 0; + let startWidth = 0; + + // Load saved width from state + const state = vscode.getState() || {}; + if (state.panelWidth) { + patternListPanel.style.flexBasis = `${state.panelWidth}px`; + } + + resizeHandle.addEventListener('mousedown', (e) => { + isResizing = true; + startX = e.clientX; + startWidth = patternListPanel.offsetWidth; + resizeHandle.classList.add('resizing'); + document.body.style.cursor = 'ew-resize'; + document.body.style.userSelect = 'none'; + e.preventDefault(); + }); + + document.addEventListener('mousemove', (e) => { + if (!isResizing) return; + + const deltaX = e.clientX - startX; + const newWidth = startWidth + deltaX; + + // Respect min/max constraints + const minWidth = 200; + const maxWidth = 600; + const clampedWidth = Math.max(minWidth, Math.min(maxWidth, newWidth)); + + patternListPanel.style.flexBasis = `${clampedWidth}px`; + }); + + document.addEventListener('mouseup', () => { + if (isResizing) { + isResizing = false; + resizeHandle.classList.remove('resizing'); + document.body.style.cursor = ''; + document.body.style.userSelect = ''; + + // Save width to state + const currentWidth = patternListPanel.offsetWidth; + const state = vscode.getState() || {}; + state.panelWidth = currentWidth; + vscode.setState(state); + } + }); +} + +// Set up resizable panels +setupResizablePanels(); + +// Add validation listener to find input +if (domCache.findInput) { + domCache.findInput.addEventListener('input', () => { + validateRegexPattern(); + }); +} + +vscode.postMessage({ type: 'ready' }); diff --git a/assets/dotfiles/vscode-extensions/kdl-org.kdl-2.1.3/dist/extension.js b/assets/dotfiles/vscode-extensions/kdl-org.kdl-2.1.3/dist/extension.js new file mode 100644 index 0000000..f095e18 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/kdl-org.kdl-2.1.3/dist/extension.js @@ -0,0 +1,86 @@ +var oT=Object.create;var ca=Object.defineProperty;var aT=Object.getOwnPropertyDescriptor;var cT=Object.getOwnPropertyNames;var uT=Object.getPrototypeOf,lT=Object.prototype.hasOwnProperty;var T=(n,e)=>()=>(e||n((e={exports:{}}).exports,e),e.exports),dT=(n,e)=>{for(var t in e)ca(n,t,{get:e[t],enumerable:!0})},Kg=(n,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of cT(e))!lT.call(n,r)&&r!==t&&ca(n,r,{get:()=>e[r],enumerable:!(i=aT(e,r))||i.enumerable});return n};var bl=(n,e,t)=>(t=n!=null?oT(uT(n)):{},Kg(e||!n||!n.__esModule?ca(t,"default",{value:n,enumerable:!0}):t,n)),pT=n=>Kg(ca({},"__esModule",{value:!0}),n);var Xg=T((NL,Vg)=>{var Gg=require("stream").Stream,fT=require("util");Vg.exports=Bn;function Bn(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}fT.inherits(Bn,Gg);Bn.create=function(n,e){var t=new this;e=e||{};for(var i in e)t[i]=e[i];t.source=n;var r=n.emit;return n.emit=function(){return t._handleEmit(arguments),r.apply(n,arguments)},n.on("error",function(){}),t.pauseStream&&n.pause(),t};Object.defineProperty(Bn.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});Bn.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};Bn.prototype.resume=function(){this._released||this.release(),this.source.resume()};Bn.prototype.pause=function(){this.source.pause()};Bn.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(n){this.emit.apply(this,n)}.bind(this)),this._bufferedEvents=[]};Bn.prototype.pipe=function(){var n=Gg.prototype.pipe.apply(this,arguments);return this.resume(),n};Bn.prototype._handleEmit=function(n){if(this._released){this.emit.apply(this,n);return}n[0]==="data"&&(this.dataSize+=n[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(n)};Bn.prototype._checkIfMaxDataSizeExceeded=function(){if(!this._maxDataSizeExceeded&&!(this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var n="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(n))}}});var Zg=T((AL,Qg)=>{var hT=require("util"),Yg=require("stream").Stream,Jg=Xg();Qg.exports=dt;function dt(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2*1024*1024,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}hT.inherits(dt,Yg);dt.create=function(n){var e=new this;n=n||{};for(var t in n)e[t]=n[t];return e};dt.isStreamLike=function(n){return typeof n!="function"&&typeof n!="string"&&typeof n!="boolean"&&typeof n!="number"&&!Buffer.isBuffer(n)};dt.prototype.append=function(n){var e=dt.isStreamLike(n);if(e){if(!(n instanceof Jg)){var t=Jg.create(n,{maxDataSize:1/0,pauseStream:this.pauseStreams});n.on("data",this._checkDataSize.bind(this)),n=t}this._handleErrors(n),this.pauseStreams&&n.pause()}return this._streams.push(n),this};dt.prototype.pipe=function(n,e){return Yg.prototype.pipe.call(this,n,e),this.resume(),n};dt.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}};dt.prototype._realGetNext=function(){var n=this._streams.shift();if(typeof n>"u"){this.end();return}if(typeof n!="function"){this._pipeNext(n);return}var e=n;e(function(t){var i=dt.isStreamLike(t);i&&(t.on("data",this._checkDataSize.bind(this)),this._handleErrors(t)),this._pipeNext(t)}.bind(this))};dt.prototype._pipeNext=function(n){this._currentStream=n;var e=dt.isStreamLike(n);if(e){n.on("end",this._getNext.bind(this)),n.pipe(this,{end:!1});return}var t=n;this.write(t),this._getNext()};dt.prototype._handleErrors=function(n){var e=this;n.on("error",function(t){e._emitError(t)})};dt.prototype.write=function(n){this.emit("data",n)};dt.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};dt.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function"&&this._currentStream.resume(),this.emit("resume")};dt.prototype.end=function(){this._reset(),this.emit("end")};dt.prototype.destroy=function(){this._reset(),this.emit("close")};dt.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};dt.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var n="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(n))}};dt.prototype._updateDataSize=function(){this.dataSize=0;var n=this;this._streams.forEach(function(e){e.dataSize&&(n.dataSize+=e.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)};dt.prototype._emitError=function(n){this._reset(),this.emit("error",n)}});var ev=T((IL,mT)=>{mT.exports={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}}});var nv=T((jL,tv)=>{tv.exports=ev()});var sv=T(tn=>{"use strict";var ua=nv(),gT=require("path").extname,iv=/^\s*([^;\s]*)(?:;|\s|$)/,vT=/^text\//i;tn.charset=rv;tn.charsets={lookup:rv};tn.contentType=xT;tn.extension=yT;tn.extensions=Object.create(null);tn.lookup=bT;tn.types=Object.create(null);wT(tn.extensions,tn.types);function rv(n){if(!n||typeof n!="string")return!1;var e=iv.exec(n),t=e&&ua[e[1].toLowerCase()];return t&&t.charset?t.charset:e&&vT.test(e[1])?"UTF-8":!1}function xT(n){if(!n||typeof n!="string")return!1;var e=n.indexOf("/")===-1?tn.lookup(n):n;if(!e)return!1;if(e.indexOf("charset")===-1){var t=tn.charset(e);t&&(e+="; charset="+t.toLowerCase())}return e}function yT(n){if(!n||typeof n!="string")return!1;var e=iv.exec(n),t=e&&tn.extensions[e[1].toLowerCase()];return!t||!t.length?!1:t[0]}function bT(n){if(!n||typeof n!="string")return!1;var e=gT("x."+n).toLowerCase().substr(1);return e&&tn.types[e]||!1}function wT(n,e){var t=["nginx","apache",void 0,"iana"];Object.keys(ua).forEach(function(r){var s=ua[r],o=s.extensions;if(!(!o||!o.length)){n[r]=o;for(var a=0;al||u===l&&e[c].substr(0,12)==="application/"))continue}e[c]=r}}})}});var av=T((ML,ov)=>{ov.exports=_T;function _T(n){var e=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;e?e(n):setTimeout(n,0)}});var wl=T((UL,uv)=>{var cv=av();uv.exports=ST;function ST(n){var e=!1;return cv(function(){e=!0}),function(i,r){e?n(i,r):cv(function(){n(i,r)})}}});var _l=T((zL,lv)=>{lv.exports=CT;function CT(n){Object.keys(n.jobs).forEach(RT.bind(n)),n.jobs={}}function RT(n){typeof this.jobs[n]=="function"&&this.jobs[n]()}});var Sl=T(($L,pv)=>{var dv=wl(),DT=_l();pv.exports=TT;function TT(n,e,t,i){var r=t.keyedList?t.keyedList[t.index]:t.index;t.jobs[r]=ET(e,r,n[r],function(s,o){r in t.jobs&&(delete t.jobs[r],s?DT(t):t.results[r]=o,i(s,t.results))})}function ET(n,e,t,i){var r;return n.length==2?r=n(t,dv(i)):r=n(t,e,dv(i)),r}});var Cl=T((HL,fv)=>{fv.exports=PT;function PT(n,e){var t=!Array.isArray(n),i={index:0,keyedList:t||e?Object.keys(n):null,jobs:{},results:t?{}:[],size:t?Object.keys(n).length:n.length};return e&&i.keyedList.sort(t?e:function(r,s){return e(n[r],n[s])}),i}});var Rl=T((BL,hv)=>{var kT=_l(),OT=wl();hv.exports=qT;function qT(n){Object.keys(this.jobs).length&&(this.index=this.size,kT(this),OT(n)(null,this.results))}});var gv=T((WL,mv)=>{var FT=Sl(),NT=Cl(),AT=Rl();mv.exports=IT;function IT(n,e,t){for(var i=NT(n);i.index<(i.keyedList||n).length;)FT(n,e,i,function(r,s){if(r){t(r,s);return}if(Object.keys(i.jobs).length===0){t(null,i.results);return}}),i.index++;return AT.bind(i,t)}});var Dl=T((KL,la)=>{var vv=Sl(),jT=Cl(),LT=Rl();la.exports=MT;la.exports.ascending=xv;la.exports.descending=UT;function MT(n,e,t,i){var r=jT(n,t);return vv(n,e,r,function s(o,a){if(o){i(o,a);return}if(r.index++,r.index<(r.keyedList||n).length){vv(n,e,r,s);return}i(null,r.results)}),LT.bind(r,i)}function xv(n,e){return ne?1:0}function UT(n,e){return-1*xv(n,e)}});var bv=T((GL,yv)=>{var zT=Dl();yv.exports=$T;function $T(n,e,t){return zT(n,e,null,t)}});var _v=T((VL,wv)=>{wv.exports={parallel:gv(),serial:bv(),serialOrdered:Dl()}});var Cv=T((XL,Sv)=>{Sv.exports=function(n,e){return Object.keys(e).forEach(function(t){n[t]=n[t]||e[t]}),n}});var Tv=T((JL,Dv)=>{var kl=Zg(),Rv=require("util"),Tl=require("path"),HT=require("http"),BT=require("https"),WT=require("url").parse,KT=require("fs"),GT=require("stream").Stream,El=sv(),VT=_v(),Pl=Cv();Dv.exports=Te;Rv.inherits(Te,kl);function Te(n){if(!(this instanceof Te))return new Te(n);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],kl.call(this),n=n||{};for(var e in n)this[e]=n[e]}Te.LINE_BREAK=`\r +`;Te.DEFAULT_CONTENT_TYPE="application/octet-stream";Te.prototype.append=function(n,e,t){t=t||{},typeof t=="string"&&(t={filename:t});var i=kl.prototype.append.bind(this);if(typeof e=="number"&&(e=""+e),Rv.isArray(e)){this._error(new Error("Arrays are not supported."));return}var r=this._multiPartHeader(n,e,t),s=this._multiPartFooter();i(r),i(e),i(s),this._trackLength(r,e,t)};Te.prototype._trackLength=function(n,e,t){var i=0;t.knownLength!=null?i+=+t.knownLength:Buffer.isBuffer(e)?i=e.length:typeof e=="string"&&(i=Buffer.byteLength(e)),this._valueLength+=i,this._overheadLength+=Buffer.byteLength(n)+Te.LINE_BREAK.length,!(!e||!e.path&&!(e.readable&&e.hasOwnProperty("httpVersion"))&&!(e instanceof GT))&&(t.knownLength||this._valuesToMeasure.push(e))};Te.prototype._lengthRetriever=function(n,e){n.hasOwnProperty("fd")?n.end!=null&&n.end!=1/0&&n.start!=null?e(null,n.end+1-(n.start?n.start:0)):KT.stat(n.path,function(t,i){var r;if(t){e(t);return}r=i.size-(n.start?n.start:0),e(null,r)}):n.hasOwnProperty("httpVersion")?e(null,+n.headers["content-length"]):n.hasOwnProperty("httpModule")?(n.on("response",function(t){n.pause(),e(null,+t.headers["content-length"])}),n.resume()):e("Unknown stream")};Te.prototype._multiPartHeader=function(n,e,t){if(typeof t.header=="string")return t.header;var i=this._getContentDisposition(e,t),r=this._getContentType(e,t),s="",o={"Content-Disposition":["form-data",'name="'+n+'"'].concat(i||[]),"Content-Type":[].concat(r||[])};typeof t.header=="object"&&Pl(o,t.header);var a;for(var c in o)o.hasOwnProperty(c)&&(a=o[c],a!=null&&(Array.isArray(a)||(a=[a]),a.length&&(s+=c+": "+a.join("; ")+Te.LINE_BREAK)));return"--"+this.getBoundary()+Te.LINE_BREAK+s+Te.LINE_BREAK};Te.prototype._getContentDisposition=function(n,e){var t,i;return typeof e.filepath=="string"?t=Tl.normalize(e.filepath).replace(/\\/g,"/"):e.filename||n.name||n.path?t=Tl.basename(e.filename||n.name||n.path):n.readable&&n.hasOwnProperty("httpVersion")&&(t=Tl.basename(n.client._httpMessage.path||"")),t&&(i='filename="'+t+'"'),i};Te.prototype._getContentType=function(n,e){var t=e.contentType;return!t&&n.name&&(t=El.lookup(n.name)),!t&&n.path&&(t=El.lookup(n.path)),!t&&n.readable&&n.hasOwnProperty("httpVersion")&&(t=n.headers["content-type"]),!t&&(e.filepath||e.filename)&&(t=El.lookup(e.filepath||e.filename)),!t&&typeof n=="object"&&(t=Te.DEFAULT_CONTENT_TYPE),t};Te.prototype._multiPartFooter=function(){return function(n){var e=Te.LINE_BREAK,t=this._streams.length===0;t&&(e+=this._lastBoundary()),n(e)}.bind(this)};Te.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+Te.LINE_BREAK};Te.prototype.getHeaders=function(n){var e,t={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(e in n)n.hasOwnProperty(e)&&(t[e.toLowerCase()]=n[e]);return t};Te.prototype.setBoundary=function(n){this._boundary=n};Te.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};Te.prototype.getBuffer=function(){for(var n=new Buffer.alloc(0),e=this.getBoundary(),t=0,i=this._streams.length;t{"use strict";var XT=require("url").parse,JT={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},YT=String.prototype.endsWith||function(n){return n.length<=this.length&&this.indexOf(n,this.length-n.length)!==-1};function QT(n){var e=typeof n=="string"?XT(n):n||{},t=e.protocol,i=e.host,r=e.port;if(typeof i!="string"||!i||typeof t!="string"||(t=t.split(":",1)[0],i=i.replace(/:\d*$/,""),r=parseInt(r)||JT[t]||0,!ZT(i,r)))return"";var s=Mr("npm_config_"+t+"_proxy")||Mr(t+"_proxy")||Mr("npm_config_proxy")||Mr("all_proxy");return s&&s.indexOf("://")===-1&&(s=t+"://"+s),s}function ZT(n,e){var t=(Mr("npm_config_no_proxy")||Mr("no_proxy")).toLowerCase();return t?t==="*"?!1:t.split(/[,\s]/).every(function(i){if(!i)return!0;var r=i.match(/^(.+):(\d+)$/),s=r?r[1]:i,o=r?parseInt(r[2]):0;return o&&o!==e?!0:/^[.*]/.test(s)?(s.charAt(0)==="*"&&(s=s.slice(1)),!YT.call(n,s)):n!==s}):!0}function Mr(n){return process.env[n.toLowerCase()]||process.env[n.toUpperCase()]||""}Ev.getProxyForUrl=QT});var Ov=T((QL,kv)=>{var Hs;kv.exports=function(){if(!Hs){try{Hs=require("debug")("follow-redirects")}catch{}typeof Hs!="function"&&(Hs=function(){})}Hs.apply(null,arguments)}});var Iv=T((ZL,$l)=>{var Ks=require("url"),Bs=Ks.URL,eE=require("http"),tE=require("https"),Al=require("stream").Writable,Il=require("assert"),qv=Ov(),jl=!1;try{Il(new Bs)}catch(n){jl=n.code==="ERR_INVALID_URL"}var nE=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],Ll=["abort","aborted","connect","error","socket","timeout"],Ml=Object.create(null);Ll.forEach(function(n){Ml[n]=function(e,t,i){this._redirectable.emit(n,e,t,i)}});var ql=Gs("ERR_INVALID_URL","Invalid URL",TypeError),Fl=Gs("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),iE=Gs("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",Fl),rE=Gs("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),sE=Gs("ERR_STREAM_WRITE_AFTER_END","write after end"),oE=Al.prototype.destroy||Nv;function nn(n,e){Al.call(this),this._sanitizeOptions(n),this._options=n,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],e&&this.on("response",e);var t=this;this._onNativeResponse=function(i){try{t._processResponse(i)}catch(r){t.emit("error",r instanceof Fl?r:new Fl({cause:r}))}},this._performRequest()}nn.prototype=Object.create(Al.prototype);nn.prototype.abort=function(){zl(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};nn.prototype.destroy=function(n){return zl(this._currentRequest,n),oE.call(this,n),this};nn.prototype.write=function(n,e,t){if(this._ending)throw new sE;if(!vr(n)&&!uE(n))throw new TypeError("data should be a string, Buffer or Uint8Array");if(Ws(e)&&(t=e,e=null),n.length===0){t&&t();return}this._requestBodyLength+n.length<=this._options.maxBodyLength?(this._requestBodyLength+=n.length,this._requestBodyBuffers.push({data:n,encoding:e}),this._currentRequest.write(n,e,t)):(this.emit("error",new rE),this.abort())};nn.prototype.end=function(n,e,t){if(Ws(n)?(t=n,n=e=null):Ws(e)&&(t=e,e=null),!n)this._ended=this._ending=!0,this._currentRequest.end(null,null,t);else{var i=this,r=this._currentRequest;this.write(n,e,function(){i._ended=!0,r.end(null,null,t)}),this._ending=!0}};nn.prototype.setHeader=function(n,e){this._options.headers[n]=e,this._currentRequest.setHeader(n,e)};nn.prototype.removeHeader=function(n){delete this._options.headers[n],this._currentRequest.removeHeader(n)};nn.prototype.setTimeout=function(n,e){var t=this;function i(o){o.setTimeout(n),o.removeListener("timeout",o.destroy),o.addListener("timeout",o.destroy)}function r(o){t._timeout&&clearTimeout(t._timeout),t._timeout=setTimeout(function(){t.emit("timeout"),s()},n),i(o)}function s(){t._timeout&&(clearTimeout(t._timeout),t._timeout=null),t.removeListener("abort",s),t.removeListener("error",s),t.removeListener("response",s),t.removeListener("close",s),e&&t.removeListener("timeout",e),t.socket||t._currentRequest.removeListener("socket",r)}return e&&this.on("timeout",e),this.socket?r(this.socket):this._currentRequest.once("socket",r),this.on("socket",i),this.on("abort",s),this.on("error",s),this.on("response",s),this.on("close",s),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(n){nn.prototype[n]=function(e,t){return this._currentRequest[n](e,t)}});["aborted","connection","socket"].forEach(function(n){Object.defineProperty(nn.prototype,n,{get:function(){return this._currentRequest[n]}})});nn.prototype._sanitizeOptions=function(n){if(n.headers||(n.headers={}),n.host&&(n.hostname||(n.hostname=n.host),delete n.host),!n.pathname&&n.path){var e=n.path.indexOf("?");e<0?n.pathname=n.path:(n.pathname=n.path.substring(0,e),n.search=n.path.substring(e))}};nn.prototype._performRequest=function(){var n=this._options.protocol,e=this._options.nativeProtocols[n];if(!e)throw new TypeError("Unsupported protocol "+n);if(this._options.agents){var t=n.slice(0,-1);this._options.agent=this._options.agents[t]}var i=this._currentRequest=e.request(this._options,this._onNativeResponse);i._redirectable=this;for(var r of Ll)i.on(r,Ml[r]);if(this._currentUrl=/^\//.test(this._options.path)?Ks.format(this._options):this._options.path,this._isRedirect){var s=0,o=this,a=this._requestBodyBuffers;(function c(u){if(i===o._currentRequest)if(u)o.emit("error",u);else if(s=400){n.responseUrl=this._currentUrl,n.redirects=this._redirects,this.emit("response",n),this._requestBodyBuffers=[];return}if(zl(this._currentRequest),n.destroy(),++this._redirectCount>this._options.maxRedirects)throw new iE;var i,r=this._options.beforeRedirect;r&&(i=Object.assign({Host:n.req.getHeader("host")},this._options.headers));var s=this._options.method;((e===301||e===302)&&this._options.method==="POST"||e===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],Ol(/^content-/i,this._options.headers));var o=Ol(/^host$/i,this._options.headers),a=Ul(this._currentUrl),c=o||a.host,u=/^\w+:/.test(t)?this._currentUrl:Ks.format(Object.assign(a,{host:c})),l=aE(t,u);if(qv("redirecting to",l.href),this._isRedirect=!0,Nl(l,this._options),(l.protocol!==a.protocol&&l.protocol!=="https:"||l.host!==c&&!cE(l.host,c))&&Ol(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),Ws(r)){var p={headers:n.headers,statusCode:e},h={url:u,method:s,headers:i};r(this._options,p,h),this._sanitizeOptions(this._options)}this._performRequest()};function Fv(n){var e={maxRedirects:21,maxBodyLength:10485760},t={};return Object.keys(n).forEach(function(i){var r=i+":",s=t[r]=n[i],o=e[i]=Object.create(s);function a(u,l,p){return lE(u)?u=Nl(u):vr(u)?u=Nl(Ul(u)):(p=l,l=Av(u),u={protocol:r}),Ws(l)&&(p=l,l=null),l=Object.assign({maxRedirects:e.maxRedirects,maxBodyLength:e.maxBodyLength},u,l),l.nativeProtocols=t,!vr(l.host)&&!vr(l.hostname)&&(l.hostname="::1"),Il.equal(l.protocol,r,"protocol mismatch"),qv("options",l),new nn(l,p)}function c(u,l,p){var h=o.request(u,l,p);return h.end(),h}Object.defineProperties(o,{request:{value:a,configurable:!0,enumerable:!0,writable:!0},get:{value:c,configurable:!0,enumerable:!0,writable:!0}})}),e}function Nv(){}function Ul(n){var e;if(jl)e=new Bs(n);else if(e=Av(Ks.parse(n)),!vr(e.protocol))throw new ql({input:n});return e}function aE(n,e){return jl?new Bs(n,e):Ul(Ks.resolve(e,n))}function Av(n){if(/^\[/.test(n.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(n.hostname))throw new ql({input:n.href||n});if(/^\[/.test(n.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(n.host))throw new ql({input:n.href||n});return n}function Nl(n,e){var t=e||{};for(var i of nE)t[i]=n[i];return t.hostname.startsWith("[")&&(t.hostname=t.hostname.slice(1,-1)),t.port!==""&&(t.port=Number(t.port)),t.path=t.search?t.pathname+t.search:t.pathname,t}function Ol(n,e){var t;for(var i in e)n.test(i)&&(t=e[i],delete e[i]);return t===null||typeof t>"u"?void 0:String(t).trim()}function Gs(n,e,t){function i(r){Error.captureStackTrace(this,this.constructor),Object.assign(this,r||{}),this.code=n,this.message=this.cause?e+": "+this.cause.message:e}return i.prototype=new(t||Error),Object.defineProperties(i.prototype,{constructor:{value:i,enumerable:!1},name:{value:"Error ["+n+"]",enumerable:!1}}),i}function zl(n,e){for(var t of Ll)n.removeListener(t,Ml[t]);n.on("error",Nv),n.destroy(e)}function cE(n,e){Il(vr(n)&&vr(e));var t=n.length-e.length-1;return t>0&&n[t]==="."&&n.endsWith(e)}function vr(n){return typeof n=="string"||n instanceof String}function Ws(n){return typeof n=="function"}function uE(n){return typeof n=="object"&&"length"in n}function lE(n){return Bs&&n instanceof Bs}$l.exports=Fv({http:eE,https:tE});$l.exports.wrap=Fv});var Px=T((eM,Ex)=>{"use strict";var dE=Tv(),pE=require("url"),fE=Pv(),hE=require("http"),mE=require("https"),gE=require("util"),vE=Iv(),xE=require("zlib"),nx=require("stream"),yE=require("events");function xi(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var ix=xi(dE),bE=xi(pE),wE=xi(fE),_E=xi(hE),SE=xi(mE),rx=xi(gE),CE=xi(vE),Li=xi(xE),Ii=xi(nx);function sx(n,e){return function(){return n.apply(e,arguments)}}var{toString:RE}=Object.prototype,{getPrototypeOf:sd}=Object,ya=(n=>e=>{let t=RE.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),Wn=n=>(n=n.toLowerCase(),e=>ya(e)===n),ba=n=>e=>typeof e===n,{isArray:Br}=Array,Xs=ba("undefined");function DE(n){return n!==null&&!Xs(n)&&n.constructor!==null&&!Xs(n.constructor)&&mn(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}var ox=Wn("ArrayBuffer");function TE(n){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(n):e=n&&n.buffer&&ox(n.buffer),e}var EE=ba("string"),mn=ba("function"),ax=ba("number"),wa=n=>n!==null&&typeof n=="object",PE=n=>n===!0||n===!1,da=n=>{if(ya(n)!=="object")return!1;let e=sd(n);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)},kE=Wn("Date"),OE=Wn("File"),qE=Wn("Blob"),FE=Wn("FileList"),NE=n=>wa(n)&&mn(n.pipe),AE=n=>{let e;return n&&(typeof FormData=="function"&&n instanceof FormData||mn(n.append)&&((e=ya(n))==="formdata"||e==="object"&&mn(n.toString)&&n.toString()==="[object FormData]"))},IE=Wn("URLSearchParams"),[jE,LE,ME,UE]=["ReadableStream","Request","Response","Headers"].map(Wn),zE=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ys(n,e,{allOwnKeys:t=!1}={}){if(n===null||typeof n>"u")return;let i,r;if(typeof n!="object"&&(n=[n]),Br(n))for(i=0,r=n.length;i0;)if(r=t[i],e===r.toLowerCase())return r;return null}var xr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ux=n=>!Xs(n)&&n!==xr;function Vl(){let{caseless:n}=ux(this)&&this||{},e={},t=(i,r)=>{let s=n&&cx(e,r)||r;da(e[s])&&da(i)?e[s]=Vl(e[s],i):da(i)?e[s]=Vl({},i):Br(i)?e[s]=i.slice():e[s]=i};for(let i=0,r=arguments.length;i(Ys(e,(r,s)=>{t&&mn(r)?n[s]=sx(r,t):n[s]=r},{allOwnKeys:i}),n),HE=n=>(n.charCodeAt(0)===65279&&(n=n.slice(1)),n),BE=(n,e,t,i)=>{n.prototype=Object.create(e.prototype,i),n.prototype.constructor=n,Object.defineProperty(n,"super",{value:e.prototype}),t&&Object.assign(n.prototype,t)},WE=(n,e,t,i)=>{let r,s,o,a={};if(e=e||{},n==null)return e;do{for(r=Object.getOwnPropertyNames(n),s=r.length;s-- >0;)o=r[s],(!i||i(o,n,e))&&!a[o]&&(e[o]=n[o],a[o]=!0);n=t!==!1&&sd(n)}while(n&&(!t||t(n,e))&&n!==Object.prototype);return e},KE=(n,e,t)=>{n=String(n),(t===void 0||t>n.length)&&(t=n.length),t-=e.length;let i=n.indexOf(e,t);return i!==-1&&i===t},GE=n=>{if(!n)return null;if(Br(n))return n;let e=n.length;if(!ax(e))return null;let t=new Array(e);for(;e-- >0;)t[e]=n[e];return t},VE=(n=>e=>n&&e instanceof n)(typeof Uint8Array<"u"&&sd(Uint8Array)),XE=(n,e)=>{let i=(n&&n[Symbol.iterator]).call(n),r;for(;(r=i.next())&&!r.done;){let s=r.value;e.call(n,s[0],s[1])}},JE=(n,e)=>{let t,i=[];for(;(t=n.exec(e))!==null;)i.push(t);return i},YE=Wn("HTMLFormElement"),QE=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,i,r){return i.toUpperCase()+r}),jv=(({hasOwnProperty:n})=>(e,t)=>n.call(e,t))(Object.prototype),ZE=Wn("RegExp"),lx=(n,e)=>{let t=Object.getOwnPropertyDescriptors(n),i={};Ys(t,(r,s)=>{let o;(o=e(r,s,n))!==!1&&(i[s]=o||r)}),Object.defineProperties(n,i)},eP=n=>{lx(n,(e,t)=>{if(mn(n)&&["arguments","caller","callee"].indexOf(t)!==-1)return!1;let i=n[t];if(mn(i)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")})}})},tP=(n,e)=>{let t={},i=r=>{r.forEach(s=>{t[s]=!0})};return Br(n)?i(n):i(String(n).split(e)),t},nP=()=>{},iP=(n,e)=>n!=null&&Number.isFinite(n=+n)?n:e,Hl="abcdefghijklmnopqrstuvwxyz",Lv="0123456789",dx={DIGIT:Lv,ALPHA:Hl,ALPHA_DIGIT:Hl+Hl.toUpperCase()+Lv},rP=(n=16,e=dx.ALPHA_DIGIT)=>{let t="",{length:i}=e;for(;n--;)t+=e[Math.random()*i|0];return t};function sP(n){return!!(n&&mn(n.append)&&n[Symbol.toStringTag]==="FormData"&&n[Symbol.iterator])}var oP=n=>{let e=new Array(10),t=(i,r)=>{if(wa(i)){if(e.indexOf(i)>=0)return;if(!("toJSON"in i)){e[r]=i;let s=Br(i)?[]:{};return Ys(i,(o,a)=>{let c=t(o,r+1);!Xs(c)&&(s[a]=c)}),e[r]=void 0,s}}return i};return t(n,0)},aP=Wn("AsyncFunction"),cP=n=>n&&(wa(n)||mn(n))&&mn(n.then)&&mn(n.catch),px=((n,e)=>n?setImmediate:e?((t,i)=>(xr.addEventListener("message",({source:r,data:s})=>{r===xr&&s===t&&i.length&&i.shift()()},!1),r=>{i.push(r),xr.postMessage(t,"*")}))(`axios@${Math.random()}`,[]):t=>setTimeout(t))(typeof setImmediate=="function",mn(xr.postMessage)),uP=typeof queueMicrotask<"u"?queueMicrotask.bind(xr):typeof process<"u"&&process.nextTick||px,q={isArray:Br,isArrayBuffer:ox,isBuffer:DE,isFormData:AE,isArrayBufferView:TE,isString:EE,isNumber:ax,isBoolean:PE,isObject:wa,isPlainObject:da,isReadableStream:jE,isRequest:LE,isResponse:ME,isHeaders:UE,isUndefined:Xs,isDate:kE,isFile:OE,isBlob:qE,isRegExp:ZE,isFunction:mn,isStream:NE,isURLSearchParams:IE,isTypedArray:VE,isFileList:FE,forEach:Ys,merge:Vl,extend:$E,trim:zE,stripBOM:HE,inherits:BE,toFlatObject:WE,kindOf:ya,kindOfTest:Wn,endsWith:KE,toArray:GE,forEachEntry:XE,matchAll:JE,isHTMLForm:YE,hasOwnProperty:jv,hasOwnProp:jv,reduceDescriptors:lx,freezeMethods:eP,toObjectSet:tP,toCamelCase:QE,noop:nP,toFiniteNumber:iP,findKey:cx,global:xr,isContextDefined:ux,ALPHABET:dx,generateString:rP,isSpecCompliantForm:sP,toJSONObject:oP,isAsyncFn:aP,isThenable:cP,setImmediate:px,asap:uP};function V(n,e,t,i,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=n,this.name="AxiosError",e&&(this.code=e),t&&(this.config=t),i&&(this.request=i),r&&(this.response=r,this.status=r.status?r.status:null)}q.inherits(V,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:q.toJSONObject(this.config),code:this.code,status:this.status}}});var fx=V.prototype,hx={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(n=>{hx[n]={value:n}});Object.defineProperties(V,hx);Object.defineProperty(fx,"isAxiosError",{value:!0});V.from=(n,e,t,i,r,s)=>{let o=Object.create(fx);return q.toFlatObject(n,o,function(c){return c!==Error.prototype},a=>a!=="isAxiosError"),V.call(o,n.message,e,t,i,r),o.cause=n,o.name=n.name,s&&Object.assign(o,s),o};function Xl(n){return q.isPlainObject(n)||q.isArray(n)}function mx(n){return q.endsWith(n,"[]")?n.slice(0,-2):n}function Mv(n,e,t){return n?n.concat(e).map(function(r,s){return r=mx(r),!t&&s?"["+r+"]":r}).join(t?".":""):e}function lP(n){return q.isArray(n)&&!n.some(Xl)}var dP=q.toFlatObject(q,{},null,function(e){return/^is[A-Z]/.test(e)});function _a(n,e,t){if(!q.isObject(n))throw new TypeError("target must be an object");e=e||new(ix.default||FormData),t=q.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,w){return!q.isUndefined(w[y])});let i=t.metaTokens,r=t.visitor||l,s=t.dots,o=t.indexes,c=(t.Blob||typeof Blob<"u"&&Blob)&&q.isSpecCompliantForm(e);if(!q.isFunction(r))throw new TypeError("visitor must be a function");function u(f){if(f===null)return"";if(q.isDate(f))return f.toISOString();if(!c&&q.isBlob(f))throw new V("Blob is not supported. Use a Buffer instead.");return q.isArrayBuffer(f)||q.isTypedArray(f)?c&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function l(f,y,w){let S=f;if(f&&!w&&typeof f=="object"){if(q.endsWith(y,"{}"))y=i?y:y.slice(0,-2),f=JSON.stringify(f);else if(q.isArray(f)&&lP(f)||(q.isFileList(f)||q.endsWith(y,"[]"))&&(S=q.toArray(f)))return y=mx(y),S.forEach(function(k,N){!(q.isUndefined(k)||k===null)&&e.append(o===!0?Mv([y],N,s):o===null?y:y+"[]",u(k))}),!1}return Xl(f)?!0:(e.append(Mv(w,y,s),u(f)),!1)}let p=[],h=Object.assign(dP,{defaultVisitor:l,convertValue:u,isVisitable:Xl});function x(f,y){if(!q.isUndefined(f)){if(p.indexOf(f)!==-1)throw Error("Circular reference detected in "+y.join("."));p.push(f),q.forEach(f,function(S,O){(!(q.isUndefined(S)||S===null)&&r.call(e,S,q.isString(O)?O.trim():O,y,h))===!0&&x(S,y?y.concat(O):[O])}),p.pop()}}if(!q.isObject(n))throw new TypeError("data must be an object");return x(n),e}function Uv(n){let e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g,function(i){return e[i]})}function gx(n,e){this._pairs=[],n&&_a(n,this,e)}var vx=gx.prototype;vx.append=function(e,t){this._pairs.push([e,t])};vx.toString=function(e){let t=e?function(i){return e.call(this,i,Uv)}:Uv;return this._pairs.map(function(r){return t(r[0])+"="+t(r[1])},"").join("&")};function pP(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function od(n,e,t){if(!e)return n;let i=t&&t.encode||pP;q.isFunction(t)&&(t={serialize:t});let r=t&&t.serialize,s;if(r?s=r(e,t):s=q.isURLSearchParams(e)?e.toString():new gx(e,t).toString(i),s){let o=n.indexOf("#");o!==-1&&(n=n.slice(0,o)),n+=(n.indexOf("?")===-1?"?":"&")+s}return n}var Jl=class{constructor(){this.handlers=[]}use(e,t,i){return this.handlers.push({fulfilled:e,rejected:t,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){q.forEach(this.handlers,function(i){i!==null&&e(i)})}},zv=Jl,ad={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},fP=bE.default.URLSearchParams,hP={isNode:!0,classes:{URLSearchParams:fP,FormData:ix.default,Blob:typeof Blob<"u"&&Blob||null},protocols:["http","https","file","data"]},cd=typeof window<"u"&&typeof document<"u",Yl=typeof navigator=="object"&&navigator||void 0,mP=cd&&(!Yl||["ReactNative","NativeScript","NS"].indexOf(Yl.product)<0),gP=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",vP=cd&&window.location.href||"http://localhost",xP=Object.freeze({__proto__:null,hasBrowserEnv:cd,hasStandardBrowserWebWorkerEnv:gP,hasStandardBrowserEnv:mP,navigator:Yl,origin:vP}),bt={...xP,...hP};function yP(n,e){return _a(n,new bt.classes.URLSearchParams,Object.assign({visitor:function(t,i,r,s){return bt.isNode&&q.isBuffer(t)?(this.append(i,t.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},e))}function bP(n){return q.matchAll(/\w+|\[(\w*)]/g,n).map(e=>e[0]==="[]"?"":e[1]||e[0])}function wP(n){let e={},t=Object.keys(n),i,r=t.length,s;for(i=0;i=t.length;return o=!o&&q.isArray(r)?r.length:o,c?(q.hasOwnProp(r,o)?r[o]=[r[o],i]:r[o]=i,!a):((!r[o]||!q.isObject(r[o]))&&(r[o]=[]),e(t,i,r[o],s)&&q.isArray(r[o])&&(r[o]=wP(r[o])),!a)}if(q.isFormData(n)&&q.isFunction(n.entries)){let t={};return q.forEachEntry(n,(i,r)=>{e(bP(i),r,t,0)}),t}return null}function _P(n,e,t){if(q.isString(n))try{return(e||JSON.parse)(n),q.trim(n)}catch(i){if(i.name!=="SyntaxError")throw i}return(t||JSON.stringify)(n)}var ud={transitional:ad,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let i=t.getContentType()||"",r=i.indexOf("application/json")>-1,s=q.isObject(e);if(s&&q.isHTMLForm(e)&&(e=new FormData(e)),q.isFormData(e))return r?JSON.stringify(xx(e)):e;if(q.isArrayBuffer(e)||q.isBuffer(e)||q.isStream(e)||q.isFile(e)||q.isBlob(e)||q.isReadableStream(e))return e;if(q.isArrayBufferView(e))return e.buffer;if(q.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(s){if(i.indexOf("application/x-www-form-urlencoded")>-1)return yP(e,this.formSerializer).toString();if((a=q.isFileList(e))||i.indexOf("multipart/form-data")>-1){let c=this.env&&this.env.FormData;return _a(a?{"files[]":e}:e,c&&new c,this.formSerializer)}}return s||r?(t.setContentType("application/json",!1),_P(e)):e}],transformResponse:[function(e){let t=this.transitional||ud.transitional,i=t&&t.forcedJSONParsing,r=this.responseType==="json";if(q.isResponse(e)||q.isReadableStream(e))return e;if(e&&q.isString(e)&&(i&&!this.responseType||r)){let o=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(a){if(o)throw a.name==="SyntaxError"?V.from(a,V.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:bt.classes.FormData,Blob:bt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};q.forEach(["delete","get","head","post","put","patch"],n=>{ud.headers[n]={}});var ld=ud,SP=q.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),CP=n=>{let e={},t,i,r;return n&&n.split(` +`).forEach(function(o){r=o.indexOf(":"),t=o.substring(0,r).trim().toLowerCase(),i=o.substring(r+1).trim(),!(!t||e[t]&&SP[t])&&(t==="set-cookie"?e[t]?e[t].push(i):e[t]=[i]:e[t]=e[t]?e[t]+", "+i:i)}),e},$v=Symbol("internals");function Vs(n){return n&&String(n).trim().toLowerCase()}function pa(n){return n===!1||n==null?n:q.isArray(n)?n.map(pa):String(n)}function RP(n){let e=Object.create(null),t=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,i;for(;i=t.exec(n);)e[i[1]]=i[2];return e}var DP=n=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());function Bl(n,e,t,i,r){if(q.isFunction(i))return i.call(this,e,t);if(r&&(e=t),!!q.isString(e)){if(q.isString(i))return e.indexOf(i)!==-1;if(q.isRegExp(i))return i.test(e)}}function TP(n){return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,i)=>t.toUpperCase()+i)}function EP(n,e){let t=q.toCamelCase(" "+e);["get","set","has"].forEach(i=>{Object.defineProperty(n,i+t,{value:function(r,s,o){return this[i].call(this,e,r,s,o)},configurable:!0})})}var zr=class{constructor(e){e&&this.set(e)}set(e,t,i){let r=this;function s(a,c,u){let l=Vs(c);if(!l)throw new Error("header name must be a non-empty string");let p=q.findKey(r,l);(!p||r[p]===void 0||u===!0||u===void 0&&r[p]!==!1)&&(r[p||c]=pa(a))}let o=(a,c)=>q.forEach(a,(u,l)=>s(u,l,c));if(q.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(q.isString(e)&&(e=e.trim())&&!DP(e))o(CP(e),t);else if(q.isHeaders(e))for(let[a,c]of e.entries())s(c,a,i);else e!=null&&s(t,e,i);return this}get(e,t){if(e=Vs(e),e){let i=q.findKey(this,e);if(i){let r=this[i];if(!t)return r;if(t===!0)return RP(r);if(q.isFunction(t))return t.call(this,r,i);if(q.isRegExp(t))return t.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Vs(e),e){let i=q.findKey(this,e);return!!(i&&this[i]!==void 0&&(!t||Bl(this,this[i],i,t)))}return!1}delete(e,t){let i=this,r=!1;function s(o){if(o=Vs(o),o){let a=q.findKey(i,o);a&&(!t||Bl(i,i[a],a,t))&&(delete i[a],r=!0)}}return q.isArray(e)?e.forEach(s):s(e),r}clear(e){let t=Object.keys(this),i=t.length,r=!1;for(;i--;){let s=t[i];(!e||Bl(this,this[s],s,e,!0))&&(delete this[s],r=!0)}return r}normalize(e){let t=this,i={};return q.forEach(this,(r,s)=>{let o=q.findKey(i,s);if(o){t[o]=pa(r),delete t[s];return}let a=e?TP(s):String(s).trim();a!==s&&delete t[s],t[a]=pa(r),i[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return q.forEach(this,(i,r)=>{i!=null&&i!==!1&&(t[r]=e&&q.isArray(i)?i.join(", "):i)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let i=new this(e);return t.forEach(r=>i.set(r)),i}static accessor(e){let i=(this[$v]=this[$v]={accessors:{}}).accessors,r=this.prototype;function s(o){let a=Vs(o);i[a]||(EP(r,o),i[a]=!0)}return q.isArray(e)?e.forEach(s):s(e),this}};zr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);q.reduceDescriptors(zr.prototype,({value:n},e)=>{let t=e[0].toUpperCase()+e.slice(1);return{get:()=>n,set(i){this[t]=i}}});q.freezeMethods(zr);var rn=zr;function Wl(n,e){let t=this||ld,i=e||t,r=rn.from(i.headers),s=i.data;return q.forEach(n,function(a){s=a.call(t,s,r.normalize(),e?e.status:void 0)}),r.normalize(),s}function yx(n){return!!(n&&n.__CANCEL__)}function Mi(n,e,t){V.call(this,n??"canceled",V.ERR_CANCELED,e,t),this.name="CanceledError"}q.inherits(Mi,V,{__CANCEL__:!0});function Ur(n,e,t){let i=t.config.validateStatus;!t.status||!i||i(t.status)?n(t):e(new V("Request failed with status code "+t.status,[V.ERR_BAD_REQUEST,V.ERR_BAD_RESPONSE][Math.floor(t.status/100)-4],t.config,t.request,t))}function PP(n){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)}function kP(n,e){return e?n.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):n}function dd(n,e){return n&&!PP(e)?kP(n,e):e}var ma="1.7.9";function bx(n){let e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(n);return e&&e[1]||""}var OP=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function qP(n,e,t){let i=t&&t.Blob||bt.classes.Blob,r=bx(n);if(e===void 0&&i&&(e=!0),r==="data"){n=r.length?n.slice(r.length+1):n;let s=OP.exec(n);if(!s)throw new V("Invalid URL",V.ERR_INVALID_URL);let o=s[1],a=s[2],c=s[3],u=Buffer.from(decodeURIComponent(c),a?"base64":"utf8");if(e){if(!i)throw new V("Blob is not supported",V.ERR_NOT_SUPPORT);return new i([u],{type:o})}return u}throw new V("Unsupported protocol "+r,V.ERR_NOT_SUPPORT)}var Kl=Symbol("internals"),Ql=class extends Ii.default.Transform{constructor(e){e=q.toFlatObject(e,{maxRate:0,chunkSize:64*1024,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(i,r)=>!q.isUndefined(r[i])),super({readableHighWaterMark:e.chunkSize});let t=this[Kl]={timeWindow:e.timeWindow,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",i=>{i==="progress"&&(t.isCaptured||(t.isCaptured=!0))})}_read(e){let t=this[Kl];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,i){let r=this[Kl],s=r.maxRate,o=this.readableHighWaterMark,a=r.timeWindow,c=1e3/a,u=s/c,l=r.minChunkSize!==!1?Math.max(r.minChunkSize,u*.01):0,p=(x,f)=>{let y=Buffer.byteLength(x);r.bytesSeen+=y,r.bytes+=y,r.isCaptured&&this.emit("progress",r.bytesSeen),this.push(x)?process.nextTick(f):r.onReadCallback=()=>{r.onReadCallback=null,process.nextTick(f)}},h=(x,f)=>{let y=Buffer.byteLength(x),w=null,S=o,O,k=0;if(s){let N=Date.now();(!r.ts||(k=N-r.ts)>=a)&&(r.ts=N,O=u-r.bytes,r.bytes=O<0?-O:0,k=0),O=u-r.bytes}if(s){if(O<=0)return setTimeout(()=>{f(null,x)},a-k);OS&&y-S>l&&(w=x.subarray(S),x=x.subarray(0,S)),p(x,w?()=>{process.nextTick(f,null,w)}:f)};h(e,function x(f,y){if(f)return i(f);y?h(y,x):i(null)})}},Hv=Ql,{asyncIterator:Bv}=Symbol,FP=async function*(n){n.stream?yield*n.stream():n.arrayBuffer?yield await n.arrayBuffer():n[Bv]?yield*n[Bv]():yield n},wx=FP,NP=q.ALPHABET.ALPHA_DIGIT+"-_",Js=typeof TextEncoder=="function"?new TextEncoder:new rx.default.TextEncoder,ji=`\r +`,AP=Js.encode(ji),IP=2,Zl=class{constructor(e,t){let{escapeName:i}=this.constructor,r=q.isString(t),s=`Content-Disposition: form-data; name="${i(e)}"${!r&&t.name?`; filename="${i(t.name)}"`:""}${ji}`;r?t=Js.encode(String(t).replace(/\r?\n|\r\n?/g,ji)):s+=`Content-Type: ${t.type||"application/octet-stream"}${ji}`,this.headers=Js.encode(s+ji),this.contentLength=r?t.byteLength:t.size,this.size=this.headers.byteLength+this.contentLength+IP,this.name=e,this.value=t}async*encode(){yield this.headers;let{value:e}=this;q.isTypedArray(e)?yield e:yield*wx(e),yield AP}static escapeName(e){return String(e).replace(/[\r\n"]/g,t=>({"\r":"%0D","\n":"%0A",'"':"%22"})[t])}},jP=(n,e,t)=>{let{tag:i="form-data-boundary",size:r=25,boundary:s=i+"-"+q.generateString(r,NP)}=t||{};if(!q.isFormData(n))throw TypeError("FormData instance required");if(s.length<1||s.length>70)throw Error("boundary must be 10-70 characters long");let o=Js.encode("--"+s+ji),a=Js.encode("--"+s+"--"+ji+ji),c=a.byteLength,u=Array.from(n.entries()).map(([p,h])=>{let x=new Zl(p,h);return c+=x.size,x});c+=o.byteLength*u.length,c=q.toFiniteNumber(c);let l={"Content-Type":`multipart/form-data; boundary=${s}`};return Number.isFinite(c)&&(l["Content-Length"]=c),e&&e(l),nx.Readable.from(async function*(){for(let p of u)yield o,yield*p.encode();yield a}())},LP=jP,ed=class extends Ii.default.Transform{__transform(e,t,i){this.push(e),i()}_transform(e,t,i){if(e.length!==0&&(this._transform=this.__transform,e[0]!==120)){let r=Buffer.alloc(2);r[0]=120,r[1]=156,this.push(r,t)}this.__transform(e,t,i)}},MP=ed,UP=(n,e)=>q.isAsyncFn(n)?function(...t){let i=t.pop();n.apply(this,t).then(r=>{try{e?i(null,...e(r)):i(null,r)}catch(s){i(s)}},i)}:n,zP=UP;function $P(n,e){n=n||10;let t=new Array(n),i=new Array(n),r=0,s=0,o;return e=e!==void 0?e:1e3,function(c){let u=Date.now(),l=i[s];o||(o=u),t[r]=c,i[r]=u;let p=s,h=0;for(;p!==r;)h+=t[p++],p=p%n;if(r=(r+1)%n,r===s&&(s=(s+1)%n),u-o{t=l,r=null,s&&(clearTimeout(s),s=null),n.apply(null,u)};return[(...u)=>{let l=Date.now(),p=l-t;p>=i?o(u,l):(r=u,s||(s=setTimeout(()=>{s=null,o(r)},i-p)))},()=>r&&o(r)]}var $r=(n,e,t=3)=>{let i=0,r=$P(50,250);return HP(s=>{let o=s.loaded,a=s.lengthComputable?s.total:void 0,c=o-i,u=r(c),l=o<=a;i=o;let p={loaded:o,total:a,progress:a?o/a:void 0,bytes:c,rate:u||void 0,estimated:u&&a&&l?(a-o)/u:void 0,event:s,lengthComputable:a!=null,[e?"download":"upload"]:!0};n(p)},t)},ga=(n,e)=>{let t=n!=null;return[i=>e[0]({lengthComputable:t,total:n,loaded:i}),e[1]]},va=n=>(...e)=>q.asap(()=>n(...e)),Wv={flush:Li.default.constants.Z_SYNC_FLUSH,finishFlush:Li.default.constants.Z_SYNC_FLUSH},BP={flush:Li.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:Li.default.constants.BROTLI_OPERATION_FLUSH},Kv=q.isFunction(Li.default.createBrotliDecompress),{http:WP,https:KP}=CE.default,GP=/https:?/,Gv=bt.protocols.map(n=>n+":"),Vv=(n,[e,t])=>(n.on("end",t).on("error",t),e);function VP(n,e){n.beforeRedirects.proxy&&n.beforeRedirects.proxy(n),n.beforeRedirects.config&&n.beforeRedirects.config(n,e)}function _x(n,e,t){let i=e;if(!i&&i!==!1){let r=wE.default.getProxyForUrl(t);r&&(i=new URL(r))}if(i){if(i.username&&(i.auth=(i.username||"")+":"+(i.password||"")),i.auth){(i.auth.username||i.auth.password)&&(i.auth=(i.auth.username||"")+":"+(i.auth.password||""));let s=Buffer.from(i.auth,"utf8").toString("base64");n.headers["Proxy-Authorization"]="Basic "+s}n.headers.host=n.hostname+(n.port?":"+n.port:"");let r=i.hostname||i.host;n.hostname=r,n.host=r,n.port=i.port,n.path=t,i.protocol&&(n.protocol=i.protocol.includes(":")?i.protocol:`${i.protocol}:`)}n.beforeRedirects.proxy=function(s){_x(s,e,s.href)}}var XP=typeof process<"u"&&q.kindOf(process)==="process",JP=n=>new Promise((e,t)=>{let i,r,s=(c,u)=>{r||(r=!0,i&&i(c,u))},o=c=>{s(c),e(c)},a=c=>{s(c,!0),t(c)};n(o,a,c=>i=c).catch(a)}),YP=({address:n,family:e})=>{if(!q.isString(n))throw TypeError("address must be a string");return{address:n,family:e||(n.indexOf(".")<0?6:4)}},Xv=(n,e)=>YP(q.isObject(n)?n:{address:n,family:e}),QP=XP&&function(e){return JP(async function(i,r,s){let{data:o,lookup:a,family:c}=e,{responseType:u,responseEncoding:l}=e,p=e.method.toUpperCase(),h,x=!1,f;if(a){let se=zP(a,ie=>q.isArray(ie)?ie:[ie]);a=(ie,de,ut)=>{se(ie,de,(Re,Ke,Sn)=>{if(Re)return ut(Re);let gt=q.isArray(Ke)?Ke.map(it=>Xv(it)):[Xv(Ke,Sn)];de.all?ut(Re,gt):ut(Re,gt[0].address,gt[0].family)})}}let y=new yE.EventEmitter,w=()=>{e.cancelToken&&e.cancelToken.unsubscribe(S),e.signal&&e.signal.removeEventListener("abort",S),y.removeAllListeners()};s((se,ie)=>{h=!0,ie&&(x=!0,w())});function S(se){y.emit("abort",!se||se.type?new Mi(null,e,f):se)}y.once("abort",r),(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(S),e.signal&&(e.signal.aborted?S():e.signal.addEventListener("abort",S)));let O=dd(e.baseURL,e.url),k=new URL(O,bt.hasBrowserEnv?bt.origin:void 0),N=k.protocol||Gv[0];if(N==="data:"){let se;if(p!=="GET")return Ur(i,r,{status:405,statusText:"method not allowed",headers:{},config:e});try{se=qP(e.url,u==="blob",{Blob:e.env&&e.env.Blob})}catch(ie){throw V.from(ie,V.ERR_BAD_REQUEST,e)}return u==="text"?(se=se.toString(l),(!l||l==="utf8")&&(se=q.stripBOM(se))):u==="stream"&&(se=Ii.default.Readable.from(se)),Ur(i,r,{data:se,status:200,statusText:"OK",headers:new rn,config:e})}if(Gv.indexOf(N)===-1)return r(new V("Unsupported protocol "+N,V.ERR_BAD_REQUEST,e));let j=rn.from(e.headers).normalize();j.set("User-Agent","axios/"+ma,!1);let{onUploadProgress:G,onDownloadProgress:$}=e,Q=e.maxRate,te,Oe;if(q.isSpecCompliantForm(o)){let se=j.getContentType(/boundary=([-_\w\d]{10,70})/i);o=LP(o,ie=>{j.set(ie)},{tag:`axios-${ma}-boundary`,boundary:se&&se[1]||void 0})}else if(q.isFormData(o)&&q.isFunction(o.getHeaders)){if(j.set(o.getHeaders()),!j.hasContentLength())try{let se=await rx.default.promisify(o.getLength).call(o);Number.isFinite(se)&&se>=0&&j.setContentLength(se)}catch{}}else if(q.isBlob(o)||q.isFile(o))o.size&&j.setContentType(o.type||"application/octet-stream"),j.setContentLength(o.size||0),o=Ii.default.Readable.from(wx(o));else if(o&&!q.isStream(o)){if(!Buffer.isBuffer(o))if(q.isArrayBuffer(o))o=Buffer.from(new Uint8Array(o));else if(q.isString(o))o=Buffer.from(o,"utf-8");else return r(new V("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",V.ERR_BAD_REQUEST,e));if(j.setContentLength(o.length,!1),e.maxBodyLength>-1&&o.length>e.maxBodyLength)return r(new V("Request body larger than maxBodyLength limit",V.ERR_BAD_REQUEST,e))}let Ye=q.toFiniteNumber(j.getContentLength());q.isArray(Q)?(te=Q[0],Oe=Q[1]):te=Oe=Q,o&&(G||te)&&(q.isStream(o)||(o=Ii.default.Readable.from(o,{objectMode:!1})),o=Ii.default.pipeline([o,new Hv({maxRate:q.toFiniteNumber(te)})],q.noop),G&&o.on("progress",Vv(o,ga(Ye,$r(va(G),!1,3)))));let We;if(e.auth){let se=e.auth.username||"",ie=e.auth.password||"";We=se+":"+ie}if(!We&&k.username){let se=k.username,ie=k.password;We=se+":"+ie}We&&j.delete("authorization");let Kt;try{Kt=od(k.pathname+k.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(se){let ie=new Error(se.message);return ie.config=e,ie.url=e.url,ie.exists=!0,r(ie)}j.set("Accept-Encoding","gzip, compress, deflate"+(Kv?", br":""),!1);let Ne={path:Kt,method:p,headers:j.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:We,protocol:N,family:c,beforeRedirect:VP,beforeRedirects:{}};!q.isUndefined(a)&&(Ne.lookup=a),e.socketPath?Ne.socketPath=e.socketPath:(Ne.hostname=k.hostname.startsWith("[")?k.hostname.slice(1,-1):k.hostname,Ne.port=k.port,_x(Ne,e.proxy,N+"//"+k.hostname+(k.port?":"+k.port:"")+Ne.path));let ct,mt=GP.test(Ne.protocol);if(Ne.agent=mt?e.httpsAgent:e.httpAgent,e.transport?ct=e.transport:e.maxRedirects===0?ct=mt?SE.default:_E.default:(e.maxRedirects&&(Ne.maxRedirects=e.maxRedirects),e.beforeRedirect&&(Ne.beforeRedirects.config=e.beforeRedirect),ct=mt?KP:WP),e.maxBodyLength>-1?Ne.maxBodyLength=e.maxBodyLength:Ne.maxBodyLength=1/0,e.insecureHTTPParser&&(Ne.insecureHTTPParser=e.insecureHTTPParser),f=ct.request(Ne,function(ie){if(f.destroyed)return;let de=[ie],ut=+ie.headers["content-length"];if($||Oe){let it=new Hv({maxRate:q.toFiniteNumber(Oe)});$&&it.on("progress",Vv(it,ga(ut,$r(va($),!0,3)))),de.push(it)}let Re=ie,Ke=ie.req||f;if(e.decompress!==!1&&ie.headers["content-encoding"])switch((p==="HEAD"||ie.statusCode===204)&&delete ie.headers["content-encoding"],(ie.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":de.push(Li.default.createUnzip(Wv)),delete ie.headers["content-encoding"];break;case"deflate":de.push(new MP),de.push(Li.default.createUnzip(Wv)),delete ie.headers["content-encoding"];break;case"br":Kv&&(de.push(Li.default.createBrotliDecompress(BP)),delete ie.headers["content-encoding"])}Re=de.length>1?Ii.default.pipeline(de,q.noop):de[0];let Sn=Ii.default.finished(Re,()=>{Sn(),w()}),gt={status:ie.statusCode,statusText:ie.statusMessage,headers:new rn(ie.headers),config:e,request:Ke};if(u==="stream")gt.data=Re,Ur(i,r,gt);else{let it=[],Cn=0;Re.on("data",function(Ge){it.push(Ge),Cn+=Ge.length,e.maxContentLength>-1&&Cn>e.maxContentLength&&(x=!0,Re.destroy(),r(new V("maxContentLength size of "+e.maxContentLength+" exceeded",V.ERR_BAD_RESPONSE,e,Ke)))}),Re.on("aborted",function(){if(x)return;let Ge=new V("stream has been aborted",V.ERR_BAD_RESPONSE,e,Ke);Re.destroy(Ge),r(Ge)}),Re.on("error",function(Ge){f.destroyed||r(V.from(Ge,null,e,Ke))}),Re.on("end",function(){try{let Ge=it.length===1?it[0]:Buffer.concat(it);u!=="arraybuffer"&&(Ge=Ge.toString(l),(!l||l==="utf8")&&(Ge=q.stripBOM(Ge))),gt.data=Ge}catch(Ge){return r(V.from(Ge,null,e,gt.request,gt))}Ur(i,r,gt)})}y.once("abort",it=>{Re.destroyed||(Re.emit("error",it),Re.destroy())})}),y.once("abort",se=>{r(se),f.destroy(se)}),f.on("error",function(ie){r(V.from(ie,null,e,f))}),f.on("socket",function(ie){ie.setKeepAlive(!0,1e3*60)}),e.timeout){let se=parseInt(e.timeout,10);if(Number.isNaN(se)){r(new V("error trying to parse `config.timeout` to int",V.ERR_BAD_OPTION_VALUE,e,f));return}f.setTimeout(se,function(){if(h)return;let de=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",ut=e.transitional||ad;e.timeoutErrorMessage&&(de=e.timeoutErrorMessage),r(new V(de,ut.clarifyTimeoutError?V.ETIMEDOUT:V.ECONNABORTED,e,f)),S()})}if(q.isStream(o)){let se=!1,ie=!1;o.on("end",()=>{se=!0}),o.once("error",de=>{ie=!0,f.destroy(de)}),o.on("close",()=>{!se&&!ie&&S(new Mi("Request stream has been aborted",e,f))}),o.pipe(f)}else f.end(o)})},ZP=bt.hasStandardBrowserEnv?((n,e)=>t=>(t=new URL(t,bt.origin),n.protocol===t.protocol&&n.host===t.host&&(e||n.port===t.port)))(new URL(bt.origin),bt.navigator&&/(msie|trident)/i.test(bt.navigator.userAgent)):()=>!0,ek=bt.hasStandardBrowserEnv?{write(n,e,t,i,r,s){let o=[n+"="+encodeURIComponent(e)];q.isNumber(t)&&o.push("expires="+new Date(t).toGMTString()),q.isString(i)&&o.push("path="+i),q.isString(r)&&o.push("domain="+r),s===!0&&o.push("secure"),document.cookie=o.join("; ")},read(n){let e=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(n){this.write(n,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}},Jv=n=>n instanceof rn?{...n}:n;function yr(n,e){e=e||{};let t={};function i(u,l,p,h){return q.isPlainObject(u)&&q.isPlainObject(l)?q.merge.call({caseless:h},u,l):q.isPlainObject(l)?q.merge({},l):q.isArray(l)?l.slice():l}function r(u,l,p,h){if(q.isUndefined(l)){if(!q.isUndefined(u))return i(void 0,u,p,h)}else return i(u,l,p,h)}function s(u,l){if(!q.isUndefined(l))return i(void 0,l)}function o(u,l){if(q.isUndefined(l)){if(!q.isUndefined(u))return i(void 0,u)}else return i(void 0,l)}function a(u,l,p){if(p in e)return i(u,l);if(p in n)return i(void 0,u)}let c={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(u,l,p)=>r(Jv(u),Jv(l),p,!0)};return q.forEach(Object.keys(Object.assign({},n,e)),function(l){let p=c[l]||r,h=p(n[l],e[l],l);q.isUndefined(h)&&p!==a||(t[l]=h)}),t}var Sx=n=>{let e=yr({},n),{data:t,withXSRFToken:i,xsrfHeaderName:r,xsrfCookieName:s,headers:o,auth:a}=e;e.headers=o=rn.from(o),e.url=od(dd(e.baseURL,e.url),n.params,n.paramsSerializer),a&&o.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let c;if(q.isFormData(t)){if(bt.hasStandardBrowserEnv||bt.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((c=o.getContentType())!==!1){let[u,...l]=c?c.split(";").map(p=>p.trim()).filter(Boolean):[];o.setContentType([u||"multipart/form-data",...l].join("; "))}}if(bt.hasStandardBrowserEnv&&(i&&q.isFunction(i)&&(i=i(e)),i||i!==!1&&ZP(e.url))){let u=r&&s&&ek.read(s);u&&o.set(r,u)}return e},tk=typeof XMLHttpRequest<"u",nk=tk&&function(n){return new Promise(function(t,i){let r=Sx(n),s=r.data,o=rn.from(r.headers).normalize(),{responseType:a,onUploadProgress:c,onDownloadProgress:u}=r,l,p,h,x,f;function y(){x&&x(),f&&f(),r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener("abort",l)}let w=new XMLHttpRequest;w.open(r.method.toUpperCase(),r.url,!0),w.timeout=r.timeout;function S(){if(!w)return;let k=rn.from("getAllResponseHeaders"in w&&w.getAllResponseHeaders()),j={data:!a||a==="text"||a==="json"?w.responseText:w.response,status:w.status,statusText:w.statusText,headers:k,config:n,request:w};Ur(function($){t($),y()},function($){i($),y()},j),w=null}"onloadend"in w?w.onloadend=S:w.onreadystatechange=function(){!w||w.readyState!==4||w.status===0&&!(w.responseURL&&w.responseURL.indexOf("file:")===0)||setTimeout(S)},w.onabort=function(){w&&(i(new V("Request aborted",V.ECONNABORTED,n,w)),w=null)},w.onerror=function(){i(new V("Network Error",V.ERR_NETWORK,n,w)),w=null},w.ontimeout=function(){let N=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded",j=r.transitional||ad;r.timeoutErrorMessage&&(N=r.timeoutErrorMessage),i(new V(N,j.clarifyTimeoutError?V.ETIMEDOUT:V.ECONNABORTED,n,w)),w=null},s===void 0&&o.setContentType(null),"setRequestHeader"in w&&q.forEach(o.toJSON(),function(N,j){w.setRequestHeader(j,N)}),q.isUndefined(r.withCredentials)||(w.withCredentials=!!r.withCredentials),a&&a!=="json"&&(w.responseType=r.responseType),u&&([h,f]=$r(u,!0),w.addEventListener("progress",h)),c&&w.upload&&([p,x]=$r(c),w.upload.addEventListener("progress",p),w.upload.addEventListener("loadend",x)),(r.cancelToken||r.signal)&&(l=k=>{w&&(i(!k||k.type?new Mi(null,n,w):k),w.abort(),w=null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener("abort",l)));let O=bx(r.url);if(O&&bt.protocols.indexOf(O)===-1){i(new V("Unsupported protocol "+O+":",V.ERR_BAD_REQUEST,n));return}w.send(s||null)})},ik=(n,e)=>{let{length:t}=n=n?n.filter(Boolean):[];if(e||t){let i=new AbortController,r,s=function(u){if(!r){r=!0,a();let l=u instanceof Error?u:this.reason;i.abort(l instanceof V?l:new Mi(l instanceof Error?l.message:l))}},o=e&&setTimeout(()=>{o=null,s(new V(`timeout ${e} of ms exceeded`,V.ETIMEDOUT))},e),a=()=>{n&&(o&&clearTimeout(o),o=null,n.forEach(u=>{u.unsubscribe?u.unsubscribe(s):u.removeEventListener("abort",s)}),n=null)};n.forEach(u=>u.addEventListener("abort",s));let{signal:c}=i;return c.unsubscribe=()=>q.asap(a),c}},rk=ik,sk=function*(n,e){let t=n.byteLength;if(!e||t{let r=ok(n,e),s=0,o,a=c=>{o||(o=!0,i&&i(c))};return new ReadableStream({async pull(c){try{let{done:u,value:l}=await r.next();if(u){a(),c.close();return}let p=l.byteLength;if(t){let h=s+=p;t(h)}c.enqueue(new Uint8Array(l))}catch(u){throw a(u),u}},cancel(c){return a(c),r.return()}},{highWaterMark:2})},Sa=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Cx=Sa&&typeof ReadableStream=="function",ck=Sa&&(typeof TextEncoder=="function"?(n=>e=>n.encode(e))(new TextEncoder):async n=>new Uint8Array(await new Response(n).arrayBuffer())),Rx=(n,...e)=>{try{return!!n(...e)}catch{return!1}},uk=Cx&&Rx(()=>{let n=!1,e=new Request(bt.origin,{body:new ReadableStream,method:"POST",get duplex(){return n=!0,"half"}}).headers.has("Content-Type");return n&&!e}),Qv=64*1024,td=Cx&&Rx(()=>q.isReadableStream(new Response("").body)),xa={stream:td&&(n=>n.body)};Sa&&(n=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!xa[e]&&(xa[e]=q.isFunction(n[e])?t=>t[e]():(t,i)=>{throw new V(`Response type '${e}' is not supported`,V.ERR_NOT_SUPPORT,i)})})})(new Response);var lk=async n=>{if(n==null)return 0;if(q.isBlob(n))return n.size;if(q.isSpecCompliantForm(n))return(await new Request(bt.origin,{method:"POST",body:n}).arrayBuffer()).byteLength;if(q.isArrayBufferView(n)||q.isArrayBuffer(n))return n.byteLength;if(q.isURLSearchParams(n)&&(n=n+""),q.isString(n))return(await ck(n)).byteLength},dk=async(n,e)=>{let t=q.toFiniteNumber(n.getContentLength());return t??lk(e)},pk=Sa&&(async n=>{let{url:e,method:t,data:i,signal:r,cancelToken:s,timeout:o,onDownloadProgress:a,onUploadProgress:c,responseType:u,headers:l,withCredentials:p="same-origin",fetchOptions:h}=Sx(n);u=u?(u+"").toLowerCase():"text";let x=rk([r,s&&s.toAbortSignal()],o),f,y=x&&x.unsubscribe&&(()=>{x.unsubscribe()}),w;try{if(c&&uk&&t!=="get"&&t!=="head"&&(w=await dk(l,i))!==0){let j=new Request(e,{method:"POST",body:i,duplex:"half"}),G;if(q.isFormData(i)&&(G=j.headers.get("content-type"))&&l.setContentType(G),j.body){let[$,Q]=ga(w,$r(va(c)));i=Yv(j.body,Qv,$,Q)}}q.isString(p)||(p=p?"include":"omit");let S="credentials"in Request.prototype;f=new Request(e,{...h,signal:x,method:t.toUpperCase(),headers:l.normalize().toJSON(),body:i,duplex:"half",credentials:S?p:void 0});let O=await fetch(f),k=td&&(u==="stream"||u==="response");if(td&&(a||k&&y)){let j={};["status","statusText","headers"].forEach(te=>{j[te]=O[te]});let G=q.toFiniteNumber(O.headers.get("content-length")),[$,Q]=a&&ga(G,$r(va(a),!0))||[];O=new Response(Yv(O.body,Qv,$,()=>{Q&&Q(),y&&y()}),j)}u=u||"text";let N=await xa[q.findKey(xa,u)||"text"](O,n);return!k&&y&&y(),await new Promise((j,G)=>{Ur(j,G,{data:N,headers:rn.from(O.headers),status:O.status,statusText:O.statusText,config:n,request:f})})}catch(S){throw y&&y(),S&&S.name==="TypeError"&&/fetch/i.test(S.message)?Object.assign(new V("Network Error",V.ERR_NETWORK,n,f),{cause:S.cause||S}):V.from(S,S&&S.code,n,f)}}),nd={http:QP,xhr:nk,fetch:pk};q.forEach(nd,(n,e)=>{if(n){try{Object.defineProperty(n,"name",{value:e})}catch{}Object.defineProperty(n,"adapterName",{value:e})}});var Zv=n=>`- ${n}`,fk=n=>q.isFunction(n)||n===null||n===!1,Dx={getAdapter:n=>{n=q.isArray(n)?n:[n];let{length:e}=n,t,i,r={};for(let s=0;s`adapter ${a} `+(c===!1?"is not supported by the environment":"is not available in the build")),o=e?s.length>1?`since : +`+s.map(Zv).join(` +`):" "+Zv(s[0]):"as no adapter specified";throw new V("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return i},adapters:nd};function Gl(n){if(n.cancelToken&&n.cancelToken.throwIfRequested(),n.signal&&n.signal.aborted)throw new Mi(null,n)}function ex(n){return Gl(n),n.headers=rn.from(n.headers),n.data=Wl.call(n,n.transformRequest),["post","put","patch"].indexOf(n.method)!==-1&&n.headers.setContentType("application/x-www-form-urlencoded",!1),Dx.getAdapter(n.adapter||ld.adapter)(n).then(function(i){return Gl(n),i.data=Wl.call(n,n.transformResponse,i),i.headers=rn.from(i.headers),i},function(i){return yx(i)||(Gl(n),i&&i.response&&(i.response.data=Wl.call(n,n.transformResponse,i.response),i.response.headers=rn.from(i.response.headers))),Promise.reject(i)})}var Ca={};["object","boolean","number","function","string","symbol"].forEach((n,e)=>{Ca[n]=function(i){return typeof i===n||"a"+(e<1?"n ":" ")+n}});var tx={};Ca.transitional=function(e,t,i){function r(s,o){return"[Axios v"+ma+"] Transitional option '"+s+"'"+o+(i?". "+i:"")}return(s,o,a)=>{if(e===!1)throw new V(r(o," has been removed"+(t?" in "+t:"")),V.ERR_DEPRECATED);return t&&!tx[o]&&(tx[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(s,o,a):!0}};Ca.spelling=function(e){return(t,i)=>(console.warn(`${i} is likely a misspelling of ${e}`),!0)};function hk(n,e,t){if(typeof n!="object")throw new V("options must be an object",V.ERR_BAD_OPTION_VALUE);let i=Object.keys(n),r=i.length;for(;r-- >0;){let s=i[r],o=e[s];if(o){let a=n[s],c=a===void 0||o(a,s,n);if(c!==!0)throw new V("option "+s+" must be "+c,V.ERR_BAD_OPTION_VALUE);continue}if(t!==!0)throw new V("Unknown option "+s,V.ERR_BAD_OPTION)}}var fa={assertOptions:hk,validators:Ca},si=fa.validators,Hr=class{constructor(e){this.defaults=e,this.interceptors={request:new zv,response:new zv}}async request(e,t){try{return await this._request(e,t)}catch(i){if(i instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;let s=r.stack?r.stack.replace(/^.+\n/,""):"";try{i.stack?s&&!String(i.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(i.stack+=` +`+s):i.stack=s}catch{}}throw i}}_request(e,t){typeof e=="string"?(t=t||{},t.url=e):t=e||{},t=yr(this.defaults,t);let{transitional:i,paramsSerializer:r,headers:s}=t;i!==void 0&&fa.assertOptions(i,{silentJSONParsing:si.transitional(si.boolean),forcedJSONParsing:si.transitional(si.boolean),clarifyTimeoutError:si.transitional(si.boolean)},!1),r!=null&&(q.isFunction(r)?t.paramsSerializer={serialize:r}:fa.assertOptions(r,{encode:si.function,serialize:si.function},!0)),fa.assertOptions(t,{baseUrl:si.spelling("baseURL"),withXsrfToken:si.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=s&&q.merge(s.common,s[t.method]);s&&q.forEach(["delete","get","head","post","put","patch","common"],f=>{delete s[f]}),t.headers=rn.concat(o,s);let a=[],c=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(t)===!1||(c=c&&y.synchronous,a.unshift(y.fulfilled,y.rejected))});let u=[];this.interceptors.response.forEach(function(y){u.push(y.fulfilled,y.rejected)});let l,p=0,h;if(!c){let f=[ex.bind(this),void 0];for(f.unshift.apply(f,a),f.push.apply(f,u),h=f.length,l=Promise.resolve(t);p{if(!i._listeners)return;let s=i._listeners.length;for(;s-- >0;)i._listeners[s](r);i._listeners=null}),this.promise.then=r=>{let s,o=new Promise(a=>{i.subscribe(a),s=a}).then(r);return o.cancel=function(){i.unsubscribe(s)},o},e(function(s,o,a){i.reason||(i.reason=new Mi(s,o,a),t(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=i=>{e.abort(i)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new n(function(r){e=r}),cancel:e}}},mk=id;function gk(n){return function(t){return n.apply(null,t)}}function vk(n){return q.isObject(n)&&n.isAxiosError===!0}var rd={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(rd).forEach(([n,e])=>{rd[e]=n});var xk=rd;function Tx(n){let e=new ha(n),t=sx(ha.prototype.request,e);return q.extend(t,ha.prototype,e,{allOwnKeys:!0}),q.extend(t,e,null,{allOwnKeys:!0}),t.create=function(r){return Tx(yr(n,r))},t}var wt=Tx(ld);wt.Axios=ha;wt.CanceledError=Mi;wt.CancelToken=mk;wt.isCancel=yx;wt.VERSION=ma;wt.toFormData=_a;wt.AxiosError=V;wt.Cancel=wt.CanceledError;wt.all=function(e){return Promise.all(e)};wt.spread=gk;wt.isAxiosError=vk;wt.mergeConfig=yr;wt.AxiosHeaders=rn;wt.formToJSON=n=>xx(q.isHTMLForm(n)?new FormData(n):n);wt.getAdapter=Dx.getAdapter;wt.HttpStatusCode=xk;wt.default=wt;Ex.exports=wt});var Nx=T((tM,Fx)=>{"use strict";Fx.exports=Ox;function Ox(n,e,t){n instanceof RegExp&&(n=kx(n,t)),e instanceof RegExp&&(e=kx(e,t));var i=qx(n,e,t);return i&&{start:i[0],end:i[1],pre:t.slice(0,i[0]),body:t.slice(i[0]+n.length,i[1]),post:t.slice(i[1]+e.length)}}function kx(n,e){var t=e.match(n);return t?t[0]:null}Ox.range=qx;function qx(n,e,t){var i,r,s,o,a,c=t.indexOf(n),u=t.indexOf(e,c+1),l=c;if(c>=0&&u>0){if(n===e)return[c,u];for(i=[],s=t.length;l>=0&&!a;)l==c?(i.push(l),c=t.indexOf(n,l+1)):i.length==1?a=[i.pop(),u]:(r=i.pop(),r=0?c:u;i.length&&(a=[s,o])}return a}});var $x=T((nM,zx)=>{var Ax=Nx();zx.exports=wk;var Ix="\0SLASH"+Math.random()+"\0",jx="\0OPEN"+Math.random()+"\0",fd="\0CLOSE"+Math.random()+"\0",Lx="\0COMMA"+Math.random()+"\0",Mx="\0PERIOD"+Math.random()+"\0";function pd(n){return parseInt(n,10)==n?parseInt(n,10):n.charCodeAt(0)}function yk(n){return n.split("\\\\").join(Ix).split("\\{").join(jx).split("\\}").join(fd).split("\\,").join(Lx).split("\\.").join(Mx)}function bk(n){return n.split(Ix).join("\\").split(jx).join("{").split(fd).join("}").split(Lx).join(",").split(Mx).join(".")}function Ux(n){if(!n)return[""];var e=[],t=Ax("{","}",n);if(!t)return n.split(",");var i=t.pre,r=t.body,s=t.post,o=i.split(",");o[o.length-1]+="{"+r+"}";var a=Ux(s);return s.length&&(o[o.length-1]+=a.shift(),o.push.apply(o,a)),e.push.apply(e,o),e}function wk(n){return n?(n.substr(0,2)==="{}"&&(n="\\{\\}"+n.substr(2)),Qs(yk(n),!0).map(bk)):[]}function _k(n){return"{"+n+"}"}function Sk(n){return/^-?0\d/.test(n)}function Ck(n,e){return n<=e}function Rk(n,e){return n>=e}function Qs(n,e){var t=[],i=Ax("{","}",n);if(!i)return[n];var r=i.pre,s=i.post.length?Qs(i.post,!1):[""];if(/\$$/.test(i.pre))for(var o=0;o=0;if(!l&&!p)return i.post.match(/,.*\}/)?(n=i.pre+"{"+i.body+fd+i.post,Qs(n)):[n];var h;if(l)h=i.body.split(/\.\./);else if(h=Ux(i.body),h.length===1&&(h=Qs(h[0],!1).map(_k),h.length===1))return s.map(function(Oe){return i.pre+h[0]+Oe});var x;if(l){var f=pd(h[0]),y=pd(h[1]),w=Math.max(h[0].length,h[1].length),S=h.length==3?Math.abs(pd(h[2])):1,O=Ck,k=y0){var Q=new Array($+1).join("0");j<0?G="-"+Q+G.slice(1):G=Q+G}}x.push(G)}}else{x=[];for(var te=0;te{"use strict";Object.defineProperty(Ra,"__esModule",{value:!0});Ra.assertValidPattern=void 0;var Dk=1024*64,Tk=n=>{if(typeof n!="string")throw new TypeError("invalid pattern");if(n.length>Dk)throw new TypeError("pattern is too long")};Ra.assertValidPattern=Tk});var Wx=T(Da=>{"use strict";Object.defineProperty(Da,"__esModule",{value:!0});Da.parseClass=void 0;var Ek={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},Zs=n=>n.replace(/[[\]\\-]/g,"\\$&"),Pk=n=>n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Bx=n=>n.join(""),kk=(n,e)=>{let t=e;if(n.charAt(t)!=="[")throw new Error("not in a brace expression");let i=[],r=[],s=t+1,o=!1,a=!1,c=!1,u=!1,l=t,p="";e:for(;sp?i.push(Zs(p)+"-"+Zs(y)):y===p&&i.push(Zs(y)),p="",s++;continue}if(n.startsWith("-]",s+1)){i.push(Zs(y+"-")),s+=2;continue}if(n.startsWith("-",s+1)){p=y,s+=2;continue}i.push(Zs(y)),s++}if(l{"use strict";Object.defineProperty(Ta,"__esModule",{value:!0});Ta.unescape=void 0;var Ok=(n,{windowsPathsNoEscape:e=!1}={})=>e?n.replace(/\[([^\/\\])\]/g,"$1"):n.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1");Ta.unescape=Ok});var gd=T(Oa=>{"use strict";Object.defineProperty(Oa,"__esModule",{value:!0});Oa.AST=void 0;var qk=Wx(),Pa=Ea(),Fk=new Set(["!","?","+","*","@"]),Kx=n=>Fk.has(n),Nk="(?!(?:^|/)\\.\\.?(?:$|/))",ka="(?!\\.)",Ak=new Set(["[","."]),Ik=new Set(["..","."]),jk=new Set("().*{}+?[]^$\\!"),Lk=n=>n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),md="[^/]",Gx=md+"*?",Vx=md+"+?",hd=class n{type;#e;#n;#s=!1;#i=[];#a;#u;#d;#c=!1;#o;#t;#m=!1;constructor(e,t,i={}){this.type=e,e&&(this.#n=!0),this.#a=t,this.#e=this.#a?this.#a.#e:this,this.#o=this.#e===this?i:this.#e.#o,this.#d=this.#e===this?[]:this.#e.#d,e==="!"&&!this.#e.#c&&this.#d.push(this),this.#u=this.#a?this.#a.#i.length:0}get hasMagic(){if(this.#n!==void 0)return this.#n;for(let e of this.#i)if(typeof e!="string"&&(e.type||e.hasMagic))return this.#n=!0;return this.#n}toString(){return this.#t!==void 0?this.#t:this.type?this.#t=this.type+"("+this.#i.map(e=>String(e)).join("|")+")":this.#t=this.#i.map(e=>String(e)).join("")}#v(){if(this!==this.#e)throw new Error("should only call on root");if(this.#c)return this;this.toString(),this.#c=!0;let e;for(;e=this.#d.pop();){if(e.type!=="!")continue;let t=e,i=t.#a;for(;i;){for(let r=t.#u+1;!i.type&&rtypeof t=="string"?t:t.toJSON()):[this.type,...this.#i.map(t=>t.toJSON())];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===this.#e||this.#e.#c&&this.#a?.type==="!")&&e.push({}),e}isStart(){if(this.#e===this)return!0;if(!this.#a?.isStart())return!1;if(this.#u===0)return!0;let e=this.#a;for(let t=0;t{let[f,y,w,S]=typeof x=="string"?n.#b(x,this.#n,c):x.toRegExpSource(e);return this.#n=this.#n||w,this.#s=this.#s||S,f}).join(""),l="";if(this.isStart()&&typeof this.#i[0]=="string"&&!(this.#i.length===1&&Ik.has(this.#i[0]))){let f=Ak,y=t&&f.has(u.charAt(0))||u.startsWith("\\.")&&f.has(u.charAt(2))||u.startsWith("\\.\\.")&&f.has(u.charAt(4)),w=!t&&!e&&f.has(u.charAt(0));l=y?Nk:w?ka:""}let p="";return this.isEnd()&&this.#e.#c&&this.#a?.type==="!"&&(p="(?:$|\\/)"),[l+u+p,(0,Pa.unescape)(u),this.#n=!!this.#n,this.#s]}let i=this.type==="*"||this.type==="+",r=this.type==="!"?"(?:(?!(?:":"(?:",s=this.#p(t);if(this.isStart()&&this.isEnd()&&!s&&this.type!=="!"){let c=this.toString();return this.#i=[c],this.type=null,this.#n=void 0,[c,(0,Pa.unescape)(this.toString()),!1,!1]}let o=!i||e||t||!ka?"":this.#p(!0);o===s&&(o=""),o&&(s=`(?:${s})(?:${o})*?`);let a="";if(this.type==="!"&&this.#m)a=(this.isStart()&&!t?ka:"")+Vx;else{let c=this.type==="!"?"))"+(this.isStart()&&!t&&!e?ka:"")+Gx+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&o?")":this.type==="*"&&o?")?":`)${this.type}`;a=r+s+c}return[a,(0,Pa.unescape)(s),this.#n=!!this.#n,this.#s]}#p(e){return this.#i.map(t=>{if(typeof t=="string")throw new Error("string type in extglob ast??");let[i,r,s,o]=t.toRegExpSource(e);return this.#s=this.#s||o,i}).filter(t=>!(this.isStart()&&this.isEnd())||!!t).join("|")}static#b(e,t,i=!1){let r=!1,s="",o=!1;for(let a=0;a{"use strict";Object.defineProperty(qa,"__esModule",{value:!0});qa.escape=void 0;var Mk=(n,{windowsPathsNoEscape:e=!1}={})=>e?n.replace(/[?*()[\]]/g,"[$&]"):n.replace(/[?*()[\]\\]/g,"\\$&");qa.escape=Mk});var Ui=T(ee=>{"use strict";var Uk=ee&&ee.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(ee,"__esModule",{value:!0});ee.unescape=ee.escape=ee.AST=ee.Minimatch=ee.match=ee.makeRe=ee.braceExpand=ee.defaults=ee.filter=ee.GLOBSTAR=ee.sep=ee.minimatch=void 0;var zk=Uk($x()),Fa=Hx(),Yx=gd(),$k=vd(),Hk=Ea(),Bk=(n,e,t={})=>((0,Fa.assertValidPattern)(e),!t.nocomment&&e.charAt(0)==="#"?!1:new br(e,t).match(n));ee.minimatch=Bk;var Wk=/^\*+([^+@!?\*\[\(]*)$/,Kk=n=>e=>!e.startsWith(".")&&e.endsWith(n),Gk=n=>e=>e.endsWith(n),Vk=n=>(n=n.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(n)),Xk=n=>(n=n.toLowerCase(),e=>e.toLowerCase().endsWith(n)),Jk=/^\*+\.\*+$/,Yk=n=>!n.startsWith(".")&&n.includes("."),Qk=n=>n!=="."&&n!==".."&&n.includes("."),Zk=/^\.\*+$/,eO=n=>n!=="."&&n!==".."&&n.startsWith("."),tO=/^\*+$/,nO=n=>n.length!==0&&!n.startsWith("."),iO=n=>n.length!==0&&n!=="."&&n!=="..",rO=/^\?+([^+@!?\*\[\(]*)?$/,sO=([n,e=""])=>{let t=Qx([n]);return e?(e=e.toLowerCase(),i=>t(i)&&i.toLowerCase().endsWith(e)):t},oO=([n,e=""])=>{let t=Zx([n]);return e?(e=e.toLowerCase(),i=>t(i)&&i.toLowerCase().endsWith(e)):t},aO=([n,e=""])=>{let t=Zx([n]);return e?i=>t(i)&&i.endsWith(e):t},cO=([n,e=""])=>{let t=Qx([n]);return e?i=>t(i)&&i.endsWith(e):t},Qx=([n])=>{let e=n.length;return t=>t.length===e&&!t.startsWith(".")},Zx=([n])=>{let e=n.length;return t=>t.length===e&&t!=="."&&t!==".."},ey=typeof process=="object"&&process?typeof process.env=="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",Xx={win32:{sep:"\\"},posix:{sep:"/"}};ee.sep=ey==="win32"?Xx.win32.sep:Xx.posix.sep;ee.minimatch.sep=ee.sep;ee.GLOBSTAR=Symbol("globstar **");ee.minimatch.GLOBSTAR=ee.GLOBSTAR;var uO="[^/]",lO=uO+"*?",dO="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",pO="(?:(?!(?:\\/|^)\\.).)*?",fO=(n,e={})=>t=>(0,ee.minimatch)(t,n,e);ee.filter=fO;ee.minimatch.filter=ee.filter;var En=(n,e={})=>Object.assign({},n,e),hO=n=>{if(!n||typeof n!="object"||!Object.keys(n).length)return ee.minimatch;let e=ee.minimatch;return Object.assign((i,r,s={})=>e(i,r,En(n,s)),{Minimatch:class extends e.Minimatch{constructor(r,s={}){super(r,En(n,s))}static defaults(r){return e.defaults(En(n,r)).Minimatch}},AST:class extends e.AST{constructor(r,s,o={}){super(r,s,En(n,o))}static fromGlob(r,s={}){return e.AST.fromGlob(r,En(n,s))}},unescape:(i,r={})=>e.unescape(i,En(n,r)),escape:(i,r={})=>e.escape(i,En(n,r)),filter:(i,r={})=>e.filter(i,En(n,r)),defaults:i=>e.defaults(En(n,i)),makeRe:(i,r={})=>e.makeRe(i,En(n,r)),braceExpand:(i,r={})=>e.braceExpand(i,En(n,r)),match:(i,r,s={})=>e.match(i,r,En(n,s)),sep:e.sep,GLOBSTAR:ee.GLOBSTAR})};ee.defaults=hO;ee.minimatch.defaults=ee.defaults;var mO=(n,e={})=>((0,Fa.assertValidPattern)(n),e.nobrace||!/\{(?:(?!\{).)*\}/.test(n)?[n]:(0,zk.default)(n));ee.braceExpand=mO;ee.minimatch.braceExpand=ee.braceExpand;var gO=(n,e={})=>new br(n,e).makeRe();ee.makeRe=gO;ee.minimatch.makeRe=ee.makeRe;var vO=(n,e,t={})=>{let i=new br(e,t);return n=n.filter(r=>i.match(r)),i.options.nonull&&!n.length&&n.push(e),n};ee.match=vO;ee.minimatch.match=ee.match;var Jx=/[?*]|[+@!]\(.*?\)|\[|\]/,xO=n=>n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),br=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(e,t={}){(0,Fa.assertValidPattern)(e),t=t||{},this.options=t,this.pattern=e,this.platform=t.platform||ey,this.isWindows=this.platform==="win32",this.windowsPathsNoEscape=!!t.windowsPathsNoEscape||t.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!t.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!t.nonegate,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=t.windowsNoMagicRoot!==void 0?t.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let e of this.set)for(let t of e)if(typeof t!="string")return!0;return!1}debug(...e){}make(){let e=this.pattern,t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],t.debug&&(this.debug=(...s)=>console.error(...s)),this.debug(this.pattern,this.globSet);let i=this.globSet.map(s=>this.slashSplit(s));this.globParts=this.preprocess(i),this.debug(this.pattern,this.globParts);let r=this.globParts.map((s,o,a)=>{if(this.isWindows&&this.windowsNoMagicRoot){let c=s[0]===""&&s[1]===""&&(s[2]==="?"||!Jx.test(s[2]))&&!Jx.test(s[3]),u=/^[a-z]:/i.test(s[0]);if(c)return[...s.slice(0,4),...s.slice(4).map(l=>this.parse(l))];if(u)return[s[0],...s.slice(1).map(l=>this.parse(l))]}return s.map(c=>this.parse(c))});if(this.debug(this.pattern,r),this.set=r.filter(s=>s.indexOf(!1)===-1),this.isWindows)for(let s=0;s=2?(e=this.firstPhasePreProcess(e),e=this.secondPhasePreProcess(e)):t>=1?e=this.levelOneOptimize(e):e=this.adjascentGlobstarOptimize(e),e}adjascentGlobstarOptimize(e){return e.map(t=>{let i=-1;for(;(i=t.indexOf("**",i+1))!==-1;){let r=i;for(;t[r+1]==="**";)r++;r!==i&&t.splice(i,r-i)}return t})}levelOneOptimize(e){return e.map(t=>(t=t.reduce((i,r)=>{let s=i[i.length-1];return r==="**"&&s==="**"?i:r===".."&&s&&s!==".."&&s!=="."&&s!=="**"?(i.pop(),i):(i.push(r),i)},[]),t.length===0?[""]:t))}levelTwoFileOptimize(e){Array.isArray(e)||(e=this.slashSplit(e));let t=!1;do{if(t=!1,!this.preserveMultipleSlashes){for(let r=1;rr&&i.splice(r+1,o-r);let a=i[r+1],c=i[r+2],u=i[r+3];if(a!==".."||!c||c==="."||c===".."||!u||u==="."||u==="..")continue;t=!0,i.splice(r,1);let l=i.slice(0);l[r]="**",e.push(l),r--}if(!this.preserveMultipleSlashes){for(let o=1;ot.length)}partsMatch(e,t,i=!1){let r=0,s=0,o=[],a="";for(;rk?t=t.slice(N):k>N&&(e=e.slice(k)))}}let{optimizationLevel:s=1}=this.options;s>=2&&(e=this.levelTwoFileOptimize(e)),this.debug("matchOne",this,{file:e,pattern:t}),this.debug("matchOne",e.length,t.length);for(var o=0,a=0,c=e.length,u=t.length;o>> no match, partial?`,e,h,t,x),h===c))}let y;if(typeof l=="string"?(y=p===l,this.debug("string match",l,p,y)):(y=l.test(p),this.debug("pattern match",l,p,y)),!y)return!1}if(o===c&&a===u)return!0;if(o===c)return i;if(a===u)return o===c-1&&e[o]==="";throw new Error("wtf?")}braceExpand(){return(0,ee.braceExpand)(this.pattern,this.options)}parse(e){(0,Fa.assertValidPattern)(e);let t=this.options;if(e==="**")return ee.GLOBSTAR;if(e==="")return"";let i,r=null;(i=e.match(tO))?r=t.dot?iO:nO:(i=e.match(Wk))?r=(t.nocase?t.dot?Xk:Vk:t.dot?Gk:Kk)(i[1]):(i=e.match(rO))?r=(t.nocase?t.dot?oO:sO:t.dot?aO:cO)(i):(i=e.match(Jk))?r=t.dot?Qk:Yk:(i=e.match(Zk))&&(r=eO);let s=Yx.AST.fromGlob(e,this.options).toMMPattern();return r&&typeof s=="object"&&Reflect.defineProperty(s,"test",{value:r}),s}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let e=this.set;if(!e.length)return this.regexp=!1,this.regexp;let t=this.options,i=t.noglobstar?lO:t.dot?dO:pO,r=new Set(t.nocase?["i"]:[]),s=e.map(c=>{let u=c.map(l=>{if(l instanceof RegExp)for(let p of l.flags.split(""))r.add(p);return typeof l=="string"?xO(l):l===ee.GLOBSTAR?ee.GLOBSTAR:l._src});return u.forEach((l,p)=>{let h=u[p+1],x=u[p-1];l!==ee.GLOBSTAR||x===ee.GLOBSTAR||(x===void 0?h!==void 0&&h!==ee.GLOBSTAR?u[p+1]="(?:\\/|"+i+"\\/)?"+h:u[p]=i:h===void 0?u[p-1]=x+"(?:\\/|"+i+")?":h!==ee.GLOBSTAR&&(u[p-1]=x+"(?:\\/|\\/"+i+"\\/)"+h,u[p+1]=ee.GLOBSTAR))}),u.filter(l=>l!==ee.GLOBSTAR).join("/")}).join("|"),[o,a]=e.length>1?["(?:",")"]:["",""];s="^"+o+s+a+"$",this.negate&&(s="^(?!"+s+").+$");try{this.regexp=new RegExp(s,[...r].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(e)?["",...e.split(/\/+/)]:e.split(/\/+/)}match(e,t=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&t)return!0;let i=this.options;this.isWindows&&(e=e.split("\\").join("/"));let r=this.slashSplit(e);this.debug(this.pattern,"split",r);let s=this.set;this.debug(this.pattern,"set",s);let o=r[r.length-1];if(!o)for(let a=r.length-2;!o&&a>=0;a--)o=r[a];for(let a=0;a{"use strict";Object.defineProperty(Aa,"__esModule",{value:!0});Aa.LRUCache=void 0;var Wr=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,ny=new Set,xd=typeof process=="object"&&process?process:{},iy=(n,e,t,i)=>{typeof xd.emitWarning=="function"?xd.emitWarning(n,e,t,i):console.error(`[${t}] ${e}: ${n}`)},Na=globalThis.AbortController,ty=globalThis.AbortSignal;if(typeof Na>"u"){ty=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(i,r){this._onabort.push(r)}},Na=class{constructor(){e()}signal=new ty;abort(i){if(!this.signal.aborted){this.signal.reason=i,this.signal.aborted=!0;for(let r of this.signal._onabort)r(i);this.signal.onabort?.(i)}}};let n=xd.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",e=()=>{n&&(n=!1,iy("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e))}}var _O=n=>!ny.has(n),fM=Symbol("type"),zi=n=>n&&n===Math.floor(n)&&n>0&&isFinite(n),ry=n=>zi(n)?n<=Math.pow(2,8)?Uint8Array:n<=Math.pow(2,16)?Uint16Array:n<=Math.pow(2,32)?Uint32Array:n<=Number.MAX_SAFE_INTEGER?Kr:null:null,Kr=class extends Array{constructor(e){super(e),this.fill(0)}},yd=class n{heap;length;static#e=!1;static create(e){let t=ry(e);if(!t)return[];n.#e=!0;let i=new n(e,t);return n.#e=!1,i}constructor(e,t){if(!n.#e)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new t(e),this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}},bd=class n{#e;#n;#s;#i;#a;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#u;#d;#c;#o;#t;#m;#v;#f;#p;#b;#g;#R;#D;#w;#y;#E;#h;static unsafeExposeInternals(e){return{starts:e.#D,ttls:e.#w,sizes:e.#R,keyMap:e.#c,keyList:e.#o,valList:e.#t,next:e.#m,prev:e.#v,get head(){return e.#f},get tail(){return e.#p},free:e.#b,isBackgroundFetch:t=>e.#l(t),backgroundFetch:(t,i,r,s)=>e.#N(t,i,r,s),moveToTail:t=>e.#F(t),indexes:t=>e.#C(t),rindexes:t=>e.#P(t),isStale:t=>e.#x(t)}}get max(){return this.#e}get maxSize(){return this.#n}get calculatedSize(){return this.#d}get size(){return this.#u}get fetchMethod(){return this.#a}get dispose(){return this.#s}get disposeAfter(){return this.#i}constructor(e){let{max:t=0,ttl:i,ttlResolution:r=1,ttlAutopurge:s,updateAgeOnGet:o,updateAgeOnHas:a,allowStale:c,dispose:u,disposeAfter:l,noDisposeOnSet:p,noUpdateTTL:h,maxSize:x=0,maxEntrySize:f=0,sizeCalculation:y,fetchMethod:w,noDeleteOnFetchRejection:S,noDeleteOnStaleGet:O,allowStaleOnFetchRejection:k,allowStaleOnFetchAbort:N,ignoreFetchAbort:j}=e;if(t!==0&&!zi(t))throw new TypeError("max option must be a nonnegative integer");let G=t?ry(t):Array;if(!G)throw new Error("invalid max value: "+t);if(this.#e=t,this.#n=x,this.maxEntrySize=f||this.#n,this.sizeCalculation=y,this.sizeCalculation){if(!this.#n&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(w!==void 0&&typeof w!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#a=w,this.#E=!!w,this.#c=new Map,this.#o=new Array(t).fill(void 0),this.#t=new Array(t).fill(void 0),this.#m=new G(t),this.#v=new G(t),this.#f=0,this.#p=0,this.#b=yd.create(t),this.#u=0,this.#d=0,typeof u=="function"&&(this.#s=u),typeof l=="function"?(this.#i=l,this.#g=[]):(this.#i=void 0,this.#g=void 0),this.#y=!!this.#s,this.#h=!!this.#i,this.noDisposeOnSet=!!p,this.noUpdateTTL=!!h,this.noDeleteOnFetchRejection=!!S,this.allowStaleOnFetchRejection=!!k,this.allowStaleOnFetchAbort=!!N,this.ignoreFetchAbort=!!j,this.maxEntrySize!==0){if(this.#n!==0&&!zi(this.#n))throw new TypeError("maxSize must be a positive integer if specified");if(!zi(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#O()}if(this.allowStale=!!c,this.noDeleteOnStaleGet=!!O,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!a,this.ttlResolution=zi(r)||r===0?r:1,this.ttlAutopurge=!!s,this.ttl=i||0,this.ttl){if(!zi(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#k()}if(this.#e===0&&this.ttl===0&&this.#n===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#e&&!this.#n){let $="LRU_CACHE_UNBOUNDED";_O($)&&(ny.add($),iy("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",$,n))}}getRemainingTTL(e){return this.#c.has(e)?1/0:0}#k(){let e=new Kr(this.#e),t=new Kr(this.#e);this.#w=e,this.#D=t,this.#r=(s,o,a=Wr.now())=>{if(t[s]=o!==0?a:0,e[s]=o,o!==0&&this.ttlAutopurge){let c=setTimeout(()=>{this.#x(s)&&this.delete(this.#o[s])},o+1);c.unref&&c.unref()}},this.#T=s=>{t[s]=e[s]!==0?Wr.now():0},this.#_=(s,o)=>{if(e[o]){let a=e[o],c=t[o];if(!a||!c)return;s.ttl=a,s.start=c,s.now=i||r();let u=s.now-c;s.remainingTTL=a-u}};let i=0,r=()=>{let s=Wr.now();if(this.ttlResolution>0){i=s;let o=setTimeout(()=>i=0,this.ttlResolution);o.unref&&o.unref()}return s};this.getRemainingTTL=s=>{let o=this.#c.get(s);if(o===void 0)return 0;let a=e[o],c=t[o];if(!a||!c)return 1/0;let u=(i||r())-c;return a-u},this.#x=s=>{let o=t[s],a=e[s];return!!a&&!!o&&(i||r())-o>a}}#T=()=>{};#_=()=>{};#r=()=>{};#x=()=>!1;#O(){let e=new Kr(this.#e);this.#d=0,this.#R=e,this.#S=t=>{this.#d-=e[t],e[t]=0},this.#I=(t,i,r,s)=>{if(this.#l(i))return 0;if(!zi(r))if(s){if(typeof s!="function")throw new TypeError("sizeCalculation must be a function");if(r=s(i,t),!zi(r))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return r},this.#A=(t,i,r)=>{if(e[t]=i,this.#n){let s=this.#n-e[t];for(;this.#d>s;)this.#q(!0)}this.#d+=e[t],r&&(r.entrySize=i,r.totalCalculatedSize=this.#d)}}#S=e=>{};#A=(e,t,i)=>{};#I=(e,t,i,r)=>{if(i||r)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#C({allowStale:e=this.allowStale}={}){if(this.#u)for(let t=this.#p;!(!this.#j(t)||((e||!this.#x(t))&&(yield t),t===this.#f));)t=this.#v[t]}*#P({allowStale:e=this.allowStale}={}){if(this.#u)for(let t=this.#f;!(!this.#j(t)||((e||!this.#x(t))&&(yield t),t===this.#p));)t=this.#m[t]}#j(e){return e!==void 0&&this.#c.get(this.#o[e])===e}*entries(){for(let e of this.#C())this.#t[e]!==void 0&&this.#o[e]!==void 0&&!this.#l(this.#t[e])&&(yield[this.#o[e],this.#t[e]])}*rentries(){for(let e of this.#P())this.#t[e]!==void 0&&this.#o[e]!==void 0&&!this.#l(this.#t[e])&&(yield[this.#o[e],this.#t[e]])}*keys(){for(let e of this.#C()){let t=this.#o[e];t!==void 0&&!this.#l(this.#t[e])&&(yield t)}}*rkeys(){for(let e of this.#P()){let t=this.#o[e];t!==void 0&&!this.#l(this.#t[e])&&(yield t)}}*values(){for(let e of this.#C())this.#t[e]!==void 0&&!this.#l(this.#t[e])&&(yield this.#t[e])}*rvalues(){for(let e of this.#P())this.#t[e]!==void 0&&!this.#l(this.#t[e])&&(yield this.#t[e])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(e,t={}){for(let i of this.#C()){let r=this.#t[i],s=this.#l(r)?r.__staleWhileFetching:r;if(s!==void 0&&e(s,this.#o[i],this))return this.get(this.#o[i],t)}}forEach(e,t=this){for(let i of this.#C()){let r=this.#t[i],s=this.#l(r)?r.__staleWhileFetching:r;s!==void 0&&e.call(t,s,this.#o[i],this)}}rforEach(e,t=this){for(let i of this.#P()){let r=this.#t[i],s=this.#l(r)?r.__staleWhileFetching:r;s!==void 0&&e.call(t,s,this.#o[i],this)}}purgeStale(){let e=!1;for(let t of this.#P({allowStale:!0}))this.#x(t)&&(this.delete(this.#o[t]),e=!0);return e}info(e){let t=this.#c.get(e);if(t===void 0)return;let i=this.#t[t],r=this.#l(i)?i.__staleWhileFetching:i;if(r===void 0)return;let s={value:r};if(this.#w&&this.#D){let o=this.#w[t],a=this.#D[t];if(o&&a){let c=o-(Wr.now()-a);s.ttl=c,s.start=Date.now()}}return this.#R&&(s.size=this.#R[t]),s}dump(){let e=[];for(let t of this.#C({allowStale:!0})){let i=this.#o[t],r=this.#t[t],s=this.#l(r)?r.__staleWhileFetching:r;if(s===void 0||i===void 0)continue;let o={value:s};if(this.#w&&this.#D){o.ttl=this.#w[t];let a=Wr.now()-this.#D[t];o.start=Math.floor(Date.now()-a)}this.#R&&(o.size=this.#R[t]),e.unshift([i,o])}return e}load(e){this.clear();for(let[t,i]of e){if(i.start){let r=Date.now()-i.start;i.start=Wr.now()-r}this.set(t,i.value,i)}}set(e,t,i={}){if(t===void 0)return this.delete(e),this;let{ttl:r=this.ttl,start:s,noDisposeOnSet:o=this.noDisposeOnSet,sizeCalculation:a=this.sizeCalculation,status:c}=i,{noUpdateTTL:u=this.noUpdateTTL}=i,l=this.#I(e,t,i.size||0,a);if(this.maxEntrySize&&l>this.maxEntrySize)return c&&(c.set="miss",c.maxEntrySizeExceeded=!0),this.delete(e),this;let p=this.#u===0?void 0:this.#c.get(e);if(p===void 0)p=this.#u===0?this.#p:this.#b.length!==0?this.#b.pop():this.#u===this.#e?this.#q(!1):this.#u,this.#o[p]=e,this.#t[p]=t,this.#c.set(e,p),this.#m[this.#p]=p,this.#v[p]=this.#p,this.#p=p,this.#u++,this.#A(p,l,c),c&&(c.set="add"),u=!1;else{this.#F(p);let h=this.#t[p];if(t!==h){if(this.#E&&this.#l(h)){h.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:x}=h;x!==void 0&&!o&&(this.#y&&this.#s?.(x,e,"set"),this.#h&&this.#g?.push([x,e,"set"]))}else o||(this.#y&&this.#s?.(h,e,"set"),this.#h&&this.#g?.push([h,e,"set"]));if(this.#S(p),this.#A(p,l,c),this.#t[p]=t,c){c.set="replace";let x=h&&this.#l(h)?h.__staleWhileFetching:h;x!==void 0&&(c.oldValue=x)}}else c&&(c.set="update")}if(r!==0&&!this.#w&&this.#k(),this.#w&&(u||this.#r(p,r,s),c&&this.#_(c,p)),!o&&this.#h&&this.#g){let h=this.#g,x;for(;x=h?.shift();)this.#i?.(...x)}return this}pop(){try{for(;this.#u;){let e=this.#t[this.#f];if(this.#q(!0),this.#l(e)){if(e.__staleWhileFetching)return e.__staleWhileFetching}else if(e!==void 0)return e}}finally{if(this.#h&&this.#g){let e=this.#g,t;for(;t=e?.shift();)this.#i?.(...t)}}}#q(e){let t=this.#f,i=this.#o[t],r=this.#t[t];return this.#E&&this.#l(r)?r.__abortController.abort(new Error("evicted")):(this.#y||this.#h)&&(this.#y&&this.#s?.(r,i,"evict"),this.#h&&this.#g?.push([r,i,"evict"])),this.#S(t),e&&(this.#o[t]=void 0,this.#t[t]=void 0,this.#b.push(t)),this.#u===1?(this.#f=this.#p=0,this.#b.length=0):this.#f=this.#m[t],this.#c.delete(i),this.#u--,t}has(e,t={}){let{updateAgeOnHas:i=this.updateAgeOnHas,status:r}=t,s=this.#c.get(e);if(s!==void 0){let o=this.#t[s];if(this.#l(o)&&o.__staleWhileFetching===void 0)return!1;if(this.#x(s))r&&(r.has="stale",this.#_(r,s));else return i&&this.#T(s),r&&(r.has="hit",this.#_(r,s)),!0}else r&&(r.has="miss");return!1}peek(e,t={}){let{allowStale:i=this.allowStale}=t,r=this.#c.get(e);if(r===void 0||!i&&this.#x(r))return;let s=this.#t[r];return this.#l(s)?s.__staleWhileFetching:s}#N(e,t,i,r){let s=t===void 0?void 0:this.#t[t];if(this.#l(s))return s;let o=new Na,{signal:a}=i;a?.addEventListener("abort",()=>o.abort(a.reason),{signal:o.signal});let c={signal:o.signal,options:i,context:r},u=(y,w=!1)=>{let{aborted:S}=o.signal,O=i.ignoreFetchAbort&&y!==void 0;if(i.status&&(S&&!w?(i.status.fetchAborted=!0,i.status.fetchError=o.signal.reason,O&&(i.status.fetchAbortIgnored=!0)):i.status.fetchResolved=!0),S&&!O&&!w)return p(o.signal.reason);let k=x;return this.#t[t]===x&&(y===void 0?k.__staleWhileFetching?this.#t[t]=k.__staleWhileFetching:this.delete(e):(i.status&&(i.status.fetchUpdated=!0),this.set(e,y,c.options))),y},l=y=>(i.status&&(i.status.fetchRejected=!0,i.status.fetchError=y),p(y)),p=y=>{let{aborted:w}=o.signal,S=w&&i.allowStaleOnFetchAbort,O=S||i.allowStaleOnFetchRejection,k=O||i.noDeleteOnFetchRejection,N=x;if(this.#t[t]===x&&(!k||N.__staleWhileFetching===void 0?this.delete(e):S||(this.#t[t]=N.__staleWhileFetching)),O)return i.status&&N.__staleWhileFetching!==void 0&&(i.status.returnedStale=!0),N.__staleWhileFetching;if(N.__returned===N)throw y},h=(y,w)=>{let S=this.#a?.(e,s,c);S&&S instanceof Promise&&S.then(O=>y(O===void 0?void 0:O),w),o.signal.addEventListener("abort",()=>{(!i.ignoreFetchAbort||i.allowStaleOnFetchAbort)&&(y(void 0),i.allowStaleOnFetchAbort&&(y=O=>u(O,!0)))})};i.status&&(i.status.fetchDispatched=!0);let x=new Promise(h).then(u,l),f=Object.assign(x,{__abortController:o,__staleWhileFetching:s,__returned:void 0});return t===void 0?(this.set(e,f,{...c.options,status:void 0}),t=this.#c.get(e)):this.#t[t]=f,f}#l(e){if(!this.#E)return!1;let t=e;return!!t&&t instanceof Promise&&t.hasOwnProperty("__staleWhileFetching")&&t.__abortController instanceof Na}async fetch(e,t={}){let{allowStale:i=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:a=this.noDisposeOnSet,size:c=0,sizeCalculation:u=this.sizeCalculation,noUpdateTTL:l=this.noUpdateTTL,noDeleteOnFetchRejection:p=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:h=this.allowStaleOnFetchRejection,ignoreFetchAbort:x=this.ignoreFetchAbort,allowStaleOnFetchAbort:f=this.allowStaleOnFetchAbort,context:y,forceRefresh:w=!1,status:S,signal:O}=t;if(!this.#E)return S&&(S.fetch="get"),this.get(e,{allowStale:i,updateAgeOnGet:r,noDeleteOnStaleGet:s,status:S});let k={allowStale:i,updateAgeOnGet:r,noDeleteOnStaleGet:s,ttl:o,noDisposeOnSet:a,size:c,sizeCalculation:u,noUpdateTTL:l,noDeleteOnFetchRejection:p,allowStaleOnFetchRejection:h,allowStaleOnFetchAbort:f,ignoreFetchAbort:x,status:S,signal:O},N=this.#c.get(e);if(N===void 0){S&&(S.fetch="miss");let j=this.#N(e,N,k,y);return j.__returned=j}else{let j=this.#t[N];if(this.#l(j)){let Oe=i&&j.__staleWhileFetching!==void 0;return S&&(S.fetch="inflight",Oe&&(S.returnedStale=!0)),Oe?j.__staleWhileFetching:j.__returned=j}let G=this.#x(N);if(!w&&!G)return S&&(S.fetch="hit"),this.#F(N),r&&this.#T(N),S&&this.#_(S,N),j;let $=this.#N(e,N,k,y),te=$.__staleWhileFetching!==void 0&&i;return S&&(S.fetch=G?"stale":"refresh",te&&G&&(S.returnedStale=!0)),te?$.__staleWhileFetching:$.__returned=$}}get(e,t={}){let{allowStale:i=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,status:o}=t,a=this.#c.get(e);if(a!==void 0){let c=this.#t[a],u=this.#l(c);return o&&this.#_(o,a),this.#x(a)?(o&&(o.get="stale"),u?(o&&i&&c.__staleWhileFetching!==void 0&&(o.returnedStale=!0),i?c.__staleWhileFetching:void 0):(s||this.delete(e),o&&i&&(o.returnedStale=!0),i?c:void 0)):(o&&(o.get="hit"),u?c.__staleWhileFetching:(this.#F(a),r&&this.#T(a),c))}else o&&(o.get="miss")}#L(e,t){this.#v[t]=e,this.#m[e]=t}#F(e){e!==this.#p&&(e===this.#f?this.#f=this.#m[e]:this.#L(this.#v[e],this.#m[e]),this.#L(this.#p,e),this.#p=e)}delete(e){let t=!1;if(this.#u!==0){let i=this.#c.get(e);if(i!==void 0)if(t=!0,this.#u===1)this.clear();else{this.#S(i);let r=this.#t[i];if(this.#l(r)?r.__abortController.abort(new Error("deleted")):(this.#y||this.#h)&&(this.#y&&this.#s?.(r,e,"delete"),this.#h&&this.#g?.push([r,e,"delete"])),this.#c.delete(e),this.#o[i]=void 0,this.#t[i]=void 0,i===this.#p)this.#p=this.#v[i];else if(i===this.#f)this.#f=this.#m[i];else{let s=this.#v[i];this.#m[s]=this.#m[i];let o=this.#m[i];this.#v[o]=this.#v[i]}this.#u--,this.#b.push(i)}}if(this.#h&&this.#g?.length){let i=this.#g,r;for(;r=i?.shift();)this.#i?.(...r)}return t}clear(){for(let e of this.#P({allowStale:!0})){let t=this.#t[e];if(this.#l(t))t.__abortController.abort(new Error("deleted"));else{let i=this.#o[e];this.#y&&this.#s?.(t,i,"delete"),this.#h&&this.#g?.push([t,i,"delete"])}}if(this.#c.clear(),this.#t.fill(void 0),this.#o.fill(void 0),this.#w&&this.#D&&(this.#w.fill(0),this.#D.fill(0)),this.#R&&this.#R.fill(0),this.#f=0,this.#p=0,this.#b.length=0,this.#d=0,this.#u=0,this.#h&&this.#g){let e=this.#g,t;for(;t=e?.shift();)this.#i?.(...t)}}};Aa.LRUCache=bd});var Ed=T(Xt=>{"use strict";var SO=Xt&&Xt.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Xt,"__esModule",{value:!0});Xt.Minipass=Xt.isWritable=Xt.isReadable=Xt.isStream=void 0;var oy=typeof process=="object"&&process?process:{stdout:null,stderr:null},Td=require("node:events"),ly=SO(require("node:stream")),CO=require("node:string_decoder"),RO=n=>!!n&&typeof n=="object"&&(n instanceof $a||n instanceof ly.default||(0,Xt.isReadable)(n)||(0,Xt.isWritable)(n));Xt.isStream=RO;var DO=n=>!!n&&typeof n=="object"&&n instanceof Td.EventEmitter&&typeof n.pipe=="function"&&n.pipe!==ly.default.Writable.prototype.pipe;Xt.isReadable=DO;var TO=n=>!!n&&typeof n=="object"&&n instanceof Td.EventEmitter&&typeof n.write=="function"&&typeof n.end=="function";Xt.isWritable=TO;var yi=Symbol("EOF"),bi=Symbol("maybeEmitEnd"),$i=Symbol("emittedEnd"),Ia=Symbol("emittingEnd"),eo=Symbol("emittedError"),ja=Symbol("closed"),ay=Symbol("read"),La=Symbol("flush"),cy=Symbol("flushChunk"),Kn=Symbol("encoding"),Gr=Symbol("decoder"),Et=Symbol("flowing"),to=Symbol("paused"),Vr=Symbol("resume"),Pt=Symbol("buffer"),Vt=Symbol("pipes"),kt=Symbol("bufferLength"),wd=Symbol("bufferPush"),Ma=Symbol("bufferShift"),Mt=Symbol("objectMode"),xt=Symbol("destroyed"),_d=Symbol("error"),Sd=Symbol("emitData"),uy=Symbol("emitEnd"),Cd=Symbol("emitEnd2"),oi=Symbol("async"),Rd=Symbol("abort"),Ua=Symbol("aborted"),no=Symbol("signal"),wr=Symbol("dataListeners"),gn=Symbol("discarded"),io=n=>Promise.resolve().then(n),EO=n=>n(),PO=n=>n==="end"||n==="finish"||n==="prefinish",kO=n=>n instanceof ArrayBuffer||!!n&&typeof n=="object"&&n.constructor&&n.constructor.name==="ArrayBuffer"&&n.byteLength>=0,OO=n=>!Buffer.isBuffer(n)&&ArrayBuffer.isView(n),za=class{src;dest;opts;ondrain;constructor(e,t,i){this.src=e,this.dest=t,this.opts=i,this.ondrain=()=>e[Vr](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(e){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},Dd=class extends za{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(e,t,i){super(e,t,i),this.proxyErrors=r=>t.emit("error",r),e.on("error",this.proxyErrors)}},qO=n=>!!n.objectMode,FO=n=>!n.objectMode&&!!n.encoding&&n.encoding!=="buffer",$a=class extends Td.EventEmitter{[Et]=!1;[to]=!1;[Vt]=[];[Pt]=[];[Mt];[Kn];[oi];[Gr];[yi]=!1;[$i]=!1;[Ia]=!1;[ja]=!1;[eo]=null;[kt]=0;[xt]=!1;[no];[Ua]=!1;[wr]=0;[gn]=!1;writable=!0;readable=!0;constructor(...e){let t=e[0]||{};if(super(),t.objectMode&&typeof t.encoding=="string")throw new TypeError("Encoding and objectMode may not be used together");qO(t)?(this[Mt]=!0,this[Kn]=null):FO(t)?(this[Kn]=t.encoding,this[Mt]=!1):(this[Mt]=!1,this[Kn]=null),this[oi]=!!t.async,this[Gr]=this[Kn]?new CO.StringDecoder(this[Kn]):null,t&&t.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:()=>this[Pt]}),t&&t.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:()=>this[Vt]});let{signal:i}=t;i&&(this[no]=i,i.aborted?this[Rd]():i.addEventListener("abort",()=>this[Rd]()))}get bufferLength(){return this[kt]}get encoding(){return this[Kn]}set encoding(e){throw new Error("Encoding must be set at instantiation time")}setEncoding(e){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[Mt]}set objectMode(e){throw new Error("objectMode must be set at instantiation time")}get async(){return this[oi]}set async(e){this[oi]=this[oi]||!!e}[Rd](){this[Ua]=!0,this.emit("abort",this[no]?.reason),this.destroy(this[no]?.reason)}get aborted(){return this[Ua]}set aborted(e){}write(e,t,i){if(this[Ua])return!1;if(this[yi])throw new Error("write after end");if(this[xt])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof t=="function"&&(i=t,t="utf8"),t||(t="utf8");let r=this[oi]?io:EO;if(!this[Mt]&&!Buffer.isBuffer(e)){if(OO(e))e=Buffer.from(e.buffer,e.byteOffset,e.byteLength);else if(kO(e))e=Buffer.from(e);else if(typeof e!="string")throw new Error("Non-contiguous data written to non-objectMode stream")}return this[Mt]?(this[Et]&&this[kt]!==0&&this[La](!0),this[Et]?this.emit("data",e):this[wd](e),this[kt]!==0&&this.emit("readable"),i&&r(i),this[Et]):e.length?(typeof e=="string"&&!(t===this[Kn]&&!this[Gr]?.lastNeed)&&(e=Buffer.from(e,t)),Buffer.isBuffer(e)&&this[Kn]&&(e=this[Gr].write(e)),this[Et]&&this[kt]!==0&&this[La](!0),this[Et]?this.emit("data",e):this[wd](e),this[kt]!==0&&this.emit("readable"),i&&r(i),this[Et]):(this[kt]!==0&&this.emit("readable"),i&&r(i),this[Et])}read(e){if(this[xt])return null;if(this[gn]=!1,this[kt]===0||e===0||e&&e>this[kt])return this[bi](),null;this[Mt]&&(e=null),this[Pt].length>1&&!this[Mt]&&(this[Pt]=[this[Kn]?this[Pt].join(""):Buffer.concat(this[Pt],this[kt])]);let t=this[ay](e||null,this[Pt][0]);return this[bi](),t}[ay](e,t){if(this[Mt])this[Ma]();else{let i=t;e===i.length||e===null?this[Ma]():typeof i=="string"?(this[Pt][0]=i.slice(e),t=i.slice(0,e),this[kt]-=e):(this[Pt][0]=i.subarray(e),t=i.subarray(0,e),this[kt]-=e)}return this.emit("data",t),!this[Pt].length&&!this[yi]&&this.emit("drain"),t}end(e,t,i){return typeof e=="function"&&(i=e,e=void 0),typeof t=="function"&&(i=t,t="utf8"),e!==void 0&&this.write(e,t),i&&this.once("end",i),this[yi]=!0,this.writable=!1,(this[Et]||!this[to])&&this[bi](),this}[Vr](){this[xt]||(!this[wr]&&!this[Vt].length&&(this[gn]=!0),this[to]=!1,this[Et]=!0,this.emit("resume"),this[Pt].length?this[La]():this[yi]?this[bi]():this.emit("drain"))}resume(){return this[Vr]()}pause(){this[Et]=!1,this[to]=!0,this[gn]=!1}get destroyed(){return this[xt]}get flowing(){return this[Et]}get paused(){return this[to]}[wd](e){this[Mt]?this[kt]+=1:this[kt]+=e.length,this[Pt].push(e)}[Ma](){return this[Mt]?this[kt]-=1:this[kt]-=this[Pt][0].length,this[Pt].shift()}[La](e=!1){do;while(this[cy](this[Ma]())&&this[Pt].length);!e&&!this[Pt].length&&!this[yi]&&this.emit("drain")}[cy](e){return this.emit("data",e),this[Et]}pipe(e,t){if(this[xt])return e;this[gn]=!1;let i=this[$i];return t=t||{},e===oy.stdout||e===oy.stderr?t.end=!1:t.end=t.end!==!1,t.proxyErrors=!!t.proxyErrors,i?t.end&&e.end():(this[Vt].push(t.proxyErrors?new Dd(this,e,t):new za(this,e,t)),this[oi]?io(()=>this[Vr]()):this[Vr]()),e}unpipe(e){let t=this[Vt].find(i=>i.dest===e);t&&(this[Vt].length===1?(this[Et]&&this[wr]===0&&(this[Et]=!1),this[Vt]=[]):this[Vt].splice(this[Vt].indexOf(t),1),t.unpipe())}addListener(e,t){return this.on(e,t)}on(e,t){let i=super.on(e,t);if(e==="data")this[gn]=!1,this[wr]++,!this[Vt].length&&!this[Et]&&this[Vr]();else if(e==="readable"&&this[kt]!==0)super.emit("readable");else if(PO(e)&&this[$i])super.emit(e),this.removeAllListeners(e);else if(e==="error"&&this[eo]){let r=t;this[oi]?io(()=>r.call(this,this[eo])):r.call(this,this[eo])}return i}removeListener(e,t){return this.off(e,t)}off(e,t){let i=super.off(e,t);return e==="data"&&(this[wr]=this.listeners("data").length,this[wr]===0&&!this[gn]&&!this[Vt].length&&(this[Et]=!1)),i}removeAllListeners(e){let t=super.removeAllListeners(e);return(e==="data"||e===void 0)&&(this[wr]=0,!this[gn]&&!this[Vt].length&&(this[Et]=!1)),t}get emittedEnd(){return this[$i]}[bi](){!this[Ia]&&!this[$i]&&!this[xt]&&this[Pt].length===0&&this[yi]&&(this[Ia]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[ja]&&this.emit("close"),this[Ia]=!1)}emit(e,...t){let i=t[0];if(e!=="error"&&e!=="close"&&e!==xt&&this[xt])return!1;if(e==="data")return!this[Mt]&&!i?!1:this[oi]?(io(()=>this[Sd](i)),!0):this[Sd](i);if(e==="end")return this[uy]();if(e==="close"){if(this[ja]=!0,!this[$i]&&!this[xt])return!1;let s=super.emit("close");return this.removeAllListeners("close"),s}else if(e==="error"){this[eo]=i,super.emit(_d,i);let s=!this[no]||this.listeners("error").length?super.emit("error",i):!1;return this[bi](),s}else if(e==="resume"){let s=super.emit("resume");return this[bi](),s}else if(e==="finish"||e==="prefinish"){let s=super.emit(e);return this.removeAllListeners(e),s}let r=super.emit(e,...t);return this[bi](),r}[Sd](e){for(let i of this[Vt])i.dest.write(e)===!1&&this.pause();let t=this[gn]?!1:super.emit("data",e);return this[bi](),t}[uy](){return this[$i]?!1:(this[$i]=!0,this.readable=!1,this[oi]?(io(()=>this[Cd]()),!0):this[Cd]())}[Cd](){if(this[Gr]){let t=this[Gr].end();if(t){for(let i of this[Vt])i.dest.write(t);this[gn]||super.emit("data",t)}}for(let t of this[Vt])t.end();let e=super.emit("end");return this.removeAllListeners("end"),e}async collect(){let e=Object.assign([],{dataLength:0});this[Mt]||(e.dataLength=0);let t=this.promise();return this.on("data",i=>{e.push(i),this[Mt]||(e.dataLength+=i.length)}),await t,e}async concat(){if(this[Mt])throw new Error("cannot concat in objectMode");let e=await this.collect();return this[Kn]?e.join(""):Buffer.concat(e,e.dataLength)}async promise(){return new Promise((e,t)=>{this.on(xt,()=>t(new Error("stream destroyed"))),this.on("error",i=>t(i)),this.on("end",()=>e())})}[Symbol.asyncIterator](){this[gn]=!1;let e=!1,t=async()=>(this.pause(),e=!0,{value:void 0,done:!0});return{next:()=>{if(e)return t();let r=this.read();if(r!==null)return Promise.resolve({done:!1,value:r});if(this[yi])return t();let s,o,a=p=>{this.off("data",c),this.off("end",u),this.off(xt,l),t(),o(p)},c=p=>{this.off("error",a),this.off("end",u),this.off(xt,l),this.pause(),s({value:p,done:!!this[yi]})},u=()=>{this.off("error",a),this.off("data",c),this.off(xt,l),t(),s({done:!0,value:void 0})},l=()=>a(new Error("stream destroyed"));return new Promise((p,h)=>{o=h,s=p,this.once(xt,l),this.once("error",a),this.once("end",u),this.once("data",c)})},throw:t,return:t,[Symbol.asyncIterator](){return this}}}[Symbol.iterator](){this[gn]=!1;let e=!1,t=()=>(this.pause(),this.off(_d,t),this.off(xt,t),this.off("end",t),e=!0,{done:!0,value:void 0}),i=()=>{if(e)return t();let r=this.read();return r===null?t():{done:!1,value:r}};return this.once("end",t),this.once(_d,t),this.once(xt,t),{next:i,throw:t,return:t,[Symbol.iterator](){return this}}}destroy(e){if(this[xt])return e?this.emit("error",e):this.emit(xt),this;this[xt]=!0,this[gn]=!0,this[Pt].length=0,this[kt]=0;let t=this;return typeof t.close=="function"&&!this[ja]&&t.close(),e?this.emit("error",e):this.emit(xt),this}static get isStream(){return Xt.isStream}};Xt.Minipass=$a});var Ry=T(Ie=>{"use strict";var NO=Ie&&Ie.__createBinding||(Object.create?function(n,e,t,i){i===void 0&&(i=t);var r=Object.getOwnPropertyDescriptor(e,t);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,i,r)}:function(n,e,t,i){i===void 0&&(i=t),n[i]=e[t]}),AO=Ie&&Ie.__setModuleDefault||(Object.create?function(n,e){Object.defineProperty(n,"default",{enumerable:!0,value:e})}:function(n,e){n.default=e}),IO=Ie&&Ie.__importStar||function(n){if(n&&n.__esModule)return n;var e={};if(n!=null)for(var t in n)t!=="default"&&Object.prototype.hasOwnProperty.call(n,t)&&NO(e,n,t);return AO(e,n),e};Object.defineProperty(Ie,"__esModule",{value:!0});Ie.PathScurry=Ie.Path=Ie.PathScurryDarwin=Ie.PathScurryPosix=Ie.PathScurryWin32=Ie.PathScurryBase=Ie.PathPosix=Ie.PathWin32=Ie.PathBase=Ie.ChildrenCache=Ie.ResolveCache=void 0;var gy=sy(),Ga=require("node:path"),jO=require("node:url"),so=require("fs"),LO=IO(require("node:fs")),MO=so.realpathSync.native,Ha=require("node:fs/promises"),dy=Ed(),oo={lstatSync:so.lstatSync,readdir:so.readdir,readdirSync:so.readdirSync,readlinkSync:so.readlinkSync,realpathSync:MO,promises:{lstat:Ha.lstat,readdir:Ha.readdir,readlink:Ha.readlink,realpath:Ha.realpath}},vy=n=>!n||n===oo||n===LO?oo:{...oo,...n,promises:{...oo.promises,...n.promises||{}}},xy=/^\\\\\?\\([a-z]:)\\?$/i,UO=n=>n.replace(/\//g,"\\").replace(xy,"$1\\"),zO=/[\\\/]/,kn=0,yy=1,by=2,ai=4,wy=6,_y=8,_r=10,Sy=12,Pn=15,ro=~Pn,Pd=16,py=32,ao=64,Gn=128,Ba=256,Ka=512,fy=ao|Gn|Ka,$O=1023,kd=n=>n.isFile()?_y:n.isDirectory()?ai:n.isSymbolicLink()?_r:n.isCharacterDevice()?by:n.isBlockDevice()?wy:n.isSocket()?Sy:n.isFIFO()?yy:kn,hy=new Map,co=n=>{let e=hy.get(n);if(e)return e;let t=n.normalize("NFKD");return hy.set(n,t),t},my=new Map,Wa=n=>{let e=my.get(n);if(e)return e;let t=co(n.toLowerCase());return my.set(n,t),t},uo=class extends gy.LRUCache{constructor(){super({max:256})}};Ie.ResolveCache=uo;var Va=class extends gy.LRUCache{constructor(e=16*1024){super({maxSize:e,sizeCalculation:t=>t.length+1})}};Ie.ChildrenCache=Va;var Cy=Symbol("PathScurry setAsCwd"),It=class{name;root;roots;parent;nocase;isCWD=!1;#e;#n;get dev(){return this.#n}#s;get mode(){return this.#s}#i;get nlink(){return this.#i}#a;get uid(){return this.#a}#u;get gid(){return this.#u}#d;get rdev(){return this.#d}#c;get blksize(){return this.#c}#o;get ino(){return this.#o}#t;get size(){return this.#t}#m;get blocks(){return this.#m}#v;get atimeMs(){return this.#v}#f;get mtimeMs(){return this.#f}#p;get ctimeMs(){return this.#p}#b;get birthtimeMs(){return this.#b}#g;get atime(){return this.#g}#R;get mtime(){return this.#R}#D;get ctime(){return this.#D}#w;get birthtime(){return this.#w}#y;#E;#h;#k;#T;#_;#r;#x;#O;#S;get parentPath(){return(this.parent||this).fullpath()}get path(){return this.parentPath}constructor(e,t=kn,i,r,s,o,a){this.name=e,this.#y=s?Wa(e):co(e),this.#r=t&$O,this.nocase=s,this.roots=r,this.root=i||this,this.#x=o,this.#h=a.fullpath,this.#T=a.relative,this.#_=a.relativePosix,this.parent=a.parent,this.parent?this.#e=this.parent.#e:this.#e=vy(a.fs)}depth(){return this.#E!==void 0?this.#E:this.parent?this.#E=this.parent.depth()+1:this.#E=0}childrenCache(){return this.#x}resolve(e){if(!e)return this;let t=this.getRootString(e),r=e.substring(t.length).split(this.splitSep);return t?this.getRoot(t).#A(r):this.#A(r)}#A(e){let t=this;for(let i of e)t=t.child(i);return t}children(){let e=this.#x.get(this);if(e)return e;let t=Object.assign([],{provisional:0});return this.#x.set(this,t),this.#r&=~Pd,t}child(e,t){if(e===""||e===".")return this;if(e==="..")return this.parent||this;let i=this.children(),r=this.nocase?Wa(e):co(e);for(let c of i)if(c.#y===r)return c;let s=this.parent?this.sep:"",o=this.#h?this.#h+s+e:void 0,a=this.newChild(e,kn,{...t,parent:this,fullpath:o});return this.canReaddir()||(a.#r|=Gn),i.push(a),a}relative(){if(this.isCWD)return"";if(this.#T!==void 0)return this.#T;let e=this.name,t=this.parent;if(!t)return this.#T=this.name;let i=t.relative();return i+(!i||!t.parent?"":this.sep)+e}relativePosix(){if(this.sep==="/")return this.relative();if(this.isCWD)return"";if(this.#_!==void 0)return this.#_;let e=this.name,t=this.parent;if(!t)return this.#_=this.fullpathPosix();let i=t.relativePosix();return i+(!i||!t.parent?"":"/")+e}fullpath(){if(this.#h!==void 0)return this.#h;let e=this.name,t=this.parent;if(!t)return this.#h=this.name;let r=t.fullpath()+(t.parent?this.sep:"")+e;return this.#h=r}fullpathPosix(){if(this.#k!==void 0)return this.#k;if(this.sep==="/")return this.#k=this.fullpath();if(!this.parent){let r=this.fullpath().replace(/\\/g,"/");return/^[a-z]:\//i.test(r)?this.#k=`//?/${r}`:this.#k=r}let e=this.parent,t=e.fullpathPosix(),i=t+(!t||!e.parent?"":"/")+this.name;return this.#k=i}isUnknown(){return(this.#r&Pn)===kn}isType(e){return this[`is${e}`]()}getType(){return this.isUnknown()?"Unknown":this.isDirectory()?"Directory":this.isFile()?"File":this.isSymbolicLink()?"SymbolicLink":this.isFIFO()?"FIFO":this.isCharacterDevice()?"CharacterDevice":this.isBlockDevice()?"BlockDevice":this.isSocket()?"Socket":"Unknown"}isFile(){return(this.#r&Pn)===_y}isDirectory(){return(this.#r&Pn)===ai}isCharacterDevice(){return(this.#r&Pn)===by}isBlockDevice(){return(this.#r&Pn)===wy}isFIFO(){return(this.#r&Pn)===yy}isSocket(){return(this.#r&Pn)===Sy}isSymbolicLink(){return(this.#r&_r)===_r}lstatCached(){return this.#r&py?this:void 0}readlinkCached(){return this.#O}realpathCached(){return this.#S}readdirCached(){let e=this.children();return e.slice(0,e.provisional)}canReadlink(){if(this.#O)return!0;if(!this.parent)return!1;let e=this.#r&Pn;return!(e!==kn&&e!==_r||this.#r&Ba||this.#r&Gn)}calledReaddir(){return!!(this.#r&Pd)}isENOENT(){return!!(this.#r&Gn)}isNamed(e){return this.nocase?this.#y===Wa(e):this.#y===co(e)}async readlink(){let e=this.#O;if(e)return e;if(this.canReadlink()&&this.parent)try{let t=await this.#e.promises.readlink(this.fullpath()),i=(await this.parent.realpath())?.resolve(t);if(i)return this.#O=i}catch(t){this.#L(t.code);return}}readlinkSync(){let e=this.#O;if(e)return e;if(this.canReadlink()&&this.parent)try{let t=this.#e.readlinkSync(this.fullpath()),i=this.parent.realpathSync()?.resolve(t);if(i)return this.#O=i}catch(t){this.#L(t.code);return}}#I(e){this.#r|=Pd;for(let t=e.provisional;ti(null,e))}readdirCB(e,t=!1){if(!this.canReaddir()){t?e(null,[]):queueMicrotask(()=>e(null,[]));return}let i=this.children();if(this.calledReaddir()){let s=i.slice(0,i.provisional);t?e(null,s):queueMicrotask(()=>e(null,s));return}if(this.#U.push(e),this.#z)return;this.#z=!0;let r=this.fullpath();this.#e.readdir(r,{withFileTypes:!0},(s,o)=>{if(s)this.#N(s.code),i.provisional=0;else{for(let a of o)this.#F(a,i);this.#I(i)}this.#K(i.slice(0,i.provisional))})}#M;async readdir(){if(!this.canReaddir())return[];let e=this.children();if(this.calledReaddir())return e.slice(0,e.provisional);let t=this.fullpath();if(this.#M)await this.#M;else{let i=()=>{};this.#M=new Promise(r=>i=r);try{for(let r of await this.#e.promises.readdir(t,{withFileTypes:!0}))this.#F(r,e);this.#I(e)}catch(r){this.#N(r.code),e.provisional=0}this.#M=void 0,i()}return e.slice(0,e.provisional)}readdirSync(){if(!this.canReaddir())return[];let e=this.children();if(this.calledReaddir())return e.slice(0,e.provisional);let t=this.fullpath();try{for(let i of this.#e.readdirSync(t,{withFileTypes:!0}))this.#F(i,e);this.#I(e)}catch(i){this.#N(i.code),e.provisional=0}return e.slice(0,e.provisional)}canReaddir(){if(this.#r&fy)return!1;let e=Pn&this.#r;return e===kn||e===ai||e===_r}shouldWalk(e,t){return(this.#r&ai)===ai&&!(this.#r&fy)&&!e.has(this)&&(!t||t(this))}async realpath(){if(this.#S)return this.#S;if(!((Ka|Ba|Gn)&this.#r))try{let e=await this.#e.promises.realpath(this.fullpath());return this.#S=this.resolve(e)}catch{this.#j()}}realpathSync(){if(this.#S)return this.#S;if(!((Ka|Ba|Gn)&this.#r))try{let e=this.#e.realpathSync(this.fullpath());return this.#S=this.resolve(e)}catch{this.#j()}}[Cy](e){if(e===this)return;e.isCWD=!1,this.isCWD=!0;let t=new Set([]),i=[],r=this;for(;r&&r.parent;)t.add(r),r.#T=i.join(this.sep),r.#_=i.join("/"),r=r.parent,i.push("..");for(r=e;r&&r.parent&&!t.has(r);)r.#T=void 0,r.#_=void 0,r=r.parent}};Ie.PathBase=It;var lo=class n extends It{sep="\\";splitSep=zO;constructor(e,t=kn,i,r,s,o,a){super(e,t,i,r,s,o,a)}newChild(e,t=kn,i={}){return new n(e,t,this.root,this.roots,this.nocase,this.childrenCache(),i)}getRootString(e){return Ga.win32.parse(e).root}getRoot(e){if(e=UO(e.toUpperCase()),e===this.root.name)return this.root;for(let[t,i]of Object.entries(this.roots))if(this.sameRoot(e,t))return this.roots[e]=i;return this.roots[e]=new ho(e,this).root}sameRoot(e,t=this.root.name){return e=e.toUpperCase().replace(/\//g,"\\").replace(xy,"$1\\"),e===t}};Ie.PathWin32=lo;var po=class n extends It{splitSep="/";sep="/";constructor(e,t=kn,i,r,s,o,a){super(e,t,i,r,s,o,a)}getRootString(e){return e.startsWith("/")?"/":""}getRoot(e){return this.root}newChild(e,t=kn,i={}){return new n(e,t,this.root,this.roots,this.nocase,this.childrenCache(),i)}};Ie.PathPosix=po;var fo=class{root;rootPath;roots;cwd;#e;#n;#s;nocase;#i;constructor(e=process.cwd(),t,i,{nocase:r,childrenCacheSize:s=16*1024,fs:o=oo}={}){this.#i=vy(o),(e instanceof URL||e.startsWith("file://"))&&(e=(0,jO.fileURLToPath)(e));let a=t.resolve(e);this.roots=Object.create(null),this.rootPath=this.parseRootPath(a),this.#e=new uo,this.#n=new uo,this.#s=new Va(s);let c=a.substring(this.rootPath.length).split(i);if(c.length===1&&!c[0]&&c.pop(),r===void 0)throw new TypeError("must provide nocase setting to PathScurryBase ctor");this.nocase=r,this.root=this.newRoot(this.#i),this.roots[this.rootPath]=this.root;let u=this.root,l=c.length-1,p=t.sep,h=this.rootPath,x=!1;for(let f of c){let y=l--;u=u.child(f,{relative:new Array(y).fill("..").join(p),relativePosix:new Array(y).fill("..").join("/"),fullpath:h+=(x?"":p)+f}),x=!0}this.cwd=u}depth(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.depth()}childrenCache(){return this.#s}resolve(...e){let t="";for(let s=e.length-1;s>=0;s--){let o=e[s];if(!(!o||o===".")&&(t=t?`${o}/${t}`:o,this.isAbsolute(o)))break}let i=this.#e.get(t);if(i!==void 0)return i;let r=this.cwd.resolve(t).fullpath();return this.#e.set(t,r),r}resolvePosix(...e){let t="";for(let s=e.length-1;s>=0;s--){let o=e[s];if(!(!o||o===".")&&(t=t?`${o}/${t}`:o,this.isAbsolute(o)))break}let i=this.#n.get(t);if(i!==void 0)return i;let r=this.cwd.resolve(t).fullpathPosix();return this.#n.set(t,r),r}relative(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.relative()}relativePosix(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.relativePosix()}basename(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.name}dirname(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),(e.parent||e).fullpath()}async readdir(e=this.cwd,t={withFileTypes:!0}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof It||(t=e,e=this.cwd);let{withFileTypes:i}=t;if(e.canReaddir()){let r=await e.readdir();return i?r:r.map(s=>s.name)}else return[]}readdirSync(e=this.cwd,t={withFileTypes:!0}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof It||(t=e,e=this.cwd);let{withFileTypes:i=!0}=t;return e.canReaddir()?i?e.readdirSync():e.readdirSync().map(r=>r.name):[]}async lstat(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.lstat()}lstatSync(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.lstatSync()}async readlink(e=this.cwd,{withFileTypes:t}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof It||(t=e.withFileTypes,e=this.cwd);let i=await e.readlink();return t?i:i?.fullpath()}readlinkSync(e=this.cwd,{withFileTypes:t}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof It||(t=e.withFileTypes,e=this.cwd);let i=e.readlinkSync();return t?i:i?.fullpath()}async realpath(e=this.cwd,{withFileTypes:t}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof It||(t=e.withFileTypes,e=this.cwd);let i=await e.realpath();return t?i:i?.fullpath()}realpathSync(e=this.cwd,{withFileTypes:t}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof It||(t=e.withFileTypes,e=this.cwd);let i=e.realpathSync();return t?i:i?.fullpath()}async walk(e=this.cwd,t={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof It||(t=e,e=this.cwd);let{withFileTypes:i=!0,follow:r=!1,filter:s,walkFilter:o}=t,a=[];(!s||s(e))&&a.push(i?e:e.fullpath());let c=new Set,u=(p,h)=>{c.add(p),p.readdirCB((x,f)=>{if(x)return h(x);let y=f.length;if(!y)return h();let w=()=>{--y===0&&h()};for(let S of f)(!s||s(S))&&a.push(i?S:S.fullpath()),r&&S.isSymbolicLink()?S.realpath().then(O=>O?.isUnknown()?O.lstat():O).then(O=>O?.shouldWalk(c,o)?u(O,w):w()):S.shouldWalk(c,o)?u(S,w):w()},!0)},l=e;return new Promise((p,h)=>{u(l,x=>{if(x)return h(x);p(a)})})}walkSync(e=this.cwd,t={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof It||(t=e,e=this.cwd);let{withFileTypes:i=!0,follow:r=!1,filter:s,walkFilter:o}=t,a=[];(!s||s(e))&&a.push(i?e:e.fullpath());let c=new Set([e]);for(let u of c){let l=u.readdirSync();for(let p of l){(!s||s(p))&&a.push(i?p:p.fullpath());let h=p;if(p.isSymbolicLink()){if(!(r&&(h=p.realpathSync())))continue;h.isUnknown()&&h.lstatSync()}h.shouldWalk(c,o)&&c.add(h)}}return a}[Symbol.asyncIterator](){return this.iterate()}iterate(e=this.cwd,t={}){return typeof e=="string"?e=this.cwd.resolve(e):e instanceof It||(t=e,e=this.cwd),this.stream(e,t)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(e=this.cwd,t={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof It||(t=e,e=this.cwd);let{withFileTypes:i=!0,follow:r=!1,filter:s,walkFilter:o}=t;(!s||s(e))&&(yield i?e:e.fullpath());let a=new Set([e]);for(let c of a){let u=c.readdirSync();for(let l of u){(!s||s(l))&&(yield i?l:l.fullpath());let p=l;if(l.isSymbolicLink()){if(!(r&&(p=l.realpathSync())))continue;p.isUnknown()&&p.lstatSync()}p.shouldWalk(a,o)&&a.add(p)}}}stream(e=this.cwd,t={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof It||(t=e,e=this.cwd);let{withFileTypes:i=!0,follow:r=!1,filter:s,walkFilter:o}=t,a=new dy.Minipass({objectMode:!0});(!s||s(e))&&a.write(i?e:e.fullpath());let c=new Set,u=[e],l=0,p=()=>{let h=!1;for(;!h;){let x=u.shift();if(!x){l===0&&a.end();return}l++,c.add(x);let f=(w,S,O=!1)=>{if(w)return a.emit("error",w);if(r&&!O){let k=[];for(let N of S)N.isSymbolicLink()&&k.push(N.realpath().then(j=>j?.isUnknown()?j.lstat():j));if(k.length){Promise.all(k).then(()=>f(null,S,!0));return}}for(let k of S)k&&(!s||s(k))&&(a.write(i?k:k.fullpath())||(h=!0));l--;for(let k of S){let N=k.realpathCached()||k;N.shouldWalk(c,o)&&u.push(N)}h&&!a.flowing?a.once("drain",p):y||p()},y=!0;x.readdirCB(f,!0),y=!1}};return p(),a}streamSync(e=this.cwd,t={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof It||(t=e,e=this.cwd);let{withFileTypes:i=!0,follow:r=!1,filter:s,walkFilter:o}=t,a=new dy.Minipass({objectMode:!0}),c=new Set;(!s||s(e))&&a.write(i?e:e.fullpath());let u=[e],l=0,p=()=>{let h=!1;for(;!h;){let x=u.shift();if(!x){l===0&&a.end();return}l++,c.add(x);let f=x.readdirSync();for(let y of f)(!s||s(y))&&(a.write(i?y:y.fullpath())||(h=!0));l--;for(let y of f){let w=y;if(y.isSymbolicLink()){if(!(r&&(w=y.realpathSync())))continue;w.isUnknown()&&w.lstatSync()}w.shouldWalk(c,o)&&u.push(w)}}h&&!a.flowing&&a.once("drain",p)};return p(),a}chdir(e=this.cwd){let t=this.cwd;this.cwd=typeof e=="string"?this.cwd.resolve(e):e,this.cwd[Cy](t)}};Ie.PathScurryBase=fo;var ho=class extends fo{sep="\\";constructor(e=process.cwd(),t={}){let{nocase:i=!0}=t;super(e,Ga.win32,"\\",{...t,nocase:i}),this.nocase=i;for(let r=this.cwd;r;r=r.parent)r.nocase=this.nocase}parseRootPath(e){return Ga.win32.parse(e).root.toUpperCase()}newRoot(e){return new lo(this.rootPath,ai,void 0,this.roots,this.nocase,this.childrenCache(),{fs:e})}isAbsolute(e){return e.startsWith("/")||e.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(e)}};Ie.PathScurryWin32=ho;var mo=class extends fo{sep="/";constructor(e=process.cwd(),t={}){let{nocase:i=!1}=t;super(e,Ga.posix,"/",{...t,nocase:i}),this.nocase=i}parseRootPath(e){return"/"}newRoot(e){return new po(this.rootPath,ai,void 0,this.roots,this.nocase,this.childrenCache(),{fs:e})}isAbsolute(e){return e.startsWith("/")}};Ie.PathScurryPosix=mo;var Xa=class extends mo{constructor(e=process.cwd(),t={}){let{nocase:i=!0}=t;super(e,{...t,nocase:i})}};Ie.PathScurryDarwin=Xa;Ie.Path=process.platform==="win32"?lo:po;Ie.PathScurry=process.platform==="win32"?ho:process.platform==="darwin"?Xa:mo});var qd=T(Ja=>{"use strict";Object.defineProperty(Ja,"__esModule",{value:!0});Ja.Pattern=void 0;var HO=Ui(),BO=n=>n.length>=1,WO=n=>n.length>=1,Od=class n{#e;#n;#s;length;#i;#a;#u;#d;#c;#o;#t=!0;constructor(e,t,i,r){if(!BO(e))throw new TypeError("empty pattern list");if(!WO(t))throw new TypeError("empty glob list");if(t.length!==e.length)throw new TypeError("mismatched pattern list and glob list lengths");if(this.length=e.length,i<0||i>=this.length)throw new TypeError("index out of range");if(this.#e=e,this.#n=t,this.#s=i,this.#i=r,this.#s===0){if(this.isUNC()){let[s,o,a,c,...u]=this.#e,[l,p,h,x,...f]=this.#n;u[0]===""&&(u.shift(),f.shift());let y=[s,o,a,c,""].join("/"),w=[l,p,h,x,""].join("/");this.#e=[y,...u],this.#n=[w,...f],this.length=this.#e.length}else if(this.isDrive()||this.isAbsolute()){let[s,...o]=this.#e,[a,...c]=this.#n;o[0]===""&&(o.shift(),c.shift());let u=s+"/",l=a+"/";this.#e=[u,...o],this.#n=[l,...c],this.length=this.#e.length}}}pattern(){return this.#e[this.#s]}isString(){return typeof this.#e[this.#s]=="string"}isGlobstar(){return this.#e[this.#s]===HO.GLOBSTAR}isRegExp(){return this.#e[this.#s]instanceof RegExp}globString(){return this.#u=this.#u||(this.#s===0?this.isAbsolute()?this.#n[0]+this.#n.slice(1).join("/"):this.#n.join("/"):this.#n.slice(this.#s).join("/"))}hasMore(){return this.length>this.#s+1}rest(){return this.#a!==void 0?this.#a:this.hasMore()?(this.#a=new n(this.#e,this.#n,this.#s+1,this.#i),this.#a.#o=this.#o,this.#a.#c=this.#c,this.#a.#d=this.#d,this.#a):this.#a=null}isUNC(){let e=this.#e;return this.#c!==void 0?this.#c:this.#c=this.#i==="win32"&&this.#s===0&&e[0]===""&&e[1]===""&&typeof e[2]=="string"&&!!e[2]&&typeof e[3]=="string"&&!!e[3]}isDrive(){let e=this.#e;return this.#d!==void 0?this.#d:this.#d=this.#i==="win32"&&this.#s===0&&this.length>1&&typeof e[0]=="string"&&/^[a-z]:$/i.test(e[0])}isAbsolute(){let e=this.#e;return this.#o!==void 0?this.#o:this.#o=e[0]===""&&e.length>1||this.isDrive()||this.isUNC()}root(){let e=this.#e[0];return typeof e=="string"&&this.isAbsolute()&&this.#s===0?e:""}checkFollowGlobstar(){return!(this.#s===0||!this.isGlobstar()||!this.#t)}markFollowGlobstar(){return this.#s===0||!this.isGlobstar()||!this.#t?!1:(this.#t=!1,!0)}};Ja.Pattern=Od});var Ty=T(Ya=>{"use strict";Object.defineProperty(Ya,"__esModule",{value:!0});Ya.Ignore=void 0;var Dy=Ui(),KO=qd(),GO=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux",Fd=class{relative;relativeChildren;absolute;absoluteChildren;constructor(e,{nobrace:t,nocase:i,noext:r,noglobstar:s,platform:o=GO}){this.relative=[],this.absolute=[],this.relativeChildren=[],this.absoluteChildren=[];let a={dot:!0,nobrace:t,nocase:i,noext:r,noglobstar:s,optimizationLevel:2,platform:o,nocomment:!0,nonegate:!0};for(let c of e){let u=new Dy.Minimatch(c,a);for(let l=0;l{"use strict";Object.defineProperty(ci,"__esModule",{value:!0});ci.Processor=ci.SubWalks=ci.MatchRecord=ci.HasWalkedCache=void 0;var Ey=Ui(),Qa=class n{store;constructor(e=new Map){this.store=e}copy(){return new n(new Map(this.store))}hasWalked(e,t){return this.store.get(e.fullpath())?.has(t.globString())}storeWalked(e,t){let i=e.fullpath(),r=this.store.get(i);r?r.add(t.globString()):this.store.set(i,new Set([t.globString()]))}};ci.HasWalkedCache=Qa;var Za=class{store=new Map;add(e,t,i){let r=(t?2:0)|(i?1:0),s=this.store.get(e);this.store.set(e,s===void 0?r:r&s)}entries(){return[...this.store.entries()].map(([e,t])=>[e,!!(t&2),!!(t&1)])}};ci.MatchRecord=Za;var ec=class{store=new Map;add(e,t){if(!e.canReaddir())return;let i=this.store.get(e);i?i.find(r=>r.globString()===t.globString())||i.push(t):this.store.set(e,[t])}get(e){let t=this.store.get(e);if(!t)throw new Error("attempting to walk unknown path");return t}entries(){return this.keys().map(e=>[e,this.store.get(e)])}keys(){return[...this.store.keys()].filter(e=>e.canReaddir())}};ci.SubWalks=ec;var Nd=class n{hasWalkedCache;matches=new Za;subwalks=new ec;patterns;follow;dot;opts;constructor(e,t){this.opts=e,this.follow=!!e.follow,this.dot=!!e.dot,this.hasWalkedCache=t?t.copy():new Qa}processPatterns(e,t){this.patterns=t;let i=t.map(r=>[e,r]);for(let[r,s]of i){this.hasWalkedCache.storeWalked(r,s);let o=s.root(),a=s.isAbsolute()&&this.opts.absolute!==!1;if(o){r=r.resolve(o==="/"&&this.opts.root!==void 0?this.opts.root:o);let p=s.rest();if(p)s=p;else{this.matches.add(r,!0,!1);continue}}if(r.isENOENT())continue;let c,u,l=!1;for(;typeof(c=s.pattern())=="string"&&(u=s.rest());)r=r.resolve(c),s=u,l=!0;if(c=s.pattern(),u=s.rest(),l){if(this.hasWalkedCache.hasWalked(r,s))continue;this.hasWalkedCache.storeWalked(r,s)}if(typeof c=="string"){let p=c===".."||c===""||c===".";this.matches.add(r.resolve(c),a,p);continue}else if(c===Ey.GLOBSTAR){(!r.isSymbolicLink()||this.follow||s.checkFollowGlobstar())&&this.subwalks.add(r,s);let p=u?.pattern(),h=u?.rest();if(!u||(p===""||p===".")&&!h)this.matches.add(r,a,p===""||p===".");else if(p===".."){let x=r.parent||r;h?this.hasWalkedCache.hasWalked(x,h)||this.subwalks.add(x,h):this.matches.add(x,a,!0)}}else c instanceof RegExp&&this.subwalks.add(r,s)}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new n(this.opts,this.hasWalkedCache)}filterEntries(e,t){let i=this.subwalks.get(e),r=this.child();for(let s of t)for(let o of i){let a=o.isAbsolute(),c=o.pattern(),u=o.rest();c===Ey.GLOBSTAR?r.testGlobstar(s,o,u,a):c instanceof RegExp?r.testRegExp(s,c,u,a):r.testString(s,c,u,a)}return r}testGlobstar(e,t,i,r){if((this.dot||!e.name.startsWith("."))&&(t.hasMore()||this.matches.add(e,r,!1),e.canReaddir()&&(this.follow||!e.isSymbolicLink()?this.subwalks.add(e,t):e.isSymbolicLink()&&(i&&t.checkFollowGlobstar()?this.subwalks.add(e,i):t.markFollowGlobstar()&&this.subwalks.add(e,t)))),i){let s=i.pattern();if(typeof s=="string"&&s!==".."&&s!==""&&s!==".")this.testString(e,s,i.rest(),r);else if(s===".."){let o=e.parent||e;this.subwalks.add(o,i)}else s instanceof RegExp&&this.testRegExp(e,s,i.rest(),r)}}testRegExp(e,t,i,r){t.test(e.name)&&(i?this.subwalks.add(e,i):this.matches.add(e,r,!1))}testString(e,t,i,r){e.isNamed(t)&&(i?this.subwalks.add(e,i):this.matches.add(e,r,!1))}};ci.Processor=Nd});var qy=T(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});Hi.GlobStream=Hi.GlobWalker=Hi.GlobUtil=void 0;var VO=Ed(),ky=Ty(),Oy=Py(),XO=(n,e)=>typeof n=="string"?new ky.Ignore([n],e):Array.isArray(n)?new ky.Ignore(n,e):n,go=class{path;patterns;opts;seen=new Set;paused=!1;aborted=!1;#e=[];#n;#s;signal;maxDepth;constructor(e,t,i){this.patterns=e,this.path=t,this.opts=i,this.#s=!i.posix&&i.platform==="win32"?"\\":"/",i.ignore&&(this.#n=XO(i.ignore,i)),this.maxDepth=i.maxDepth||1/0,i.signal&&(this.signal=i.signal,this.signal.addEventListener("abort",()=>{this.#e.length=0}))}#i(e){return this.seen.has(e)||!!this.#n?.ignored?.(e)}#a(e){return!!this.#n?.childrenIgnored?.(e)}pause(){this.paused=!0}resume(){if(this.signal?.aborted)return;this.paused=!1;let e;for(;!this.paused&&(e=this.#e.shift());)e()}onResume(e){this.signal?.aborted||(this.paused?this.#e.push(e):e())}async matchCheck(e,t){if(t&&this.opts.nodir)return;let i;if(this.opts.realpath){if(i=e.realpathCached()||await e.realpath(),!i)return;e=i}let s=e.isUnknown()||this.opts.stat?await e.lstat():e;if(this.opts.follow&&this.opts.nodir&&s?.isSymbolicLink()){let o=await s.realpath();o&&(o.isUnknown()||this.opts.stat)&&await o.lstat()}return this.matchCheckTest(s,t)}matchCheckTest(e,t){return e&&(this.maxDepth===1/0||e.depth()<=this.maxDepth)&&(!t||e.canReaddir())&&(!this.opts.nodir||!e.isDirectory())&&(!this.opts.nodir||!this.opts.follow||!e.isSymbolicLink()||!e.realpathCached()?.isDirectory())&&!this.#i(e)?e:void 0}matchCheckSync(e,t){if(t&&this.opts.nodir)return;let i;if(this.opts.realpath){if(i=e.realpathCached()||e.realpathSync(),!i)return;e=i}let s=e.isUnknown()||this.opts.stat?e.lstatSync():e;if(this.opts.follow&&this.opts.nodir&&s?.isSymbolicLink()){let o=s.realpathSync();o&&(o?.isUnknown()||this.opts.stat)&&o.lstatSync()}return this.matchCheckTest(s,t)}matchFinish(e,t){if(this.#i(e))return;let i=this.opts.absolute===void 0?t:this.opts.absolute;this.seen.add(e);let r=this.opts.mark&&e.isDirectory()?this.#s:"";if(this.opts.withFileTypes)this.matchEmit(e);else if(i){let s=this.opts.posix?e.fullpathPosix():e.fullpath();this.matchEmit(s+r)}else{let s=this.opts.posix?e.relativePosix():e.relative(),o=this.opts.dotRelative&&!s.startsWith(".."+this.#s)?"."+this.#s:"";this.matchEmit(s?o+s+r:"."+r)}}async match(e,t,i){let r=await this.matchCheck(e,i);r&&this.matchFinish(r,t)}matchSync(e,t,i){let r=this.matchCheckSync(e,i);r&&this.matchFinish(r,t)}walkCB(e,t,i){this.signal?.aborted&&i(),this.walkCB2(e,t,new Oy.Processor(this.opts),i)}walkCB2(e,t,i,r){if(this.#a(e))return r();if(this.signal?.aborted&&r(),this.paused){this.onResume(()=>this.walkCB2(e,t,i,r));return}i.processPatterns(e,t);let s=1,o=()=>{--s===0&&r()};for(let[a,c,u]of i.matches.entries())this.#i(a)||(s++,this.match(a,c,u).then(()=>o()));for(let a of i.subwalkTargets()){if(this.maxDepth!==1/0&&a.depth()>=this.maxDepth)continue;s++;let c=a.readdirCached();a.calledReaddir()?this.walkCB3(a,c,i,o):a.readdirCB((u,l)=>this.walkCB3(a,l,i,o),!0)}o()}walkCB3(e,t,i,r){i=i.filterEntries(e,t);let s=1,o=()=>{--s===0&&r()};for(let[a,c,u]of i.matches.entries())this.#i(a)||(s++,this.match(a,c,u).then(()=>o()));for(let[a,c]of i.subwalks.entries())s++,this.walkCB2(a,c,i.child(),o);o()}walkCBSync(e,t,i){this.signal?.aborted&&i(),this.walkCB2Sync(e,t,new Oy.Processor(this.opts),i)}walkCB2Sync(e,t,i,r){if(this.#a(e))return r();if(this.signal?.aborted&&r(),this.paused){this.onResume(()=>this.walkCB2Sync(e,t,i,r));return}i.processPatterns(e,t);let s=1,o=()=>{--s===0&&r()};for(let[a,c,u]of i.matches.entries())this.#i(a)||this.matchSync(a,c,u);for(let a of i.subwalkTargets()){if(this.maxDepth!==1/0&&a.depth()>=this.maxDepth)continue;s++;let c=a.readdirSync();this.walkCB3Sync(a,c,i,o)}o()}walkCB3Sync(e,t,i,r){i=i.filterEntries(e,t);let s=1,o=()=>{--s===0&&r()};for(let[a,c,u]of i.matches.entries())this.#i(a)||this.matchSync(a,c,u);for(let[a,c]of i.subwalks.entries())s++,this.walkCB2Sync(a,c,i.child(),o);o()}};Hi.GlobUtil=go;var Ad=class extends go{matches;constructor(e,t,i){super(e,t,i),this.matches=new Set}matchEmit(e){this.matches.add(e)}async walk(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&await this.path.lstat(),await new Promise((e,t)=>{this.walkCB(this.path,this.patterns,()=>{this.signal?.aborted?t(this.signal.reason):e(this.matches)})}),this.matches}walkSync(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,()=>{if(this.signal?.aborted)throw this.signal.reason}),this.matches}};Hi.GlobWalker=Ad;var Id=class extends go{results;constructor(e,t,i){super(e,t,i),this.results=new VO.Minipass({signal:this.signal,objectMode:!0}),this.results.on("drain",()=>this.resume()),this.results.on("resume",()=>this.resume())}matchEmit(e){this.results.write(e),this.results.flowing||this.pause()}stream(){let e=this.path;return e.isUnknown()?e.lstat().then(()=>{this.walkCB(e,this.patterns,()=>this.results.end())}):this.walkCB(e,this.patterns,()=>this.results.end()),this.results}streamSync(){return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,()=>this.results.end()),this.results}};Hi.GlobStream=Id});var Ld=T(ic=>{"use strict";Object.defineProperty(ic,"__esModule",{value:!0});ic.Glob=void 0;var JO=Ui(),tc=Ry(),YO=require("node:url"),QO=qd(),nc=qy(),ZO=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux",jd=class{absolute;cwd;root;dot;dotRelative;follow;ignore;magicalBraces;mark;matchBase;maxDepth;nobrace;nocase;nodir;noext;noglobstar;pattern;platform;realpath;scurry;stat;signal;windowsPathsNoEscape;withFileTypes;opts;patterns;constructor(e,t){if(!t)throw new TypeError("glob options required");if(this.withFileTypes=!!t.withFileTypes,this.signal=t.signal,this.follow=!!t.follow,this.dot=!!t.dot,this.dotRelative=!!t.dotRelative,this.nodir=!!t.nodir,this.mark=!!t.mark,t.cwd?(t.cwd instanceof URL||t.cwd.startsWith("file://"))&&(t.cwd=(0,YO.fileURLToPath)(t.cwd)):this.cwd="",this.cwd=t.cwd||"",this.root=t.root,this.magicalBraces=!!t.magicalBraces,this.nobrace=!!t.nobrace,this.noext=!!t.noext,this.realpath=!!t.realpath,this.absolute=t.absolute,this.noglobstar=!!t.noglobstar,this.matchBase=!!t.matchBase,this.maxDepth=typeof t.maxDepth=="number"?t.maxDepth:1/0,this.stat=!!t.stat,this.ignore=t.ignore,this.withFileTypes&&this.absolute!==void 0)throw new Error("cannot set absolute and withFileTypes:true");if(typeof e=="string"&&(e=[e]),this.windowsPathsNoEscape=!!t.windowsPathsNoEscape||t.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(e=e.map(c=>c.replace(/\\/g,"/"))),this.matchBase){if(t.noglobstar)throw new TypeError("base matching requires globstar");e=e.map(c=>c.includes("/")?c:`./**/${c}`)}if(this.pattern=e,this.platform=t.platform||ZO,this.opts={...t,platform:this.platform},t.scurry){if(this.scurry=t.scurry,t.nocase!==void 0&&t.nocase!==t.scurry.nocase)throw new Error("nocase option contradicts provided scurry option")}else{let c=t.platform==="win32"?tc.PathScurryWin32:t.platform==="darwin"?tc.PathScurryDarwin:t.platform?tc.PathScurryPosix:tc.PathScurry;this.scurry=new c(this.cwd,{nocase:t.nocase,fs:t.fs})}this.nocase=this.scurry.nocase;let i=this.platform==="darwin"||this.platform==="win32",r={...t,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly:i,nocomment:!0,noext:this.noext,nonegate:!0,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape,debug:!!this.opts.debug},s=this.pattern.map(c=>new JO.Minimatch(c,r)),[o,a]=s.reduce((c,u)=>(c[0].push(...u.set),c[1].push(...u.globParts),c),[[],[]]);this.patterns=o.map((c,u)=>{let l=a[u];if(!l)throw new Error("invalid pattern object");return new QO.Pattern(c,l,0,this.platform)})}async walk(){return[...await new nc.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase}).walk()]}walkSync(){return[...new nc.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase}).walkSync()]}stream(){return new nc.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase}).stream()}streamSync(){return new nc.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase}).streamSync()}iterateSync(){return this.streamSync()[Symbol.iterator]()}[Symbol.iterator](){return this.iterateSync()}iterate(){return this.stream()[Symbol.asyncIterator]()}[Symbol.asyncIterator](){return this.iterate()}};ic.Glob=jd});var Md=T(rc=>{"use strict";Object.defineProperty(rc,"__esModule",{value:!0});rc.hasMagic=void 0;var eq=Ui(),tq=(n,e={})=>{Array.isArray(n)||(n=[n]);for(let t of n)if(new eq.Minimatch(t,e).hasMagic())return!0;return!1};rc.hasMagic=tq});var Iy=T(ge=>{"use strict";Object.defineProperty(ge,"__esModule",{value:!0});ge.glob=ge.hasMagic=ge.Glob=ge.unescape=ge.escape=ge.sync=ge.iterate=ge.iterateSync=ge.stream=ge.streamSync=ge.globIterate=ge.globIterateSync=ge.globSync=ge.globStream=ge.globStreamSync=void 0;var Fy=Ui(),Sr=Ld(),nq=Md();function vo(n,e={}){return new Sr.Glob(n,e).streamSync()}ge.globStreamSync=vo;function Ud(n,e={}){return new Sr.Glob(n,e).stream()}ge.globStream=Ud;function zd(n,e={}){return new Sr.Glob(n,e).walkSync()}ge.globSync=zd;async function Ny(n,e={}){return new Sr.Glob(n,e).walk()}function xo(n,e={}){return new Sr.Glob(n,e).iterateSync()}ge.globIterateSync=xo;function $d(n,e={}){return new Sr.Glob(n,e).iterate()}ge.globIterate=$d;ge.streamSync=vo;ge.stream=Object.assign(Ud,{sync:vo});ge.iterateSync=xo;ge.iterate=Object.assign($d,{sync:xo});ge.sync=Object.assign(zd,{stream:vo,iterate:xo});var Ay=Ui();Object.defineProperty(ge,"escape",{enumerable:!0,get:function(){return Ay.escape}});Object.defineProperty(ge,"unescape",{enumerable:!0,get:function(){return Ay.unescape}});var iq=Ld();Object.defineProperty(ge,"Glob",{enumerable:!0,get:function(){return iq.Glob}});var rq=Md();Object.defineProperty(ge,"hasMagic",{enumerable:!0,get:function(){return rq.hasMagic}});ge.glob=Object.assign(Ny,{glob:Ny,globSync:zd,sync:ge.sync,globStream:Ud,stream:ge.stream,globStreamSync:vo,streamSync:ge.streamSync,globIterate:$d,iterate:ge.iterate,globIterateSync:xo,iterateSync:ge.iterateSync,Glob:Sr.Glob,hasMagic:nq.hasMagic,escape:Fy.escape,unescape:Fy.unescape});ge.glob.glob=ge.glob});var Hd=T(On=>{"use strict";Object.defineProperty(On,"__esModule",{value:!0});On.optArgSync=On.optArg=On.assertRimrafOptions=On.isRimrafOptions=void 0;var Bi=(n,e)=>typeof n>"u"||typeof n===e,sq=n=>!!n&&typeof n=="object"&&Bi(n.preserveRoot,"boolean")&&Bi(n.tmp,"string")&&Bi(n.maxRetries,"number")&&Bi(n.retryDelay,"number")&&Bi(n.backoff,"number")&&Bi(n.maxBackoff,"number")&&(Bi(n.glob,"boolean")||n.glob&&typeof n.glob=="object")&&Bi(n.filter,"function");On.isRimrafOptions=sq;var oq=n=>{if(!(0,On.isRimrafOptions)(n))throw new Error("invalid rimraf options")};On.assertRimrafOptions=oq;var jy=n=>{(0,On.assertRimrafOptions)(n);let{glob:e,...t}=n;if(!e)return t;let i=e===!0?n.signal?{signal:n.signal}:{}:n.signal?{signal:n.signal,...e}:e;return{...t,glob:{...i,absolute:!0,withFileTypes:!1}}},aq=(n={})=>jy(n);On.optArg=aq;var cq=(n={})=>jy(n);On.optArgSync=cq});var yo=T(Bd=>{"use strict";Object.defineProperty(Bd,"__esModule",{value:!0});Bd.default=process.env.__TESTING_RIMRAF_PLATFORM__||process.platform});var Ly=T(bo=>{"use strict";var uq=bo&&bo.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(bo,"__esModule",{value:!0});var Wd=require("path"),lq=require("util"),dq=uq(yo()),pq=(n,e={})=>{let t=typeof n;if(t!=="string"){let r=n&&t==="object"&&n.constructor,o=`The "path" argument must be of type string. Received ${r&&r.name?`an instance of ${r.name}`:t==="object"?(0,lq.inspect)(n):`type ${t} ${n}`}`;throw Object.assign(new TypeError(o),{path:n,code:"ERR_INVALID_ARG_TYPE"})}if(/\0/.test(n)){let r="path must be a string without null bytes";throw Object.assign(new TypeError(r),{path:n,code:"ERR_INVALID_ARG_VALUE"})}n=(0,Wd.resolve)(n);let{root:i}=(0,Wd.parse)(n);if(n===i&&e.preserveRoot!==!1){let r="refusing to remove root directory without preserveRoot:false";throw Object.assign(new Error(r),{path:n,code:"ERR_PRESERVE_ROOT"})}if(dq.default==="win32"){let r=/[*|"<>?:]/,{root:s}=(0,Wd.parse)(n);if(r.test(n.substring(s.length)))throw Object.assign(new Error("Illegal characters in path."),{path:n,code:"EINVAL"})}return n};bo.default=pq});var Ki=T(Ze=>{"use strict";var fq=Ze&&Ze.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Ze,"__esModule",{value:!0});Ze.promises=Ze.readdirSync=Ze.unlinkSync=Ze.lstatSync=Ze.statSync=Ze.rmSync=Ze.rmdirSync=Ze.renameSync=Ze.mkdirSync=Ze.chmodSync=void 0;var wi=fq(require("fs")),Wi=require("fs");Object.defineProperty(Ze,"chmodSync",{enumerable:!0,get:function(){return Wi.chmodSync}});Object.defineProperty(Ze,"mkdirSync",{enumerable:!0,get:function(){return Wi.mkdirSync}});Object.defineProperty(Ze,"renameSync",{enumerable:!0,get:function(){return Wi.renameSync}});Object.defineProperty(Ze,"rmdirSync",{enumerable:!0,get:function(){return Wi.rmdirSync}});Object.defineProperty(Ze,"rmSync",{enumerable:!0,get:function(){return Wi.rmSync}});Object.defineProperty(Ze,"statSync",{enumerable:!0,get:function(){return Wi.statSync}});Object.defineProperty(Ze,"lstatSync",{enumerable:!0,get:function(){return Wi.lstatSync}});Object.defineProperty(Ze,"unlinkSync",{enumerable:!0,get:function(){return Wi.unlinkSync}});var hq=require("fs"),mq=n=>(0,hq.readdirSync)(n,{withFileTypes:!0});Ze.readdirSync=mq;var gq=(n,e)=>new Promise((t,i)=>wi.default.chmod(n,e,(r,...s)=>r?i(r):t(...s))),vq=(n,e)=>new Promise((t,i)=>wi.default.mkdir(n,e,(r,s)=>r?i(r):t(s))),xq=n=>new Promise((e,t)=>wi.default.readdir(n,{withFileTypes:!0},(i,r)=>i?t(i):e(r))),yq=(n,e)=>new Promise((t,i)=>wi.default.rename(n,e,(r,...s)=>r?i(r):t(...s))),bq=(n,e)=>new Promise((t,i)=>wi.default.rm(n,e,(r,...s)=>r?i(r):t(...s))),wq=n=>new Promise((e,t)=>wi.default.rmdir(n,(i,...r)=>i?t(i):e(...r))),_q=n=>new Promise((e,t)=>wi.default.stat(n,(i,r)=>i?t(i):e(r))),Sq=n=>new Promise((e,t)=>wi.default.lstat(n,(i,r)=>i?t(i):e(r))),Cq=n=>new Promise((e,t)=>wi.default.unlink(n,(i,...r)=>i?t(i):e(...r)));Ze.promises={chmod:gq,mkdir:vq,readdir:xq,rename:yq,rm:bq,rmdir:wq,stat:_q,lstat:Sq,unlink:Cq}});var sc=T(Xr=>{"use strict";Object.defineProperty(Xr,"__esModule",{value:!0});Xr.readdirOrErrorSync=Xr.readdirOrError=void 0;var My=Ki(),{readdir:Rq}=My.promises,Dq=n=>Rq(n).catch(e=>e);Xr.readdirOrError=Dq;var Tq=n=>{try{return(0,My.readdirSync)(n)}catch(e){return e}};Xr.readdirOrErrorSync=Tq});var oc=T(Jr=>{"use strict";Object.defineProperty(Jr,"__esModule",{value:!0});Jr.ignoreENOENTSync=Jr.ignoreENOENT=void 0;var Eq=async n=>n.catch(e=>{if(e.code!=="ENOENT")throw e});Jr.ignoreENOENT=Eq;var Pq=n=>{try{return n()}catch(e){if(e?.code!=="ENOENT")throw e}};Jr.ignoreENOENTSync=Pq});var Kd=T(Yr=>{"use strict";Object.defineProperty(Yr,"__esModule",{value:!0});Yr.rimrafPosixSync=Yr.rimrafPosix=void 0;var ac=Ki(),{lstat:kq,rmdir:Oq,unlink:qq}=ac.promises,cc=require("path"),Uy=sc(),uc=oc(),Fq=async(n,e)=>{if(e?.signal?.aborted)throw e.signal.reason;try{return await zy(n,e,await kq(n))}catch(t){if(t?.code==="ENOENT")return!0;throw t}};Yr.rimrafPosix=Fq;var Nq=(n,e)=>{if(e?.signal?.aborted)throw e.signal.reason;try{return $y(n,e,(0,ac.lstatSync)(n))}catch(t){if(t?.code==="ENOENT")return!0;throw t}};Yr.rimrafPosixSync=Nq;var zy=async(n,e,t)=>{if(e?.signal?.aborted)throw e.signal.reason;let i=t.isDirectory()?await(0,Uy.readdirOrError)(n):null;if(!Array.isArray(i)){if(i){if(i.code==="ENOENT")return!0;if(i.code!=="ENOTDIR")throw i}return e.filter&&!await e.filter(n,t)?!1:(await(0,uc.ignoreENOENT)(qq(n)),!0)}return!(await Promise.all(i.map(s=>zy((0,cc.resolve)(n,s.name),e,s)))).reduce((s,o)=>s&&o,!0)||e.preserveRoot===!1&&n===(0,cc.parse)(n).root||e.filter&&!await e.filter(n,t)?!1:(await(0,uc.ignoreENOENT)(Oq(n)),!0)},$y=(n,e,t)=>{if(e?.signal?.aborted)throw e.signal.reason;let i=t.isDirectory()?(0,Uy.readdirOrErrorSync)(n):null;if(!Array.isArray(i)){if(i){if(i.code==="ENOENT")return!0;if(i.code!=="ENOTDIR")throw i}return e.filter&&!e.filter(n,t)?!1:((0,uc.ignoreENOENTSync)(()=>(0,ac.unlinkSync)(n)),!0)}let r=!0;for(let s of i){let o=(0,cc.resolve)(n,s.name);r=$y(o,e,s)&&r}return e.preserveRoot===!1&&n===(0,cc.parse)(n).root||!r||e.filter&&!e.filter(n,t)?!1:((0,uc.ignoreENOENTSync)(()=>(0,ac.rmdirSync)(n)),!0)}});var By=T(Qr=>{"use strict";Object.defineProperty(Qr,"__esModule",{value:!0});Qr.fixEPERMSync=Qr.fixEPERM=void 0;var Hy=Ki(),{chmod:Aq}=Hy.promises,Iq=n=>async e=>{try{return await n(e)}catch(t){let i=t;if(i?.code==="ENOENT")return;if(i?.code==="EPERM"){try{await Aq(e,438)}catch(r){if(r?.code==="ENOENT")return;throw t}return await n(e)}throw t}};Qr.fixEPERM=Iq;var jq=n=>e=>{try{return n(e)}catch(t){let i=t;if(i?.code==="ENOENT")return;if(i?.code==="EPERM"){try{(0,Hy.chmodSync)(e,438)}catch(r){if(r?.code==="ENOENT")return;throw t}return n(e)}throw t}};Qr.fixEPERMSync=jq});var Wy=T(_t=>{"use strict";Object.defineProperty(_t,"__esModule",{value:!0});_t.retryBusySync=_t.retryBusy=_t.codes=_t.MAXRETRIES=_t.RATE=_t.MAXBACKOFF=void 0;_t.MAXBACKOFF=200;_t.RATE=1.2;_t.MAXRETRIES=10;_t.codes=new Set(["EMFILE","ENFILE","EBUSY"]);var Lq=n=>{let e=async(t,i,r=1,s=0)=>{let o=i.maxBackoff||_t.MAXBACKOFF,a=i.backoff||_t.RATE,c=i.maxRetries||_t.MAXRETRIES,u=0;for(;;)try{return await n(t)}catch(l){let p=l;if(p?.path===t&&p?.code&&_t.codes.has(p.code)){if(r=Math.ceil(r*a),s=r+s,s{setTimeout(()=>{e(t,i,r,s).then(h,x)},r)});if(u(t,i)=>{let r=i.maxRetries||_t.MAXRETRIES,s=0;for(;;)try{return n(t)}catch(o){let a=o;if(a?.path===t&&a?.code&&_t.codes.has(a.code)&&s{"use strict";var Uq=Gi&&Gi.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Gi,"__esModule",{value:!0});Gi.defaultTmpSync=Gi.defaultTmp=void 0;var lc=require("os"),Zr=require("path"),Ky=Ki(),Gy=Uq(yo()),{stat:zq}=Ky.promises,$q=n=>{try{return(0,Ky.statSync)(n).isDirectory()}catch{return!1}},Hq=n=>zq(n).then(e=>e.isDirectory(),()=>!1),Bq=async n=>{let{root:e}=(0,Zr.parse)(n),t=(0,lc.tmpdir)(),{root:i}=(0,Zr.parse)(t);if(e.toLowerCase()===i.toLowerCase())return t;let r=(0,Zr.resolve)(e,"/temp");return await Hq(r)?r:e},Wq=n=>{let{root:e}=(0,Zr.parse)(n),t=(0,lc.tmpdir)(),{root:i}=(0,Zr.parse)(t);if(e.toLowerCase()===i.toLowerCase())return t;let r=(0,Zr.resolve)(e,"/temp");return $q(r)?r:e},Kq=async()=>(0,lc.tmpdir)(),Gq=()=>(0,lc.tmpdir)();Gi.defaultTmp=Gy.default==="win32"?Bq:Kq;Gi.defaultTmpSync=Gy.default==="win32"?Wq:Gq});var Xd=T(ts=>{"use strict";Object.defineProperty(ts,"__esModule",{value:!0});ts.rimrafMoveRemoveSync=ts.rimrafMoveRemove=void 0;var _i=require("path"),Qy=Vy(),dc=oc(),es=Ki(),{lstat:Vq,rename:Xq,unlink:Xy,rmdir:Jq,chmod:Yq}=es.promises,Zy=sc(),eb=n=>`.${(0,_i.basename)(n)}.${Math.random()}`,Qq=async n=>Xy(n).catch(e=>{if(e.code==="EPERM")return Yq(n,438).then(()=>Xy(n),t=>{if(t.code!=="ENOENT")throw e});if(e.code==="ENOENT")return;throw e}),Zq=n=>{try{(0,es.unlinkSync)(n)}catch(e){if(e?.code==="EPERM")try{return(0,es.chmodSync)(n,438)}catch(t){if(t?.code==="ENOENT")return;throw e}else if(e?.code==="ENOENT")return;throw e}},e1=async(n,e)=>{if(e?.signal?.aborted)throw e.signal.reason;try{return await Gd(n,e,await Vq(n))}catch(t){if(t?.code==="ENOENT")return!0;throw t}};ts.rimrafMoveRemove=e1;var Gd=async(n,e,t)=>{if(e?.signal?.aborted)throw e.signal.reason;if(!e.tmp)return Gd(n,{...e,tmp:await(0,Qy.defaultTmp)(n)},t);if(n===e.tmp&&(0,_i.parse)(n).root!==n)throw new Error("cannot delete temp directory used for deletion");let i=t.isDirectory()?await(0,Zy.readdirOrError)(n):null;if(!Array.isArray(i)){if(i){if(i.code==="ENOENT")return!0;if(i.code!=="ENOTDIR")throw i}return e.filter&&!await e.filter(n,t)?!1:(await(0,dc.ignoreENOENT)(Jy(n,e.tmp,Qq)),!0)}return!(await Promise.all(i.map(s=>Gd((0,_i.resolve)(n,s.name),e,s)))).reduce((s,o)=>s&&o,!0)||e.preserveRoot===!1&&n===(0,_i.parse)(n).root||e.filter&&!await e.filter(n,t)?!1:(await(0,dc.ignoreENOENT)(Jy(n,e.tmp,Jq)),!0)},Jy=async(n,e,t)=>{let i=(0,_i.resolve)(e,eb(n));return await Xq(n,i),await t(i)},t1=(n,e)=>{if(e?.signal?.aborted)throw e.signal.reason;try{return Vd(n,e,(0,es.lstatSync)(n))}catch(t){if(t?.code==="ENOENT")return!0;throw t}};ts.rimrafMoveRemoveSync=t1;var Vd=(n,e,t)=>{if(e?.signal?.aborted)throw e.signal.reason;if(!e.tmp)return Vd(n,{...e,tmp:(0,Qy.defaultTmpSync)(n)},t);let i=e.tmp;if(n===e.tmp&&(0,_i.parse)(n).root!==n)throw new Error("cannot delete temp directory used for deletion");let r=t.isDirectory()?(0,Zy.readdirOrErrorSync)(n):null;if(!Array.isArray(r)){if(r){if(r.code==="ENOENT")return!0;if(r.code!=="ENOTDIR")throw r}return e.filter&&!e.filter(n,t)?!1:((0,dc.ignoreENOENTSync)(()=>Yy(n,i,Zq)),!0)}let s=!0;for(let o of r){let a=(0,_i.resolve)(n,o.name);s=Vd(a,e,o)&&s}return!s||e.preserveRoot===!1&&n===(0,_i.parse)(n).root||e.filter&&!e.filter(n,t)?!1:((0,dc.ignoreENOENTSync)(()=>Yy(n,i,es.rmdirSync)),!0)},Yy=(n,e,t)=>{let i=(0,_i.resolve)(e,eb(n));return(0,es.renameSync)(n,i),t(i)}});var Qd=T(ns=>{"use strict";Object.defineProperty(ns,"__esModule",{value:!0});ns.rimrafWindowsSync=ns.rimrafWindows=void 0;var pc=require("path"),mc=By(),gc=Ki(),fc=oc(),tb=sc(),vc=Wy(),nb=Xd(),{unlink:n1,rmdir:i1,lstat:r1}=gc.promises,s1=(0,vc.retryBusy)((0,mc.fixEPERM)(n1)),o1=(0,vc.retryBusySync)((0,mc.fixEPERMSync)(gc.unlinkSync)),a1=(0,vc.retryBusy)((0,mc.fixEPERM)(i1)),c1=(0,vc.retryBusySync)((0,mc.fixEPERMSync)(gc.rmdirSync)),u1=async(n,e)=>{if(e?.signal?.aborted)throw e.signal.reason;let{filter:t,...i}=e;try{return await a1(n,i)}catch(r){if(r?.code==="ENOTEMPTY")return await(0,nb.rimrafMoveRemove)(n,i);throw r}},l1=(n,e)=>{if(e?.signal?.aborted)throw e.signal.reason;let{filter:t,...i}=e;try{return c1(n,i)}catch(r){if(r?.code==="ENOTEMPTY")return(0,nb.rimrafMoveRemoveSync)(n,i);throw r}},Vi=Symbol("start"),ib=Symbol("child"),hc=Symbol("finish"),d1=async(n,e)=>{if(e?.signal?.aborted)throw e.signal.reason;try{return await Jd(n,e,await r1(n),Vi)}catch(t){if(t?.code==="ENOENT")return!0;throw t}};ns.rimrafWindows=d1;var p1=(n,e)=>{if(e?.signal?.aborted)throw e.signal.reason;try{return Yd(n,e,(0,gc.lstatSync)(n),Vi)}catch(t){if(t?.code==="ENOENT")return!0;throw t}};ns.rimrafWindowsSync=p1;var Jd=async(n,e,t,i=Vi)=>{if(e?.signal?.aborted)throw e.signal.reason;let r=t.isDirectory()?await(0,tb.readdirOrError)(n):null;if(!Array.isArray(r)){if(r){if(r.code==="ENOENT")return!0;if(r.code!=="ENOTDIR")throw r}return e.filter&&!await e.filter(n,t)?!1:(await(0,fc.ignoreENOENT)(s1(n,e)),!0)}let s=i===Vi?ib:i,o=(await Promise.all(r.map(a=>Jd((0,pc.resolve)(n,a.name),e,a,s)))).reduce((a,c)=>a&&c,!0);if(i===Vi)return Jd(n,e,t,hc);if(i===hc){if(e.preserveRoot===!1&&n===(0,pc.parse)(n).root||!o||e.filter&&!await e.filter(n,t))return!1;await(0,fc.ignoreENOENT)(u1(n,e))}return!0},Yd=(n,e,t,i=Vi)=>{let r=t.isDirectory()?(0,tb.readdirOrErrorSync)(n):null;if(!Array.isArray(r)){if(r){if(r.code==="ENOENT")return!0;if(r.code!=="ENOTDIR")throw r}return e.filter&&!e.filter(n,t)?!1:((0,fc.ignoreENOENTSync)(()=>o1(n,e)),!0)}let s=!0;for(let o of r){let a=i===Vi?ib:i,c=(0,pc.resolve)(n,o.name);s=Yd(c,e,o,a)&&s}if(i===Vi)return Yd(n,e,t,hc);if(i===hc){if(e.preserveRoot===!1&&n===(0,pc.parse)(n).root||!s||e.filter&&!e.filter(n,t))return!1;(0,fc.ignoreENOENTSync)(()=>{l1(n,e)})}return!0}});var ab=T(Xi=>{"use strict";var f1=Xi&&Xi.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Xi,"__esModule",{value:!0});Xi.rimrafManualSync=Xi.rimrafManual=void 0;var rb=f1(yo()),sb=Kd(),ob=Qd();Xi.rimrafManual=rb.default==="win32"?ob.rimrafWindows:sb.rimrafPosix;Xi.rimrafManualSync=rb.default==="win32"?ob.rimrafWindowsSync:sb.rimrafPosixSync});var ub=T(is=>{"use strict";Object.defineProperty(is,"__esModule",{value:!0});is.rimrafNativeSync=is.rimrafNative=void 0;var cb=Ki(),{rm:h1}=cb.promises,m1=async(n,e)=>(await h1(n,{...e,force:!0,recursive:!0}),!0);is.rimrafNative=m1;var g1=(n,e)=>((0,cb.rmSync)(n,{...e,force:!0,recursive:!0}),!0);is.rimrafNativeSync=g1});var fb=T(Ji=>{"use strict";var v1=Ji&&Ji.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Ji,"__esModule",{value:!0});Ji.useNativeSync=Ji.useNative=void 0;var db=v1(yo()),x1=process.env.__TESTING_RIMRAF_NODE_VERSION__||process.version,y1=x1.replace(/^v/,"").split("."),[lb=0,b1=0]=y1.map(n=>parseInt(n,10)),pb=lb>14||lb===14&&b1>=14;Ji.useNative=!pb||db.default==="win32"?()=>!1:n=>!n?.signal&&!n?.filter;Ji.useNativeSync=!pb||db.default==="win32"?()=>!1:n=>!n?.signal&&!n?.filter});var _b=T(re=>{"use strict";var w1=re&&re.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(re,"__esModule",{value:!0});re.rimraf=re.sync=re.rimrafSync=re.moveRemove=re.moveRemoveSync=re.posix=re.posixSync=re.windows=re.windowsSync=re.manual=re.manualSync=re.native=re.nativeSync=re.isRimrafOptions=re.assertRimrafOptions=void 0;var mb=Iy(),gb=Hd(),xc=w1(Ly()),yc=ab(),vb=Xd(),bc=ub(),xb=Kd(),yb=Qd(),bb=fb(),wb=Hd();Object.defineProperty(re,"assertRimrafOptions",{enumerable:!0,get:function(){return wb.assertRimrafOptions}});Object.defineProperty(re,"isRimrafOptions",{enumerable:!0,get:function(){return wb.isRimrafOptions}});var rs=n=>async(e,t)=>{let i=(0,gb.optArg)(t);return i.glob&&(e=await(0,mb.glob)(e,i.glob)),Array.isArray(e)?!!(await Promise.all(e.map(r=>n((0,xc.default)(r,i),i)))).reduce((r,s)=>r&&s,!0):!!await n((0,xc.default)(e,i),i)},ss=n=>(e,t)=>{let i=(0,gb.optArgSync)(t);return i.glob&&(e=(0,mb.globSync)(e,i.glob)),Array.isArray(e)?!!e.map(r=>n((0,xc.default)(r,i),i)).reduce((r,s)=>r&&s,!0):!!n((0,xc.default)(e,i),i)};re.nativeSync=ss(bc.rimrafNativeSync);re.native=Object.assign(rs(bc.rimrafNative),{sync:re.nativeSync});re.manualSync=ss(yc.rimrafManualSync);re.manual=Object.assign(rs(yc.rimrafManual),{sync:re.manualSync});re.windowsSync=ss(yb.rimrafWindowsSync);re.windows=Object.assign(rs(yb.rimrafWindows),{sync:re.windowsSync});re.posixSync=ss(xb.rimrafPosixSync);re.posix=Object.assign(rs(xb.rimrafPosix),{sync:re.posixSync});re.moveRemoveSync=ss(vb.rimrafMoveRemoveSync);re.moveRemove=Object.assign(rs(vb.rimrafMoveRemove),{sync:re.moveRemoveSync});re.rimrafSync=ss((n,e)=>(0,bb.useNativeSync)(e)?(0,bc.rimrafNativeSync)(n,e):(0,yc.rimrafManualSync)(n,e));re.sync=re.rimrafSync;var hb=rs((n,e)=>(0,bb.useNative)(e)?(0,bc.rimrafNative)(n,e):(0,yc.rimrafManual)(n,e));re.rimraf=Object.assign(hb,{rimraf:hb,sync:re.rimrafSync,rimrafSync:re.rimrafSync,manual:re.manual,manualSync:re.manualSync,native:re.native,nativeSync:re.nativeSync,posix:re.posix,posixSync:re.posixSync,windows:re.windows,windowsSync:re.windowsSync,moveRemove:re.moveRemove,moveRemoveSync:re.moveRemoveSync});re.rimraf.rimraf=re.rimraf});var Rb=T((UM,Cb)=>{var{createWriteStream:_1,existsSync:Zd,mkdirSync:Sb,mkdtemp:S1}=require("fs"),{join:wc,sep:C1}=require("path"),{spawnSync:ep}=require("child_process"),{tmpdir:R1}=require("os"),D1=Px(),T1=_b(),E1=R1(),wo=n=>{console.error(n),process.exit(1)},tp=class{constructor(e,t,i,r,s){let o=[];if(typeof t!="string")o.push("url must be a string");else try{new URL(t)}catch(a){o.push(a)}if(e&&typeof e!="string"&&o.push("package name must be a string"),e||o.push("You must specify the name of your package"),s&&typeof s!="object"&&o.push("binaries must be a string => string map"),s||o.push("You must specify the binaries in the package"),o.length>0){let a=`One or more of the parameters you passed to the Binary constructor are invalid: +`;o.forEach(c=>{a+=c}),a+=` + +Correct usage: new Package("my-binary", "https://example.com/binary/download.tar.gz", {"my-binary": "my-binary"})`,wo(a)}this.url=t,this.name=e,this.filename=i,this.zipExt=r,this.installDirectory=wc(__dirname,"node_modules",".bin_real"),this.binaries=s,Zd(this.installDirectory)||Sb(this.installDirectory,{recursive:!0})}exists(){for(let e in this.binaries){let t=this.binaries[e],i=wc(this.installDirectory,t);if(!Zd(i))return!1}return!0}install(e,t=!1){return this.exists()?(t||console.error(`${this.name} is already installed, skipping installation.`),Promise.resolve()):(Zd(this.installDirectory)&&T1.sync(this.installDirectory),Sb(this.installDirectory,{recursive:!0}),t||console.error(`Downloading release from ${this.url}`),D1({...e,url:this.url,responseType:"stream"}).then(i=>new Promise((r,s)=>{S1(`${E1}${C1}`,(o,a)=>{let c=wc(a,this.filename),u=i.data.pipe(_1(c));u.on("error",l=>s(l)),u.on("close",()=>{if(/\.tar\.*/.test(this.zipExt)){let l=ep("tar",["xf",c,"--strip-components","1","-C",this.installDirectory]);l.status==0?r():l.error?s(l.error):s(new Error(`An error occurred untarring the artifact: stdout: ${l.stdout}; stderr: ${l.stderr}`))}else if(this.zipExt==".zip"){let l=ep("unzip",["-q",c,"-d",this.installDirectory]);l.status==0?r():l.error?s(l.error):s(new Error(`An error occurred unzipping the artifact: stdout: ${l.stdout}; stderr: ${l.stderr}`))}else s(new Error(`Unrecognized file extension: ${this.zipExt}`))})})})).then(()=>{t||console.error(`${this.name} has been installed!`)}).catch(i=>{wo(`Error fetching release: ${i.message}`)}))}run(e,t){(this.exists()?Promise.resolve():this.install(t,!0)).then(()=>{let[,,...r]=process.argv,s={cwd:process.cwd(),stdio:"inherit"},o=this.binaries[e];o||wo(`${e} is not a known binary in ${this.name}`);let a=wc(this.installDirectory,o),c=ep(a,r,s);c.error&&wo(c.error),process.exit(c.status)}).catch(r=>{wo(r.message),process.exit(1)})}};Cb.exports.Package=tp});var Db=T((zM,_c)=>{var P1=function(){"use strict";function n(o,a,c,u){var l;typeof a=="object"&&(c=a.depth,u=a.prototype,l=a.filter,a=a.circular);var p=[],h=[],x=typeof Buffer<"u";typeof a>"u"&&(a=!0),typeof c>"u"&&(c=1/0);function f(y,w){if(y===null)return null;if(w==0)return y;var S,O;if(typeof y!="object")return y;if(n.__isArray(y))S=[];else if(n.__isRegExp(y))S=new RegExp(y.source,s(y)),y.lastIndex&&(S.lastIndex=y.lastIndex);else if(n.__isDate(y))S=new Date(y.getTime());else{if(x&&Buffer.isBuffer(y))return Buffer.allocUnsafe?S=Buffer.allocUnsafe(y.length):S=new Buffer(y.length),y.copy(S),S;typeof u>"u"?(O=Object.getPrototypeOf(y),S=Object.create(O)):(S=Object.create(u),O=u)}if(a){var k=p.indexOf(y);if(k!=-1)return h[k];p.push(y),h.push(S)}for(var N in y){var j;O&&(j=Object.getOwnPropertyDescriptor(O,N)),!(j&&j.set==null)&&(S[N]=f(y[N],w-1))}return S}return f(o,c)}n.clonePrototype=function(a){if(a===null)return null;var c=function(){};return c.prototype=a,new c};function e(o){return Object.prototype.toString.call(o)}n.__objToStr=e;function t(o){return typeof o=="object"&&e(o)==="[object Date]"}n.__isDate=t;function i(o){return typeof o=="object"&&e(o)==="[object Array]"}n.__isArray=i;function r(o){return typeof o=="object"&&e(o)==="[object RegExp]"}n.__isRegExp=r;function s(o){var a="";return o.global&&(a+="g"),o.ignoreCase&&(a+="i"),o.multiline&&(a+="m"),a}return n.__getRegExpFlags=s,n}();typeof _c=="object"&&_c.exports&&(_c.exports=P1)});var Eb=T(($M,Tb)=>{var k1=Db();Tb.exports=function(n,e){return n=n||{},Object.keys(e).forEach(function(t){typeof n[t]>"u"&&(n[t]=k1(e[t]))}),n}});var kb=T((HM,Pb)=>{Pb.exports=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531],[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]]});var Nb=T((BM,np)=>{"use strict";var O1=Eb(),_o=kb(),qb={nul:0,control:0};np.exports=function(e){return Fb(e,qb)};np.exports.config=function(n){return n=O1(n||{},qb),function(t){return Fb(t,n)}};function Fb(n,e){if(typeof n!="string")return Ob(n,e);for(var t=0,i=0;i=127&&n<160?e.control:q1(n)?0:1+(n>=4352&&(n<=4447||n==9001||n==9002||n>=11904&&n<=42191&&n!=12351||n>=44032&&n<=55203||n>=63744&&n<=64255||n>=65040&&n<=65049||n>=65072&&n<=65135||n>=65280&&n<=65376||n>=65504&&n<=65510||n>=131072&&n<=196605||n>=196608&&n<=262141))}function q1(n){var e=0,t=_o.length-1,i;if(n<_o[0][0]||n>_o[t][1])return!1;for(;t>=e;)if(i=Math.floor((e+t)/2),n>_o[i][1])e=i+1;else if(n<_o[i][0])t=i-1;else return!0;return!1}});var Lb=T((WM,jb)=>{var ip;try{ip=Nb()}catch{}jb.exports=Me;function Me(){this.rows=[],this.row={__printers:{}}}Me.prototype.newRow=function(){return this.rows.push(this.row),this.row={__printers:{}},this};Me.prototype.cell=function(n,e,t){return this.row[n]=e,this.row.__printers[n]=t||So,this};Me.prototype.separator=" ";function So(n){return n===void 0?"":""+n}function sp(n){var e=n.replace(/\u001b\[\d+m/g,"");return ip==null?e.length:ip(e)}Me.string=So;Me.leftPadder=op;function op(n){return function(e,t){var i=So(e),r=sp(i),s=t>r?Array(t-r+1).join(n):"";return s+i}}var ap=Me.padLeft=op(" ");Me.rightPadder=Ab;function Ab(n){return function(t,i){var r=So(t),s=sp(r),o=i>s?Array(i-s+1).join(n):"";return r+o}}var F1=Ab(" ");Me.number=function(n){return function(e,t){if(e==null)return"";if(typeof e!="number")throw new Error(""+e+" is not a number");var i=n==null?e+"":e.toFixed(n);return ap(i,t)}};function Ib(n,e){for(var t in n)t!="__printers"&&e(t,n[t])}Me.prototype.columns=function(){for(var n={},e=0;e<2;e++)this.rows.forEach(function(t){var i=0;Ib(t,function(r){i=Math.max(i,n[r]||0),n[r]=i,i++})});return Object.keys(n).sort(function(t,i){return n[t]-n[i]})};Me.prototype.print=function(){var n=this.columns(),e=this.separator,t={},i="";return this.rows.forEach(function(r){Ib(r,function(s,o){var a=r.__printers[s].call(r,o);t[s]=Math.max(sp(a),t[s]||0)})}),this.rows.forEach(function(r){var s="";n.forEach(function(o){var a=t[o],c=r.hasOwnProperty(o)?""+r.__printers[o].call(r,r[o],a):"";s+=F1(c,a)+e}),s=s.slice(0,-e.length),i+=s+` +`}),i};Me.prototype.toString=function(){var n=this.columns(),e=new Me;return e.separator=this.separator,n.forEach(function(t){e.cell(t,t)}),e.newRow(),e.pushDelimeter(n),e.rows=e.rows.concat(this.rows),this.totals&&this.rows.length&&(e.pushDelimeter(n),this.forEachTotal(e.cell.bind(e)),e.newRow()),e.print()};Me.prototype.pushDelimeter=function(n){return n=n||this.columns(),n.forEach(function(e){this.cell(e,void 0,op("-"))},this),this.newRow()};Me.prototype.forEachTotal=function(n){for(var e in this.totals){var t=this.totals[e],i=t.init,r=this.rows.length;this.rows.forEach(function(s,o){i=t.reduce.call(s,i,s[e],o,r)}),n(e,i,t.printer)}};Me.prototype.printTransposed=function(n){n=n||{};var e=new Me;return e.separator=n.separator||this.separator,this.columns().forEach(function(t){e.cell(0,t,n.namePrinter),this.rows.forEach(function(i,r){e.cell(r+1,i[t],i.__printers[t])}),e.newRow()},this),e.print()};Me.prototype.sort=function(n){if(typeof n=="function")return this.rows.sort(n),this;var e=Array.isArray(n)?n:this.columns(),t=e.map(function(i){var r="asc",s=/(.*)\|\s*(asc|des)\s*$/.exec(i);return s&&(i=s[1],r=s[2]),function(o,a){return r=="asc"?rp(o[i],a[i]):rp(a[i],o[i])}});return this.sort(function(i,r){for(var s=0;se?1:n{(function(){"use strict";function n(){if(typeof console>"u")throw new Error("Weird, console object is undefined");if(typeof console.table=="function"&&console.table===x)return;function e(f,y){return typeof y===f}var t=e.bind(null,"string");function i(f,y){return Array.isArray(y)&&y.every(f)}var r=i.bind(null,t),s=i.bind(null,Array.isArray),o=Lb();function a(f){var y=new o;return f.forEach(function(w){typeof w=="string"||typeof w=="number"?y.cell("item",w):Object.keys(w).forEach(function(S){y.cell(S,w[S])}),y.newRow()}),y.toString()}function c(f,y,w){var S=new o;y.forEach(function(k){k.forEach(function(N,j){S.cell(f[j],N)}),S.newRow()});var O=S.toString();return w?O:console.log(O)}function u(f,y){var w=a(y),S=w.indexOf(` +`);if(S>0){f.length>S&&(S=f.length),console.log(f);var O="-",k,N="";for(k=0;k0){f.length>S&&(S=f.length),O+=f+` +`;var k="-",N,j="";for(N=0;N{"use strict";var zb=()=>process.platform==="linux",Sc=null,N1=()=>{if(!Sc)if(zb()&&process.report){let n=process.report.excludeNetwork;process.report.excludeNetwork=!0,Sc=process.report.getReport(),process.report.excludeNetwork=n}else Sc={};return Sc};$b.exports={isLinux:zb,getReport:N1}});var Kb=T((VM,Wb)=>{"use strict";var Bb=require("fs"),A1="/usr/bin/ldd",I1=n=>Bb.readFileSync(n,"utf-8"),j1=n=>new Promise((e,t)=>{Bb.readFile(n,"utf-8",(i,r)=>{i?t(i):e(r)})});Wb.exports={LDD_PATH:A1,readFileSync:I1,readFile:j1}});var lw=T((XM,uw)=>{"use strict";var Vb=require("child_process"),{isLinux:as,getReport:Xb}=Hb(),{LDD_PATH:Cc,readFile:Jb,readFileSync:Yb}=Kb(),ui,li,Qb="getconf GNU_LIBC_VERSION 2>&1 || true; ldd --version 2>&1 || true",Yi="",Zb=()=>Yi||new Promise(n=>{Vb.exec(Qb,(e,t)=>{Yi=e?" ":t,n(Yi)})}),ew=()=>{if(!Yi)try{Yi=Vb.execSync(Qb,{encoding:"utf8"})}catch{Yi=" "}return Yi},Qi="glibc",tw=/LIBC[a-z0-9 \-).]*?(\d+\.\d+)/i,os="musl",L1=n=>n.includes("libc.musl-")||n.includes("ld-musl-"),nw=()=>{let n=Xb();return n.header&&n.header.glibcVersionRuntime?Qi:Array.isArray(n.sharedObjects)&&n.sharedObjects.some(L1)?os:null},iw=n=>{let[e,t]=n.split(/[\r\n]+/);return e&&e.includes(Qi)?Qi:t&&t.includes(os)?os:null},rw=n=>n.includes("musl")?os:n.includes("GNU C Library")?Qi:null,M1=async()=>{if(ui!==void 0)return ui;ui=null;try{let n=await Jb(Cc);ui=rw(n)}catch{}return ui},U1=()=>{if(ui!==void 0)return ui;ui=null;try{let n=Yb(Cc);ui=rw(n)}catch{}return ui},sw=async()=>{let n=null;if(as()&&(n=await M1(),n||(n=nw()),!n)){let e=await Zb();n=iw(e)}return n},ow=()=>{let n=null;if(as()&&(n=U1(),n||(n=nw()),!n)){let e=ew();n=iw(e)}return n},z1=async()=>as()&&await sw()!==Qi,$1=()=>as()&&ow()!==Qi,H1=async()=>{if(li!==void 0)return li;li=null;try{let e=(await Jb(Cc)).match(tw);e&&(li=e[1])}catch{}return li},B1=()=>{if(li!==void 0)return li;li=null;try{let e=Yb(Cc).match(tw);e&&(li=e[1])}catch{}return li},aw=()=>{let n=Xb();return n.header&&n.header.glibcVersionRuntime?n.header.glibcVersionRuntime:null},Gb=n=>n.trim().split(/\s+/)[1],cw=n=>{let[e,t,i]=n.split(/[\r\n]+/);return e&&e.includes(Qi)?Gb(e):t&&i&&t.includes(os)?Gb(i):null},W1=async()=>{let n=null;if(as()&&(n=await H1(),n||(n=aw()),!n)){let e=await Zb();n=cw(e)}return n},K1=()=>{let n=null;if(as()&&(n=B1(),n||(n=aw()),!n)){let e=ew();n=cw(e)}return n};uw.exports={GLIBC:Qi,MUSL:os,family:sw,familySync:ow,isNonGlibcLinux:z1,isNonGlibcLinuxSync:$1,version:W1,versionSync:K1}});var pw=T(Rc=>{"use strict";Object.defineProperty(Rc,"__esModule",{value:!0});Rc.getProxyEnv=void 0;var dw=n=>n.replace(/^\.*/,".").toLowerCase(),G1=n=>{n=n.trim();let e=n.split(":",2),t=dw(e[0]),i=e[1],r=n.indexOf(":")>-1;return{hostname:t,port:i,hasPort:r}},V1=(n,e)=>{let t=n.port||(n.protocol==="https:"?"443":"80"),i=dw(n.hostname);return e.split(",").map(G1).some(s=>{let o=i.indexOf(s.hostname),a=o>-1&&o===i.length-s.hostname.length;return s.hasPort?t===s.port&&a:a})},X1=n=>{let e=process.env.NO_PROXY||process.env.no_proxy||"";return e==="*"||e!==""&&V1(n,e)?null:n.protocol=="http:"?process.env.HTTP_PROXY||process.env.http_proxy||null:n.protocol=="https:"&&(process.env.HTTPS_PROXY||process.env.https_proxy)||null};Rc.getProxyEnv=X1});var gw=T(cs=>{"use strict";var YM=require("net"),J1=require("tls"),cp=require("http"),fw=require("https"),Y1=require("events"),QM=require("assert"),Q1=require("util");cs.httpOverHttp=Z1;cs.httpsOverHttp=eF;cs.httpOverHttps=tF;cs.httpsOverHttps=nF;function Z1(n){var e=new Si(n);return e.request=cp.request,e}function eF(n){var e=new Si(n);return e.request=cp.request,e.createSocket=hw,e.defaultPort=443,e}function tF(n){var e=new Si(n);return e.request=fw.request,e}function nF(n){var e=new Si(n);return e.request=fw.request,e.createSocket=hw,e.defaultPort=443,e}function Si(n){var e=this;e.options=n||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||cp.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",function(i,r,s,o){for(var a=mw(r,s,o),c=0,u=e.requests.length;c=this.maxSockets){s.requests.push(o);return}s.createSocket(o,function(a){a.on("free",c),a.on("close",u),a.on("agentRemove",u),e.onSocket(a);function c(){s.emit("free",a,o)}function u(l){s.removeSocket(a),a.removeListener("free",c),a.removeListener("close",u),a.removeListener("agentRemove",u)}})};Si.prototype.createSocket=function(e,t){var i=this,r={};i.sockets.push(r);var s=up({},i.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(s.localAddress=e.localAddress),s.proxyAuth&&(s.headers=s.headers||{},s.headers["Proxy-Authorization"]="Basic "+new Buffer(s.proxyAuth).toString("base64")),Zi("making CONNECT request");var o=i.request(s);o.useChunkedEncodingByDefault=!1,o.once("response",a),o.once("upgrade",c),o.once("connect",u),o.once("error",l),o.end();function a(p){p.upgrade=!0}function c(p,h,x){process.nextTick(function(){u(p,h,x)})}function u(p,h,x){if(o.removeAllListeners(),h.removeAllListeners(),p.statusCode!==200){Zi("tunneling socket could not be established, statusCode=%d",p.statusCode),h.destroy();var f=new Error("tunneling socket could not be established, statusCode="+p.statusCode);f.code="ECONNRESET",e.request.emit("error",f),i.removeSocket(r);return}if(x.length>0){Zi("got illegal response body from proxy"),h.destroy();var f=new Error("got illegal response body from proxy");f.code="ECONNRESET",e.request.emit("error",f),i.removeSocket(r);return}return Zi("tunneling connection has established"),i.sockets[i.sockets.indexOf(r)]=h,t(h)}function l(p){o.removeAllListeners(),Zi(`tunneling socket could not be established, cause=%s +`,p.message,p.stack);var h=new Error("tunneling socket could not be established, cause="+p.message);h.code="ECONNRESET",e.request.emit("error",h),i.removeSocket(r)}};Si.prototype.removeSocket=function(e){var t=this.sockets.indexOf(e);if(t!==-1){this.sockets.splice(t,1);var i=this.requests.shift();i&&this.createSocket(i,function(r){i.request.onSocket(r)})}};function hw(n,e){var t=this;Si.prototype.createSocket.call(t,n,function(i){var r=n.request.getHeader("host"),s=up({},t.options,{socket:i,servername:r?r.replace(/:.*$/,""):n.host}),o=J1.connect(0,s);t.sockets[t.sockets.indexOf(i)]=o,e(o)})}function mw(n,e,t){return typeof n=="string"?{host:n,port:e,localAddress:t}:n}function up(n){for(var e=1,t=arguments.length;e{vw.exports=gw()});var yw=T(Dc=>{"use strict";Object.defineProperty(Dc,"__esModule",{value:!0});Dc.configureProxy=void 0;var iF=pw(),rF=xw(),sF=n=>{let e=new URL(n),t=(0,iF.getProxyEnv)(e);if(!t)return null;let{hostname:i,port:r,protocol:s,username:o,password:a}=new URL(t);return e.protocol==="https:"&&s==="http:"?{proxy:!1,httpsAgent:(0,rF.httpsOverHttp)({proxy:{host:i,port:parseInt(r)}})}:{proxy:{protocol:s,hostname:i,port:parseInt(r),auth:{username:o,password:a}}}};Dc.configureProxy=sF});var bw=T(Tc=>{"use strict";Object.defineProperty(Tc,"__esModule",{value:!0});Tc.configureProxy=void 0;var oF=yw();Object.defineProperty(Tc,"configureProxy",{enumerable:!0,get:function(){return oF.configureProxy}})});var ww=T((i2,aF)=>{aF.exports={artifactDownloadUrl:"https://github.com/kdl-org/kdl-rs/releases/download/v6.3.2",bin:{"kdl-lsp":"run-kdl-lsp.js"},contributors:["Kat March\xE1n ","KDL Community"],dependencies:{axios:"^1.7.9","axios-proxy-builder":"^0.1.2","console.table":"^0.10.0","detect-libc":"^2.0.3",rimraf:"^5.0.8"},description:"LSP Server for the KDL Document Language",devDependencies:{prettier:"^3.4.2"},engines:{node:">=14",npm:">=6"},glibcMinimum:{major:2,series:31},homepage:"https://kdl.dev",keywords:["kdl","document","config","lsp","language-server"],license:"Apache-2.0",name:"kdl-lsp",preferUnplugged:!0,repository:"https://github.com/kdl-org/kdl-rs",scripts:{fmt:"prettier --write **/*.js","fmt:check":"prettier --check **/*.js",postinstall:"node ./install.js"},supportedPlatforms:{"aarch64-apple-darwin":{artifactName:"kdl-lsp-aarch64-apple-darwin.tar.xz",bins:{"kdl-lsp":"kdl-lsp"},zipExt:".tar.xz"},"aarch64-pc-windows-gnu":{artifactName:"kdl-lsp-aarch64-pc-windows-msvc.zip",bins:{"kdl-lsp":"kdl-lsp.exe"},zipExt:".zip"},"aarch64-pc-windows-msvc":{artifactName:"kdl-lsp-aarch64-pc-windows-msvc.zip",bins:{"kdl-lsp":"kdl-lsp.exe"},zipExt:".zip"},"aarch64-unknown-linux-gnu":{artifactName:"kdl-lsp-aarch64-unknown-linux-gnu.tar.xz",bins:{"kdl-lsp":"kdl-lsp"},zipExt:".tar.xz"},"x86_64-apple-darwin":{artifactName:"kdl-lsp-x86_64-apple-darwin.tar.xz",bins:{"kdl-lsp":"kdl-lsp"},zipExt:".tar.xz"},"x86_64-pc-windows-gnu":{artifactName:"kdl-lsp-x86_64-pc-windows-msvc.zip",bins:{"kdl-lsp":"kdl-lsp.exe"},zipExt:".zip"},"x86_64-pc-windows-msvc":{artifactName:"kdl-lsp-x86_64-pc-windows-msvc.zip",bins:{"kdl-lsp":"kdl-lsp.exe"},zipExt:".zip"},"x86_64-unknown-linux-gnu":{artifactName:"kdl-lsp-x86_64-unknown-linux-gnu.tar.xz",bins:{"kdl-lsp":"kdl-lsp"},zipExt:".tar.xz"}},version:"6.3.2",volta:{node:"18.14.1",npm:"9.5.0"}}});var Ew=T((s2,Tw)=>{var{Package:cF}=Rb(),_w=require("os"),r2=Ub(),lp=lw(),{configureProxy:Cw}=bw(),uF=n=>{console.error(n),process.exit(1)},{name:Rw,artifactDownloadUrl:dp,supportedPlatforms:Sw,glibcMinimum:Dw}=ww(),lF=Dw.major,dF=Dw.series,pF=()=>{let n=_w.type(),e=_w.arch(),t="";switch(n){case"Windows_NT":t="pc-windows-msvc";break;case"Darwin":t="apple-darwin";break;case"Linux":t="unknown-linux-gnu";break}let i="";switch(e){case"x64":i="x86_64";break;case"arm64":i="aarch64";break}if(n==="Linux")if(lp.familySync()=="musl")t="unknown-linux-musl-dynamic";else if(lp.isNonGlibcLinuxSync())console.warn("Your libc is neither glibc nor musl; trying static musl binary instead"),t="unknown-linux-musl-static";else{let a=lp.versionSync().split("."),c=a[0],u=a[1];(c!=lF||u{let n=pF(),e=`${dp}/${n.artifactName}`,t=n.artifactName,i=n.zipExt;return new cF(Rw,e,t,i,n.bins)},fF=n=>{if(!dp||dp.length===0){console.warn("in demo mode, not installing binaries");return}let e=pp(),t=Cw(e.url);return e.install(t,n)},hF=n=>{let e=pp(),t=Cw(e.url);e.run(n,t)};Tw.exports={install:fF,run:hF,getPackage:pp}});var kw=T(Ec=>{"use strict";Object.defineProperty(Ec,"__esModule",{value:!0});Ec.getProxyEnv=void 0;var Pw=n=>n.replace(/^\.*/,".").toLowerCase(),mF=n=>{n=n.trim();let e=n.split(":",2),t=Pw(e[0]),i=e[1],r=n.indexOf(":")>-1;return{hostname:t,port:i,hasPort:r}},gF=(n,e)=>{let t=n.port||(n.protocol==="https:"?"443":"80"),i=Pw(n.hostname);return e.split(",").map(mF).some(s=>{let o=i.indexOf(s.hostname),a=o>-1&&o===i.length-s.hostname.length;return s.hasPort?t===s.port&&a:a})},vF=n=>{let e=process.env.NO_PROXY||process.env.no_proxy||"";return e==="*"||e!==""&&gF(n,e)?null:n.protocol=="http:"?process.env.HTTP_PROXY||process.env.http_proxy||null:n.protocol=="https:"&&(process.env.HTTPS_PROXY||process.env.https_proxy)||null};Ec.getProxyEnv=vF});var Nw=T(us=>{"use strict";var a2=require("net"),xF=require("tls"),fp=require("http"),Ow=require("https"),yF=require("events"),c2=require("assert"),bF=require("util");us.httpOverHttp=wF;us.httpsOverHttp=_F;us.httpOverHttps=SF;us.httpsOverHttps=CF;function wF(n){var e=new Ci(n);return e.request=fp.request,e}function _F(n){var e=new Ci(n);return e.request=fp.request,e.createSocket=qw,e.defaultPort=443,e}function SF(n){var e=new Ci(n);return e.request=Ow.request,e}function CF(n){var e=new Ci(n);return e.request=Ow.request,e.createSocket=qw,e.defaultPort=443,e}function Ci(n){var e=this;e.options=n||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||fp.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",function(i,r,s,o){for(var a=Fw(r,s,o),c=0,u=e.requests.length;c=this.maxSockets){s.requests.push(o);return}s.createSocket(o,function(a){a.on("free",c),a.on("close",u),a.on("agentRemove",u),e.onSocket(a);function c(){s.emit("free",a,o)}function u(l){s.removeSocket(a),a.removeListener("free",c),a.removeListener("close",u),a.removeListener("agentRemove",u)}})};Ci.prototype.createSocket=function(e,t){var i=this,r={};i.sockets.push(r);var s=hp({},i.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(s.localAddress=e.localAddress),s.proxyAuth&&(s.headers=s.headers||{},s.headers["Proxy-Authorization"]="Basic "+new Buffer(s.proxyAuth).toString("base64")),er("making CONNECT request");var o=i.request(s);o.useChunkedEncodingByDefault=!1,o.once("response",a),o.once("upgrade",c),o.once("connect",u),o.once("error",l),o.end();function a(p){p.upgrade=!0}function c(p,h,x){process.nextTick(function(){u(p,h,x)})}function u(p,h,x){if(o.removeAllListeners(),h.removeAllListeners(),p.statusCode!==200){er("tunneling socket could not be established, statusCode=%d",p.statusCode),h.destroy();var f=new Error("tunneling socket could not be established, statusCode="+p.statusCode);f.code="ECONNRESET",e.request.emit("error",f),i.removeSocket(r);return}if(x.length>0){er("got illegal response body from proxy"),h.destroy();var f=new Error("got illegal response body from proxy");f.code="ECONNRESET",e.request.emit("error",f),i.removeSocket(r);return}return er("tunneling connection has established"),i.sockets[i.sockets.indexOf(r)]=h,t(h)}function l(p){o.removeAllListeners(),er(`tunneling socket could not be established, cause=%s +`,p.message,p.stack);var h=new Error("tunneling socket could not be established, cause="+p.message);h.code="ECONNRESET",e.request.emit("error",h),i.removeSocket(r)}};Ci.prototype.removeSocket=function(e){var t=this.sockets.indexOf(e);if(t!==-1){this.sockets.splice(t,1);var i=this.requests.shift();i&&this.createSocket(i,function(r){i.request.onSocket(r)})}};function qw(n,e){var t=this;Ci.prototype.createSocket.call(t,n,function(i){var r=n.request.getHeader("host"),s=hp({},t.options,{socket:i,servername:r?r.replace(/:.*$/,""):n.host}),o=xF.connect(0,s);t.sockets[t.sockets.indexOf(i)]=o,e(o)})}function Fw(n,e,t){return typeof n=="string"?{host:n,port:e,localAddress:t}:n}function hp(n){for(var e=1,t=arguments.length;e{Aw.exports=Nw()});var jw=T(Pc=>{"use strict";Object.defineProperty(Pc,"__esModule",{value:!0});Pc.configureProxy=void 0;var RF=kw(),DF=Iw(),TF=n=>{let e=new URL(n),t=(0,RF.getProxyEnv)(e);if(!t)return null;let{hostname:i,port:r,protocol:s,username:o,password:a}=new URL(t);return e.protocol==="https:"&&s==="http:"?{proxy:!1,httpsAgent:(0,DF.httpsOverHttp)({proxy:{host:i,port:parseInt(r)}})}:{proxy:{protocol:s,hostname:i,port:parseInt(r),auth:{username:o,password:a}}}};Pc.configureProxy=TF});var Lw=T(kc=>{"use strict";Object.defineProperty(kc,"__esModule",{value:!0});kc.configureProxy=void 0;var EF=jw();Object.defineProperty(kc,"configureProxy",{enumerable:!0,get:function(){return EF.configureProxy}})});var qn=T(pt=>{"use strict";Object.defineProperty(pt,"__esModule",{value:!0});pt.asPromise=pt.thenable=pt.typedArray=pt.stringArray=pt.array=pt.func=pt.error=pt.number=pt.string=pt.boolean=void 0;function PF(n){return n===!0||n===!1}pt.boolean=PF;function Mw(n){return typeof n=="string"||n instanceof String}pt.string=Mw;function kF(n){return typeof n=="number"||n instanceof Number}pt.number=kF;function OF(n){return n instanceof Error}pt.error=OF;function Uw(n){return typeof n=="function"}pt.func=Uw;function zw(n){return Array.isArray(n)}pt.array=zw;function qF(n){return zw(n)&&n.every(e=>Mw(e))}pt.stringArray=qF;function FF(n,e){return Array.isArray(n)&&n.every(e)}pt.typedArray=FF;function $w(n){return n&&Uw(n.then)}pt.thenable=$w;function NF(n){return n instanceof Promise?n:$w(n)?new Promise((e,t)=>{n.then(i=>e(i),i=>t(i))}):Promise.resolve(n)}pt.asPromise=NF});var ls=T(Ut=>{"use strict";Object.defineProperty(Ut,"__esModule",{value:!0});Ut.stringArray=Ut.array=Ut.func=Ut.error=Ut.number=Ut.string=Ut.boolean=void 0;function AF(n){return n===!0||n===!1}Ut.boolean=AF;function Hw(n){return typeof n=="string"||n instanceof String}Ut.string=Hw;function IF(n){return typeof n=="number"||n instanceof Number}Ut.number=IF;function jF(n){return n instanceof Error}Ut.error=jF;function LF(n){return typeof n=="function"}Ut.func=LF;function Bw(n){return Array.isArray(n)}Ut.array=Bw;function MF(n){return Bw(n)&&n.every(e=>Hw(e))}Ut.stringArray=MF});var Mp=T(ne=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0});ne.Message=ne.NotificationType9=ne.NotificationType8=ne.NotificationType7=ne.NotificationType6=ne.NotificationType5=ne.NotificationType4=ne.NotificationType3=ne.NotificationType2=ne.NotificationType1=ne.NotificationType0=ne.NotificationType=ne.RequestType9=ne.RequestType8=ne.RequestType7=ne.RequestType6=ne.RequestType5=ne.RequestType4=ne.RequestType3=ne.RequestType2=ne.RequestType1=ne.RequestType=ne.RequestType0=ne.AbstractMessageSignature=ne.ParameterStructures=ne.ResponseError=ne.ErrorCodes=void 0;var Cr=ls(),mp;(function(n){n.ParseError=-32700,n.InvalidRequest=-32600,n.MethodNotFound=-32601,n.InvalidParams=-32602,n.InternalError=-32603,n.jsonrpcReservedErrorRangeStart=-32099,n.serverErrorStart=-32099,n.MessageWriteError=-32099,n.MessageReadError=-32098,n.PendingResponseRejected=-32097,n.ConnectionInactive=-32096,n.ServerNotInitialized=-32002,n.UnknownErrorCode=-32001,n.jsonrpcReservedErrorRangeEnd=-32e3,n.serverErrorEnd=-32e3})(mp||(ne.ErrorCodes=mp={}));var gp=class n extends Error{constructor(e,t,i){super(t),this.code=Cr.number(e)?e:mp.UnknownErrorCode,this.data=i,Object.setPrototypeOf(this,n.prototype)}toJson(){let e={code:this.code,message:this.message};return this.data!==void 0&&(e.data=this.data),e}};ne.ResponseError=gp;var sn=class n{constructor(e){this.kind=e}static is(e){return e===n.auto||e===n.byName||e===n.byPosition}toString(){return this.kind}};ne.ParameterStructures=sn;sn.auto=new sn("auto");sn.byPosition=new sn("byPosition");sn.byName=new sn("byName");var Xe=class{constructor(e,t){this.method=e,this.numberOfParams=t}get parameterStructures(){return sn.auto}};ne.AbstractMessageSignature=Xe;var vp=class extends Xe{constructor(e){super(e,0)}};ne.RequestType0=vp;var xp=class extends Xe{constructor(e,t=sn.auto){super(e,1),this._parameterStructures=t}get parameterStructures(){return this._parameterStructures}};ne.RequestType=xp;var yp=class extends Xe{constructor(e,t=sn.auto){super(e,1),this._parameterStructures=t}get parameterStructures(){return this._parameterStructures}};ne.RequestType1=yp;var bp=class extends Xe{constructor(e){super(e,2)}};ne.RequestType2=bp;var wp=class extends Xe{constructor(e){super(e,3)}};ne.RequestType3=wp;var _p=class extends Xe{constructor(e){super(e,4)}};ne.RequestType4=_p;var Sp=class extends Xe{constructor(e){super(e,5)}};ne.RequestType5=Sp;var Cp=class extends Xe{constructor(e){super(e,6)}};ne.RequestType6=Cp;var Rp=class extends Xe{constructor(e){super(e,7)}};ne.RequestType7=Rp;var Dp=class extends Xe{constructor(e){super(e,8)}};ne.RequestType8=Dp;var Tp=class extends Xe{constructor(e){super(e,9)}};ne.RequestType9=Tp;var Ep=class extends Xe{constructor(e,t=sn.auto){super(e,1),this._parameterStructures=t}get parameterStructures(){return this._parameterStructures}};ne.NotificationType=Ep;var Pp=class extends Xe{constructor(e){super(e,0)}};ne.NotificationType0=Pp;var kp=class extends Xe{constructor(e,t=sn.auto){super(e,1),this._parameterStructures=t}get parameterStructures(){return this._parameterStructures}};ne.NotificationType1=kp;var Op=class extends Xe{constructor(e){super(e,2)}};ne.NotificationType2=Op;var qp=class extends Xe{constructor(e){super(e,3)}};ne.NotificationType3=qp;var Fp=class extends Xe{constructor(e){super(e,4)}};ne.NotificationType4=Fp;var Np=class extends Xe{constructor(e){super(e,5)}};ne.NotificationType5=Np;var Ap=class extends Xe{constructor(e){super(e,6)}};ne.NotificationType6=Ap;var Ip=class extends Xe{constructor(e){super(e,7)}};ne.NotificationType7=Ip;var jp=class extends Xe{constructor(e){super(e,8)}};ne.NotificationType8=jp;var Lp=class extends Xe{constructor(e){super(e,9)}};ne.NotificationType9=Lp;var Ww;(function(n){function e(r){let s=r;return s&&Cr.string(s.method)&&(Cr.string(s.id)||Cr.number(s.id))}n.isRequest=e;function t(r){let s=r;return s&&Cr.string(s.method)&&r.id===void 0}n.isNotification=t;function i(r){let s=r;return s&&(s.result!==void 0||!!s.error)&&(Cr.string(s.id)||Cr.number(s.id)||s.id===null)}n.isResponse=i})(Ww||(ne.Message=Ww={}))});var zp=T(tr=>{"use strict";var Kw;Object.defineProperty(tr,"__esModule",{value:!0});tr.LRUCache=tr.LinkedMap=tr.Touch=void 0;var zt;(function(n){n.None=0,n.First=1,n.AsOld=n.First,n.Last=2,n.AsNew=n.Last})(zt||(tr.Touch=zt={}));var Oc=class{constructor(){this[Kw]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){return this._head?.value}get last(){return this._tail?.value}has(e){return this._map.has(e)}get(e,t=zt.None){let i=this._map.get(e);if(i)return t!==zt.None&&this.touch(i,t),i.value}set(e,t,i=zt.None){let r=this._map.get(e);if(r)r.value=t,i!==zt.None&&this.touch(r,i);else{switch(r={key:e,value:t,next:void 0,previous:void 0},i){case zt.None:this.addItemLast(r);break;case zt.First:this.addItemFirst(r);break;case zt.Last:this.addItemLast(r);break;default:this.addItemLast(r);break}this._map.set(e,r),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){let t=this._map.get(e);if(t)return this._map.delete(e),this.removeItem(t),this._size--,t.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");let e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,t){let i=this._state,r=this._head;for(;r;){if(t?e.bind(t)(r.value,r.key,this):e(r.value,r.key,this),this._state!==i)throw new Error("LinkedMap got modified during iteration.");r=r.next}}keys(){let e=this._state,t=this._head,i={[Symbol.iterator]:()=>i,next:()=>{if(this._state!==e)throw new Error("LinkedMap got modified during iteration.");if(t){let r={value:t.key,done:!1};return t=t.next,r}else return{value:void 0,done:!0}}};return i}values(){let e=this._state,t=this._head,i={[Symbol.iterator]:()=>i,next:()=>{if(this._state!==e)throw new Error("LinkedMap got modified during iteration.");if(t){let r={value:t.value,done:!1};return t=t.next,r}else return{value:void 0,done:!0}}};return i}entries(){let e=this._state,t=this._head,i={[Symbol.iterator]:()=>i,next:()=>{if(this._state!==e)throw new Error("LinkedMap got modified during iteration.");if(t){let r={value:[t.key,t.value],done:!1};return t=t.next,r}else return{value:void 0,done:!0}}};return i}[(Kw=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(e){if(e>=this.size)return;if(e===0){this.clear();return}let t=this._head,i=this.size;for(;t&&i>e;)this._map.delete(t.key),t=t.next,i--;this._head=t,this._size=i,t&&(t.previous=void 0),this._state++}addItemFirst(e){if(!this._head&&!this._tail)this._tail=e;else if(this._head)e.next=this._head,this._head.previous=e;else throw new Error("Invalid list");this._head=e,this._state++}addItemLast(e){if(!this._head&&!this._tail)this._head=e;else if(this._tail)e.previous=this._tail,this._tail.next=e;else throw new Error("Invalid list");this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{let t=e.next,i=e.previous;if(!t||!i)throw new Error("Invalid list");t.previous=i,i.next=t}e.next=void 0,e.previous=void 0,this._state++}touch(e,t){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(t!==zt.First&&t!==zt.Last)){if(t===zt.First){if(e===this._head)return;let i=e.next,r=e.previous;e===this._tail?(r.next=void 0,this._tail=r):(i.previous=r,r.next=i),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(t===zt.Last){if(e===this._tail)return;let i=e.next,r=e.previous;e===this._head?(i.previous=void 0,this._head=i):(i.previous=r,r.next=i),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}}toJSON(){let e=[];return this.forEach((t,i)=>{e.push([i,t])}),e}fromJSON(e){this.clear();for(let[t,i]of e)this.set(t,i)}};tr.LinkedMap=Oc;var Up=class extends Oc{constructor(e,t=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,t),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get ratio(){return this._ratio}set ratio(e){this._ratio=Math.min(Math.max(0,e),1),this.checkTrim()}get(e,t=zt.AsNew){return super.get(e,t)}peek(e){return super.get(e,zt.None)}set(e,t){return super.set(e,t,zt.Last),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}};tr.LRUCache=Up});var Vw=T(qc=>{"use strict";Object.defineProperty(qc,"__esModule",{value:!0});qc.Disposable=void 0;var Gw;(function(n){function e(t){return{dispose:t}}n.create=e})(Gw||(qc.Disposable=Gw={}))});var nr=T(Bp=>{"use strict";Object.defineProperty(Bp,"__esModule",{value:!0});var $p;function Hp(){if($p===void 0)throw new Error("No runtime abstraction layer installed");return $p}(function(n){function e(t){if(t===void 0)throw new Error("No runtime abstraction layer provided");$p=t}n.install=e})(Hp||(Hp={}));Bp.default=Hp});var ps=T(ds=>{"use strict";Object.defineProperty(ds,"__esModule",{value:!0});ds.Emitter=ds.Event=void 0;var UF=nr(),Xw;(function(n){let e={dispose(){}};n.None=function(){return e}})(Xw||(ds.Event=Xw={}));var Wp=class{add(e,t=null,i){this._callbacks||(this._callbacks=[],this._contexts=[]),this._callbacks.push(e),this._contexts.push(t),Array.isArray(i)&&i.push({dispose:()=>this.remove(e,t)})}remove(e,t=null){if(!this._callbacks)return;let i=!1;for(let r=0,s=this._callbacks.length;r{this._callbacks||(this._callbacks=new Wp),this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(e,t);let r={dispose:()=>{this._callbacks&&(this._callbacks.remove(e,t),r.dispose=n._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this))}};return Array.isArray(i)&&i.push(r),r}),this._event}fire(e){this._callbacks&&this._callbacks.invoke.call(this._callbacks,e)}dispose(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0)}};ds.Emitter=Fc;Fc._noop=function(){}});var Ic=T(fs=>{"use strict";Object.defineProperty(fs,"__esModule",{value:!0});fs.CancellationTokenSource=fs.CancellationToken=void 0;var zF=nr(),$F=ls(),Kp=ps(),Nc;(function(n){n.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:Kp.Event.None}),n.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:Kp.Event.None});function e(t){let i=t;return i&&(i===n.None||i===n.Cancelled||$F.boolean(i.isCancellationRequested)&&!!i.onCancellationRequested)}n.is=e})(Nc||(fs.CancellationToken=Nc={}));var HF=Object.freeze(function(n,e){let t=(0,zF.default)().timer.setTimeout(n.bind(e),0);return{dispose(){t.dispose()}}}),Ac=class{constructor(){this._isCancelled=!1}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?HF:(this._emitter||(this._emitter=new Kp.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=void 0)}},Gp=class{get token(){return this._token||(this._token=new Ac),this._token}cancel(){this._token?this._token.cancel():this._token=Nc.Cancelled}dispose(){this._token?this._token instanceof Ac&&this._token.dispose():this._token=Nc.None}};fs.CancellationTokenSource=Gp});var Jw=T(hs=>{"use strict";Object.defineProperty(hs,"__esModule",{value:!0});hs.SharedArrayReceiverStrategy=hs.SharedArraySenderStrategy=void 0;var BF=Ic(),Co;(function(n){n.Continue=0,n.Cancelled=1})(Co||(Co={}));var Vp=class{constructor(){this.buffers=new Map}enableCancellation(e){if(e.id===null)return;let t=new SharedArrayBuffer(4),i=new Int32Array(t,0,1);i[0]=Co.Continue,this.buffers.set(e.id,t),e.$cancellationData=t}async sendCancellation(e,t){let i=this.buffers.get(t);if(i===void 0)return;let r=new Int32Array(i,0,1);Atomics.store(r,0,Co.Cancelled)}cleanup(e){this.buffers.delete(e)}dispose(){this.buffers.clear()}};hs.SharedArraySenderStrategy=Vp;var Xp=class{constructor(e){this.data=new Int32Array(e,0,1)}get isCancellationRequested(){return Atomics.load(this.data,0)===Co.Cancelled}get onCancellationRequested(){throw new Error("Cancellation over SharedArrayBuffer doesn't support cancellation events")}},Jp=class{constructor(e){this.token=new Xp(e)}cancel(){}dispose(){}},Yp=class{constructor(){this.kind="request"}createCancellationTokenSource(e){let t=e.$cancellationData;return t===void 0?new BF.CancellationTokenSource:new Jp(t)}};hs.SharedArrayReceiverStrategy=Yp});var Zp=T(jc=>{"use strict";Object.defineProperty(jc,"__esModule",{value:!0});jc.Semaphore=void 0;var WF=nr(),Qp=class{constructor(e=1){if(e<=0)throw new Error("Capacity must be greater than 0");this._capacity=e,this._active=0,this._waiting=[]}lock(e){return new Promise((t,i)=>{this._waiting.push({thunk:e,resolve:t,reject:i}),this.runNext()})}get active(){return this._active}runNext(){this._waiting.length===0||this._active===this._capacity||(0,WF.default)().timer.setImmediate(()=>this.doRunNext())}doRunNext(){if(this._waiting.length===0||this._active===this._capacity)return;let e=this._waiting.shift();if(this._active++,this._active>this._capacity)throw new Error("To many thunks active");try{let t=e.thunk();t instanceof Promise?t.then(i=>{this._active--,e.resolve(i),this.runNext()},i=>{this._active--,e.reject(i),this.runNext()}):(this._active--,e.resolve(t),this.runNext())}catch(t){this._active--,e.reject(t),this.runNext()}}};jc.Semaphore=Qp});var Qw=T(ir=>{"use strict";Object.defineProperty(ir,"__esModule",{value:!0});ir.ReadableStreamMessageReader=ir.AbstractMessageReader=ir.MessageReader=void 0;var tf=nr(),ms=ls(),ef=ps(),KF=Zp(),Yw;(function(n){function e(t){let i=t;return i&&ms.func(i.listen)&&ms.func(i.dispose)&&ms.func(i.onError)&&ms.func(i.onClose)&&ms.func(i.onPartialMessage)}n.is=e})(Yw||(ir.MessageReader=Yw={}));var Lc=class{constructor(){this.errorEmitter=new ef.Emitter,this.closeEmitter=new ef.Emitter,this.partialMessageEmitter=new ef.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(e){this.errorEmitter.fire(this.asError(e))}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}get onPartialMessage(){return this.partialMessageEmitter.event}firePartialMessage(e){this.partialMessageEmitter.fire(e)}asError(e){return e instanceof Error?e:new Error(`Reader received error. Reason: ${ms.string(e.message)?e.message:"unknown"}`)}};ir.AbstractMessageReader=Lc;var nf;(function(n){function e(t){let i,r,s,o=new Map,a,c=new Map;if(t===void 0||typeof t=="string")i=t??"utf-8";else{if(i=t.charset??"utf-8",t.contentDecoder!==void 0&&(s=t.contentDecoder,o.set(s.name,s)),t.contentDecoders!==void 0)for(let u of t.contentDecoders)o.set(u.name,u);if(t.contentTypeDecoder!==void 0&&(a=t.contentTypeDecoder,c.set(a.name,a)),t.contentTypeDecoders!==void 0)for(let u of t.contentTypeDecoders)c.set(u.name,u)}return a===void 0&&(a=(0,tf.default)().applicationJson.decoder,c.set(a.name,a)),{charset:i,contentDecoder:s,contentDecoders:o,contentTypeDecoder:a,contentTypeDecoders:c}}n.fromOptions=e})(nf||(nf={}));var rf=class extends Lc{constructor(e,t){super(),this.readable=e,this.options=nf.fromOptions(t),this.buffer=(0,tf.default)().messageBuffer.create(this.options.charset),this._partialMessageTimeout=1e4,this.nextMessageLength=-1,this.messageToken=0,this.readSemaphore=new KF.Semaphore(1)}set partialMessageTimeout(e){this._partialMessageTimeout=e}get partialMessageTimeout(){return this._partialMessageTimeout}listen(e){this.nextMessageLength=-1,this.messageToken=0,this.partialMessageTimer=void 0,this.callback=e;let t=this.readable.onData(i=>{this.onData(i)});return this.readable.onError(i=>this.fireError(i)),this.readable.onClose(()=>this.fireClose()),t}onData(e){try{for(this.buffer.append(e);;){if(this.nextMessageLength===-1){let i=this.buffer.tryReadHeaders(!0);if(!i)return;let r=i.get("content-length");if(!r){this.fireError(new Error(`Header must provide a Content-Length property. +${JSON.stringify(Object.fromEntries(i))}`));return}let s=parseInt(r);if(isNaN(s)){this.fireError(new Error(`Content-Length value must be a number. Got ${r}`));return}this.nextMessageLength=s}let t=this.buffer.tryReadBody(this.nextMessageLength);if(t===void 0){this.setPartialMessageTimer();return}this.clearPartialMessageTimer(),this.nextMessageLength=-1,this.readSemaphore.lock(async()=>{let i=this.options.contentDecoder!==void 0?await this.options.contentDecoder.decode(t):t,r=await this.options.contentTypeDecoder.decode(i,this.options);this.callback(r)}).catch(i=>{this.fireError(i)})}}catch(t){this.fireError(t)}}clearPartialMessageTimer(){this.partialMessageTimer&&(this.partialMessageTimer.dispose(),this.partialMessageTimer=void 0)}setPartialMessageTimer(){this.clearPartialMessageTimer(),!(this._partialMessageTimeout<=0)&&(this.partialMessageTimer=(0,tf.default)().timer.setTimeout((e,t)=>{this.partialMessageTimer=void 0,e===this.messageToken&&(this.firePartialMessage({messageToken:e,waitingTime:t}),this.setPartialMessageTimer())},this._partialMessageTimeout,this.messageToken,this._partialMessageTimeout))}};ir.ReadableStreamMessageReader=rf});var i_=T(rr=>{"use strict";Object.defineProperty(rr,"__esModule",{value:!0});rr.WriteableStreamMessageWriter=rr.AbstractMessageWriter=rr.MessageWriter=void 0;var Zw=nr(),Ro=ls(),GF=Zp(),e_=ps(),VF="Content-Length: ",t_=`\r +`,n_;(function(n){function e(t){let i=t;return i&&Ro.func(i.dispose)&&Ro.func(i.onClose)&&Ro.func(i.onError)&&Ro.func(i.write)}n.is=e})(n_||(rr.MessageWriter=n_={}));var Mc=class{constructor(){this.errorEmitter=new e_.Emitter,this.closeEmitter=new e_.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(e,t,i){this.errorEmitter.fire([this.asError(e),t,i])}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}asError(e){return e instanceof Error?e:new Error(`Writer received error. Reason: ${Ro.string(e.message)?e.message:"unknown"}`)}};rr.AbstractMessageWriter=Mc;var sf;(function(n){function e(t){return t===void 0||typeof t=="string"?{charset:t??"utf-8",contentTypeEncoder:(0,Zw.default)().applicationJson.encoder}:{charset:t.charset??"utf-8",contentEncoder:t.contentEncoder,contentTypeEncoder:t.contentTypeEncoder??(0,Zw.default)().applicationJson.encoder}}n.fromOptions=e})(sf||(sf={}));var of=class extends Mc{constructor(e,t){super(),this.writable=e,this.options=sf.fromOptions(t),this.errorCount=0,this.writeSemaphore=new GF.Semaphore(1),this.writable.onError(i=>this.fireError(i)),this.writable.onClose(()=>this.fireClose())}async write(e){return this.writeSemaphore.lock(async()=>this.options.contentTypeEncoder.encode(e,this.options).then(i=>this.options.contentEncoder!==void 0?this.options.contentEncoder.encode(i):i).then(i=>{let r=[];return r.push(VF,i.byteLength.toString(),t_),r.push(t_),this.doWrite(e,r,i)},i=>{throw this.fireError(i),i}))}async doWrite(e,t,i){try{return await this.writable.write(t.join(""),"ascii"),this.writable.write(i)}catch(r){return this.handleError(r,e),Promise.reject(r)}}handleError(e,t){this.errorCount++,this.fireError(e,t,this.errorCount)}end(){this.writable.end()}};rr.WriteableStreamMessageWriter=of});var r_=T(Uc=>{"use strict";Object.defineProperty(Uc,"__esModule",{value:!0});Uc.AbstractMessageBuffer=void 0;var XF=13,JF=10,YF=`\r +`,af=class{constructor(e="utf-8"){this._encoding=e,this._chunks=[],this._totalLength=0}get encoding(){return this._encoding}append(e){let t=typeof e=="string"?this.fromString(e,this._encoding):e;this._chunks.push(t),this._totalLength+=t.byteLength}tryReadHeaders(e=!1){if(this._chunks.length===0)return;let t=0,i=0,r=0,s=0;e:for(;ithis._totalLength)throw new Error("Cannot read so many bytes!");if(this._chunks[0].byteLength===e){let s=this._chunks[0];return this._chunks.shift(),this._totalLength-=e,this.asNative(s)}if(this._chunks[0].byteLength>e){let s=this._chunks[0],o=this.asNative(s,e);return this._chunks[0]=s.slice(e),this._totalLength-=e,o}let t=this.allocNative(e),i=0,r=0;for(;e>0;){let s=this._chunks[r];if(s.byteLength>e){let o=s.slice(0,e);t.set(o,i),i+=e,this._chunks[r]=s.slice(e),this._totalLength-=e,e-=e}else t.set(s,i),i+=s.byteLength,this._chunks.shift(),this._totalLength-=s.byteLength,e-=s.byteLength}return t}};Uc.AbstractMessageBuffer=af});var u_=T(pe=>{"use strict";Object.defineProperty(pe,"__esModule",{value:!0});pe.createMessageConnection=pe.ConnectionOptions=pe.MessageStrategy=pe.CancellationStrategy=pe.CancellationSenderStrategy=pe.CancellationReceiverStrategy=pe.RequestCancellationReceiverStrategy=pe.IdCancellationReceiverStrategy=pe.ConnectionStrategy=pe.ConnectionError=pe.ConnectionErrors=pe.LogTraceNotification=pe.SetTraceNotification=pe.TraceFormat=pe.TraceValues=pe.Trace=pe.NullLogger=pe.ProgressType=pe.ProgressToken=void 0;var s_=nr(),rt=ls(),oe=Mp(),o_=zp(),Do=ps(),cf=Ic(),Po;(function(n){n.type=new oe.NotificationType("$/cancelRequest")})(Po||(Po={}));var uf;(function(n){function e(t){return typeof t=="string"||typeof t=="number"}n.is=e})(uf||(pe.ProgressToken=uf={}));var To;(function(n){n.type=new oe.NotificationType("$/progress")})(To||(To={}));var lf=class{constructor(){}};pe.ProgressType=lf;var df;(function(n){function e(t){return rt.func(t)}n.is=e})(df||(df={}));pe.NullLogger=Object.freeze({error:()=>{},warn:()=>{},info:()=>{},log:()=>{}});var qe;(function(n){n[n.Off=0]="Off",n[n.Messages=1]="Messages",n[n.Compact=2]="Compact",n[n.Verbose=3]="Verbose"})(qe||(pe.Trace=qe={}));var a_;(function(n){n.Off="off",n.Messages="messages",n.Compact="compact",n.Verbose="verbose"})(a_||(pe.TraceValues=a_={}));(function(n){function e(i){if(!rt.string(i))return n.Off;switch(i=i.toLowerCase(),i){case"off":return n.Off;case"messages":return n.Messages;case"compact":return n.Compact;case"verbose":return n.Verbose;default:return n.Off}}n.fromString=e;function t(i){switch(i){case n.Off:return"off";case n.Messages:return"messages";case n.Compact:return"compact";case n.Verbose:return"verbose";default:return"off"}}n.toString=t})(qe||(pe.Trace=qe={}));var vn;(function(n){n.Text="text",n.JSON="json"})(vn||(pe.TraceFormat=vn={}));(function(n){function e(t){return rt.string(t)?(t=t.toLowerCase(),t==="json"?n.JSON:n.Text):n.Text}n.fromString=e})(vn||(pe.TraceFormat=vn={}));var pf;(function(n){n.type=new oe.NotificationType("$/setTrace")})(pf||(pe.SetTraceNotification=pf={}));var zc;(function(n){n.type=new oe.NotificationType("$/logTrace")})(zc||(pe.LogTraceNotification=zc={}));var Eo;(function(n){n[n.Closed=1]="Closed",n[n.Disposed=2]="Disposed",n[n.AlreadyListening=3]="AlreadyListening"})(Eo||(pe.ConnectionErrors=Eo={}));var gs=class n extends Error{constructor(e,t){super(t),this.code=e,Object.setPrototypeOf(this,n.prototype)}};pe.ConnectionError=gs;var ff;(function(n){function e(t){let i=t;return i&&rt.func(i.cancelUndispatched)}n.is=e})(ff||(pe.ConnectionStrategy=ff={}));var $c;(function(n){function e(t){let i=t;return i&&(i.kind===void 0||i.kind==="id")&&rt.func(i.createCancellationTokenSource)&&(i.dispose===void 0||rt.func(i.dispose))}n.is=e})($c||(pe.IdCancellationReceiverStrategy=$c={}));var hf;(function(n){function e(t){let i=t;return i&&i.kind==="request"&&rt.func(i.createCancellationTokenSource)&&(i.dispose===void 0||rt.func(i.dispose))}n.is=e})(hf||(pe.RequestCancellationReceiverStrategy=hf={}));var Hc;(function(n){n.Message=Object.freeze({createCancellationTokenSource(t){return new cf.CancellationTokenSource}});function e(t){return $c.is(t)||hf.is(t)}n.is=e})(Hc||(pe.CancellationReceiverStrategy=Hc={}));var Bc;(function(n){n.Message=Object.freeze({sendCancellation(t,i){return t.sendNotification(Po.type,{id:i})},cleanup(t){}});function e(t){let i=t;return i&&rt.func(i.sendCancellation)&&rt.func(i.cleanup)}n.is=e})(Bc||(pe.CancellationSenderStrategy=Bc={}));var Wc;(function(n){n.Message=Object.freeze({receiver:Hc.Message,sender:Bc.Message});function e(t){let i=t;return i&&Hc.is(i.receiver)&&Bc.is(i.sender)}n.is=e})(Wc||(pe.CancellationStrategy=Wc={}));var Kc;(function(n){function e(t){let i=t;return i&&rt.func(i.handleMessage)}n.is=e})(Kc||(pe.MessageStrategy=Kc={}));var c_;(function(n){function e(t){let i=t;return i&&(Wc.is(i.cancellationStrategy)||ff.is(i.connectionStrategy)||Kc.is(i.messageStrategy))}n.is=e})(c_||(pe.ConnectionOptions=c_={}));var Vn;(function(n){n[n.New=1]="New",n[n.Listening=2]="Listening",n[n.Closed=3]="Closed",n[n.Disposed=4]="Disposed"})(Vn||(Vn={}));function QF(n,e,t,i){let r=t!==void 0?t:pe.NullLogger,s=0,o=0,a=0,c="2.0",u,l=new Map,p,h=new Map,x=new Map,f,y=new o_.LinkedMap,w=new Map,S=new Set,O=new Map,k=qe.Off,N=vn.Text,j,G=Vn.New,$=new Do.Emitter,Q=new Do.Emitter,te=new Do.Emitter,Oe=new Do.Emitter,Ye=new Do.Emitter,We=i&&i.cancellationStrategy?i.cancellationStrategy:Wc.Message;function Kt(C){if(C===null)throw new Error("Can't send requests with id null since the response can't be correlated.");return"req-"+C.toString()}function Ne(C){return C===null?"res-unknown-"+(++a).toString():"res-"+C.toString()}function ct(){return"not-"+(++o).toString()}function mt(C,L){oe.Message.isRequest(L)?C.set(Kt(L.id),L):oe.Message.isResponse(L)?C.set(Ne(L.id),L):C.set(ct(),L)}function se(C){}function ie(){return G===Vn.Listening}function de(){return G===Vn.Closed}function ut(){return G===Vn.Disposed}function Re(){(G===Vn.New||G===Vn.Listening)&&(G=Vn.Closed,Q.fire(void 0))}function Ke(C){$.fire([C,void 0,void 0])}function Sn(C){$.fire(C)}n.onClose(Re),n.onError(Ke),e.onClose(Re),e.onError(Sn);function gt(){f||y.size===0||(f=(0,s_.default)().timer.setImmediate(()=>{f=void 0,Cn()}))}function it(C){oe.Message.isRequest(C)?Ge(C):oe.Message.isNotification(C)?Un(C):oe.Message.isResponse(C)?Mn(C):ei(C)}function Cn(){if(y.size===0)return;let C=y.shift();try{let L=i?.messageStrategy;Kc.is(L)?L.handleMessage(C,it):it(C)}finally{gt()}}let Rn=C=>{try{if(oe.Message.isNotification(C)&&C.method===Po.type.method){let L=C.params.id,B=Kt(L),K=y.get(B);if(oe.Message.isRequest(K)){let Se=i?.connectionStrategy,Ae=Se&&Se.cancelUndispatched?Se.cancelUndispatched(K,se):void 0;if(Ae&&(Ae.error!==void 0||Ae.result!==void 0)){y.delete(B),O.delete(L),Ae.id=K.id,Dn(Ae,C.method,Date.now()),e.write(Ae).catch(()=>r.error("Sending response for canceled message failed."));return}}let De=O.get(L);if(De!==void 0){De.cancel(),Tn(C);return}else S.add(L)}mt(y,C)}finally{gt()}};function Ge(C){if(ut())return;function L(me,Pe,ye){let ze={jsonrpc:c,id:C.id};me instanceof oe.ResponseError?ze.error=me.toJson():ze.result=me===void 0?null:me,Dn(ze,Pe,ye),e.write(ze).catch(()=>r.error("Sending response failed."))}function B(me,Pe,ye){let ze={jsonrpc:c,id:C.id,error:me.toJson()};Dn(ze,Pe,ye),e.write(ze).catch(()=>r.error("Sending response failed."))}function K(me,Pe,ye){me===void 0&&(me=null);let ze={jsonrpc:c,id:C.id,result:me};Dn(ze,Pe,ye),e.write(ze).catch(()=>r.error("Sending response failed."))}Fi(C);let De=l.get(C.method),Se,Ae;De&&(Se=De.type,Ae=De.handler);let Ue=Date.now();if(Ae||u){let me=C.id??String(Date.now()),Pe=$c.is(We.receiver)?We.receiver.createCancellationTokenSource(me):We.receiver.createCancellationTokenSource(C);C.id!==null&&S.has(C.id)&&Pe.cancel(),C.id!==null&&O.set(me,Pe);try{let ye;if(Ae)if(C.params===void 0){if(Se!==void 0&&Se.numberOfParams!==0){B(new oe.ResponseError(oe.ErrorCodes.InvalidParams,`Request ${C.method} defines ${Se.numberOfParams} params but received none.`),C.method,Ue);return}ye=Ae(Pe.token)}else if(Array.isArray(C.params)){if(Se!==void 0&&Se.parameterStructures===oe.ParameterStructures.byName){B(new oe.ResponseError(oe.ErrorCodes.InvalidParams,`Request ${C.method} defines parameters by name but received parameters by position`),C.method,Ue);return}ye=Ae(...C.params,Pe.token)}else{if(Se!==void 0&&Se.parameterStructures===oe.ParameterStructures.byPosition){B(new oe.ResponseError(oe.ErrorCodes.InvalidParams,`Request ${C.method} defines parameters by position but received parameters by name`),C.method,Ue);return}ye=Ae(C.params,Pe.token)}else u&&(ye=u(C.method,C.params,Pe.token));let ze=ye;ye?ze.then?ze.then(lt=>{O.delete(me),L(lt,C.method,Ue)},lt=>{O.delete(me),lt instanceof oe.ResponseError?B(lt,C.method,Ue):lt&&rt.string(lt.message)?B(new oe.ResponseError(oe.ErrorCodes.InternalError,`Request ${C.method} failed with message: ${lt.message}`),C.method,Ue):B(new oe.ResponseError(oe.ErrorCodes.InternalError,`Request ${C.method} failed unexpectedly without providing any details.`),C.method,Ue)}):(O.delete(me),L(ye,C.method,Ue)):(O.delete(me),K(ye,C.method,Ue))}catch(ye){O.delete(me),ye instanceof oe.ResponseError?L(ye,C.method,Ue):ye&&rt.string(ye.message)?B(new oe.ResponseError(oe.ErrorCodes.InternalError,`Request ${C.method} failed with message: ${ye.message}`),C.method,Ue):B(new oe.ResponseError(oe.ErrorCodes.InternalError,`Request ${C.method} failed unexpectedly without providing any details.`),C.method,Ue)}}else B(new oe.ResponseError(oe.ErrorCodes.MethodNotFound,`Unhandled method ${C.method}`),C.method,Ue)}function Mn(C){if(!ut())if(C.id===null)C.error?r.error(`Received response message without id: Error is: +${JSON.stringify(C.error,void 0,4)}`):r.error("Received response message without id. No further error information provided.");else{let L=C.id,B=w.get(L);if(ti(C,B),B!==void 0){w.delete(L);try{if(C.error){let K=C.error;B.reject(new oe.ResponseError(K.code,K.message,K.data))}else if(C.result!==void 0)B.resolve(C.result);else throw new Error("Should never happen.")}catch(K){K.message?r.error(`Response handler '${B.method}' failed with message: ${K.message}`):r.error(`Response handler '${B.method}' failed unexpectedly.`)}}}}function Un(C){if(ut())return;let L,B;if(C.method===Po.type.method){let K=C.params.id;S.delete(K),Tn(C);return}else{let K=h.get(C.method);K&&(B=K.handler,L=K.type)}if(B||p)try{if(Tn(C),B)if(C.params===void 0)L!==void 0&&L.numberOfParams!==0&&L.parameterStructures!==oe.ParameterStructures.byName&&r.error(`Notification ${C.method} defines ${L.numberOfParams} params but received none.`),B();else if(Array.isArray(C.params)){let K=C.params;C.method===To.type.method&&K.length===2&&uf.is(K[0])?B({token:K[0],value:K[1]}):(L!==void 0&&(L.parameterStructures===oe.ParameterStructures.byName&&r.error(`Notification ${C.method} defines parameters by name but received parameters by position`),L.numberOfParams!==C.params.length&&r.error(`Notification ${C.method} defines ${L.numberOfParams} params but received ${K.length} arguments`)),B(...K))}else L!==void 0&&L.parameterStructures===oe.ParameterStructures.byPosition&&r.error(`Notification ${C.method} defines parameters by position but received parameters by name`),B(C.params);else p&&p(C.method,C.params)}catch(K){K.message?r.error(`Notification handler '${C.method}' failed with message: ${K.message}`):r.error(`Notification handler '${C.method}' failed unexpectedly.`)}else te.fire(C)}function ei(C){if(!C){r.error("Received empty message.");return}r.error(`Received message which is neither a response nor a notification message: +${JSON.stringify(C,null,4)}`);let L=C;if(rt.string(L.id)||rt.number(L.id)){let B=L.id,K=w.get(B);K&&K.reject(new Error("The received response has neither a result nor an error property."))}}function yt(C){if(C!=null)switch(k){case qe.Verbose:return JSON.stringify(C,null,4);case qe.Compact:return JSON.stringify(C);default:return}}function mi(C){if(!(k===qe.Off||!j))if(N===vn.Text){let L;(k===qe.Verbose||k===qe.Compact)&&C.params&&(L=`Params: ${yt(C.params)} + +`),j.log(`Sending request '${C.method} - (${C.id})'.`,L)}else vt("send-request",C)}function zn(C){if(!(k===qe.Off||!j))if(N===vn.Text){let L;(k===qe.Verbose||k===qe.Compact)&&(C.params?L=`Params: ${yt(C.params)} + +`:L=`No parameters provided. + +`),j.log(`Sending notification '${C.method}'.`,L)}else vt("send-notification",C)}function Dn(C,L,B){if(!(k===qe.Off||!j))if(N===vn.Text){let K;(k===qe.Verbose||k===qe.Compact)&&(C.error&&C.error.data?K=`Error data: ${yt(C.error.data)} + +`:C.result?K=`Result: ${yt(C.result)} + +`:C.error===void 0&&(K=`No result returned. + +`)),j.log(`Sending response '${L} - (${C.id})'. Processing request took ${Date.now()-B}ms`,K)}else vt("send-response",C)}function Fi(C){if(!(k===qe.Off||!j))if(N===vn.Text){let L;(k===qe.Verbose||k===qe.Compact)&&C.params&&(L=`Params: ${yt(C.params)} + +`),j.log(`Received request '${C.method} - (${C.id})'.`,L)}else vt("receive-request",C)}function Tn(C){if(!(k===qe.Off||!j||C.method===zc.type.method))if(N===vn.Text){let L;(k===qe.Verbose||k===qe.Compact)&&(C.params?L=`Params: ${yt(C.params)} + +`:L=`No parameters provided. + +`),j.log(`Received notification '${C.method}'.`,L)}else vt("receive-notification",C)}function ti(C,L){if(!(k===qe.Off||!j))if(N===vn.Text){let B;if((k===qe.Verbose||k===qe.Compact)&&(C.error&&C.error.data?B=`Error data: ${yt(C.error.data)} + +`:C.result?B=`Result: ${yt(C.result)} + +`:C.error===void 0&&(B=`No result returned. + +`)),L){let K=C.error?` Request failed: ${C.error.message} (${C.error.code}).`:"";j.log(`Received response '${L.method} - (${C.id})' in ${Date.now()-L.timerStart}ms.${K}`,B)}else j.log(`Received response ${C.id} without active response promise.`,B)}else vt("receive-response",C)}function vt(C,L){if(!j||k===qe.Off)return;let B={isLSPMessage:!0,type:C,message:L,timestamp:Date.now()};j.log(B)}function Lt(){if(de())throw new gs(Eo.Closed,"Connection is closed.");if(ut())throw new gs(Eo.Disposed,"Connection is disposed.")}function Nt(){if(ie())throw new gs(Eo.AlreadyListening,"Connection is already listening")}function fn(){if(!ie())throw new Error("Call listen() first.")}function Zt(C){return C===void 0?null:C}function ni(C){if(C!==null)return C}function gi(C){return C!=null&&!Array.isArray(C)&&typeof C=="object"}function $n(C,L){switch(C){case oe.ParameterStructures.auto:return gi(L)?ni(L):[Zt(L)];case oe.ParameterStructures.byName:if(!gi(L))throw new Error("Received parameters by name but param is not an object literal.");return ni(L);case oe.ParameterStructures.byPosition:return[Zt(L)];default:throw new Error(`Unknown parameter structure ${C.toString()}`)}}function vi(C,L){let B,K=C.numberOfParams;switch(K){case 0:B=void 0;break;case 1:B=$n(C.parameterStructures,L[0]);break;default:B=[];for(let De=0;De{Lt();let B,K;if(rt.string(C)){B=C;let Se=L[0],Ae=0,Ue=oe.ParameterStructures.auto;oe.ParameterStructures.is(Se)&&(Ae=1,Ue=Se);let me=L.length,Pe=me-Ae;switch(Pe){case 0:K=void 0;break;case 1:K=$n(Ue,L[Ae]);break;default:if(Ue===oe.ParameterStructures.byName)throw new Error(`Received ${Pe} parameters for 'by Name' notification parameter structure.`);K=L.slice(Ae,me).map(ye=>Zt(ye));break}}else{let Se=L;B=C.method,K=vi(C,Se)}let De={jsonrpc:c,method:B,params:K};return zn(De),e.write(De).catch(Se=>{throw r.error("Sending notification failed."),Se})},onNotification:(C,L)=>{Lt();let B;return rt.func(C)?p=C:L&&(rt.string(C)?(B=C,h.set(C,{type:void 0,handler:L})):(B=C.method,h.set(C.method,{type:C,handler:L}))),{dispose:()=>{B!==void 0?h.delete(B):p=void 0}}},onProgress:(C,L,B)=>{if(x.has(L))throw new Error(`Progress handler for token ${L} already registered`);return x.set(L,B),{dispose:()=>{x.delete(L)}}},sendProgress:(C,L,B)=>Gt.sendNotification(To.type,{token:L,value:B}),onUnhandledProgress:Oe.event,sendRequest:(C,...L)=>{Lt(),fn();let B,K,De;if(rt.string(C)){B=C;let me=L[0],Pe=L[L.length-1],ye=0,ze=oe.ParameterStructures.auto;oe.ParameterStructures.is(me)&&(ye=1,ze=me);let lt=L.length;cf.CancellationToken.is(Pe)&&(lt=lt-1,De=Pe);let Dt=lt-ye;switch(Dt){case 0:K=void 0;break;case 1:K=$n(ze,L[ye]);break;default:if(ze===oe.ParameterStructures.byName)throw new Error(`Received ${Dt} parameters for 'by Name' request parameter structure.`);K=L.slice(ye,lt).map(Ni=>Zt(Ni));break}}else{let me=L;B=C.method,K=vi(C,me);let Pe=C.numberOfParams;De=cf.CancellationToken.is(me[Pe])?me[Pe]:void 0}let Se=s++,Ae;De&&(Ae=De.onCancellationRequested(()=>{let me=We.sender.sendCancellation(Gt,Se);return me===void 0?(r.log(`Received no promise from cancellation strategy when cancelling id ${Se}`),Promise.resolve()):me.catch(()=>{r.log(`Sending cancellation messages for id ${Se} failed`)})}));let Ue={jsonrpc:c,id:Se,method:B,params:K};return mi(Ue),typeof We.sender.enableCancellation=="function"&&We.sender.enableCancellation(Ue),new Promise(async(me,Pe)=>{let ye=Dt=>{me(Dt),We.sender.cleanup(Se),Ae?.dispose()},ze=Dt=>{Pe(Dt),We.sender.cleanup(Se),Ae?.dispose()},lt={method:B,timerStart:Date.now(),resolve:ye,reject:ze};try{await e.write(Ue),w.set(Se,lt)}catch(Dt){throw r.error("Sending request failed."),lt.reject(new oe.ResponseError(oe.ErrorCodes.MessageWriteError,Dt.message?Dt.message:"Unknown reason")),Dt}})},onRequest:(C,L)=>{Lt();let B=null;return df.is(C)?(B=void 0,u=C):rt.string(C)?(B=null,L!==void 0&&(B=C,l.set(C,{handler:L,type:void 0}))):L!==void 0&&(B=C.method,l.set(C.method,{type:C,handler:L})),{dispose:()=>{B!==null&&(B!==void 0?l.delete(B):u=void 0)}}},hasPendingResponse:()=>w.size>0,trace:async(C,L,B)=>{let K=!1,De=vn.Text;B!==void 0&&(rt.boolean(B)?K=B:(K=B.sendNotification||!1,De=B.traceFormat||vn.Text)),k=C,N=De,k===qe.Off?j=void 0:j=L,K&&!de()&&!ut()&&await Gt.sendNotification(pf.type,{value:qe.toString(C)})},onError:$.event,onClose:Q.event,onUnhandledNotification:te.event,onDispose:Ye.event,end:()=>{e.end()},dispose:()=>{if(ut())return;G=Vn.Disposed,Ye.fire(void 0);let C=new oe.ResponseError(oe.ErrorCodes.PendingResponseRejected,"Pending response rejected since connection got disposed");for(let L of w.values())L.reject(C);w=new Map,O=new Map,S=new Set,y=new o_.LinkedMap,rt.func(e.dispose)&&e.dispose(),rt.func(n.dispose)&&n.dispose()},listen:()=>{Lt(),Nt(),G=Vn.Listening,n.listen(Rn)},inspect:()=>{(0,s_.default)().console.log("inspect")}};return Gt.onNotification(zc.type,C=>{if(k===qe.Off||!j)return;let L=k===qe.Verbose||k===qe.Compact;j.log(C.message,L?C.verbose:void 0)}),Gt.onNotification(To.type,C=>{let L=x.get(C.token);L?L(C.value):Oe.fire(C)}),Gt}pe.createMessageConnection=QF});var Gc=T(I=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});I.ProgressType=I.ProgressToken=I.createMessageConnection=I.NullLogger=I.ConnectionOptions=I.ConnectionStrategy=I.AbstractMessageBuffer=I.WriteableStreamMessageWriter=I.AbstractMessageWriter=I.MessageWriter=I.ReadableStreamMessageReader=I.AbstractMessageReader=I.MessageReader=I.SharedArrayReceiverStrategy=I.SharedArraySenderStrategy=I.CancellationToken=I.CancellationTokenSource=I.Emitter=I.Event=I.Disposable=I.LRUCache=I.Touch=I.LinkedMap=I.ParameterStructures=I.NotificationType9=I.NotificationType8=I.NotificationType7=I.NotificationType6=I.NotificationType5=I.NotificationType4=I.NotificationType3=I.NotificationType2=I.NotificationType1=I.NotificationType0=I.NotificationType=I.ErrorCodes=I.ResponseError=I.RequestType9=I.RequestType8=I.RequestType7=I.RequestType6=I.RequestType5=I.RequestType4=I.RequestType3=I.RequestType2=I.RequestType1=I.RequestType0=I.RequestType=I.Message=I.RAL=void 0;I.MessageStrategy=I.CancellationStrategy=I.CancellationSenderStrategy=I.CancellationReceiverStrategy=I.ConnectionError=I.ConnectionErrors=I.LogTraceNotification=I.SetTraceNotification=I.TraceFormat=I.TraceValues=I.Trace=void 0;var Ve=Mp();Object.defineProperty(I,"Message",{enumerable:!0,get:function(){return Ve.Message}});Object.defineProperty(I,"RequestType",{enumerable:!0,get:function(){return Ve.RequestType}});Object.defineProperty(I,"RequestType0",{enumerable:!0,get:function(){return Ve.RequestType0}});Object.defineProperty(I,"RequestType1",{enumerable:!0,get:function(){return Ve.RequestType1}});Object.defineProperty(I,"RequestType2",{enumerable:!0,get:function(){return Ve.RequestType2}});Object.defineProperty(I,"RequestType3",{enumerable:!0,get:function(){return Ve.RequestType3}});Object.defineProperty(I,"RequestType4",{enumerable:!0,get:function(){return Ve.RequestType4}});Object.defineProperty(I,"RequestType5",{enumerable:!0,get:function(){return Ve.RequestType5}});Object.defineProperty(I,"RequestType6",{enumerable:!0,get:function(){return Ve.RequestType6}});Object.defineProperty(I,"RequestType7",{enumerable:!0,get:function(){return Ve.RequestType7}});Object.defineProperty(I,"RequestType8",{enumerable:!0,get:function(){return Ve.RequestType8}});Object.defineProperty(I,"RequestType9",{enumerable:!0,get:function(){return Ve.RequestType9}});Object.defineProperty(I,"ResponseError",{enumerable:!0,get:function(){return Ve.ResponseError}});Object.defineProperty(I,"ErrorCodes",{enumerable:!0,get:function(){return Ve.ErrorCodes}});Object.defineProperty(I,"NotificationType",{enumerable:!0,get:function(){return Ve.NotificationType}});Object.defineProperty(I,"NotificationType0",{enumerable:!0,get:function(){return Ve.NotificationType0}});Object.defineProperty(I,"NotificationType1",{enumerable:!0,get:function(){return Ve.NotificationType1}});Object.defineProperty(I,"NotificationType2",{enumerable:!0,get:function(){return Ve.NotificationType2}});Object.defineProperty(I,"NotificationType3",{enumerable:!0,get:function(){return Ve.NotificationType3}});Object.defineProperty(I,"NotificationType4",{enumerable:!0,get:function(){return Ve.NotificationType4}});Object.defineProperty(I,"NotificationType5",{enumerable:!0,get:function(){return Ve.NotificationType5}});Object.defineProperty(I,"NotificationType6",{enumerable:!0,get:function(){return Ve.NotificationType6}});Object.defineProperty(I,"NotificationType7",{enumerable:!0,get:function(){return Ve.NotificationType7}});Object.defineProperty(I,"NotificationType8",{enumerable:!0,get:function(){return Ve.NotificationType8}});Object.defineProperty(I,"NotificationType9",{enumerable:!0,get:function(){return Ve.NotificationType9}});Object.defineProperty(I,"ParameterStructures",{enumerable:!0,get:function(){return Ve.ParameterStructures}});var mf=zp();Object.defineProperty(I,"LinkedMap",{enumerable:!0,get:function(){return mf.LinkedMap}});Object.defineProperty(I,"LRUCache",{enumerable:!0,get:function(){return mf.LRUCache}});Object.defineProperty(I,"Touch",{enumerable:!0,get:function(){return mf.Touch}});var ZF=Vw();Object.defineProperty(I,"Disposable",{enumerable:!0,get:function(){return ZF.Disposable}});var l_=ps();Object.defineProperty(I,"Event",{enumerable:!0,get:function(){return l_.Event}});Object.defineProperty(I,"Emitter",{enumerable:!0,get:function(){return l_.Emitter}});var d_=Ic();Object.defineProperty(I,"CancellationTokenSource",{enumerable:!0,get:function(){return d_.CancellationTokenSource}});Object.defineProperty(I,"CancellationToken",{enumerable:!0,get:function(){return d_.CancellationToken}});var p_=Jw();Object.defineProperty(I,"SharedArraySenderStrategy",{enumerable:!0,get:function(){return p_.SharedArraySenderStrategy}});Object.defineProperty(I,"SharedArrayReceiverStrategy",{enumerable:!0,get:function(){return p_.SharedArrayReceiverStrategy}});var gf=Qw();Object.defineProperty(I,"MessageReader",{enumerable:!0,get:function(){return gf.MessageReader}});Object.defineProperty(I,"AbstractMessageReader",{enumerable:!0,get:function(){return gf.AbstractMessageReader}});Object.defineProperty(I,"ReadableStreamMessageReader",{enumerable:!0,get:function(){return gf.ReadableStreamMessageReader}});var vf=i_();Object.defineProperty(I,"MessageWriter",{enumerable:!0,get:function(){return vf.MessageWriter}});Object.defineProperty(I,"AbstractMessageWriter",{enumerable:!0,get:function(){return vf.AbstractMessageWriter}});Object.defineProperty(I,"WriteableStreamMessageWriter",{enumerable:!0,get:function(){return vf.WriteableStreamMessageWriter}});var eN=r_();Object.defineProperty(I,"AbstractMessageBuffer",{enumerable:!0,get:function(){return eN.AbstractMessageBuffer}});var jt=u_();Object.defineProperty(I,"ConnectionStrategy",{enumerable:!0,get:function(){return jt.ConnectionStrategy}});Object.defineProperty(I,"ConnectionOptions",{enumerable:!0,get:function(){return jt.ConnectionOptions}});Object.defineProperty(I,"NullLogger",{enumerable:!0,get:function(){return jt.NullLogger}});Object.defineProperty(I,"createMessageConnection",{enumerable:!0,get:function(){return jt.createMessageConnection}});Object.defineProperty(I,"ProgressToken",{enumerable:!0,get:function(){return jt.ProgressToken}});Object.defineProperty(I,"ProgressType",{enumerable:!0,get:function(){return jt.ProgressType}});Object.defineProperty(I,"Trace",{enumerable:!0,get:function(){return jt.Trace}});Object.defineProperty(I,"TraceValues",{enumerable:!0,get:function(){return jt.TraceValues}});Object.defineProperty(I,"TraceFormat",{enumerable:!0,get:function(){return jt.TraceFormat}});Object.defineProperty(I,"SetTraceNotification",{enumerable:!0,get:function(){return jt.SetTraceNotification}});Object.defineProperty(I,"LogTraceNotification",{enumerable:!0,get:function(){return jt.LogTraceNotification}});Object.defineProperty(I,"ConnectionErrors",{enumerable:!0,get:function(){return jt.ConnectionErrors}});Object.defineProperty(I,"ConnectionError",{enumerable:!0,get:function(){return jt.ConnectionError}});Object.defineProperty(I,"CancellationReceiverStrategy",{enumerable:!0,get:function(){return jt.CancellationReceiverStrategy}});Object.defineProperty(I,"CancellationSenderStrategy",{enumerable:!0,get:function(){return jt.CancellationSenderStrategy}});Object.defineProperty(I,"CancellationStrategy",{enumerable:!0,get:function(){return jt.CancellationStrategy}});Object.defineProperty(I,"MessageStrategy",{enumerable:!0,get:function(){return jt.MessageStrategy}});var tN=nr();I.RAL=tN.default});var m_=T(wf=>{"use strict";Object.defineProperty(wf,"__esModule",{value:!0});var f_=require("util"),Ri=Gc(),Vc=class n extends Ri.AbstractMessageBuffer{constructor(e="utf-8"){super(e)}emptyBuffer(){return n.emptyBuffer}fromString(e,t){return Buffer.from(e,t)}toString(e,t){return e instanceof Buffer?e.toString(t):new f_.TextDecoder(t).decode(e)}asNative(e,t){return t===void 0?e instanceof Buffer?e:Buffer.from(e):e instanceof Buffer?e.slice(0,t):Buffer.from(e,0,t)}allocNative(e){return Buffer.allocUnsafe(e)}};Vc.emptyBuffer=Buffer.allocUnsafe(0);var xf=class{constructor(e){this.stream=e}onClose(e){return this.stream.on("close",e),Ri.Disposable.create(()=>this.stream.off("close",e))}onError(e){return this.stream.on("error",e),Ri.Disposable.create(()=>this.stream.off("error",e))}onEnd(e){return this.stream.on("end",e),Ri.Disposable.create(()=>this.stream.off("end",e))}onData(e){return this.stream.on("data",e),Ri.Disposable.create(()=>this.stream.off("data",e))}},yf=class{constructor(e){this.stream=e}onClose(e){return this.stream.on("close",e),Ri.Disposable.create(()=>this.stream.off("close",e))}onError(e){return this.stream.on("error",e),Ri.Disposable.create(()=>this.stream.off("error",e))}onEnd(e){return this.stream.on("end",e),Ri.Disposable.create(()=>this.stream.off("end",e))}write(e,t){return new Promise((i,r)=>{let s=o=>{o==null?i():r(o)};typeof e=="string"?this.stream.write(e,t,s):this.stream.write(e,s)})}end(){this.stream.end()}},h_=Object.freeze({messageBuffer:Object.freeze({create:n=>new Vc(n)}),applicationJson:Object.freeze({encoder:Object.freeze({name:"application/json",encode:(n,e)=>{try{return Promise.resolve(Buffer.from(JSON.stringify(n,void 0,0),e.charset))}catch(t){return Promise.reject(t)}}}),decoder:Object.freeze({name:"application/json",decode:(n,e)=>{try{return n instanceof Buffer?Promise.resolve(JSON.parse(n.toString(e.charset))):Promise.resolve(JSON.parse(new f_.TextDecoder(e.charset).decode(n)))}catch(t){return Promise.reject(t)}}})}),stream:Object.freeze({asReadableStream:n=>new xf(n),asWritableStream:n=>new yf(n)}),console,timer:Object.freeze({setTimeout(n,e,...t){let i=setTimeout(n,e,...t);return{dispose:()=>clearTimeout(i)}},setImmediate(n,...e){let t=setImmediate(n,...e);return{dispose:()=>clearImmediate(t)}},setInterval(n,e,...t){let i=setInterval(n,e,...t);return{dispose:()=>clearInterval(i)}}})});function bf(){return h_}(function(n){function e(){Ri.RAL.install(h_)}n.install=e})(bf||(bf={}));wf.default=bf});var Tr=T(_e=>{"use strict";var nN=_e&&_e.__createBinding||(Object.create?function(n,e,t,i){i===void 0&&(i=t);var r=Object.getOwnPropertyDescriptor(e,t);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,i,r)}:function(n,e,t,i){i===void 0&&(i=t),n[i]=e[t]}),iN=_e&&_e.__exportStar||function(n,e){for(var t in n)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&nN(e,n,t)};Object.defineProperty(_e,"__esModule",{value:!0});_e.createMessageConnection=_e.createServerSocketTransport=_e.createClientSocketTransport=_e.createServerPipeTransport=_e.createClientPipeTransport=_e.generateRandomPipeName=_e.StreamMessageWriter=_e.StreamMessageReader=_e.SocketMessageWriter=_e.SocketMessageReader=_e.PortMessageWriter=_e.PortMessageReader=_e.IPCMessageWriter=_e.IPCMessageReader=void 0;var vs=m_();vs.default.install();var g_=require("path"),rN=require("os"),sN=require("crypto"),Yc=require("net"),xn=Gc();iN(Gc(),_e);var _f=class extends xn.AbstractMessageReader{constructor(e){super(),this.process=e;let t=this.process;t.on("error",i=>this.fireError(i)),t.on("close",()=>this.fireClose())}listen(e){return this.process.on("message",e),xn.Disposable.create(()=>this.process.off("message",e))}};_e.IPCMessageReader=_f;var Sf=class extends xn.AbstractMessageWriter{constructor(e){super(),this.process=e,this.errorCount=0;let t=this.process;t.on("error",i=>this.fireError(i)),t.on("close",()=>this.fireClose)}write(e){try{return typeof this.process.send=="function"&&this.process.send(e,void 0,void 0,t=>{t?(this.errorCount++,this.handleError(t,e)):this.errorCount=0}),Promise.resolve()}catch(t){return this.handleError(t,e),Promise.reject(t)}}handleError(e,t){this.errorCount++,this.fireError(e,t,this.errorCount)}end(){}};_e.IPCMessageWriter=Sf;var Cf=class extends xn.AbstractMessageReader{constructor(e){super(),this.onData=new xn.Emitter,e.on("close",()=>this.fireClose),e.on("error",t=>this.fireError(t)),e.on("message",t=>{this.onData.fire(t)})}listen(e){return this.onData.event(e)}};_e.PortMessageReader=Cf;var Rf=class extends xn.AbstractMessageWriter{constructor(e){super(),this.port=e,this.errorCount=0,e.on("close",()=>this.fireClose()),e.on("error",t=>this.fireError(t))}write(e){try{return this.port.postMessage(e),Promise.resolve()}catch(t){return this.handleError(t,e),Promise.reject(t)}}handleError(e,t){this.errorCount++,this.fireError(e,t,this.errorCount)}end(){}};_e.PortMessageWriter=Rf;var Rr=class extends xn.ReadableStreamMessageReader{constructor(e,t="utf-8"){super((0,vs.default)().stream.asReadableStream(e),t)}};_e.SocketMessageReader=Rr;var Dr=class extends xn.WriteableStreamMessageWriter{constructor(e,t){super((0,vs.default)().stream.asWritableStream(e),t),this.socket=e}dispose(){super.dispose(),this.socket.destroy()}};_e.SocketMessageWriter=Dr;var Xc=class extends xn.ReadableStreamMessageReader{constructor(e,t){super((0,vs.default)().stream.asReadableStream(e),t)}};_e.StreamMessageReader=Xc;var Jc=class extends xn.WriteableStreamMessageWriter{constructor(e,t){super((0,vs.default)().stream.asWritableStream(e),t)}};_e.StreamMessageWriter=Jc;var v_=process.env.XDG_RUNTIME_DIR,oN=new Map([["linux",107],["darwin",103]]);function aN(){let n=(0,sN.randomBytes)(21).toString("hex");if(process.platform==="win32")return`\\\\.\\pipe\\vscode-jsonrpc-${n}-sock`;let e;v_?e=g_.join(v_,`vscode-ipc-${n}.sock`):e=g_.join(rN.tmpdir(),`vscode-${n}.sock`);let t=oN.get(process.platform);return t!==void 0&&e.length>t&&(0,vs.default)().console.warn(`WARNING: IPC handle "${e}" is longer than ${t} characters.`),e}_e.generateRandomPipeName=aN;function cN(n,e="utf-8"){let t,i=new Promise((r,s)=>{t=r});return new Promise((r,s)=>{let o=(0,Yc.createServer)(a=>{o.close(),t([new Rr(a,e),new Dr(a,e)])});o.on("error",s),o.listen(n,()=>{o.removeListener("error",s),r({onConnected:()=>i})})})}_e.createClientPipeTransport=cN;function uN(n,e="utf-8"){let t=(0,Yc.createConnection)(n);return[new Rr(t,e),new Dr(t,e)]}_e.createServerPipeTransport=uN;function lN(n,e="utf-8"){let t,i=new Promise((r,s)=>{t=r});return new Promise((r,s)=>{let o=(0,Yc.createServer)(a=>{o.close(),t([new Rr(a,e),new Dr(a,e)])});o.on("error",s),o.listen(n,"127.0.0.1",()=>{o.removeListener("error",s),r({onConnected:()=>i})})})}_e.createClientSocketTransport=lN;function dN(n,e="utf-8"){let t=(0,Yc.createConnection)(n,"127.0.0.1");return[new Rr(t,e),new Dr(t,e)]}_e.createServerSocketTransport=dN;function pN(n){let e=n;return e.read!==void 0&&e.addListener!==void 0}function fN(n){let e=n;return e.write!==void 0&&e.addListener!==void 0}function hN(n,e,t,i){t||(t=xn.NullLogger);let r=pN(n)?new Xc(n):n,s=fN(e)?new Jc(e):e;return xn.ConnectionStrategy.is(i)&&(i={connectionStrategy:i}),(0,xn.createMessageConnection)(r,s,t,i)}_e.createMessageConnection=hN});var Df=T((k2,x_)=>{"use strict";x_.exports=Tr()});var Zc=T((y_,Qc)=>{(function(n){if(typeof Qc=="object"&&typeof Qc.exports=="object"){var e=n(require,y_);e!==void 0&&(Qc.exports=e)}else typeof define=="function"&&define.amd&&define(["require","exports"],n)})(function(n,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TextDocument=e.EOL=e.WorkspaceFolder=e.InlineCompletionContext=e.SelectedCompletionInfo=e.InlineCompletionTriggerKind=e.InlineCompletionList=e.InlineCompletionItem=e.StringValue=e.InlayHint=e.InlayHintLabelPart=e.InlayHintKind=e.InlineValueContext=e.InlineValueEvaluatableExpression=e.InlineValueVariableLookup=e.InlineValueText=e.SemanticTokens=e.SemanticTokenModifiers=e.SemanticTokenTypes=e.SelectionRange=e.DocumentLink=e.FormattingOptions=e.CodeLens=e.CodeAction=e.CodeActionContext=e.CodeActionTriggerKind=e.CodeActionKind=e.DocumentSymbol=e.WorkspaceSymbol=e.SymbolInformation=e.SymbolTag=e.SymbolKind=e.DocumentHighlight=e.DocumentHighlightKind=e.SignatureInformation=e.ParameterInformation=e.Hover=e.MarkedString=e.CompletionList=e.CompletionItem=e.CompletionItemLabelDetails=e.InsertTextMode=e.InsertReplaceEdit=e.CompletionItemTag=e.InsertTextFormat=e.CompletionItemKind=e.MarkupContent=e.MarkupKind=e.TextDocumentItem=e.OptionalVersionedTextDocumentIdentifier=e.VersionedTextDocumentIdentifier=e.TextDocumentIdentifier=e.WorkspaceChange=e.WorkspaceEdit=e.DeleteFile=e.RenameFile=e.CreateFile=e.TextDocumentEdit=e.AnnotatedTextEdit=e.ChangeAnnotationIdentifier=e.ChangeAnnotation=e.TextEdit=e.Command=e.Diagnostic=e.CodeDescription=e.DiagnosticTag=e.DiagnosticSeverity=e.DiagnosticRelatedInformation=e.FoldingRange=e.FoldingRangeKind=e.ColorPresentation=e.ColorInformation=e.Color=e.LocationLink=e.Location=e.Range=e.Position=e.uinteger=e.integer=e.URI=e.DocumentUri=void 0;var t;(function(v){function R(D){return typeof D=="string"}v.is=R})(t||(e.DocumentUri=t={}));var i;(function(v){function R(D){return typeof D=="string"}v.is=R})(i||(e.URI=i={}));var r;(function(v){v.MIN_VALUE=-2147483648,v.MAX_VALUE=2147483647;function R(D){return typeof D=="number"&&v.MIN_VALUE<=D&&D<=v.MAX_VALUE}v.is=R})(r||(e.integer=r={}));var s;(function(v){v.MIN_VALUE=0,v.MAX_VALUE=2147483647;function R(D){return typeof D=="number"&&v.MIN_VALUE<=D&&D<=v.MAX_VALUE}v.is=R})(s||(e.uinteger=s={}));var o;(function(v){function R(b,m){return b===Number.MAX_VALUE&&(b=s.MAX_VALUE),m===Number.MAX_VALUE&&(m=s.MAX_VALUE),{line:b,character:m}}v.create=R;function D(b){var m=b;return P.objectLiteral(m)&&P.uinteger(m.line)&&P.uinteger(m.character)}v.is=D})(o||(e.Position=o={}));var a;(function(v){function R(b,m,F,M){if(P.uinteger(b)&&P.uinteger(m)&&P.uinteger(F)&&P.uinteger(M))return{start:o.create(b,m),end:o.create(F,M)};if(o.is(b)&&o.is(m))return{start:b,end:m};throw new Error("Range#create called with invalid arguments[".concat(b,", ").concat(m,", ").concat(F,", ").concat(M,"]"))}v.create=R;function D(b){var m=b;return P.objectLiteral(m)&&o.is(m.start)&&o.is(m.end)}v.is=D})(a||(e.Range=a={}));var c;(function(v){function R(b,m){return{uri:b,range:m}}v.create=R;function D(b){var m=b;return P.objectLiteral(m)&&a.is(m.range)&&(P.string(m.uri)||P.undefined(m.uri))}v.is=D})(c||(e.Location=c={}));var u;(function(v){function R(b,m,F,M){return{targetUri:b,targetRange:m,targetSelectionRange:F,originSelectionRange:M}}v.create=R;function D(b){var m=b;return P.objectLiteral(m)&&a.is(m.targetRange)&&P.string(m.targetUri)&&a.is(m.targetSelectionRange)&&(a.is(m.originSelectionRange)||P.undefined(m.originSelectionRange))}v.is=D})(u||(e.LocationLink=u={}));var l;(function(v){function R(b,m,F,M){return{red:b,green:m,blue:F,alpha:M}}v.create=R;function D(b){var m=b;return P.objectLiteral(m)&&P.numberRange(m.red,0,1)&&P.numberRange(m.green,0,1)&&P.numberRange(m.blue,0,1)&&P.numberRange(m.alpha,0,1)}v.is=D})(l||(e.Color=l={}));var p;(function(v){function R(b,m){return{range:b,color:m}}v.create=R;function D(b){var m=b;return P.objectLiteral(m)&&a.is(m.range)&&l.is(m.color)}v.is=D})(p||(e.ColorInformation=p={}));var h;(function(v){function R(b,m,F){return{label:b,textEdit:m,additionalTextEdits:F}}v.create=R;function D(b){var m=b;return P.objectLiteral(m)&&P.string(m.label)&&(P.undefined(m.textEdit)||j.is(m))&&(P.undefined(m.additionalTextEdits)||P.typedArray(m.additionalTextEdits,j.is))}v.is=D})(h||(e.ColorPresentation=h={}));var x;(function(v){v.Comment="comment",v.Imports="imports",v.Region="region"})(x||(e.FoldingRangeKind=x={}));var f;(function(v){function R(b,m,F,M,ce,Qe){var $e={startLine:b,endLine:m};return P.defined(F)&&($e.startCharacter=F),P.defined(M)&&($e.endCharacter=M),P.defined(ce)&&($e.kind=ce),P.defined(Qe)&&($e.collapsedText=Qe),$e}v.create=R;function D(b){var m=b;return P.objectLiteral(m)&&P.uinteger(m.startLine)&&P.uinteger(m.startLine)&&(P.undefined(m.startCharacter)||P.uinteger(m.startCharacter))&&(P.undefined(m.endCharacter)||P.uinteger(m.endCharacter))&&(P.undefined(m.kind)||P.string(m.kind))}v.is=D})(f||(e.FoldingRange=f={}));var y;(function(v){function R(b,m){return{location:b,message:m}}v.create=R;function D(b){var m=b;return P.defined(m)&&c.is(m.location)&&P.string(m.message)}v.is=D})(y||(e.DiagnosticRelatedInformation=y={}));var w;(function(v){v.Error=1,v.Warning=2,v.Information=3,v.Hint=4})(w||(e.DiagnosticSeverity=w={}));var S;(function(v){v.Unnecessary=1,v.Deprecated=2})(S||(e.DiagnosticTag=S={}));var O;(function(v){function R(D){var b=D;return P.objectLiteral(b)&&P.string(b.href)}v.is=R})(O||(e.CodeDescription=O={}));var k;(function(v){function R(b,m,F,M,ce,Qe){var $e={range:b,message:m};return P.defined(F)&&($e.severity=F),P.defined(M)&&($e.code=M),P.defined(ce)&&($e.source=ce),P.defined(Qe)&&($e.relatedInformation=Qe),$e}v.create=R;function D(b){var m,F=b;return P.defined(F)&&a.is(F.range)&&P.string(F.message)&&(P.number(F.severity)||P.undefined(F.severity))&&(P.integer(F.code)||P.string(F.code)||P.undefined(F.code))&&(P.undefined(F.codeDescription)||P.string((m=F.codeDescription)===null||m===void 0?void 0:m.href))&&(P.string(F.source)||P.undefined(F.source))&&(P.undefined(F.relatedInformation)||P.typedArray(F.relatedInformation,y.is))}v.is=D})(k||(e.Diagnostic=k={}));var N;(function(v){function R(b,m){for(var F=[],M=2;M0&&(ce.arguments=F),ce}v.create=R;function D(b){var m=b;return P.defined(m)&&P.string(m.title)&&P.string(m.command)}v.is=D})(N||(e.Command=N={}));var j;(function(v){function R(F,M){return{range:F,newText:M}}v.replace=R;function D(F,M){return{range:{start:F,end:F},newText:M}}v.insert=D;function b(F){return{range:F,newText:""}}v.del=b;function m(F){var M=F;return P.objectLiteral(M)&&P.string(M.newText)&&a.is(M.range)}v.is=m})(j||(e.TextEdit=j={}));var G;(function(v){function R(b,m,F){var M={label:b};return m!==void 0&&(M.needsConfirmation=m),F!==void 0&&(M.description=F),M}v.create=R;function D(b){var m=b;return P.objectLiteral(m)&&P.string(m.label)&&(P.boolean(m.needsConfirmation)||m.needsConfirmation===void 0)&&(P.string(m.description)||m.description===void 0)}v.is=D})(G||(e.ChangeAnnotation=G={}));var $;(function(v){function R(D){var b=D;return P.string(b)}v.is=R})($||(e.ChangeAnnotationIdentifier=$={}));var Q;(function(v){function R(F,M,ce){return{range:F,newText:M,annotationId:ce}}v.replace=R;function D(F,M,ce){return{range:{start:F,end:F},newText:M,annotationId:ce}}v.insert=D;function b(F,M){return{range:F,newText:"",annotationId:M}}v.del=b;function m(F){var M=F;return j.is(M)&&(G.is(M.annotationId)||$.is(M.annotationId))}v.is=m})(Q||(e.AnnotatedTextEdit=Q={}));var te;(function(v){function R(b,m){return{textDocument:b,edits:m}}v.create=R;function D(b){var m=b;return P.defined(m)&&de.is(m.textDocument)&&Array.isArray(m.edits)}v.is=D})(te||(e.TextDocumentEdit=te={}));var Oe;(function(v){function R(b,m,F){var M={kind:"create",uri:b};return m!==void 0&&(m.overwrite!==void 0||m.ignoreIfExists!==void 0)&&(M.options=m),F!==void 0&&(M.annotationId=F),M}v.create=R;function D(b){var m=b;return m&&m.kind==="create"&&P.string(m.uri)&&(m.options===void 0||(m.options.overwrite===void 0||P.boolean(m.options.overwrite))&&(m.options.ignoreIfExists===void 0||P.boolean(m.options.ignoreIfExists)))&&(m.annotationId===void 0||$.is(m.annotationId))}v.is=D})(Oe||(e.CreateFile=Oe={}));var Ye;(function(v){function R(b,m,F,M){var ce={kind:"rename",oldUri:b,newUri:m};return F!==void 0&&(F.overwrite!==void 0||F.ignoreIfExists!==void 0)&&(ce.options=F),M!==void 0&&(ce.annotationId=M),ce}v.create=R;function D(b){var m=b;return m&&m.kind==="rename"&&P.string(m.oldUri)&&P.string(m.newUri)&&(m.options===void 0||(m.options.overwrite===void 0||P.boolean(m.options.overwrite))&&(m.options.ignoreIfExists===void 0||P.boolean(m.options.ignoreIfExists)))&&(m.annotationId===void 0||$.is(m.annotationId))}v.is=D})(Ye||(e.RenameFile=Ye={}));var We;(function(v){function R(b,m,F){var M={kind:"delete",uri:b};return m!==void 0&&(m.recursive!==void 0||m.ignoreIfNotExists!==void 0)&&(M.options=m),F!==void 0&&(M.annotationId=F),M}v.create=R;function D(b){var m=b;return m&&m.kind==="delete"&&P.string(m.uri)&&(m.options===void 0||(m.options.recursive===void 0||P.boolean(m.options.recursive))&&(m.options.ignoreIfNotExists===void 0||P.boolean(m.options.ignoreIfNotExists)))&&(m.annotationId===void 0||$.is(m.annotationId))}v.is=D})(We||(e.DeleteFile=We={}));var Kt;(function(v){function R(D){var b=D;return b&&(b.changes!==void 0||b.documentChanges!==void 0)&&(b.documentChanges===void 0||b.documentChanges.every(function(m){return P.string(m.kind)?Oe.is(m)||Ye.is(m)||We.is(m):te.is(m)}))}v.is=R})(Kt||(e.WorkspaceEdit=Kt={}));var Ne=function(){function v(R,D){this.edits=R,this.changeAnnotations=D}return v.prototype.insert=function(R,D,b){var m,F;if(b===void 0?m=j.insert(R,D):$.is(b)?(F=b,m=Q.insert(R,D,b)):(this.assertChangeAnnotations(this.changeAnnotations),F=this.changeAnnotations.manage(b),m=Q.insert(R,D,F)),this.edits.push(m),F!==void 0)return F},v.prototype.replace=function(R,D,b){var m,F;if(b===void 0?m=j.replace(R,D):$.is(b)?(F=b,m=Q.replace(R,D,b)):(this.assertChangeAnnotations(this.changeAnnotations),F=this.changeAnnotations.manage(b),m=Q.replace(R,D,F)),this.edits.push(m),F!==void 0)return F},v.prototype.delete=function(R,D){var b,m;if(D===void 0?b=j.del(R):$.is(D)?(m=D,b=Q.del(R,D)):(this.assertChangeAnnotations(this.changeAnnotations),m=this.changeAnnotations.manage(D),b=Q.del(R,m)),this.edits.push(b),m!==void 0)return m},v.prototype.add=function(R){this.edits.push(R)},v.prototype.all=function(){return this.edits},v.prototype.clear=function(){this.edits.splice(0,this.edits.length)},v.prototype.assertChangeAnnotations=function(R){if(R===void 0)throw new Error("Text edit change is not configured to manage change annotations.")},v}(),ct=function(){function v(R){this._annotations=R===void 0?Object.create(null):R,this._counter=0,this._size=0}return v.prototype.all=function(){return this._annotations},Object.defineProperty(v.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),v.prototype.manage=function(R,D){var b;if($.is(R)?b=R:(b=this.nextId(),D=R),this._annotations[b]!==void 0)throw new Error("Id ".concat(b," is already in use."));if(D===void 0)throw new Error("No annotation provided for id ".concat(b));return this._annotations[b]=D,this._size++,b},v.prototype.nextId=function(){return this._counter++,this._counter.toString()},v}(),mt=function(){function v(R){var D=this;this._textEditChanges=Object.create(null),R!==void 0?(this._workspaceEdit=R,R.documentChanges?(this._changeAnnotations=new ct(R.changeAnnotations),R.changeAnnotations=this._changeAnnotations.all(),R.documentChanges.forEach(function(b){if(te.is(b)){var m=new Ne(b.edits,D._changeAnnotations);D._textEditChanges[b.textDocument.uri]=m}})):R.changes&&Object.keys(R.changes).forEach(function(b){var m=new Ne(R.changes[b]);D._textEditChanges[b]=m})):this._workspaceEdit={}}return Object.defineProperty(v.prototype,"edit",{get:function(){return this.initDocumentChanges(),this._changeAnnotations!==void 0&&(this._changeAnnotations.size===0?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),v.prototype.getTextEditChange=function(R){if(de.is(R)){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var D={uri:R.uri,version:R.version},b=this._textEditChanges[D.uri];if(!b){var m=[],F={textDocument:D,edits:m};this._workspaceEdit.documentChanges.push(F),b=new Ne(m,this._changeAnnotations),this._textEditChanges[D.uri]=b}return b}else{if(this.initChanges(),this._workspaceEdit.changes===void 0)throw new Error("Workspace edit is not configured for normal text edit changes.");var b=this._textEditChanges[R];if(!b){var m=[];this._workspaceEdit.changes[R]=m,b=new Ne(m),this._textEditChanges[R]=b}return b}},v.prototype.initDocumentChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new ct,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},v.prototype.initChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._workspaceEdit.changes=Object.create(null))},v.prototype.createFile=function(R,D,b){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var m;G.is(D)||$.is(D)?m=D:b=D;var F,M;if(m===void 0?F=Oe.create(R,b):(M=$.is(m)?m:this._changeAnnotations.manage(m),F=Oe.create(R,b,M)),this._workspaceEdit.documentChanges.push(F),M!==void 0)return M},v.prototype.renameFile=function(R,D,b,m){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var F;G.is(b)||$.is(b)?F=b:m=b;var M,ce;if(F===void 0?M=Ye.create(R,D,m):(ce=$.is(F)?F:this._changeAnnotations.manage(F),M=Ye.create(R,D,m,ce)),this._workspaceEdit.documentChanges.push(M),ce!==void 0)return ce},v.prototype.deleteFile=function(R,D,b){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var m;G.is(D)||$.is(D)?m=D:b=D;var F,M;if(m===void 0?F=We.create(R,b):(M=$.is(m)?m:this._changeAnnotations.manage(m),F=We.create(R,b,M)),this._workspaceEdit.documentChanges.push(F),M!==void 0)return M},v}();e.WorkspaceChange=mt;var se;(function(v){function R(b){return{uri:b}}v.create=R;function D(b){var m=b;return P.defined(m)&&P.string(m.uri)}v.is=D})(se||(e.TextDocumentIdentifier=se={}));var ie;(function(v){function R(b,m){return{uri:b,version:m}}v.create=R;function D(b){var m=b;return P.defined(m)&&P.string(m.uri)&&P.integer(m.version)}v.is=D})(ie||(e.VersionedTextDocumentIdentifier=ie={}));var de;(function(v){function R(b,m){return{uri:b,version:m}}v.create=R;function D(b){var m=b;return P.defined(m)&&P.string(m.uri)&&(m.version===null||P.integer(m.version))}v.is=D})(de||(e.OptionalVersionedTextDocumentIdentifier=de={}));var ut;(function(v){function R(b,m,F,M){return{uri:b,languageId:m,version:F,text:M}}v.create=R;function D(b){var m=b;return P.defined(m)&&P.string(m.uri)&&P.string(m.languageId)&&P.integer(m.version)&&P.string(m.text)}v.is=D})(ut||(e.TextDocumentItem=ut={}));var Re;(function(v){v.PlainText="plaintext",v.Markdown="markdown";function R(D){var b=D;return b===v.PlainText||b===v.Markdown}v.is=R})(Re||(e.MarkupKind=Re={}));var Ke;(function(v){function R(D){var b=D;return P.objectLiteral(D)&&Re.is(b.kind)&&P.string(b.value)}v.is=R})(Ke||(e.MarkupContent=Ke={}));var Sn;(function(v){v.Text=1,v.Method=2,v.Function=3,v.Constructor=4,v.Field=5,v.Variable=6,v.Class=7,v.Interface=8,v.Module=9,v.Property=10,v.Unit=11,v.Value=12,v.Enum=13,v.Keyword=14,v.Snippet=15,v.Color=16,v.File=17,v.Reference=18,v.Folder=19,v.EnumMember=20,v.Constant=21,v.Struct=22,v.Event=23,v.Operator=24,v.TypeParameter=25})(Sn||(e.CompletionItemKind=Sn={}));var gt;(function(v){v.PlainText=1,v.Snippet=2})(gt||(e.InsertTextFormat=gt={}));var it;(function(v){v.Deprecated=1})(it||(e.CompletionItemTag=it={}));var Cn;(function(v){function R(b,m,F){return{newText:b,insert:m,replace:F}}v.create=R;function D(b){var m=b;return m&&P.string(m.newText)&&a.is(m.insert)&&a.is(m.replace)}v.is=D})(Cn||(e.InsertReplaceEdit=Cn={}));var Rn;(function(v){v.asIs=1,v.adjustIndentation=2})(Rn||(e.InsertTextMode=Rn={}));var Ge;(function(v){function R(D){var b=D;return b&&(P.string(b.detail)||b.detail===void 0)&&(P.string(b.description)||b.description===void 0)}v.is=R})(Ge||(e.CompletionItemLabelDetails=Ge={}));var Mn;(function(v){function R(D){return{label:D}}v.create=R})(Mn||(e.CompletionItem=Mn={}));var Un;(function(v){function R(D,b){return{items:D||[],isIncomplete:!!b}}v.create=R})(Un||(e.CompletionList=Un={}));var ei;(function(v){function R(b){return b.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}v.fromPlainText=R;function D(b){var m=b;return P.string(m)||P.objectLiteral(m)&&P.string(m.language)&&P.string(m.value)}v.is=D})(ei||(e.MarkedString=ei={}));var yt;(function(v){function R(D){var b=D;return!!b&&P.objectLiteral(b)&&(Ke.is(b.contents)||ei.is(b.contents)||P.typedArray(b.contents,ei.is))&&(D.range===void 0||a.is(D.range))}v.is=R})(yt||(e.Hover=yt={}));var mi;(function(v){function R(D,b){return b?{label:D,documentation:b}:{label:D}}v.create=R})(mi||(e.ParameterInformation=mi={}));var zn;(function(v){function R(D,b){for(var m=[],F=2;F=0;en--){var hn=Qe[en],Hn=F.offsetAt(hn.range.start),xe=F.offsetAt(hn.range.end);if(xe<=$e)ce=ce.substring(0,Hn)+hn.newText+ce.substring(xe,ce.length);else throw new Error("Overlapping edit");$e=Hn}return ce}v.applyEdits=b;function m(F,M){if(F.length<=1)return F;var ce=F.length/2|0,Qe=F.slice(0,ce),$e=F.slice(ce);m(Qe,M),m($e,M);for(var en=0,hn=0,Hn=0;en0&&R.push(D.length),this._lineOffsets=R}return this._lineOffsets},v.prototype.positionAt=function(R){R=Math.max(Math.min(R,this._content.length),0);var D=this.getLineOffsets(),b=0,m=D.length;if(m===0)return o.create(0,R);for(;bR?m=F:b=F+1}var M=b-1;return o.create(M,R-D[M])},v.prototype.offsetAt=function(R){var D=this.getLineOffsets();if(R.line>=D.length)return this._content.length;if(R.line<0)return 0;var b=D[R.line],m=R.line+1"u"}v.undefined=b;function m(xe){return xe===!0||xe===!1}v.boolean=m;function F(xe){return R.call(xe)==="[object String]"}v.string=F;function M(xe){return R.call(xe)==="[object Number]"}v.number=M;function ce(xe,ii,d){return R.call(xe)==="[object Number]"&&ii<=xe&&xe<=d}v.numberRange=ce;function Qe(xe){return R.call(xe)==="[object Number]"&&-2147483648<=xe&&xe<=2147483647}v.integer=Qe;function $e(xe){return R.call(xe)==="[object Number]"&&0<=xe&&xe<=2147483647}v.uinteger=$e;function en(xe){return R.call(xe)==="[object Function]"}v.func=en;function hn(xe){return xe!==null&&typeof xe=="object"}v.objectLiteral=hn;function Hn(xe,ii){return Array.isArray(xe)&&xe.every(ii)}v.typedArray=Hn})(P||(P={}))})});var et=T(on=>{"use strict";Object.defineProperty(on,"__esModule",{value:!0});on.ProtocolNotificationType=on.ProtocolNotificationType0=on.ProtocolRequestType=on.ProtocolRequestType0=on.RegistrationType=on.MessageDirection=void 0;var xs=Tr(),b_;(function(n){n.clientToServer="clientToServer",n.serverToClient="serverToClient",n.both="both"})(b_||(on.MessageDirection=b_={}));var Tf=class{constructor(e){this.method=e}};on.RegistrationType=Tf;var Ef=class extends xs.RequestType0{constructor(e){super(e)}};on.ProtocolRequestType0=Ef;var Pf=class extends xs.RequestType{constructor(e){super(e,xs.ParameterStructures.byName)}};on.ProtocolRequestType=Pf;var kf=class extends xs.NotificationType0{constructor(e){super(e)}};on.ProtocolNotificationType0=kf;var Of=class extends xs.NotificationType{constructor(e){super(e,xs.ParameterStructures.byName)}};on.ProtocolNotificationType=Of});var eu=T(St=>{"use strict";Object.defineProperty(St,"__esModule",{value:!0});St.objectLiteral=St.typedArray=St.stringArray=St.array=St.func=St.error=St.number=St.string=St.boolean=void 0;function mN(n){return n===!0||n===!1}St.boolean=mN;function w_(n){return typeof n=="string"||n instanceof String}St.string=w_;function gN(n){return typeof n=="number"||n instanceof Number}St.number=gN;function vN(n){return n instanceof Error}St.error=vN;function xN(n){return typeof n=="function"}St.func=xN;function __(n){return Array.isArray(n)}St.array=__;function yN(n){return __(n)&&n.every(e=>w_(e))}St.stringArray=yN;function bN(n,e){return Array.isArray(n)&&n.every(e)}St.typedArray=bN;function wN(n){return n!==null&&typeof n=="object"}St.objectLiteral=wN});var R_=T(tu=>{"use strict";Object.defineProperty(tu,"__esModule",{value:!0});tu.ImplementationRequest=void 0;var S_=et(),C_;(function(n){n.method="textDocument/implementation",n.messageDirection=S_.MessageDirection.clientToServer,n.type=new S_.ProtocolRequestType(n.method)})(C_||(tu.ImplementationRequest=C_={}))});var E_=T(nu=>{"use strict";Object.defineProperty(nu,"__esModule",{value:!0});nu.TypeDefinitionRequest=void 0;var D_=et(),T_;(function(n){n.method="textDocument/typeDefinition",n.messageDirection=D_.MessageDirection.clientToServer,n.type=new D_.ProtocolRequestType(n.method)})(T_||(nu.TypeDefinitionRequest=T_={}))});var O_=T(ys=>{"use strict";Object.defineProperty(ys,"__esModule",{value:!0});ys.DidChangeWorkspaceFoldersNotification=ys.WorkspaceFoldersRequest=void 0;var iu=et(),P_;(function(n){n.method="workspace/workspaceFolders",n.messageDirection=iu.MessageDirection.serverToClient,n.type=new iu.ProtocolRequestType0(n.method)})(P_||(ys.WorkspaceFoldersRequest=P_={}));var k_;(function(n){n.method="workspace/didChangeWorkspaceFolders",n.messageDirection=iu.MessageDirection.clientToServer,n.type=new iu.ProtocolNotificationType(n.method)})(k_||(ys.DidChangeWorkspaceFoldersNotification=k_={}))});var N_=T(ru=>{"use strict";Object.defineProperty(ru,"__esModule",{value:!0});ru.ConfigurationRequest=void 0;var q_=et(),F_;(function(n){n.method="workspace/configuration",n.messageDirection=q_.MessageDirection.serverToClient,n.type=new q_.ProtocolRequestType(n.method)})(F_||(ru.ConfigurationRequest=F_={}))});var j_=T(bs=>{"use strict";Object.defineProperty(bs,"__esModule",{value:!0});bs.ColorPresentationRequest=bs.DocumentColorRequest=void 0;var su=et(),A_;(function(n){n.method="textDocument/documentColor",n.messageDirection=su.MessageDirection.clientToServer,n.type=new su.ProtocolRequestType(n.method)})(A_||(bs.DocumentColorRequest=A_={}));var I_;(function(n){n.method="textDocument/colorPresentation",n.messageDirection=su.MessageDirection.clientToServer,n.type=new su.ProtocolRequestType(n.method)})(I_||(bs.ColorPresentationRequest=I_={}))});var U_=T(ws=>{"use strict";Object.defineProperty(ws,"__esModule",{value:!0});ws.FoldingRangeRefreshRequest=ws.FoldingRangeRequest=void 0;var ou=et(),L_;(function(n){n.method="textDocument/foldingRange",n.messageDirection=ou.MessageDirection.clientToServer,n.type=new ou.ProtocolRequestType(n.method)})(L_||(ws.FoldingRangeRequest=L_={}));var M_;(function(n){n.method="workspace/foldingRange/refresh",n.messageDirection=ou.MessageDirection.serverToClient,n.type=new ou.ProtocolRequestType0(n.method)})(M_||(ws.FoldingRangeRefreshRequest=M_={}))});var H_=T(au=>{"use strict";Object.defineProperty(au,"__esModule",{value:!0});au.DeclarationRequest=void 0;var z_=et(),$_;(function(n){n.method="textDocument/declaration",n.messageDirection=z_.MessageDirection.clientToServer,n.type=new z_.ProtocolRequestType(n.method)})($_||(au.DeclarationRequest=$_={}))});var K_=T(cu=>{"use strict";Object.defineProperty(cu,"__esModule",{value:!0});cu.SelectionRangeRequest=void 0;var B_=et(),W_;(function(n){n.method="textDocument/selectionRange",n.messageDirection=B_.MessageDirection.clientToServer,n.type=new B_.ProtocolRequestType(n.method)})(W_||(cu.SelectionRangeRequest=W_={}))});var J_=T(sr=>{"use strict";Object.defineProperty(sr,"__esModule",{value:!0});sr.WorkDoneProgressCancelNotification=sr.WorkDoneProgressCreateRequest=sr.WorkDoneProgress=void 0;var _N=Tr(),uu=et(),G_;(function(n){n.type=new _N.ProgressType;function e(t){return t===n.type}n.is=e})(G_||(sr.WorkDoneProgress=G_={}));var V_;(function(n){n.method="window/workDoneProgress/create",n.messageDirection=uu.MessageDirection.serverToClient,n.type=new uu.ProtocolRequestType(n.method)})(V_||(sr.WorkDoneProgressCreateRequest=V_={}));var X_;(function(n){n.method="window/workDoneProgress/cancel",n.messageDirection=uu.MessageDirection.clientToServer,n.type=new uu.ProtocolNotificationType(n.method)})(X_||(sr.WorkDoneProgressCancelNotification=X_={}))});var eS=T(or=>{"use strict";Object.defineProperty(or,"__esModule",{value:!0});or.CallHierarchyOutgoingCallsRequest=or.CallHierarchyIncomingCallsRequest=or.CallHierarchyPrepareRequest=void 0;var _s=et(),Y_;(function(n){n.method="textDocument/prepareCallHierarchy",n.messageDirection=_s.MessageDirection.clientToServer,n.type=new _s.ProtocolRequestType(n.method)})(Y_||(or.CallHierarchyPrepareRequest=Y_={}));var Q_;(function(n){n.method="callHierarchy/incomingCalls",n.messageDirection=_s.MessageDirection.clientToServer,n.type=new _s.ProtocolRequestType(n.method)})(Q_||(or.CallHierarchyIncomingCallsRequest=Q_={}));var Z_;(function(n){n.method="callHierarchy/outgoingCalls",n.messageDirection=_s.MessageDirection.clientToServer,n.type=new _s.ProtocolRequestType(n.method)})(Z_||(or.CallHierarchyOutgoingCallsRequest=Z_={}))});var oS=T(an=>{"use strict";Object.defineProperty(an,"__esModule",{value:!0});an.SemanticTokensRefreshRequest=an.SemanticTokensRangeRequest=an.SemanticTokensDeltaRequest=an.SemanticTokensRequest=an.SemanticTokensRegistrationType=an.TokenFormat=void 0;var Di=et(),tS;(function(n){n.Relative="relative"})(tS||(an.TokenFormat=tS={}));var ko;(function(n){n.method="textDocument/semanticTokens",n.type=new Di.RegistrationType(n.method)})(ko||(an.SemanticTokensRegistrationType=ko={}));var nS;(function(n){n.method="textDocument/semanticTokens/full",n.messageDirection=Di.MessageDirection.clientToServer,n.type=new Di.ProtocolRequestType(n.method),n.registrationMethod=ko.method})(nS||(an.SemanticTokensRequest=nS={}));var iS;(function(n){n.method="textDocument/semanticTokens/full/delta",n.messageDirection=Di.MessageDirection.clientToServer,n.type=new Di.ProtocolRequestType(n.method),n.registrationMethod=ko.method})(iS||(an.SemanticTokensDeltaRequest=iS={}));var rS;(function(n){n.method="textDocument/semanticTokens/range",n.messageDirection=Di.MessageDirection.clientToServer,n.type=new Di.ProtocolRequestType(n.method),n.registrationMethod=ko.method})(rS||(an.SemanticTokensRangeRequest=rS={}));var sS;(function(n){n.method="workspace/semanticTokens/refresh",n.messageDirection=Di.MessageDirection.serverToClient,n.type=new Di.ProtocolRequestType0(n.method)})(sS||(an.SemanticTokensRefreshRequest=sS={}))});var uS=T(lu=>{"use strict";Object.defineProperty(lu,"__esModule",{value:!0});lu.ShowDocumentRequest=void 0;var aS=et(),cS;(function(n){n.method="window/showDocument",n.messageDirection=aS.MessageDirection.serverToClient,n.type=new aS.ProtocolRequestType(n.method)})(cS||(lu.ShowDocumentRequest=cS={}))});var pS=T(du=>{"use strict";Object.defineProperty(du,"__esModule",{value:!0});du.LinkedEditingRangeRequest=void 0;var lS=et(),dS;(function(n){n.method="textDocument/linkedEditingRange",n.messageDirection=lS.MessageDirection.clientToServer,n.type=new lS.ProtocolRequestType(n.method)})(dS||(du.LinkedEditingRangeRequest=dS={}))});var bS=T($t=>{"use strict";Object.defineProperty($t,"__esModule",{value:!0});$t.WillDeleteFilesRequest=$t.DidDeleteFilesNotification=$t.DidRenameFilesNotification=$t.WillRenameFilesRequest=$t.DidCreateFilesNotification=$t.WillCreateFilesRequest=$t.FileOperationPatternKind=void 0;var Fn=et(),fS;(function(n){n.file="file",n.folder="folder"})(fS||($t.FileOperationPatternKind=fS={}));var hS;(function(n){n.method="workspace/willCreateFiles",n.messageDirection=Fn.MessageDirection.clientToServer,n.type=new Fn.ProtocolRequestType(n.method)})(hS||($t.WillCreateFilesRequest=hS={}));var mS;(function(n){n.method="workspace/didCreateFiles",n.messageDirection=Fn.MessageDirection.clientToServer,n.type=new Fn.ProtocolNotificationType(n.method)})(mS||($t.DidCreateFilesNotification=mS={}));var gS;(function(n){n.method="workspace/willRenameFiles",n.messageDirection=Fn.MessageDirection.clientToServer,n.type=new Fn.ProtocolRequestType(n.method)})(gS||($t.WillRenameFilesRequest=gS={}));var vS;(function(n){n.method="workspace/didRenameFiles",n.messageDirection=Fn.MessageDirection.clientToServer,n.type=new Fn.ProtocolNotificationType(n.method)})(vS||($t.DidRenameFilesNotification=vS={}));var xS;(function(n){n.method="workspace/didDeleteFiles",n.messageDirection=Fn.MessageDirection.clientToServer,n.type=new Fn.ProtocolNotificationType(n.method)})(xS||($t.DidDeleteFilesNotification=xS={}));var yS;(function(n){n.method="workspace/willDeleteFiles",n.messageDirection=Fn.MessageDirection.clientToServer,n.type=new Fn.ProtocolRequestType(n.method)})(yS||($t.WillDeleteFilesRequest=yS={}))});var RS=T(ar=>{"use strict";Object.defineProperty(ar,"__esModule",{value:!0});ar.MonikerRequest=ar.MonikerKind=ar.UniquenessLevel=void 0;var wS=et(),_S;(function(n){n.document="document",n.project="project",n.group="group",n.scheme="scheme",n.global="global"})(_S||(ar.UniquenessLevel=_S={}));var SS;(function(n){n.$import="import",n.$export="export",n.local="local"})(SS||(ar.MonikerKind=SS={}));var CS;(function(n){n.method="textDocument/moniker",n.messageDirection=wS.MessageDirection.clientToServer,n.type=new wS.ProtocolRequestType(n.method)})(CS||(ar.MonikerRequest=CS={}))});var PS=T(cr=>{"use strict";Object.defineProperty(cr,"__esModule",{value:!0});cr.TypeHierarchySubtypesRequest=cr.TypeHierarchySupertypesRequest=cr.TypeHierarchyPrepareRequest=void 0;var Ss=et(),DS;(function(n){n.method="textDocument/prepareTypeHierarchy",n.messageDirection=Ss.MessageDirection.clientToServer,n.type=new Ss.ProtocolRequestType(n.method)})(DS||(cr.TypeHierarchyPrepareRequest=DS={}));var TS;(function(n){n.method="typeHierarchy/supertypes",n.messageDirection=Ss.MessageDirection.clientToServer,n.type=new Ss.ProtocolRequestType(n.method)})(TS||(cr.TypeHierarchySupertypesRequest=TS={}));var ES;(function(n){n.method="typeHierarchy/subtypes",n.messageDirection=Ss.MessageDirection.clientToServer,n.type=new Ss.ProtocolRequestType(n.method)})(ES||(cr.TypeHierarchySubtypesRequest=ES={}))});var qS=T(Cs=>{"use strict";Object.defineProperty(Cs,"__esModule",{value:!0});Cs.InlineValueRefreshRequest=Cs.InlineValueRequest=void 0;var pu=et(),kS;(function(n){n.method="textDocument/inlineValue",n.messageDirection=pu.MessageDirection.clientToServer,n.type=new pu.ProtocolRequestType(n.method)})(kS||(Cs.InlineValueRequest=kS={}));var OS;(function(n){n.method="workspace/inlineValue/refresh",n.messageDirection=pu.MessageDirection.serverToClient,n.type=new pu.ProtocolRequestType0(n.method)})(OS||(Cs.InlineValueRefreshRequest=OS={}))});var IS=T(ur=>{"use strict";Object.defineProperty(ur,"__esModule",{value:!0});ur.InlayHintRefreshRequest=ur.InlayHintResolveRequest=ur.InlayHintRequest=void 0;var Rs=et(),FS;(function(n){n.method="textDocument/inlayHint",n.messageDirection=Rs.MessageDirection.clientToServer,n.type=new Rs.ProtocolRequestType(n.method)})(FS||(ur.InlayHintRequest=FS={}));var NS;(function(n){n.method="inlayHint/resolve",n.messageDirection=Rs.MessageDirection.clientToServer,n.type=new Rs.ProtocolRequestType(n.method)})(NS||(ur.InlayHintResolveRequest=NS={}));var AS;(function(n){n.method="workspace/inlayHint/refresh",n.messageDirection=Rs.MessageDirection.serverToClient,n.type=new Rs.ProtocolRequestType0(n.method)})(AS||(ur.InlayHintRefreshRequest=AS={}))});var HS=T(Nn=>{"use strict";Object.defineProperty(Nn,"__esModule",{value:!0});Nn.DiagnosticRefreshRequest=Nn.WorkspaceDiagnosticRequest=Nn.DocumentDiagnosticRequest=Nn.DocumentDiagnosticReportKind=Nn.DiagnosticServerCancellationData=void 0;var $S=Tr(),SN=eu(),Ds=et(),jS;(function(n){function e(t){let i=t;return i&&SN.boolean(i.retriggerRequest)}n.is=e})(jS||(Nn.DiagnosticServerCancellationData=jS={}));var LS;(function(n){n.Full="full",n.Unchanged="unchanged"})(LS||(Nn.DocumentDiagnosticReportKind=LS={}));var MS;(function(n){n.method="textDocument/diagnostic",n.messageDirection=Ds.MessageDirection.clientToServer,n.type=new Ds.ProtocolRequestType(n.method),n.partialResult=new $S.ProgressType})(MS||(Nn.DocumentDiagnosticRequest=MS={}));var US;(function(n){n.method="workspace/diagnostic",n.messageDirection=Ds.MessageDirection.clientToServer,n.type=new Ds.ProtocolRequestType(n.method),n.partialResult=new $S.ProgressType})(US||(Nn.WorkspaceDiagnosticRequest=US={}));var zS;(function(n){n.method="workspace/diagnostic/refresh",n.messageDirection=Ds.MessageDirection.serverToClient,n.type=new Ds.ProtocolRequestType0(n.method)})(zS||(Nn.DiagnosticRefreshRequest=zS={}))});var JS=T(ft=>{"use strict";Object.defineProperty(ft,"__esModule",{value:!0});ft.DidCloseNotebookDocumentNotification=ft.DidSaveNotebookDocumentNotification=ft.DidChangeNotebookDocumentNotification=ft.NotebookCellArrayChange=ft.DidOpenNotebookDocumentNotification=ft.NotebookDocumentSyncRegistrationType=ft.NotebookDocument=ft.NotebookCell=ft.ExecutionSummary=ft.NotebookCellKind=void 0;var Oo=Zc(),Xn=eu(),di=et(),qf;(function(n){n.Markup=1,n.Code=2;function e(t){return t===1||t===2}n.is=e})(qf||(ft.NotebookCellKind=qf={}));var Ff;(function(n){function e(r,s){let o={executionOrder:r};return(s===!0||s===!1)&&(o.success=s),o}n.create=e;function t(r){let s=r;return Xn.objectLiteral(s)&&Oo.uinteger.is(s.executionOrder)&&(s.success===void 0||Xn.boolean(s.success))}n.is=t;function i(r,s){return r===s?!0:r==null||s===null||s===void 0?!1:r.executionOrder===s.executionOrder&&r.success===s.success}n.equals=i})(Ff||(ft.ExecutionSummary=Ff={}));var fu;(function(n){function e(s,o){return{kind:s,document:o}}n.create=e;function t(s){let o=s;return Xn.objectLiteral(o)&&qf.is(o.kind)&&Oo.DocumentUri.is(o.document)&&(o.metadata===void 0||Xn.objectLiteral(o.metadata))}n.is=t;function i(s,o){let a=new Set;return s.document!==o.document&&a.add("document"),s.kind!==o.kind&&a.add("kind"),s.executionSummary!==o.executionSummary&&a.add("executionSummary"),(s.metadata!==void 0||o.metadata!==void 0)&&!r(s.metadata,o.metadata)&&a.add("metadata"),(s.executionSummary!==void 0||o.executionSummary!==void 0)&&!Ff.equals(s.executionSummary,o.executionSummary)&&a.add("executionSummary"),a}n.diff=i;function r(s,o){if(s===o)return!0;if(s==null||o===null||o===void 0||typeof s!=typeof o||typeof s!="object")return!1;let a=Array.isArray(s),c=Array.isArray(o);if(a!==c)return!1;if(a&&c){if(s.length!==o.length)return!1;for(let u=0;u{"use strict";Object.defineProperty(hu,"__esModule",{value:!0});hu.InlineCompletionRequest=void 0;var YS=et(),QS;(function(n){n.method="textDocument/inlineCompletion",n.messageDirection=YS.MessageDirection.clientToServer,n.type=new YS.ProtocolRequestType(n.method)})(QS||(hu.InlineCompletionRequest=QS={}))});var p0=T(_=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0});_.WorkspaceSymbolRequest=_.CodeActionResolveRequest=_.CodeActionRequest=_.DocumentSymbolRequest=_.DocumentHighlightRequest=_.ReferencesRequest=_.DefinitionRequest=_.SignatureHelpRequest=_.SignatureHelpTriggerKind=_.HoverRequest=_.CompletionResolveRequest=_.CompletionRequest=_.CompletionTriggerKind=_.PublishDiagnosticsNotification=_.WatchKind=_.RelativePattern=_.FileChangeType=_.DidChangeWatchedFilesNotification=_.WillSaveTextDocumentWaitUntilRequest=_.WillSaveTextDocumentNotification=_.TextDocumentSaveReason=_.DidSaveTextDocumentNotification=_.DidCloseTextDocumentNotification=_.DidChangeTextDocumentNotification=_.TextDocumentContentChangeEvent=_.DidOpenTextDocumentNotification=_.TextDocumentSyncKind=_.TelemetryEventNotification=_.LogMessageNotification=_.ShowMessageRequest=_.ShowMessageNotification=_.MessageType=_.DidChangeConfigurationNotification=_.ExitNotification=_.ShutdownRequest=_.InitializedNotification=_.InitializeErrorCodes=_.InitializeRequest=_.WorkDoneProgressOptions=_.TextDocumentRegistrationOptions=_.StaticRegistrationOptions=_.PositionEncodingKind=_.FailureHandlingKind=_.ResourceOperationKind=_.UnregistrationRequest=_.RegistrationRequest=_.DocumentSelector=_.NotebookCellTextDocumentFilter=_.NotebookDocumentFilter=_.TextDocumentFilter=void 0;_.MonikerRequest=_.MonikerKind=_.UniquenessLevel=_.WillDeleteFilesRequest=_.DidDeleteFilesNotification=_.WillRenameFilesRequest=_.DidRenameFilesNotification=_.WillCreateFilesRequest=_.DidCreateFilesNotification=_.FileOperationPatternKind=_.LinkedEditingRangeRequest=_.ShowDocumentRequest=_.SemanticTokensRegistrationType=_.SemanticTokensRefreshRequest=_.SemanticTokensRangeRequest=_.SemanticTokensDeltaRequest=_.SemanticTokensRequest=_.TokenFormat=_.CallHierarchyPrepareRequest=_.CallHierarchyOutgoingCallsRequest=_.CallHierarchyIncomingCallsRequest=_.WorkDoneProgressCancelNotification=_.WorkDoneProgressCreateRequest=_.WorkDoneProgress=_.SelectionRangeRequest=_.DeclarationRequest=_.FoldingRangeRefreshRequest=_.FoldingRangeRequest=_.ColorPresentationRequest=_.DocumentColorRequest=_.ConfigurationRequest=_.DidChangeWorkspaceFoldersNotification=_.WorkspaceFoldersRequest=_.TypeDefinitionRequest=_.ImplementationRequest=_.ApplyWorkspaceEditRequest=_.ExecuteCommandRequest=_.PrepareRenameRequest=_.RenameRequest=_.PrepareSupportDefaultBehavior=_.DocumentOnTypeFormattingRequest=_.DocumentRangesFormattingRequest=_.DocumentRangeFormattingRequest=_.DocumentFormattingRequest=_.DocumentLinkResolveRequest=_.DocumentLinkRequest=_.CodeLensRefreshRequest=_.CodeLensResolveRequest=_.CodeLensRequest=_.WorkspaceSymbolResolveRequest=void 0;_.InlineCompletionRequest=_.DidCloseNotebookDocumentNotification=_.DidSaveNotebookDocumentNotification=_.DidChangeNotebookDocumentNotification=_.NotebookCellArrayChange=_.DidOpenNotebookDocumentNotification=_.NotebookDocumentSyncRegistrationType=_.NotebookDocument=_.NotebookCell=_.ExecutionSummary=_.NotebookCellKind=_.DiagnosticRefreshRequest=_.WorkspaceDiagnosticRequest=_.DocumentDiagnosticRequest=_.DocumentDiagnosticReportKind=_.DiagnosticServerCancellationData=_.InlayHintRefreshRequest=_.InlayHintResolveRequest=_.InlayHintRequest=_.InlineValueRefreshRequest=_.InlineValueRequest=_.TypeHierarchySupertypesRequest=_.TypeHierarchySubtypesRequest=_.TypeHierarchyPrepareRequest=void 0;var H=et(),eC=Zc(),Ot=eu(),CN=R_();Object.defineProperty(_,"ImplementationRequest",{enumerable:!0,get:function(){return CN.ImplementationRequest}});var RN=E_();Object.defineProperty(_,"TypeDefinitionRequest",{enumerable:!0,get:function(){return RN.TypeDefinitionRequest}});var c0=O_();Object.defineProperty(_,"WorkspaceFoldersRequest",{enumerable:!0,get:function(){return c0.WorkspaceFoldersRequest}});Object.defineProperty(_,"DidChangeWorkspaceFoldersNotification",{enumerable:!0,get:function(){return c0.DidChangeWorkspaceFoldersNotification}});var DN=N_();Object.defineProperty(_,"ConfigurationRequest",{enumerable:!0,get:function(){return DN.ConfigurationRequest}});var u0=j_();Object.defineProperty(_,"DocumentColorRequest",{enumerable:!0,get:function(){return u0.DocumentColorRequest}});Object.defineProperty(_,"ColorPresentationRequest",{enumerable:!0,get:function(){return u0.ColorPresentationRequest}});var l0=U_();Object.defineProperty(_,"FoldingRangeRequest",{enumerable:!0,get:function(){return l0.FoldingRangeRequest}});Object.defineProperty(_,"FoldingRangeRefreshRequest",{enumerable:!0,get:function(){return l0.FoldingRangeRefreshRequest}});var TN=H_();Object.defineProperty(_,"DeclarationRequest",{enumerable:!0,get:function(){return TN.DeclarationRequest}});var EN=K_();Object.defineProperty(_,"SelectionRangeRequest",{enumerable:!0,get:function(){return EN.SelectionRangeRequest}});var Lf=J_();Object.defineProperty(_,"WorkDoneProgress",{enumerable:!0,get:function(){return Lf.WorkDoneProgress}});Object.defineProperty(_,"WorkDoneProgressCreateRequest",{enumerable:!0,get:function(){return Lf.WorkDoneProgressCreateRequest}});Object.defineProperty(_,"WorkDoneProgressCancelNotification",{enumerable:!0,get:function(){return Lf.WorkDoneProgressCancelNotification}});var Mf=eS();Object.defineProperty(_,"CallHierarchyIncomingCallsRequest",{enumerable:!0,get:function(){return Mf.CallHierarchyIncomingCallsRequest}});Object.defineProperty(_,"CallHierarchyOutgoingCallsRequest",{enumerable:!0,get:function(){return Mf.CallHierarchyOutgoingCallsRequest}});Object.defineProperty(_,"CallHierarchyPrepareRequest",{enumerable:!0,get:function(){return Mf.CallHierarchyPrepareRequest}});var Es=oS();Object.defineProperty(_,"TokenFormat",{enumerable:!0,get:function(){return Es.TokenFormat}});Object.defineProperty(_,"SemanticTokensRequest",{enumerable:!0,get:function(){return Es.SemanticTokensRequest}});Object.defineProperty(_,"SemanticTokensDeltaRequest",{enumerable:!0,get:function(){return Es.SemanticTokensDeltaRequest}});Object.defineProperty(_,"SemanticTokensRangeRequest",{enumerable:!0,get:function(){return Es.SemanticTokensRangeRequest}});Object.defineProperty(_,"SemanticTokensRefreshRequest",{enumerable:!0,get:function(){return Es.SemanticTokensRefreshRequest}});Object.defineProperty(_,"SemanticTokensRegistrationType",{enumerable:!0,get:function(){return Es.SemanticTokensRegistrationType}});var PN=uS();Object.defineProperty(_,"ShowDocumentRequest",{enumerable:!0,get:function(){return PN.ShowDocumentRequest}});var kN=pS();Object.defineProperty(_,"LinkedEditingRangeRequest",{enumerable:!0,get:function(){return kN.LinkedEditingRangeRequest}});var Er=bS();Object.defineProperty(_,"FileOperationPatternKind",{enumerable:!0,get:function(){return Er.FileOperationPatternKind}});Object.defineProperty(_,"DidCreateFilesNotification",{enumerable:!0,get:function(){return Er.DidCreateFilesNotification}});Object.defineProperty(_,"WillCreateFilesRequest",{enumerable:!0,get:function(){return Er.WillCreateFilesRequest}});Object.defineProperty(_,"DidRenameFilesNotification",{enumerable:!0,get:function(){return Er.DidRenameFilesNotification}});Object.defineProperty(_,"WillRenameFilesRequest",{enumerable:!0,get:function(){return Er.WillRenameFilesRequest}});Object.defineProperty(_,"DidDeleteFilesNotification",{enumerable:!0,get:function(){return Er.DidDeleteFilesNotification}});Object.defineProperty(_,"WillDeleteFilesRequest",{enumerable:!0,get:function(){return Er.WillDeleteFilesRequest}});var Uf=RS();Object.defineProperty(_,"UniquenessLevel",{enumerable:!0,get:function(){return Uf.UniquenessLevel}});Object.defineProperty(_,"MonikerKind",{enumerable:!0,get:function(){return Uf.MonikerKind}});Object.defineProperty(_,"MonikerRequest",{enumerable:!0,get:function(){return Uf.MonikerRequest}});var zf=PS();Object.defineProperty(_,"TypeHierarchyPrepareRequest",{enumerable:!0,get:function(){return zf.TypeHierarchyPrepareRequest}});Object.defineProperty(_,"TypeHierarchySubtypesRequest",{enumerable:!0,get:function(){return zf.TypeHierarchySubtypesRequest}});Object.defineProperty(_,"TypeHierarchySupertypesRequest",{enumerable:!0,get:function(){return zf.TypeHierarchySupertypesRequest}});var d0=qS();Object.defineProperty(_,"InlineValueRequest",{enumerable:!0,get:function(){return d0.InlineValueRequest}});Object.defineProperty(_,"InlineValueRefreshRequest",{enumerable:!0,get:function(){return d0.InlineValueRefreshRequest}});var $f=IS();Object.defineProperty(_,"InlayHintRequest",{enumerable:!0,get:function(){return $f.InlayHintRequest}});Object.defineProperty(_,"InlayHintResolveRequest",{enumerable:!0,get:function(){return $f.InlayHintResolveRequest}});Object.defineProperty(_,"InlayHintRefreshRequest",{enumerable:!0,get:function(){return $f.InlayHintRefreshRequest}});var qo=HS();Object.defineProperty(_,"DiagnosticServerCancellationData",{enumerable:!0,get:function(){return qo.DiagnosticServerCancellationData}});Object.defineProperty(_,"DocumentDiagnosticReportKind",{enumerable:!0,get:function(){return qo.DocumentDiagnosticReportKind}});Object.defineProperty(_,"DocumentDiagnosticRequest",{enumerable:!0,get:function(){return qo.DocumentDiagnosticRequest}});Object.defineProperty(_,"WorkspaceDiagnosticRequest",{enumerable:!0,get:function(){return qo.WorkspaceDiagnosticRequest}});Object.defineProperty(_,"DiagnosticRefreshRequest",{enumerable:!0,get:function(){return qo.DiagnosticRefreshRequest}});var pi=JS();Object.defineProperty(_,"NotebookCellKind",{enumerable:!0,get:function(){return pi.NotebookCellKind}});Object.defineProperty(_,"ExecutionSummary",{enumerable:!0,get:function(){return pi.ExecutionSummary}});Object.defineProperty(_,"NotebookCell",{enumerable:!0,get:function(){return pi.NotebookCell}});Object.defineProperty(_,"NotebookDocument",{enumerable:!0,get:function(){return pi.NotebookDocument}});Object.defineProperty(_,"NotebookDocumentSyncRegistrationType",{enumerable:!0,get:function(){return pi.NotebookDocumentSyncRegistrationType}});Object.defineProperty(_,"DidOpenNotebookDocumentNotification",{enumerable:!0,get:function(){return pi.DidOpenNotebookDocumentNotification}});Object.defineProperty(_,"NotebookCellArrayChange",{enumerable:!0,get:function(){return pi.NotebookCellArrayChange}});Object.defineProperty(_,"DidChangeNotebookDocumentNotification",{enumerable:!0,get:function(){return pi.DidChangeNotebookDocumentNotification}});Object.defineProperty(_,"DidSaveNotebookDocumentNotification",{enumerable:!0,get:function(){return pi.DidSaveNotebookDocumentNotification}});Object.defineProperty(_,"DidCloseNotebookDocumentNotification",{enumerable:!0,get:function(){return pi.DidCloseNotebookDocumentNotification}});var ON=ZS();Object.defineProperty(_,"InlineCompletionRequest",{enumerable:!0,get:function(){return ON.InlineCompletionRequest}});var Nf;(function(n){function e(t){let i=t;return Ot.string(i)||Ot.string(i.language)||Ot.string(i.scheme)||Ot.string(i.pattern)}n.is=e})(Nf||(_.TextDocumentFilter=Nf={}));var Af;(function(n){function e(t){let i=t;return Ot.objectLiteral(i)&&(Ot.string(i.notebookType)||Ot.string(i.scheme)||Ot.string(i.pattern))}n.is=e})(Af||(_.NotebookDocumentFilter=Af={}));var If;(function(n){function e(t){let i=t;return Ot.objectLiteral(i)&&(Ot.string(i.notebook)||Af.is(i.notebook))&&(i.language===void 0||Ot.string(i.language))}n.is=e})(If||(_.NotebookCellTextDocumentFilter=If={}));var jf;(function(n){function e(t){if(!Array.isArray(t))return!1;for(let i of t)if(!Ot.string(i)&&!Nf.is(i)&&!If.is(i))return!1;return!0}n.is=e})(jf||(_.DocumentSelector=jf={}));var tC;(function(n){n.method="client/registerCapability",n.messageDirection=H.MessageDirection.serverToClient,n.type=new H.ProtocolRequestType(n.method)})(tC||(_.RegistrationRequest=tC={}));var nC;(function(n){n.method="client/unregisterCapability",n.messageDirection=H.MessageDirection.serverToClient,n.type=new H.ProtocolRequestType(n.method)})(nC||(_.UnregistrationRequest=nC={}));var iC;(function(n){n.Create="create",n.Rename="rename",n.Delete="delete"})(iC||(_.ResourceOperationKind=iC={}));var rC;(function(n){n.Abort="abort",n.Transactional="transactional",n.TextOnlyTransactional="textOnlyTransactional",n.Undo="undo"})(rC||(_.FailureHandlingKind=rC={}));var sC;(function(n){n.UTF8="utf-8",n.UTF16="utf-16",n.UTF32="utf-32"})(sC||(_.PositionEncodingKind=sC={}));var oC;(function(n){function e(t){let i=t;return i&&Ot.string(i.id)&&i.id.length>0}n.hasId=e})(oC||(_.StaticRegistrationOptions=oC={}));var aC;(function(n){function e(t){let i=t;return i&&(i.documentSelector===null||jf.is(i.documentSelector))}n.is=e})(aC||(_.TextDocumentRegistrationOptions=aC={}));var cC;(function(n){function e(i){let r=i;return Ot.objectLiteral(r)&&(r.workDoneProgress===void 0||Ot.boolean(r.workDoneProgress))}n.is=e;function t(i){let r=i;return r&&Ot.boolean(r.workDoneProgress)}n.hasWorkDoneProgress=t})(cC||(_.WorkDoneProgressOptions=cC={}));var uC;(function(n){n.method="initialize",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolRequestType(n.method)})(uC||(_.InitializeRequest=uC={}));var lC;(function(n){n.unknownProtocolVersion=1})(lC||(_.InitializeErrorCodes=lC={}));var dC;(function(n){n.method="initialized",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolNotificationType(n.method)})(dC||(_.InitializedNotification=dC={}));var pC;(function(n){n.method="shutdown",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolRequestType0(n.method)})(pC||(_.ShutdownRequest=pC={}));var fC;(function(n){n.method="exit",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolNotificationType0(n.method)})(fC||(_.ExitNotification=fC={}));var hC;(function(n){n.method="workspace/didChangeConfiguration",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolNotificationType(n.method)})(hC||(_.DidChangeConfigurationNotification=hC={}));var mC;(function(n){n.Error=1,n.Warning=2,n.Info=3,n.Log=4,n.Debug=5})(mC||(_.MessageType=mC={}));var gC;(function(n){n.method="window/showMessage",n.messageDirection=H.MessageDirection.serverToClient,n.type=new H.ProtocolNotificationType(n.method)})(gC||(_.ShowMessageNotification=gC={}));var vC;(function(n){n.method="window/showMessageRequest",n.messageDirection=H.MessageDirection.serverToClient,n.type=new H.ProtocolRequestType(n.method)})(vC||(_.ShowMessageRequest=vC={}));var xC;(function(n){n.method="window/logMessage",n.messageDirection=H.MessageDirection.serverToClient,n.type=new H.ProtocolNotificationType(n.method)})(xC||(_.LogMessageNotification=xC={}));var yC;(function(n){n.method="telemetry/event",n.messageDirection=H.MessageDirection.serverToClient,n.type=new H.ProtocolNotificationType(n.method)})(yC||(_.TelemetryEventNotification=yC={}));var bC;(function(n){n.None=0,n.Full=1,n.Incremental=2})(bC||(_.TextDocumentSyncKind=bC={}));var wC;(function(n){n.method="textDocument/didOpen",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolNotificationType(n.method)})(wC||(_.DidOpenTextDocumentNotification=wC={}));var _C;(function(n){function e(i){let r=i;return r!=null&&typeof r.text=="string"&&r.range!==void 0&&(r.rangeLength===void 0||typeof r.rangeLength=="number")}n.isIncremental=e;function t(i){let r=i;return r!=null&&typeof r.text=="string"&&r.range===void 0&&r.rangeLength===void 0}n.isFull=t})(_C||(_.TextDocumentContentChangeEvent=_C={}));var SC;(function(n){n.method="textDocument/didChange",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolNotificationType(n.method)})(SC||(_.DidChangeTextDocumentNotification=SC={}));var CC;(function(n){n.method="textDocument/didClose",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolNotificationType(n.method)})(CC||(_.DidCloseTextDocumentNotification=CC={}));var RC;(function(n){n.method="textDocument/didSave",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolNotificationType(n.method)})(RC||(_.DidSaveTextDocumentNotification=RC={}));var DC;(function(n){n.Manual=1,n.AfterDelay=2,n.FocusOut=3})(DC||(_.TextDocumentSaveReason=DC={}));var TC;(function(n){n.method="textDocument/willSave",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolNotificationType(n.method)})(TC||(_.WillSaveTextDocumentNotification=TC={}));var EC;(function(n){n.method="textDocument/willSaveWaitUntil",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolRequestType(n.method)})(EC||(_.WillSaveTextDocumentWaitUntilRequest=EC={}));var PC;(function(n){n.method="workspace/didChangeWatchedFiles",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolNotificationType(n.method)})(PC||(_.DidChangeWatchedFilesNotification=PC={}));var kC;(function(n){n.Created=1,n.Changed=2,n.Deleted=3})(kC||(_.FileChangeType=kC={}));var OC;(function(n){function e(t){let i=t;return Ot.objectLiteral(i)&&(eC.URI.is(i.baseUri)||eC.WorkspaceFolder.is(i.baseUri))&&Ot.string(i.pattern)}n.is=e})(OC||(_.RelativePattern=OC={}));var qC;(function(n){n.Create=1,n.Change=2,n.Delete=4})(qC||(_.WatchKind=qC={}));var FC;(function(n){n.method="textDocument/publishDiagnostics",n.messageDirection=H.MessageDirection.serverToClient,n.type=new H.ProtocolNotificationType(n.method)})(FC||(_.PublishDiagnosticsNotification=FC={}));var NC;(function(n){n.Invoked=1,n.TriggerCharacter=2,n.TriggerForIncompleteCompletions=3})(NC||(_.CompletionTriggerKind=NC={}));var AC;(function(n){n.method="textDocument/completion",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolRequestType(n.method)})(AC||(_.CompletionRequest=AC={}));var IC;(function(n){n.method="completionItem/resolve",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolRequestType(n.method)})(IC||(_.CompletionResolveRequest=IC={}));var jC;(function(n){n.method="textDocument/hover",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolRequestType(n.method)})(jC||(_.HoverRequest=jC={}));var LC;(function(n){n.Invoked=1,n.TriggerCharacter=2,n.ContentChange=3})(LC||(_.SignatureHelpTriggerKind=LC={}));var MC;(function(n){n.method="textDocument/signatureHelp",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolRequestType(n.method)})(MC||(_.SignatureHelpRequest=MC={}));var UC;(function(n){n.method="textDocument/definition",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolRequestType(n.method)})(UC||(_.DefinitionRequest=UC={}));var zC;(function(n){n.method="textDocument/references",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolRequestType(n.method)})(zC||(_.ReferencesRequest=zC={}));var $C;(function(n){n.method="textDocument/documentHighlight",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolRequestType(n.method)})($C||(_.DocumentHighlightRequest=$C={}));var HC;(function(n){n.method="textDocument/documentSymbol",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolRequestType(n.method)})(HC||(_.DocumentSymbolRequest=HC={}));var BC;(function(n){n.method="textDocument/codeAction",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolRequestType(n.method)})(BC||(_.CodeActionRequest=BC={}));var WC;(function(n){n.method="codeAction/resolve",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolRequestType(n.method)})(WC||(_.CodeActionResolveRequest=WC={}));var KC;(function(n){n.method="workspace/symbol",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolRequestType(n.method)})(KC||(_.WorkspaceSymbolRequest=KC={}));var GC;(function(n){n.method="workspaceSymbol/resolve",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolRequestType(n.method)})(GC||(_.WorkspaceSymbolResolveRequest=GC={}));var VC;(function(n){n.method="textDocument/codeLens",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolRequestType(n.method)})(VC||(_.CodeLensRequest=VC={}));var XC;(function(n){n.method="codeLens/resolve",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolRequestType(n.method)})(XC||(_.CodeLensResolveRequest=XC={}));var JC;(function(n){n.method="workspace/codeLens/refresh",n.messageDirection=H.MessageDirection.serverToClient,n.type=new H.ProtocolRequestType0(n.method)})(JC||(_.CodeLensRefreshRequest=JC={}));var YC;(function(n){n.method="textDocument/documentLink",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolRequestType(n.method)})(YC||(_.DocumentLinkRequest=YC={}));var QC;(function(n){n.method="documentLink/resolve",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolRequestType(n.method)})(QC||(_.DocumentLinkResolveRequest=QC={}));var ZC;(function(n){n.method="textDocument/formatting",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolRequestType(n.method)})(ZC||(_.DocumentFormattingRequest=ZC={}));var e0;(function(n){n.method="textDocument/rangeFormatting",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolRequestType(n.method)})(e0||(_.DocumentRangeFormattingRequest=e0={}));var t0;(function(n){n.method="textDocument/rangesFormatting",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolRequestType(n.method)})(t0||(_.DocumentRangesFormattingRequest=t0={}));var n0;(function(n){n.method="textDocument/onTypeFormatting",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolRequestType(n.method)})(n0||(_.DocumentOnTypeFormattingRequest=n0={}));var i0;(function(n){n.Identifier=1})(i0||(_.PrepareSupportDefaultBehavior=i0={}));var r0;(function(n){n.method="textDocument/rename",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolRequestType(n.method)})(r0||(_.RenameRequest=r0={}));var s0;(function(n){n.method="textDocument/prepareRename",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolRequestType(n.method)})(s0||(_.PrepareRenameRequest=s0={}));var o0;(function(n){n.method="workspace/executeCommand",n.messageDirection=H.MessageDirection.clientToServer,n.type=new H.ProtocolRequestType(n.method)})(o0||(_.ExecuteCommandRequest=o0={}));var a0;(function(n){n.method="workspace/applyEdit",n.messageDirection=H.MessageDirection.serverToClient,n.type=new H.ProtocolRequestType("workspace/applyEdit")})(a0||(_.ApplyWorkspaceEditRequest=a0={}))});var h0=T(mu=>{"use strict";Object.defineProperty(mu,"__esModule",{value:!0});mu.createProtocolConnection=void 0;var f0=Tr();function qN(n,e,t,i){return f0.ConnectionStrategy.is(i)&&(i={connectionStrategy:i}),(0,f0.createMessageConnection)(n,e,t,i)}mu.createProtocolConnection=qN});var g0=T(cn=>{"use strict";var FN=cn&&cn.__createBinding||(Object.create?function(n,e,t,i){i===void 0&&(i=t);var r=Object.getOwnPropertyDescriptor(e,t);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,i,r)}:function(n,e,t,i){i===void 0&&(i=t),n[i]=e[t]}),gu=cn&&cn.__exportStar||function(n,e){for(var t in n)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&FN(e,n,t)};Object.defineProperty(cn,"__esModule",{value:!0});cn.LSPErrorCodes=cn.createProtocolConnection=void 0;gu(Tr(),cn);gu(Zc(),cn);gu(et(),cn);gu(p0(),cn);var NN=h0();Object.defineProperty(cn,"createProtocolConnection",{enumerable:!0,get:function(){return NN.createProtocolConnection}});var m0;(function(n){n.lspReservedErrorRangeStart=-32899,n.RequestFailed=-32803,n.ServerCancelled=-32802,n.ContentModified=-32801,n.RequestCancelled=-32800,n.lspReservedErrorRangeEnd=-32800})(m0||(cn.LSPErrorCodes=m0={}))});var ue=T(fi=>{"use strict";var AN=fi&&fi.__createBinding||(Object.create?function(n,e,t,i){i===void 0&&(i=t);var r=Object.getOwnPropertyDescriptor(e,t);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,i,r)}:function(n,e,t,i){i===void 0&&(i=t),n[i]=e[t]}),v0=fi&&fi.__exportStar||function(n,e){for(var t in n)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&AN(e,n,t)};Object.defineProperty(fi,"__esModule",{value:!0});fi.createProtocolConnection=void 0;var IN=Df();v0(Df(),fi);v0(g0(),fi);function jN(n,e,t,i){return(0,IN.createMessageConnection)(n,e,t,i)}fi.createProtocolConnection=jN});var vu=T(Ht=>{"use strict";Object.defineProperty(Ht,"__esModule",{value:!0});Ht.forEach=Ht.mapAsync=Ht.map=Ht.clearTestMode=Ht.setTestMode=Ht.Semaphore=Ht.Delayer=void 0;var No=ue(),Hf=class{constructor(e){this.defaultDelay=e,this.timeout=void 0,this.completionPromise=void 0,this.onSuccess=void 0,this.task=void 0}trigger(e,t=this.defaultDelay){return this.task=e,t>=0&&this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise(i=>{this.onSuccess=i}).then(()=>{this.completionPromise=void 0,this.onSuccess=void 0;var i=this.task();return this.task=void 0,i})),(t>=0||this.timeout===void 0)&&(this.timeout=(0,No.RAL)().timer.setTimeout(()=>{this.timeout=void 0,this.onSuccess(void 0)},t>=0?t:this.defaultDelay)),this.completionPromise}forceDelivery(){if(!this.completionPromise)return;this.cancelTimeout();let e=this.task();return this.completionPromise=void 0,this.onSuccess=void 0,this.task=void 0,e}isTriggered(){return this.timeout!==void 0}cancel(){this.cancelTimeout(),this.completionPromise=void 0}cancelTimeout(){this.timeout!==void 0&&(this.timeout.dispose(),this.timeout=void 0)}};Ht.Delayer=Hf;var Bf=class{constructor(e=1){if(e<=0)throw new Error("Capacity must be greater than 0");this._capacity=e,this._active=0,this._waiting=[]}lock(e){return new Promise((t,i)=>{this._waiting.push({thunk:e,resolve:t,reject:i}),this.runNext()})}get active(){return this._active}runNext(){this._waiting.length===0||this._active===this._capacity||(0,No.RAL)().timer.setImmediate(()=>this.doRunNext())}doRunNext(){if(this._waiting.length===0||this._active===this._capacity)return;let e=this._waiting.shift();if(this._active++,this._active>this._capacity)throw new Error("To many thunks active");try{let t=e.thunk();t instanceof Promise?t.then(i=>{this._active--,e.resolve(i),this.runNext()},i=>{this._active--,e.reject(i),this.runNext()}):(this._active--,e.resolve(t),this.runNext())}catch(t){this._active--,e.reject(t),this.runNext()}}};Ht.Semaphore=Bf;var Wf=!1;function LN(){Wf=!0}Ht.setTestMode=LN;function MN(){Wf=!1}Ht.clearTestMode=MN;var x0=15,Fo=class{constructor(e=x0){this.yieldAfter=Wf===!0?Math.max(e,2):Math.max(e,x0),this.startTime=Date.now(),this.counter=0,this.total=0,this.counterInterval=1}start(){this.counter=0,this.total=0,this.counterInterval=1,this.startTime=Date.now()}shouldYield(){if(++this.counter>=this.counterInterval){let e=Date.now()-this.startTime,t=Math.max(0,this.yieldAfter-e);if(this.total+=this.counter,this.counter=0,e>=this.yieldAfter||t<=1)return this.counterInterval=1,this.total=0,!0;switch(e){case 0:case 1:this.counterInterval=this.total*2;break}}return!1}};async function UN(n,e,t,i){if(n.length===0)return[];let r=new Array(n.length),s=new Fo(i?.yieldAfter);function o(c){s.start();for(let u=c;u{(0,No.RAL)().timer.setImmediate(()=>{c(o(a))})});return r}Ht.map=UN;async function zN(n,e,t,i){if(n.length===0)return[];let r=new Array(n.length),s=new Fo(i?.yieldAfter);async function o(c){s.start();for(let u=c;u{(0,No.RAL)().timer.setImmediate(()=>{c(o(a))})});return r}Ht.mapAsync=zN;async function $N(n,e,t,i){if(n.length===0)return;let r=new Fo(i?.yieldAfter);function s(a){r.start();for(let c=a;c{(0,No.RAL)().timer.setImmediate(()=>{a(s(o))})})}Ht.forEach=$N});var Vf=T(Gf=>{"use strict";Object.defineProperty(Gf,"__esModule",{value:!0});var HN=require("vscode"),Kf=class extends HN.CompletionItem{constructor(e){super(e)}};Gf.default=Kf});var Yf=T(Jf=>{"use strict";Object.defineProperty(Jf,"__esModule",{value:!0});var BN=require("vscode"),Xf=class extends BN.CodeLens{constructor(e){super(e)}};Jf.default=Xf});var eh=T(Zf=>{"use strict";Object.defineProperty(Zf,"__esModule",{value:!0});var WN=require("vscode"),Qf=class extends WN.DocumentLink{constructor(e,t){super(e,t)}};Zf.default=Qf});var ih=T(nh=>{"use strict";Object.defineProperty(nh,"__esModule",{value:!0});var KN=require("vscode"),th=class extends KN.CodeAction{constructor(e,t){super(e),this.data=t}};nh.default=th});var oh=T(Ps=>{"use strict";Object.defineProperty(Ps,"__esModule",{value:!0});Ps.ProtocolDiagnostic=Ps.DiagnosticCode=void 0;var GN=require("vscode"),rh=qn(),y0;(function(n){function e(t){let i=t;return i!=null&&(rh.number(i.value)||rh.string(i.value))&&rh.string(i.target)}n.is=e})(y0||(Ps.DiagnosticCode=y0={}));var sh=class extends GN.Diagnostic{constructor(e,t,i,r){super(e,t,i),this.data=r,this.hasDiagnosticCode=!1}};Ps.ProtocolDiagnostic=sh});var uh=T(ch=>{"use strict";Object.defineProperty(ch,"__esModule",{value:!0});var VN=require("vscode"),ah=class extends VN.CallHierarchyItem{constructor(e,t,i,r,s,o,a){super(e,t,i,r,s,o),a!==void 0&&(this.data=a)}};ch.default=ah});var ph=T(dh=>{"use strict";Object.defineProperty(dh,"__esModule",{value:!0});var XN=require("vscode"),lh=class extends XN.TypeHierarchyItem{constructor(e,t,i,r,s,o,a){super(e,t,i,r,s,o),a!==void 0&&(this.data=a)}};dh.default=lh});var mh=T(hh=>{"use strict";Object.defineProperty(hh,"__esModule",{value:!0});var xu=require("vscode"),fh=class extends xu.SymbolInformation{constructor(e,t,i,r,s){let o=!(r instanceof xu.Uri);super(e,t,i,o?r:new xu.Location(r,new xu.Range(0,0,0,0))),this.hasRange=o,s!==void 0&&(this.data=s)}};hh.default=fh});var xh=T(vh=>{"use strict";Object.defineProperty(vh,"__esModule",{value:!0});var JN=require("vscode"),gh=class extends JN.InlayHint{constructor(e,t,i){super(e,t,i)}};vh.default=gh});var S0=T(yu=>{"use strict";Object.defineProperty(yu,"__esModule",{value:!0});yu.createConverter=void 0;var Ct=require("vscode"),le=ue(),Pr=qn(),b0=vu(),YN=Vf(),QN=Yf(),ZN=eh(),w0=ih(),_0=oh(),eA=uh(),tA=ph(),nA=mh(),iA=xh(),yh;(function(n){function e(t){let i=t;return i&&!!i.inserting&&!!i.replacing}n.is=e})(yh||(yh={}));function rA(n){let t=n||(g=>g.toString());function i(g){return t(g)}function r(g){return{uri:t(g.uri)}}function s(g){return{uri:t(g.uri),languageId:g.languageId,version:g.version,text:g.getText()}}function o(g){return{uri:t(g.uri),version:g.version}}function a(g){return{textDocument:s(g)}}function c(g){let A=g;return!!A.document&&!!A.contentChanges}function u(g){let A=g;return!!A.uri&&!!A.version}function l(g,A,Y){if(u(g))return{textDocument:{uri:t(g.uri),version:g.version},contentChanges:[{text:g.getText()}]};if(c(g)){let ke=A,P=Y;return{textDocument:{uri:t(ke),version:P},contentChanges:g.contentChanges.map(R=>{let D=R.range;return{range:{start:{line:D.start.line,character:D.start.character},end:{line:D.end.line,character:D.end.character}},rangeLength:R.rangeLength,text:R.text}})}}else throw Error("Unsupported text document change parameter")}function p(g){return{textDocument:r(g)}}function h(g,A=!1){let Y={textDocument:r(g)};return A&&(Y.text=g.getText()),Y}function x(g){switch(g){case Ct.TextDocumentSaveReason.Manual:return le.TextDocumentSaveReason.Manual;case Ct.TextDocumentSaveReason.AfterDelay:return le.TextDocumentSaveReason.AfterDelay;case Ct.TextDocumentSaveReason.FocusOut:return le.TextDocumentSaveReason.FocusOut}return le.TextDocumentSaveReason.Manual}function f(g){return{textDocument:r(g.document),reason:x(g.reason)}}function y(g){return{files:g.files.map(A=>({uri:t(A)}))}}function w(g){return{files:g.files.map(A=>({oldUri:t(A.oldUri),newUri:t(A.newUri)}))}}function S(g){return{files:g.files.map(A=>({uri:t(A)}))}}function O(g){return{files:g.files.map(A=>({uri:t(A)}))}}function k(g){return{files:g.files.map(A=>({oldUri:t(A.oldUri),newUri:t(A.newUri)}))}}function N(g){return{files:g.files.map(A=>({uri:t(A)}))}}function j(g,A){return{textDocument:r(g),position:ct(A)}}function G(g){switch(g){case Ct.CompletionTriggerKind.TriggerCharacter:return le.CompletionTriggerKind.TriggerCharacter;case Ct.CompletionTriggerKind.TriggerForIncompleteCompletions:return le.CompletionTriggerKind.TriggerForIncompleteCompletions;default:return le.CompletionTriggerKind.Invoked}}function $(g,A,Y){return{textDocument:r(g),position:ct(A),context:{triggerKind:G(Y.triggerKind),triggerCharacter:Y.triggerCharacter}}}function Q(g){switch(g){case Ct.SignatureHelpTriggerKind.Invoke:return le.SignatureHelpTriggerKind.Invoked;case Ct.SignatureHelpTriggerKind.TriggerCharacter:return le.SignatureHelpTriggerKind.TriggerCharacter;case Ct.SignatureHelpTriggerKind.ContentChange:return le.SignatureHelpTriggerKind.ContentChange}}function te(g){return{label:g.label}}function Oe(g){return g.map(te)}function Ye(g){return{label:g.label,parameters:Oe(g.parameters)}}function We(g){return g.map(Ye)}function Kt(g){return g===void 0?g:{signatures:We(g.signatures),activeSignature:g.activeSignature,activeParameter:g.activeParameter}}function Ne(g,A,Y){return{textDocument:r(g),position:ct(A),context:{isRetrigger:Y.isRetrigger,triggerCharacter:Y.triggerCharacter,triggerKind:Q(Y.triggerKind),activeSignatureHelp:Kt(Y.activeSignatureHelp)}}}function ct(g){return{line:g.line,character:g.character}}function mt(g){return g==null?g:{line:g.line>le.uinteger.MAX_VALUE?le.uinteger.MAX_VALUE:g.line,character:g.character>le.uinteger.MAX_VALUE?le.uinteger.MAX_VALUE:g.character}}function se(g,A){return b0.map(g,mt,A)}function ie(g){return g.map(mt)}function de(g){return g==null?g:{start:mt(g.start),end:mt(g.end)}}function ut(g){return g.map(de)}function Re(g){return g==null?g:le.Location.create(i(g.uri),de(g.range))}function Ke(g){switch(g){case Ct.DiagnosticSeverity.Error:return le.DiagnosticSeverity.Error;case Ct.DiagnosticSeverity.Warning:return le.DiagnosticSeverity.Warning;case Ct.DiagnosticSeverity.Information:return le.DiagnosticSeverity.Information;case Ct.DiagnosticSeverity.Hint:return le.DiagnosticSeverity.Hint}}function Sn(g){if(!g)return;let A=[];for(let Y of g){let ke=gt(Y);ke!==void 0&&A.push(ke)}return A.length>0?A:void 0}function gt(g){switch(g){case Ct.DiagnosticTag.Unnecessary:return le.DiagnosticTag.Unnecessary;case Ct.DiagnosticTag.Deprecated:return le.DiagnosticTag.Deprecated;default:return}}function it(g){return{message:g.message,location:Re(g.location)}}function Cn(g){return g.map(it)}function Rn(g){if(g!=null)return Pr.number(g)||Pr.string(g)?g:{value:g.value,target:i(g.target)}}function Ge(g){let A=le.Diagnostic.create(de(g.range),g.message),Y=g instanceof _0.ProtocolDiagnostic?g:void 0;Y!==void 0&&Y.data!==void 0&&(A.data=Y.data);let ke=Rn(g.code);return _0.DiagnosticCode.is(ke)?Y!==void 0&&Y.hasDiagnosticCode?A.code=ke:(A.code=ke.value,A.codeDescription={href:ke.target}):A.code=ke,Pr.number(g.severity)&&(A.severity=Ke(g.severity)),Array.isArray(g.tags)&&(A.tags=Sn(g.tags)),g.relatedInformation&&(A.relatedInformation=Cn(g.relatedInformation)),g.source&&(A.source=g.source),A}function Mn(g,A){return g==null?g:b0.map(g,Ge,A)}function Un(g){return g==null?g:g.map(Ge)}function ei(g,A){switch(g){case"$string":return A;case le.MarkupKind.PlainText:return{kind:g,value:A};case le.MarkupKind.Markdown:return{kind:g,value:A.value};default:return`Unsupported Markup content received. Kind is: ${g}`}}function yt(g){switch(g){case Ct.CompletionItemTag.Deprecated:return le.CompletionItemTag.Deprecated}}function mi(g){if(g===void 0)return g;let A=[];for(let Y of g){let ke=yt(Y);ke!==void 0&&A.push(ke)}return A}function zn(g,A){return A!==void 0?A:g+1}function Dn(g,A=!1){let Y,ke;Pr.string(g.label)?Y=g.label:(Y=g.label.label,A&&(g.label.detail!==void 0||g.label.description!==void 0)&&(ke={detail:g.label.detail,description:g.label.description}));let P={label:Y};ke!==void 0&&(P.labelDetails=ke);let v=g instanceof YN.default?g:void 0;g.detail&&(P.detail=g.detail),g.documentation&&(!v||v.documentationFormat==="$string"?P.documentation=g.documentation:P.documentation=ei(v.documentationFormat,g.documentation)),g.filterText&&(P.filterText=g.filterText),Fi(P,g),Pr.number(g.kind)&&(P.kind=zn(g.kind,v&&v.originalItemKind)),g.sortText&&(P.sortText=g.sortText),g.additionalTextEdits&&(P.additionalTextEdits=vt(g.additionalTextEdits)),g.commitCharacters&&(P.commitCharacters=g.commitCharacters.slice()),g.command&&(P.command=K(g.command)),(g.preselect===!0||g.preselect===!1)&&(P.preselect=g.preselect);let R=mi(g.tags);if(v){if(v.data!==void 0&&(P.data=v.data),v.deprecated===!0||v.deprecated===!1){if(v.deprecated===!0&&R!==void 0&&R.length>0){let D=R.indexOf(Ct.CompletionItemTag.Deprecated);D!==-1&&R.splice(D,1)}P.deprecated=v.deprecated}v.insertTextMode!==void 0&&(P.insertTextMode=v.insertTextMode)}return R!==void 0&&R.length>0&&(P.tags=R),P.insertTextMode===void 0&&g.keepWhitespace===!0&&(P.insertTextMode=le.InsertTextMode.adjustIndentation),P}function Fi(g,A){let Y=le.InsertTextFormat.PlainText,ke,P;A.textEdit?(ke=A.textEdit.newText,P=A.textEdit.range):A.insertText instanceof Ct.SnippetString?(Y=le.InsertTextFormat.Snippet,ke=A.insertText.value):ke=A.insertText,A.range&&(P=A.range),g.insertTextFormat=Y,A.fromEdit&&ke!==void 0&&P!==void 0?g.textEdit=Tn(ke,P):g.insertText=ke}function Tn(g,A){return yh.is(A)?le.InsertReplaceEdit.create(g,de(A.inserting),de(A.replacing)):{newText:g,range:de(A)}}function ti(g){return{range:de(g.range),newText:g.newText}}function vt(g){return g==null?g:g.map(ti)}function Lt(g){return g<=Ct.SymbolKind.TypeParameter?g+1:le.SymbolKind.Property}function Nt(g){return g}function fn(g){return g.map(Nt)}function Zt(g,A,Y){return{textDocument:r(g),position:ct(A),context:{includeDeclaration:Y.includeDeclaration}}}async function ni(g,A){let Y=le.CodeAction.create(g.title);if(g instanceof w0.default&&g.data!==void 0&&(Y.data=g.data),g.kind!==void 0&&(Y.kind=C(g.kind)),g.diagnostics!==void 0&&(Y.diagnostics=await Mn(g.diagnostics,A)),g.edit!==void 0)throw new Error("VS Code code actions can only be converted to a protocol code action without an edit.");return g.command!==void 0&&(Y.command=K(g.command)),g.isPreferred!==void 0&&(Y.isPreferred=g.isPreferred),g.disabled!==void 0&&(Y.disabled={reason:g.disabled.reason}),Y}function gi(g){let A=le.CodeAction.create(g.title);if(g instanceof w0.default&&g.data!==void 0&&(A.data=g.data),g.kind!==void 0&&(A.kind=C(g.kind)),g.diagnostics!==void 0&&(A.diagnostics=Un(g.diagnostics)),g.edit!==void 0)throw new Error("VS Code code actions can only be converted to a protocol code action without an edit.");return g.command!==void 0&&(A.command=K(g.command)),g.isPreferred!==void 0&&(A.isPreferred=g.isPreferred),g.disabled!==void 0&&(A.disabled={reason:g.disabled.reason}),A}async function $n(g,A){if(g==null)return g;let Y;return g.only&&Pr.string(g.only.value)&&(Y=[g.only.value]),le.CodeActionContext.create(await Mn(g.diagnostics,A),Y,Gt(g.triggerKind))}function vi(g){if(g==null)return g;let A;return g.only&&Pr.string(g.only.value)&&(A=[g.only.value]),le.CodeActionContext.create(Un(g.diagnostics),A,Gt(g.triggerKind))}function Gt(g){switch(g){case Ct.CodeActionTriggerKind.Invoke:return le.CodeActionTriggerKind.Invoked;case Ct.CodeActionTriggerKind.Automatic:return le.CodeActionTriggerKind.Automatic;default:return}}function C(g){if(g!=null)return g.value}function L(g){return g==null?g:le.InlineValueContext.create(g.frameId,de(g.stoppedLocation))}function B(g,A,Y){return{context:le.InlineCompletionContext.create(Y.triggerKind,Y.selectedCompletionInfo),textDocument:r(g),position:mt(A)}}function K(g){let A=le.Command.create(g.title,g.command);return g.arguments&&(A.arguments=g.arguments),A}function De(g){let A=le.CodeLens.create(de(g.range));return g.command&&(A.command=K(g.command)),g instanceof QN.default&&g.data&&(A.data=g.data),A}function Se(g,A){let Y={tabSize:g.tabSize,insertSpaces:g.insertSpaces};return A.trimTrailingWhitespace&&(Y.trimTrailingWhitespace=!0),A.trimFinalNewlines&&(Y.trimFinalNewlines=!0),A.insertFinalNewline&&(Y.insertFinalNewline=!0),Y}function Ae(g){return{textDocument:r(g)}}function Ue(g){return{textDocument:r(g)}}function me(g){let A=le.DocumentLink.create(de(g.range));g.target&&(A.target=i(g.target)),g.tooltip!==void 0&&(A.tooltip=g.tooltip);let Y=g instanceof ZN.default?g:void 0;return Y&&Y.data&&(A.data=Y.data),A}function Pe(g){return{textDocument:r(g)}}function ye(g){let A={name:g.name,kind:Lt(g.kind),uri:i(g.uri),range:de(g.range),selectionRange:de(g.selectionRange)};return g.detail!==void 0&&g.detail.length>0&&(A.detail=g.detail),g.tags!==void 0&&(A.tags=fn(g.tags)),g instanceof eA.default&&g.data!==void 0&&(A.data=g.data),A}function ze(g){let A={name:g.name,kind:Lt(g.kind),uri:i(g.uri),range:de(g.range),selectionRange:de(g.selectionRange)};return g.detail!==void 0&&g.detail.length>0&&(A.detail=g.detail),g.tags!==void 0&&(A.tags=fn(g.tags)),g instanceof tA.default&&g.data!==void 0&&(A.data=g.data),A}function lt(g){let A=g instanceof nA.default?{name:g.name,kind:Lt(g.kind),location:g.hasRange?Re(g.location):{uri:t(g.location.uri)},data:g.data}:{name:g.name,kind:Lt(g.kind),location:Re(g.location)};return g.tags!==void 0&&(A.tags=fn(g.tags)),g.containerName!==""&&(A.containerName=g.containerName),A}function Dt(g){let A=typeof g.label=="string"?g.label:g.label.map(Ni),Y=le.InlayHint.create(mt(g.position),A);return g.kind!==void 0&&(Y.kind=g.kind),g.textEdits!==void 0&&(Y.textEdits=vt(g.textEdits)),g.tooltip!==void 0&&(Y.tooltip=Ai(g.tooltip)),g.paddingLeft!==void 0&&(Y.paddingLeft=g.paddingLeft),g.paddingRight!==void 0&&(Y.paddingRight=g.paddingRight),g instanceof iA.default&&g.data!==void 0&&(Y.data=g.data),Y}function Ni(g){let A=le.InlayHintLabelPart.create(g.value);return g.location!==void 0&&(A.location=Re(g.location)),g.command!==void 0&&(A.command=K(g.command)),g.tooltip!==void 0&&(A.tooltip=Ai(g.tooltip)),A}function Ai(g){return typeof g=="string"?g:{kind:le.MarkupKind.Markdown,value:g.value}}return{asUri:i,asTextDocumentIdentifier:r,asTextDocumentItem:s,asVersionedTextDocumentIdentifier:o,asOpenTextDocumentParams:a,asChangeTextDocumentParams:l,asCloseTextDocumentParams:p,asSaveTextDocumentParams:h,asWillSaveTextDocumentParams:f,asDidCreateFilesParams:y,asDidRenameFilesParams:w,asDidDeleteFilesParams:S,asWillCreateFilesParams:O,asWillRenameFilesParams:k,asWillDeleteFilesParams:N,asTextDocumentPositionParams:j,asCompletionParams:$,asSignatureHelpParams:Ne,asWorkerPosition:ct,asRange:de,asRanges:ut,asPosition:mt,asPositions:se,asPositionsSync:ie,asLocation:Re,asDiagnosticSeverity:Ke,asDiagnosticTag:gt,asDiagnostic:Ge,asDiagnostics:Mn,asDiagnosticsSync:Un,asCompletionItem:Dn,asTextEdit:ti,asSymbolKind:Lt,asSymbolTag:Nt,asSymbolTags:fn,asReferenceParams:Zt,asCodeAction:ni,asCodeActionSync:gi,asCodeActionContext:$n,asCodeActionContextSync:vi,asInlineValueContext:L,asCommand:K,asCodeLens:De,asFormattingOptions:Se,asDocumentSymbolParams:Ae,asCodeLensParams:Ue,asDocumentLink:me,asDocumentLinkParams:Pe,asCallHierarchyItem:ye,asTypeHierarchyItem:ze,asInlayHint:Dt,asWorkspaceSymbol:lt,asInlineCompletionParams:B}}yu.createConverter=rA});var D0=T(wu=>{"use strict";Object.defineProperty(wu,"__esModule",{value:!0});wu.createConverter=void 0;var W=require("vscode"),ae=ue(),An=qn(),Ee=vu(),sA=Vf(),oA=Yf(),aA=eh(),cA=ih(),C0=oh(),uA=uh(),lA=ph(),dA=mh(),pA=xh(),R0=ue(),bu;(function(n){function e(t){let i=t;return i&&An.string(i.language)&&An.string(i.value)}n.is=e})(bu||(bu={}));function fA(n,e,t){let r=n||(d=>W.Uri.parse(d));function s(d){return r(d)}function o(d){let E=[];for(let U of d)if(typeof U=="string")E.push(U);else if(R0.NotebookCellTextDocumentFilter.is(U))if(typeof U.notebook=="string")E.push({notebookType:U.notebook,language:U.language});else{let Z=U.notebook.notebookType??"*";E.push({notebookType:Z,scheme:U.notebook.scheme,pattern:U.notebook.pattern,language:U.language})}else R0.TextDocumentFilter.is(U)&&E.push({language:U.language,scheme:U.scheme,pattern:U.pattern});return E}async function a(d,E){return Ee.map(d,u,E)}function c(d){let E=new Array(d.length);for(let U=0;U0?E:void 0}function h(d){switch(d){case ae.DiagnosticTag.Unnecessary:return W.DiagnosticTag.Unnecessary;case ae.DiagnosticTag.Deprecated:return W.DiagnosticTag.Deprecated;default:return}}function x(d){return d?new W.Position(d.line,d.character):void 0}function f(d){return d?new W.Range(d.start.line,d.start.character,d.end.line,d.end.character):void 0}async function y(d,E){return Ee.map(d,U=>new W.Range(U.start.line,U.start.character,U.end.line,U.end.character),E)}function w(d){if(d==null)return W.DiagnosticSeverity.Error;switch(d){case ae.DiagnosticSeverity.Error:return W.DiagnosticSeverity.Error;case ae.DiagnosticSeverity.Warning:return W.DiagnosticSeverity.Warning;case ae.DiagnosticSeverity.Information:return W.DiagnosticSeverity.Information;case ae.DiagnosticSeverity.Hint:return W.DiagnosticSeverity.Hint}return W.DiagnosticSeverity.Error}function S(d){if(An.string(d))return k(d);if(bu.is(d))return k().appendCodeblock(d.value,d.language);if(Array.isArray(d)){let E=[];for(let U of d){let Z=k();bu.is(U)?Z.appendCodeblock(U.value,U.language):Z.appendMarkdown(U),E.push(Z)}return E}else return k(d)}function O(d){if(An.string(d))return d;switch(d.kind){case ae.MarkupKind.Markdown:return k(d.value);case ae.MarkupKind.PlainText:return d.value;default:return`Unsupported Markup content received. Kind is: ${d.kind}`}}function k(d){let E;if(d===void 0||typeof d=="string")E=new W.MarkdownString(d);else switch(d.kind){case ae.MarkupKind.Markdown:E=new W.MarkdownString(d.value);break;case ae.MarkupKind.PlainText:E=new W.MarkdownString,E.appendText(d.value);break;default:E=new W.MarkdownString,E.appendText(`Unsupported Markup content received. Kind is: ${d.kind}`);break}return E.isTrusted=e,E.supportHtml=t,E}function N(d){if(d)return new W.Hover(S(d.contents),f(d.range))}async function j(d,E,U){if(!d)return;if(Array.isArray(d))return Ee.map(d,ri=>Oe(ri,E),U);let Z=d,{defaultRange:Tt,commitCharacters:At}=G(Z,E),Le=await Ee.map(Z.items,ri=>Oe(ri,At,Tt,Z.itemDefaults?.insertTextMode,Z.itemDefaults?.insertTextFormat,Z.itemDefaults?.data),U);return new W.CompletionList(Le,Z.isIncomplete)}function G(d,E){let U=d.itemDefaults?.editRange,Z=d.itemDefaults?.commitCharacters??E;return ae.Range.is(U)?{defaultRange:f(U),commitCharacters:Z}:U!==void 0?{defaultRange:{inserting:f(U.insert),replacing:f(U.replace)},commitCharacters:Z}:{defaultRange:void 0,commitCharacters:Z}}function $(d){return ae.CompletionItemKind.Text<=d&&d<=ae.CompletionItemKind.TypeParameter?[d-1,void 0]:[W.CompletionItemKind.Text,d]}function Q(d){switch(d){case ae.CompletionItemTag.Deprecated:return W.CompletionItemTag.Deprecated}}function te(d){if(d==null)return[];let E=[];for(let U of d){let Z=Q(U);Z!==void 0&&E.push(Z)}return E}function Oe(d,E,U,Z,Tt,At){let Le=te(d.tags),ri=Ye(d),He=new sA.default(ri);d.detail&&(He.detail=d.detail),d.documentation&&(He.documentation=O(d.documentation),He.documentationFormat=An.string(d.documentation)?"$string":d.documentation.kind),d.filterText&&(He.filterText=d.filterText);let aa=We(d,U,Tt);if(aa&&(He.insertText=aa.text,He.range=aa.range,He.fromEdit=aa.fromEdit),An.number(d.kind)){let[sT,Wg]=$(d.kind);He.kind=sT,Wg&&(He.originalItemKind=Wg)}d.sortText&&(He.sortText=d.sortText),d.additionalTextEdits&&(He.additionalTextEdits=mt(d.additionalTextEdits));let Hg=d.commitCharacters!==void 0?An.stringArray(d.commitCharacters)?d.commitCharacters:void 0:E;Hg&&(He.commitCharacters=Hg.slice()),d.command&&(He.command=vt(d.command)),(d.deprecated===!0||d.deprecated===!1)&&(He.deprecated=d.deprecated,d.deprecated===!0&&Le.push(W.CompletionItemTag.Deprecated)),(d.preselect===!0||d.preselect===!1)&&(He.preselect=d.preselect);let Bg=d.data??At;Bg!==void 0&&(He.data=Bg),Le.length>0&&(He.tags=Le);let yl=d.insertTextMode??Z;return yl!==void 0&&(He.insertTextMode=yl,yl===ae.InsertTextMode.asIs&&(He.keepWhitespace=!0)),He}function Ye(d){return ae.CompletionItemLabelDetails.is(d.labelDetails)?{label:d.label,detail:d.labelDetails.detail,description:d.labelDetails.description}:d.label}function We(d,E,U){let Z=d.insertTextFormat??U;if(d.textEdit!==void 0||E!==void 0){let[Tt,At]=d.textEdit!==void 0?Kt(d.textEdit):[E,d.textEditText??d.label];return Z===ae.InsertTextFormat.Snippet?{text:new W.SnippetString(At),range:Tt,fromEdit:!0}:{text:At,range:Tt,fromEdit:!0}}else return d.insertText?Z===ae.InsertTextFormat.Snippet?{text:new W.SnippetString(d.insertText),fromEdit:!1}:{text:d.insertText,fromEdit:!1}:void 0}function Kt(d){return ae.InsertReplaceEdit.is(d)?[{inserting:f(d.insert),replacing:f(d.replace)},d.newText]:[f(d.range),d.newText]}function Ne(d){if(d)return new W.TextEdit(f(d.range),d.newText)}async function ct(d,E){if(d)return Ee.map(d,Ne,E)}function mt(d){if(!d)return;let E=new Array(d.length);for(let U=0;U0){let U=[];for(let Z of d.children)U.push(Tn(Z));E.children=U}return E}function ti(d,E){d.tags=zn(E.tags),E.deprecated&&(d.tags?d.tags.includes(W.SymbolTag.Deprecated)||(d.tags=d.tags.concat(W.SymbolTag.Deprecated)):d.tags=[W.SymbolTag.Deprecated])}function vt(d){let E={title:d.title,command:d.command};return d.arguments&&(E.arguments=d.arguments),E}async function Lt(d,E){if(d)return Ee.map(d,vt,E)}let Nt=new Map;Nt.set(ae.CodeActionKind.Empty,W.CodeActionKind.Empty),Nt.set(ae.CodeActionKind.QuickFix,W.CodeActionKind.QuickFix),Nt.set(ae.CodeActionKind.Refactor,W.CodeActionKind.Refactor),Nt.set(ae.CodeActionKind.RefactorExtract,W.CodeActionKind.RefactorExtract),Nt.set(ae.CodeActionKind.RefactorInline,W.CodeActionKind.RefactorInline),Nt.set(ae.CodeActionKind.RefactorRewrite,W.CodeActionKind.RefactorRewrite),Nt.set(ae.CodeActionKind.Source,W.CodeActionKind.Source),Nt.set(ae.CodeActionKind.SourceOrganizeImports,W.CodeActionKind.SourceOrganizeImports);function fn(d){if(d==null)return;let E=Nt.get(d);if(E)return E;let U=d.split(".");E=W.CodeActionKind.Empty;for(let Z of U)E=E.append(Z);return E}function Zt(d){if(d!=null)return d.map(E=>fn(E))}async function ni(d,E){if(d==null)return;let U=new cA.default(d.title,d.data);return d.kind!==void 0&&(U.kind=fn(d.kind)),d.diagnostics!==void 0&&(U.diagnostics=c(d.diagnostics)),d.edit!==void 0&&(U.edit=await Gt(d.edit,E)),d.command!==void 0&&(U.command=vt(d.command)),d.isPreferred!==void 0&&(U.isPreferred=d.isPreferred),d.disabled!==void 0&&(U.disabled={reason:d.disabled.reason}),U}function gi(d,E){return Ee.mapAsync(d,async U=>ae.Command.is(U)?vt(U):ni(U,E),E)}function $n(d){if(!d)return;let E=new oA.default(f(d.range));return d.command&&(E.command=vt(d.command)),d.data!==void 0&&d.data!==null&&(E.data=d.data),E}async function vi(d,E){if(d)return Ee.map(d,$n,E)}async function Gt(d,E){if(!d)return;let U=new Map;if(d.changeAnnotations!==void 0){let At=d.changeAnnotations;await Ee.forEach(Object.keys(At),Le=>{let ri=C(At[Le]);U.set(Le,ri)},E)}let Z=At=>{if(At!==void 0)return U.get(At)},Tt=new W.WorkspaceEdit;if(d.documentChanges){let At=d.documentChanges;await Ee.forEach(At,Le=>{if(ae.CreateFile.is(Le))Tt.createFile(r(Le.uri),Le.options,Z(Le.annotationId));else if(ae.RenameFile.is(Le))Tt.renameFile(r(Le.oldUri),r(Le.newUri),Le.options,Z(Le.annotationId));else if(ae.DeleteFile.is(Le))Tt.deleteFile(r(Le.uri),Le.options,Z(Le.annotationId));else if(ae.TextDocumentEdit.is(Le)){let ri=r(Le.textDocument.uri);for(let He of Le.edits)ae.AnnotatedTextEdit.is(He)?Tt.replace(ri,f(He.range),He.newText,Z(He.annotationId)):Tt.replace(ri,f(He.range),He.newText)}else throw new Error(`Unknown workspace edit change received: +${JSON.stringify(Le,void 0,4)}`)},E)}else if(d.changes){let At=d.changes;await Ee.forEach(Object.keys(At),Le=>{Tt.set(r(Le),mt(At[Le]))},E)}return Tt}function C(d){if(d!==void 0)return{label:d.label,needsConfirmation:!!d.needsConfirmation,description:d.description}}function L(d){let E=f(d.range),U=d.target?s(d.target):void 0,Z=new aA.default(E,U);return d.tooltip!==void 0&&(Z.tooltip=d.tooltip),d.data!==void 0&&d.data!==null&&(Z.data=d.data),Z}async function B(d,E){if(d)return Ee.map(d,L,E)}function K(d){return new W.Color(d.red,d.green,d.blue,d.alpha)}function De(d){return new W.ColorInformation(f(d.range),K(d.color))}async function Se(d,E){if(d)return Ee.map(d,De,E)}function Ae(d){let E=new W.ColorPresentation(d.label);return E.additionalTextEdits=mt(d.additionalTextEdits),d.textEdit&&(E.textEdit=Ne(d.textEdit)),E}async function Ue(d,E){if(d)return Ee.map(d,Ae,E)}function me(d){if(d)switch(d){case ae.FoldingRangeKind.Comment:return W.FoldingRangeKind.Comment;case ae.FoldingRangeKind.Imports:return W.FoldingRangeKind.Imports;case ae.FoldingRangeKind.Region:return W.FoldingRangeKind.Region}}function Pe(d){return new W.FoldingRange(d.startLine,d.endLine,me(d.kind))}async function ye(d,E){if(d)return Ee.map(d,Pe,E)}function ze(d){return new W.SelectionRange(f(d.range),d.parent?ze(d.parent):void 0)}async function lt(d,E){return Array.isArray(d)?Ee.map(d,ze,E):[]}function Dt(d){return ae.InlineValueText.is(d)?new W.InlineValueText(f(d.range),d.text):ae.InlineValueVariableLookup.is(d)?new W.InlineValueVariableLookup(f(d.range),d.variableName,d.caseSensitiveLookup):new W.InlineValueEvaluatableExpression(f(d.range),d.expression)}async function Ni(d,E){return Array.isArray(d)?Ee.map(d,Dt,E):[]}async function Ai(d,E){let U=typeof d.label=="string"?d.label:await Ee.map(d.label,g,E),Z=new pA.default(x(d.position),U);return d.kind!==void 0&&(Z.kind=d.kind),d.textEdits!==void 0&&(Z.textEdits=await ct(d.textEdits,E)),d.tooltip!==void 0&&(Z.tooltip=A(d.tooltip)),d.paddingLeft!==void 0&&(Z.paddingLeft=d.paddingLeft),d.paddingRight!==void 0&&(Z.paddingRight=d.paddingRight),d.data!==void 0&&(Z.data=d.data),Z}function g(d){let E=new W.InlayHintLabelPart(d.value);return d.location!==void 0&&(E.location=Ke(d.location)),d.tooltip!==void 0&&(E.tooltip=A(d.tooltip)),d.command!==void 0&&(E.command=vt(d.command)),E}function A(d){return typeof d=="string"?d:k(d)}async function Y(d,E){if(Array.isArray(d))return Ee.mapAsync(d,Ai,E)}function ke(d){if(d===null)return;let E=new uA.default(yt(d.kind),d.name,d.detail||"",s(d.uri),f(d.range),f(d.selectionRange),d.data);return d.tags!==void 0&&(E.tags=zn(d.tags)),E}async function P(d,E){if(d!==null)return Ee.map(d,ke,E)}async function v(d,E){return new W.CallHierarchyIncomingCall(ke(d.from),await y(d.fromRanges,E))}async function R(d,E){if(d!==null)return Ee.mapAsync(d,v,E)}async function D(d,E){return new W.CallHierarchyOutgoingCall(ke(d.to),await y(d.fromRanges,E))}async function b(d,E){if(d!==null)return Ee.mapAsync(d,D,E)}async function m(d,E){if(d!=null)return new W.SemanticTokens(new Uint32Array(d.data),d.resultId)}function F(d){return new W.SemanticTokensEdit(d.start,d.deleteCount,d.data!==void 0?new Uint32Array(d.data):void 0)}async function M(d,E){if(d!=null)return new W.SemanticTokensEdits(d.edits.map(F),d.resultId)}function ce(d){return d}async function Qe(d,E){if(d!=null)return new W.LinkedEditingRanges(await y(d.ranges,E),$e(d.wordPattern))}function $e(d){if(d!=null)return new RegExp(d)}function en(d){if(d===null)return;let E=new lA.default(yt(d.kind),d.name,d.detail||"",s(d.uri),f(d.range),f(d.selectionRange),d.data);return d.tags!==void 0&&(E.tags=zn(d.tags)),E}async function hn(d,E){if(d!==null)return Ee.map(d,en,E)}function Hn(d){if(An.string(d))return d;if(ae.RelativePattern.is(d)){if(ae.URI.is(d.baseUri))return new W.RelativePattern(s(d.baseUri),d.pattern);if(ae.WorkspaceFolder.is(d.baseUri)){let E=W.workspace.getWorkspaceFolder(s(d.baseUri.uri));return E!==void 0?new W.RelativePattern(E,d.pattern):void 0}}}async function xe(d,E){if(!d)return;if(Array.isArray(d))return Ee.map(d,Tt=>ii(Tt),E);let U=d,Z=await Ee.map(U.items,Tt=>ii(Tt),E);return new W.InlineCompletionList(Z)}function ii(d){let E;typeof d.insertText=="string"?E=d.insertText:E=new W.SnippetString(d.insertText.value);let U;d.command&&(U=vt(d.command));let Z=new W.InlineCompletionItem(E,f(d.range),U);return d.filterText&&(Z.filterText=d.filterText),Z}return{asUri:s,asDocumentSelector:o,asDiagnostics:a,asDiagnostic:u,asRange:f,asRanges:y,asPosition:x,asDiagnosticSeverity:w,asDiagnosticTag:h,asHover:N,asCompletionResult:j,asCompletionItem:Oe,asTextEdit:Ne,asTextEdits:ct,asSignatureHelp:se,asSignatureInformations:ie,asSignatureInformation:de,asParameterInformations:ut,asParameterInformation:Re,asDeclarationResult:Sn,asDefinitionResult:gt,asLocation:Ke,asReferences:Rn,asDocumentHighlights:Ge,asDocumentHighlight:Mn,asDocumentHighlightKind:Un,asSymbolKind:yt,asSymbolTag:mi,asSymbolTags:zn,asSymbolInformations:ei,asSymbolInformation:Dn,asDocumentSymbols:Fi,asDocumentSymbol:Tn,asCommand:vt,asCommands:Lt,asCodeAction:ni,asCodeActionKind:fn,asCodeActionKinds:Zt,asCodeActionResult:gi,asCodeLens:$n,asCodeLenses:vi,asWorkspaceEdit:Gt,asDocumentLink:L,asDocumentLinks:B,asFoldingRangeKind:me,asFoldingRange:Pe,asFoldingRanges:ye,asColor:K,asColorInformation:De,asColorInformations:Se,asColorPresentation:Ae,asColorPresentations:Ue,asSelectionRange:ze,asSelectionRanges:lt,asInlineValue:Dt,asInlineValues:Ni,asInlayHint:Ai,asInlayHints:Y,asSemanticTokensLegend:ce,asSemanticTokens:m,asSemanticTokensEdit:F,asSemanticTokensEdits:M,asCallHierarchyItem:ke,asCallHierarchyItems:P,asCallHierarchyIncomingCall:v,asCallHierarchyIncomingCalls:R,asCallHierarchyOutgoingCall:D,asCallHierarchyOutgoingCalls:b,asLinkedEditingRanges:Qe,asTypeHierarchyItem:en,asTypeHierarchyItems:hn,asGlobPattern:Hn,asInlineCompletionResult:xe,asInlineCompletionItem:ii}}wu.createConverter=fA});var tt=T(In=>{"use strict";Object.defineProperty(In,"__esModule",{value:!0});In.generateUuid=In.parse=In.isUUID=In.v4=In.empty=void 0;var Ao=class{constructor(e){this._value=e}asHex(){return this._value}equals(e){return this.asHex()===e.asHex()}},Io=class n extends Ao{static _oneOf(e){return e[Math.floor(e.length*Math.random())]}static _randomHex(){return n._oneOf(n._chars)}constructor(){super([n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),"-",n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),"-","4",n._randomHex(),n._randomHex(),n._randomHex(),"-",n._oneOf(n._timeHighBits),n._randomHex(),n._randomHex(),n._randomHex(),"-",n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex()].join(""))}};Io._chars=["0","1","2","3","4","5","6","6","7","8","9","a","b","c","d","e","f"];Io._timeHighBits=["8","9","a","b"];In.empty=new Ao("00000000-0000-0000-0000-000000000000");function T0(){return new Io}In.v4=T0;var hA=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;function E0(n){return hA.test(n)}In.isUUID=E0;function mA(n){if(!E0(n))throw new Error("invalid uuid");return new Ao(n)}In.parse=mA;function gA(){return T0().asHex()}In.generateUuid=gA});var wh=T(_u=>{"use strict";Object.defineProperty(_u,"__esModule",{value:!0});_u.ProgressPart=void 0;var P0=require("vscode"),k0=ue(),O0=qn(),bh=class{constructor(e,t,i){this._client=e,this._token=t,this._reported=0,this._infinite=!1,this._lspProgressDisposable=this._client.onProgress(k0.WorkDoneProgress.type,this._token,r=>{switch(r.kind){case"begin":this.begin(r);break;case"report":this.report(r);break;case"end":this.done(),i&&i(this);break}})}begin(e){this._infinite=e.percentage===void 0,this._lspProgressDisposable!==void 0&&P0.window.withProgress({location:P0.ProgressLocation.Window,cancellable:e.cancellable,title:e.title},async(t,i)=>{if(this._lspProgressDisposable!==void 0)return this._progress=t,this._cancellationToken=i,this._tokenDisposable=this._cancellationToken.onCancellationRequested(()=>{this._client.sendNotification(k0.WorkDoneProgressCancelNotification.type,{token:this._token})}),this.report(e),new Promise((r,s)=>{this._resolve=r,this._reject=s})})}report(e){if(this._infinite&&O0.string(e.message))this._progress!==void 0&&this._progress.report({message:e.message});else if(O0.number(e.percentage)){let t=Math.max(0,Math.min(e.percentage,100)),i=Math.max(0,t-this._reported);this._reported+=i,this._progress!==void 0&&this._progress.report({message:e.message,increment:i})}}cancel(){this.cleanup(),this._reject!==void 0&&(this._reject(),this._resolve=void 0,this._reject=void 0)}done(){this.cleanup(),this._resolve!==void 0&&(this._resolve(),this._resolve=void 0,this._reject=void 0)}cleanup(){this._lspProgressDisposable!==void 0&&(this._lspProgressDisposable.dispose(),this._lspProgressDisposable=void 0),this._tokenDisposable!==void 0&&(this._tokenDisposable.dispose(),this._tokenDisposable=void 0),this._progress=void 0,this._cancellationToken=void 0}};_u.ProgressPart=bh});var Ce=T(qt=>{"use strict";Object.defineProperty(qt,"__esModule",{value:!0});qt.WorkspaceFeature=qt.TextDocumentLanguageFeature=qt.TextDocumentEventFeature=qt.DynamicDocumentFeature=qt.DynamicFeature=qt.StaticFeature=qt.ensure=qt.LSPCancellationError=void 0;var kr=require("vscode"),_h=ue(),Jt=qn(),q0=tt(),Sh=class extends kr.CancellationError{constructor(e){super(),this.data=e}};qt.LSPCancellationError=Sh;function vA(n,e){return n[e]===void 0&&(n[e]={}),n[e]}qt.ensure=vA;var F0;(function(n){function e(t){let i=t;return i!=null&&Jt.func(i.fillClientCapabilities)&&Jt.func(i.initialize)&&Jt.func(i.getState)&&Jt.func(i.clear)&&(i.fillInitializeParams===void 0||Jt.func(i.fillInitializeParams))}n.is=e})(F0||(qt.StaticFeature=F0={}));var N0;(function(n){function e(t){let i=t;return i!=null&&Jt.func(i.fillClientCapabilities)&&Jt.func(i.initialize)&&Jt.func(i.getState)&&Jt.func(i.clear)&&(i.fillInitializeParams===void 0||Jt.func(i.fillInitializeParams))&&Jt.func(i.register)&&Jt.func(i.unregister)&&i.registrationType!==void 0}n.is=e})(N0||(qt.DynamicFeature=N0={}));var jo=class{constructor(e){this._client=e}getState(){let e=this.getDocumentSelectors(),t=0;for(let r of e){t++;for(let s of kr.workspace.textDocuments)if(kr.languages.match(r,s)>0)return{kind:"document",id:this.registrationType.method,registrations:!0,matches:!0}}let i=t>0;return{kind:"document",id:this.registrationType.method,registrations:i,matches:!1}}};qt.DynamicDocumentFeature=jo;var Ch=class extends jo{static textDocumentFilter(e,t){for(let i of e)if(kr.languages.match(i,t)>0)return!0;return!1}constructor(e,t,i,r,s,o,a){super(e),this._event=t,this._type=i,this._middleware=r,this._createParams=s,this._textDocument=o,this._selectorFilter=a,this._selectors=new Map,this._onNotificationSent=new kr.EventEmitter}getStateInfo(){return[this._selectors.values(),!1]}getDocumentSelectors(){return this._selectors.values()}register(e){e.registerOptions.documentSelector&&(this._listener||(this._listener=this._event(t=>{this.callback(t).catch(i=>{this._client.error(`Sending document notification ${this._type.method} failed.`,i)})})),this._selectors.set(e.id,this._client.protocol2CodeConverter.asDocumentSelector(e.registerOptions.documentSelector)))}async callback(e){let t=async i=>{let r=this._createParams(i);await this._client.sendNotification(this._type,r),this.notificationSent(this.getTextDocument(i),this._type,r)};if(this.matches(e)){let i=this._middleware();return i?i(e,r=>t(r)):t(e)}}matches(e){return this._client.hasDedicatedTextSynchronizationFeature(this._textDocument(e))?!1:!this._selectorFilter||this._selectorFilter(this._selectors.values(),e)}get onNotificationSent(){return this._onNotificationSent.event}notificationSent(e,t,i){this._onNotificationSent.fire({textDocument:e,type:t,params:i})}unregister(e){this._selectors.delete(e),this._selectors.size===0&&this._listener&&(this._listener.dispose(),this._listener=void 0)}clear(){this._selectors.clear(),this._onNotificationSent.dispose(),this._listener&&(this._listener.dispose(),this._listener=void 0)}getProvider(e){for(let t of this._selectors.values())if(kr.languages.match(t,e)>0)return{send:i=>this.callback(i)}}};qt.TextDocumentEventFeature=Ch;var Rh=class extends jo{constructor(e,t){super(e),this._registrationType=t,this._registrations=new Map}*getDocumentSelectors(){for(let e of this._registrations.values()){let t=e.data.registerOptions.documentSelector;t!==null&&(yield this._client.protocol2CodeConverter.asDocumentSelector(t))}}get registrationType(){return this._registrationType}register(e){if(!e.registerOptions.documentSelector)return;let t=this.registerLanguageProvider(e.registerOptions,e.id);this._registrations.set(e.id,{disposable:t[0],data:e,provider:t[1]})}unregister(e){let t=this._registrations.get(e);t!==void 0&&t.disposable.dispose()}clear(){this._registrations.forEach(e=>{e.disposable.dispose()}),this._registrations.clear()}getRegistration(e,t){if(t){if(_h.TextDocumentRegistrationOptions.is(t)){let i=_h.StaticRegistrationOptions.hasId(t)?t.id:q0.generateUuid(),r=t.documentSelector??e;if(r)return[i,Object.assign({},t,{documentSelector:r})]}else if(Jt.boolean(t)&&t===!0||_h.WorkDoneProgressOptions.is(t)){if(!e)return[void 0,void 0];let i=Jt.boolean(t)&&t===!0?{documentSelector:e}:Object.assign({},t,{documentSelector:e});return[q0.generateUuid(),i]}}else return[void 0,void 0];return[void 0,void 0]}getRegistrationOptions(e,t){if(!(!e||!t))return Jt.boolean(t)&&t===!0?{documentSelector:e}:Object.assign({},t,{documentSelector:e})}getProvider(e){for(let t of this._registrations.values()){let i=t.data.registerOptions.documentSelector;if(i!==null&&kr.languages.match(this._client.protocol2CodeConverter.asDocumentSelector(i),e)>0)return t.provider}}getAllProviders(){let e=[];for(let t of this._registrations.values())e.push(t.provider);return e}};qt.TextDocumentLanguageFeature=Rh;var Dh=class{constructor(e,t){this._client=e,this._registrationType=t,this._registrations=new Map}getState(){let e=this._registrations.size>0;return{kind:"workspace",id:this._registrationType.method,registrations:e}}get registrationType(){return this._registrationType}register(e){let t=this.registerLanguageProvider(e.registerOptions);this._registrations.set(e.id,{disposable:t[0],provider:t[1]})}unregister(e){let t=this._registrations.get(e);t!==void 0&&t.disposable.dispose()}clear(){this._registrations.forEach(e=>{e.disposable.dispose()}),this._registrations.clear()}getProviders(){let e=[];for(let t of this._registrations.values())e.push(t.provider);return e}};qt.WorkspaceFeature=Dh});var I0=T((yU,A0)=>{var xA=typeof process=="object"&&process&&process.platform==="win32";A0.exports=xA?{sep:"\\"}:{sep:"/"}});var z0=T((bU,U0)=>{"use strict";U0.exports=L0;function L0(n,e,t){n instanceof RegExp&&(n=j0(n,t)),e instanceof RegExp&&(e=j0(e,t));var i=M0(n,e,t);return i&&{start:i[0],end:i[1],pre:t.slice(0,i[0]),body:t.slice(i[0]+n.length,i[1]),post:t.slice(i[1]+e.length)}}function j0(n,e){var t=e.match(n);return t?t[0]:null}L0.range=M0;function M0(n,e,t){var i,r,s,o,a,c=t.indexOf(n),u=t.indexOf(e,c+1),l=c;if(c>=0&&u>0){if(n===e)return[c,u];for(i=[],s=t.length;l>=0&&!a;)l==c?(i.push(l),c=t.indexOf(n,l+1)):i.length==1?a=[i.pop(),u]:(r=i.pop(),r=0?c:u;i.length&&(a=[s,o])}return a}});var X0=T((wU,V0)=>{var $0=z0();V0.exports=wA;var H0="\0SLASH"+Math.random()+"\0",B0="\0OPEN"+Math.random()+"\0",Eh="\0CLOSE"+Math.random()+"\0",W0="\0COMMA"+Math.random()+"\0",K0="\0PERIOD"+Math.random()+"\0";function Th(n){return parseInt(n,10)==n?parseInt(n,10):n.charCodeAt(0)}function yA(n){return n.split("\\\\").join(H0).split("\\{").join(B0).split("\\}").join(Eh).split("\\,").join(W0).split("\\.").join(K0)}function bA(n){return n.split(H0).join("\\").split(B0).join("{").split(Eh).join("}").split(W0).join(",").split(K0).join(".")}function G0(n){if(!n)return[""];var e=[],t=$0("{","}",n);if(!t)return n.split(",");var i=t.pre,r=t.body,s=t.post,o=i.split(",");o[o.length-1]+="{"+r+"}";var a=G0(s);return s.length&&(o[o.length-1]+=a.shift(),o.push.apply(o,a)),e.push.apply(e,o),e}function wA(n){return n?(n.substr(0,2)==="{}"&&(n="\\{\\}"+n.substr(2)),Lo(yA(n),!0).map(bA)):[]}function _A(n){return"{"+n+"}"}function SA(n){return/^-?0\d/.test(n)}function CA(n,e){return n<=e}function RA(n,e){return n>=e}function Lo(n,e){var t=[],i=$0("{","}",n);if(!i)return[n];var r=i.pre,s=i.post.length?Lo(i.post,!1):[""];if(/\$$/.test(i.pre))for(var o=0;o=0;if(!l&&!p)return i.post.match(/,.*\}/)?(n=i.pre+"{"+i.body+Eh+i.post,Lo(n)):[n];var h;if(l)h=i.body.split(/\.\./);else if(h=G0(i.body),h.length===1&&(h=Lo(h[0],!1).map(_A),h.length===1))return s.map(function(Oe){return i.pre+h[0]+Oe});var x;if(l){var f=Th(h[0]),y=Th(h[1]),w=Math.max(h[0].length,h[1].length),S=h.length==3?Math.abs(Th(h[2])):1,O=CA,k=y0){var Q=new Array($+1).join("0");j<0?G="-"+Q+G.slice(1):G=Q+G}}x.push(G)}}else{x=[];for(var te=0;te{var yn=Fh.exports=(n,e,t={})=>(Su(e),!t.nocomment&&e.charAt(0)==="#"?!1:new ks(e,t).match(n));Fh.exports=yn;var Oh=I0();yn.sep=Oh.sep;var Jn=Symbol("globstar **");yn.GLOBSTAR=Jn;var DA=X0(),J0={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},qh="[^/]",Ph=qh+"*?",TA="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",EA="(?:(?!(?:\\/|^)\\.).)*?",Z0=n=>n.split("").reduce((e,t)=>(e[t]=!0,e),{}),Y0=Z0("().*{}+?[]^$\\!"),PA=Z0("[.("),Q0=/\/+/;yn.filter=(n,e={})=>(t,i,r)=>yn(t,n,e);var lr=(n,e={})=>{let t={};return Object.keys(n).forEach(i=>t[i]=n[i]),Object.keys(e).forEach(i=>t[i]=e[i]),t};yn.defaults=n=>{if(!n||typeof n!="object"||!Object.keys(n).length)return yn;let e=yn,t=(i,r,s)=>e(i,r,lr(n,s));return t.Minimatch=class extends e.Minimatch{constructor(r,s){super(r,lr(n,s))}},t.Minimatch.defaults=i=>e.defaults(lr(n,i)).Minimatch,t.filter=(i,r)=>e.filter(i,lr(n,r)),t.defaults=i=>e.defaults(lr(n,i)),t.makeRe=(i,r)=>e.makeRe(i,lr(n,r)),t.braceExpand=(i,r)=>e.braceExpand(i,lr(n,r)),t.match=(i,r,s)=>e.match(i,r,lr(n,s)),t};yn.braceExpand=(n,e)=>eR(n,e);var eR=(n,e={})=>(Su(n),e.nobrace||!/\{(?:(?!\{).)*\}/.test(n)?[n]:DA(n)),kA=1024*64,Su=n=>{if(typeof n!="string")throw new TypeError("invalid pattern");if(n.length>kA)throw new TypeError("pattern is too long")},kh=Symbol("subparse");yn.makeRe=(n,e)=>new ks(n,e||{}).makeRe();yn.match=(n,e,t={})=>{let i=new ks(e,t);return n=n.filter(r=>i.match(r)),i.options.nonull&&!n.length&&n.push(e),n};var OA=n=>n.replace(/\\(.)/g,"$1"),qA=n=>n.replace(/\\([^-\]])/g,"$1"),FA=n=>n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),NA=n=>n.replace(/[[\]\\]/g,"\\$&"),ks=class{constructor(e,t){Su(e),t||(t={}),this.options=t,this.set=[],this.pattern=e,this.windowsPathsNoEscape=!!t.windowsPathsNoEscape||t.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.make()}debug(){}make(){let e=this.pattern,t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate();let i=this.globSet=this.braceExpand();t.debug&&(this.debug=(...r)=>console.error(...r)),this.debug(this.pattern,i),i=this.globParts=i.map(r=>r.split(Q0)),this.debug(this.pattern,i),i=i.map((r,s,o)=>r.map(this.parse,this)),this.debug(this.pattern,i),i=i.filter(r=>r.indexOf(!1)===-1),this.debug(this.pattern,i),this.set=i}parseNegate(){if(this.options.nonegate)return;let e=this.pattern,t=!1,i=0;for(let r=0;r>> no match, partial?`,e,p,t,h),p===a))}var f;if(typeof u=="string"?(f=l===u,this.debug("string match",u,l,f)):(f=l.match(u),this.debug("pattern match",u,l,f)),!f)return!1}if(s===a&&o===c)return!0;if(s===a)return i;if(o===c)return s===a-1&&e[s]==="";throw new Error("wtf?")}braceExpand(){return eR(this.pattern,this.options)}parse(e,t){Su(e);let i=this.options;if(e==="**")if(i.noglobstar)e="*";else return Jn;if(e==="")return"";let r="",s=!1,o=!1,a=[],c=[],u,l=!1,p=-1,h=-1,x,f,y,w=e.charAt(0)===".",S=i.dot||w,O=()=>w?"":S?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",k=$=>$.charAt(0)==="."?"":i.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",N=()=>{if(u){switch(u){case"*":r+=Ph,s=!0;break;case"?":r+=qh,s=!0;break;default:r+="\\"+u;break}this.debug("clearStateChar %j %j",u,r),u=!1}};for(let $=0,Q;$(Ye||(Ye="\\"),Oe+Oe+Ye+"|")),this.debug(`tail=%j + %s`,$,$,f,r);let Q=f.type==="*"?Ph:f.type==="?"?qh:"\\"+f.type;s=!0,r=r.slice(0,f.reStart)+Q+"\\("+$}N(),o&&(r+="\\\\");let j=PA[r.charAt(0)];for(let $=c.length-1;$>-1;$--){let Q=c[$],te=r.slice(0,Q.reStart),Oe=r.slice(Q.reStart,Q.reEnd-8),Ye=r.slice(Q.reEnd),We=r.slice(Q.reEnd-8,Q.reEnd)+Ye,Kt=te.split(")").length,Ne=te.split("(").length-Kt,ct=Ye;for(let se=0;se(o=o.map(a=>typeof a=="string"?FA(a):a===Jn?Jn:a._src).reduce((a,c)=>(a[a.length-1]===Jn&&c===Jn||a.push(c),a),[]),o.forEach((a,c)=>{a!==Jn||o[c-1]===Jn||(c===0?o.length>1?o[c+1]="(?:\\/|"+i+"\\/)?"+o[c+1]:o[c]=i:c===o.length-1?o[c-1]+="(?:\\/|"+i+")?":(o[c-1]+="(?:\\/|\\/"+i+"\\/)"+o[c+1],o[c+1]=Jn))}),o.filter(a=>a!==Jn).join("/"))).join("|");s="^(?:"+s+")$",this.negate&&(s="^(?!"+s+").*$");try{this.regexp=new RegExp(s,r)}catch{this.regexp=!1}return this.regexp}match(e,t=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&t)return!0;let i=this.options;Oh.sep!=="/"&&(e=e.split(Oh.sep).join("/")),e=e.split(Q0),this.debug(this.pattern,"split",e);let r=this.set;this.debug(this.pattern,"set",r);let s;for(let o=e.length-1;o>=0&&(s=e[o],!s);o--);for(let o=0;o{"use strict";Object.defineProperty(dr,"__esModule",{value:!0});dr.DiagnosticFeature=dr.DiagnosticPullMode=dr.vsdiag=void 0;var AA=Cu(),be=require("vscode"),ht=ue(),IA=tt(),Nh=Ce();function Ru(n,e){return n[e]===void 0&&(n[e]={}),n[e]}var jn;(function(n){let e;(function(t){t.full="full",t.unChanged="unChanged"})(e=n.DocumentDiagnosticReportKind||(n.DocumentDiagnosticReportKind={}))})(jn||(dr.vsdiag=jn={}));var Du;(function(n){n.onType="onType",n.onSave="onSave"})(Du||(dr.DiagnosticPullMode=Du={}));var Bt;(function(n){n.active="open",n.reschedule="reschedule",n.outDated="drop"})(Bt||(Bt={}));var Ah=class n{constructor(){this.open=new Set,this._onOpen=new be.EventEmitter,this._onClose=new be.EventEmitter,n.fillTabResources(this.open);let e=t=>{if(t.closed.length===0&&t.opened.length===0)return;let i=this.open,r=new Set;n.fillTabResources(r);let s=new Set,o=new Set(r);for(let a of i.values())r.has(a)?o.delete(a):s.add(a);if(this.open=r,s.size>0){let a=new Set;for(let c of s)a.add(be.Uri.parse(c));this._onClose.fire(a)}if(o.size>0){let a=new Set;for(let c of o)a.add(be.Uri.parse(c));this._onOpen.fire(a)}};be.window.tabGroups.onDidChangeTabs!==void 0?this.disposable=be.window.tabGroups.onDidChangeTabs(e):this.disposable={dispose:()=>{}}}get onClose(){return this._onClose.event}get onOpen(){return this._onOpen.event}dispose(){this.disposable.dispose()}isActive(e){return e instanceof be.Uri?be.window.activeTextEditor?.document.uri===e:be.window.activeTextEditor?.document===e}isVisible(e){let t=e instanceof be.Uri?e:e.uri;return this.open.has(t.toString())}getTabResources(){let e=new Set;return n.fillTabResources(new Set,e),e}static fillTabResources(e,t){let i=e??new Set;for(let r of be.window.tabGroups.all)for(let s of r.tabs){let o=s.input,a;o instanceof be.TabInputText?a=o.uri:o instanceof be.TabInputTextDiff?a=o.modified:o instanceof be.TabInputCustom&&(a=o.uri),a!==void 0&&!i.has(a.toString())&&(i.add(a.toString()),t!==void 0&&t.add(a))}}},Rt;(function(n){n[n.document=1]="document",n[n.workspace=2]="workspace"})(Rt||(Rt={}));var Ti;(function(n){function e(t){return t instanceof be.Uri?t.toString():t.uri.toString()}n.asKey=e})(Ti||(Ti={}));var Ih=class{constructor(){this.documentPullStates=new Map,this.workspacePullStates=new Map}track(e,t,i){let r=e===Rt.document?this.documentPullStates:this.workspacePullStates,[s,o,a]=t instanceof be.Uri?[t.toString(),t,i]:[t.uri.toString(),t.uri,t.version],c=r.get(s);return c===void 0&&(c={document:o,pulledVersion:a,resultId:void 0},r.set(s,c)),c}update(e,t,i,r){let s=e===Rt.document?this.documentPullStates:this.workspacePullStates,[o,a,c,u]=t instanceof be.Uri?[t.toString(),t,i,r]:[t.uri.toString(),t.uri,t.version,i],l=s.get(o);l===void 0?(l={document:a,pulledVersion:c,resultId:u},s.set(o,l)):(l.pulledVersion=c,l.resultId=u)}unTrack(e,t){let i=Ti.asKey(t);(e===Rt.document?this.documentPullStates:this.workspacePullStates).delete(i)}tracks(e,t){let i=Ti.asKey(t);return(e===Rt.document?this.documentPullStates:this.workspacePullStates).has(i)}getResultId(e,t){let i=Ti.asKey(t);return(e===Rt.document?this.documentPullStates:this.workspacePullStates).get(i)?.resultId}getAllResultIds(){let e=[];for(let[t,i]of this.workspacePullStates)this.documentPullStates.has(t)&&(i=this.documentPullStates.get(t)),i.resultId!==void 0&&e.push({uri:t,value:i.resultId});return e}},jh=class{constructor(e,t,i){this.client=e,this.tabs=t,this.options=i,this.isDisposed=!1,this.onDidChangeDiagnosticsEmitter=new be.EventEmitter,this.provider=this.createProvider(),this.diagnostics=be.languages.createDiagnosticCollection(i.identifier),this.openRequests=new Map,this.documentStates=new Ih,this.workspaceErrorCounter=0}knows(e,t){let i=t instanceof be.Uri?t:t.uri;return this.documentStates.tracks(e,t)||this.openRequests.has(i.toString())}forget(e,t){this.documentStates.unTrack(e,t)}pull(e,t){if(this.isDisposed)return;let i=e instanceof be.Uri?e:e.uri;this.pullAsync(e).then(()=>{t&&t()},r=>{this.client.error(`Document pull failed for text document ${i.toString()}`,r,!1)})}async pullAsync(e,t){if(this.isDisposed)return;let i=e instanceof be.Uri,r=i?e:e.uri,s=r.toString();t=i?t:e.version;let o=this.openRequests.get(s),a=i?this.documentStates.track(Rt.document,e,t):this.documentStates.track(Rt.document,e);if(o===void 0){let c=new be.CancellationTokenSource;this.openRequests.set(s,{state:Bt.active,document:e,version:t,tokenSource:c});let u,l;try{u=await this.provider.provideDiagnostics(e,a.resultId,c.token)??{kind:jn.DocumentDiagnosticReportKind.full,items:[]}}catch(p){if(p instanceof Nh.LSPCancellationError&&ht.DiagnosticServerCancellationData.is(p.data)&&p.data.retriggerRequest===!1&&(l={state:Bt.outDated,document:e}),l===void 0&&p instanceof be.CancellationError)l={state:Bt.reschedule,document:e};else throw p}if(l=l??this.openRequests.get(s),l===void 0){this.client.error(`Lost request state in diagnostic pull model. Clearing diagnostics for ${s}`),this.diagnostics.delete(r);return}if(this.openRequests.delete(s),!this.tabs.isVisible(e)){this.documentStates.unTrack(Rt.document,e);return}if(l.state===Bt.outDated)return;u!==void 0&&(u.kind===jn.DocumentDiagnosticReportKind.full&&this.diagnostics.set(r,u.items),a.pulledVersion=t,a.resultId=u.resultId),l.state===Bt.reschedule&&this.pull(e)}else o.state===Bt.active?(o.tokenSource.cancel(),this.openRequests.set(s,{state:Bt.reschedule,document:o.document})):o.state===Bt.outDated&&this.openRequests.set(s,{state:Bt.reschedule,document:o.document})}forgetDocument(e){let t=e instanceof be.Uri?e:e.uri,i=t.toString(),r=this.openRequests.get(i);this.options.workspaceDiagnostics?r!==void 0?this.openRequests.set(i,{state:Bt.reschedule,document:e}):this.pull(e,()=>{this.forget(Rt.document,e)}):(r!==void 0&&(r.state===Bt.active&&r.tokenSource.cancel(),this.openRequests.set(i,{state:Bt.outDated,document:e})),this.diagnostics.delete(t),this.forget(Rt.document,e))}pullWorkspace(){this.isDisposed||this.pullWorkspaceAsync().then(()=>{this.workspaceTimeout=(0,ht.RAL)().timer.setTimeout(()=>{this.pullWorkspace()},2e3)},e=>{!(e instanceof Nh.LSPCancellationError)&&!ht.DiagnosticServerCancellationData.is(e.data)&&(this.client.error("Workspace diagnostic pull failed.",e,!1),this.workspaceErrorCounter++),this.workspaceErrorCounter<=5&&(this.workspaceTimeout=(0,ht.RAL)().timer.setTimeout(()=>{this.pullWorkspace()},2e3))})}async pullWorkspaceAsync(){if(!this.provider.provideWorkspaceDiagnostics||this.isDisposed)return;this.workspaceCancellation!==void 0&&(this.workspaceCancellation.cancel(),this.workspaceCancellation=void 0),this.workspaceCancellation=new be.CancellationTokenSource;let e=this.documentStates.getAllResultIds().map(t=>({uri:this.client.protocol2CodeConverter.asUri(t.uri),value:t.value}));await this.provider.provideWorkspaceDiagnostics(e,this.workspaceCancellation.token,t=>{if(!(!t||this.isDisposed))for(let i of t.items)i.kind===jn.DocumentDiagnosticReportKind.full&&(this.documentStates.tracks(Rt.document,i.uri)||this.diagnostics.set(i.uri,i.items)),this.documentStates.update(Rt.workspace,i.uri,i.version??void 0,i.resultId)})}createProvider(){let e={onDidChangeDiagnostics:this.onDidChangeDiagnosticsEmitter.event,provideDiagnostics:(t,i,r)=>{let s=(a,c,u)=>{let l={identifier:this.options.identifier,textDocument:{uri:this.client.code2ProtocolConverter.asUri(a instanceof be.Uri?a:a.uri)},previousResultId:c};return this.isDisposed===!0||!this.client.isRunning()?{kind:jn.DocumentDiagnosticReportKind.full,items:[]}:this.client.sendRequest(ht.DocumentDiagnosticRequest.type,l,u).then(async p=>p==null||this.isDisposed||u.isCancellationRequested?{kind:jn.DocumentDiagnosticReportKind.full,items:[]}:p.kind===ht.DocumentDiagnosticReportKind.Full?{kind:jn.DocumentDiagnosticReportKind.full,resultId:p.resultId,items:await this.client.protocol2CodeConverter.asDiagnostics(p.items,u)}:{kind:jn.DocumentDiagnosticReportKind.unChanged,resultId:p.resultId},p=>this.client.handleFailedRequest(ht.DocumentDiagnosticRequest.type,u,p,{kind:jn.DocumentDiagnosticReportKind.full,items:[]}))},o=this.client.middleware;return o.provideDiagnostics?o.provideDiagnostics(t,i,r,s):s(t,i,r)}};return this.options.workspaceDiagnostics&&(e.provideWorkspaceDiagnostics=(t,i,r)=>{let s=async u=>u.kind===ht.DocumentDiagnosticReportKind.Full?{kind:jn.DocumentDiagnosticReportKind.full,uri:this.client.protocol2CodeConverter.asUri(u.uri),resultId:u.resultId,version:u.version,items:await this.client.protocol2CodeConverter.asDiagnostics(u.items,i)}:{kind:jn.DocumentDiagnosticReportKind.unChanged,uri:this.client.protocol2CodeConverter.asUri(u.uri),resultId:u.resultId,version:u.version},o=u=>{let l=[];for(let p of u)l.push({uri:this.client.code2ProtocolConverter.asUri(p.uri),value:p.value});return l},a=(u,l)=>{let p=(0,IA.generateUuid)(),h=this.client.onProgress(ht.WorkspaceDiagnosticRequest.partialResult,p,async f=>{if(f==null){r(null);return}let y={items:[]};for(let w of f.items)try{y.items.push(await s(w))}catch(S){this.client.error("Converting workspace diagnostics failed.",S)}r(y)}),x={identifier:this.options.identifier,previousResultIds:o(u),partialResultToken:p};return this.isDisposed===!0||!this.client.isRunning()?{items:[]}:this.client.sendRequest(ht.WorkspaceDiagnosticRequest.type,x,l).then(async f=>{if(l.isCancellationRequested)return{items:[]};let y={items:[]};for(let w of f.items)y.items.push(await s(w));return h.dispose(),r(y),{items:[]}},f=>(h.dispose(),this.client.handleFailedRequest(ht.DocumentDiagnosticRequest.type,l,f,{items:[]})))},c=this.client.middleware;return c.provideWorkspaceDiagnostics?c.provideWorkspaceDiagnostics(t,i,r,a):a(t,i,r)}),e}dispose(){this.isDisposed=!0,this.workspaceCancellation?.cancel(),this.workspaceTimeout?.dispose();for(let[e,t]of this.openRequests)t.state===Bt.active&&t.tokenSource.cancel(),this.openRequests.set(e,{state:Bt.outDated,document:t.document});this.diagnostics.dispose()}},Lh=class{constructor(e){this.diagnosticRequestor=e,this.documents=new ht.LinkedMap,this.isDisposed=!1}add(e){if(this.isDisposed===!0)return;let t=Ti.asKey(e);this.documents.has(t)||(this.documents.set(t,e,ht.Touch.Last),this.trigger())}remove(e){let t=Ti.asKey(e);this.documents.delete(t),this.documents.size===0?this.stop():t===this.endDocumentKey()&&(this.endDocument=this.documents.last)}trigger(){if(this.isDisposed!==!0){if(this.intervalHandle!==void 0){this.endDocument=this.documents.last;return}this.endDocument=this.documents.last,this.intervalHandle=(0,ht.RAL)().timer.setInterval(()=>{let e=this.documents.first;if(e!==void 0){let t=Ti.asKey(e);this.diagnosticRequestor.pull(e),this.documents.set(t,e,ht.Touch.Last),t===this.endDocumentKey()&&this.stop()}},200)}}dispose(){this.isDisposed=!0,this.stop(),this.documents.clear()}stop(){this.intervalHandle?.dispose(),this.intervalHandle=void 0,this.endDocument=void 0}endDocumentKey(){return this.endDocument!==void 0?Ti.asKey(this.endDocument):void 0}},Mh=class{constructor(e,t,i){let r=e.clientOptions.diagnosticPullOptions??{onChange:!0,onSave:!1},s=e.protocol2CodeConverter.asDocumentSelector(i.documentSelector),o=[],a=f=>{let y=i.documentSelector;if(r.match!==void 0)return r.match(y,f);for(let w of y)if(ht.TextDocumentFilter.is(w)){if(typeof w=="string"||w.language!==void 0&&w.language!=="*"||w.scheme!==void 0&&w.scheme!=="*"&&w.scheme!==f.scheme)return!1;if(w.pattern!==void 0){let S=new AA.Minimatch(w.pattern,{noext:!0});if(!S.makeRe()||!S.match(f.fsPath))return!1}}return!0},c=f=>f instanceof be.Uri?a(f):be.languages.match(s,f)>0&&t.isVisible(f),u=f=>f instanceof be.Uri?this.activeTextDocument?.uri.toString()===f.toString():this.activeTextDocument===f;this.diagnosticRequestor=new jh(e,t,i),this.backgroundScheduler=new Lh(this.diagnosticRequestor);let l=f=>{!c(f)||!i.interFileDependencies||u(f)||this.backgroundScheduler.add(f)};this.activeTextDocument=be.window.activeTextEditor?.document,be.window.onDidChangeActiveTextEditor(f=>{let y=this.activeTextDocument;this.activeTextDocument=f?.document,y!==void 0&&l(y),this.activeTextDocument!==void 0&&this.backgroundScheduler.remove(this.activeTextDocument)});let p=e.getFeature(ht.DidOpenTextDocumentNotification.method);o.push(p.onNotificationSent(f=>{let y=f.textDocument;this.diagnosticRequestor.knows(Rt.document,y)||c(y)&&this.diagnosticRequestor.pull(y,()=>{l(y)})})),o.push(t.onOpen(f=>{for(let y of f){if(this.diagnosticRequestor.knows(Rt.document,y))continue;let w=y.toString(),S;for(let O of be.workspace.textDocuments)if(w===O.uri.toString()){S=O;break}S!==void 0&&c(S)&&this.diagnosticRequestor.pull(S,()=>{l(S)})}}));let h=new Set;for(let f of be.workspace.textDocuments)c(f)&&(this.diagnosticRequestor.pull(f,()=>{l(f)}),h.add(f.uri.toString()));if(r.onTabs===!0)for(let f of t.getTabResources())!h.has(f.toString())&&c(f)&&this.diagnosticRequestor.pull(f,()=>{l(f)});if(r.onChange===!0){let f=e.getFeature(ht.DidChangeTextDocumentNotification.method);o.push(f.onNotificationSent(async y=>{let w=y.textDocument;(r.filter===void 0||!r.filter(w,Du.onType))&&this.diagnosticRequestor.knows(Rt.document,w)&&this.diagnosticRequestor.pull(w,()=>{this.backgroundScheduler.trigger()})}))}if(r.onSave===!0){let f=e.getFeature(ht.DidSaveTextDocumentNotification.method);o.push(f.onNotificationSent(y=>{let w=y.textDocument;(r.filter===void 0||!r.filter(w,Du.onSave))&&this.diagnosticRequestor.knows(Rt.document,w)&&this.diagnosticRequestor.pull(y.textDocument,()=>{this.backgroundScheduler.trigger()})}))}let x=e.getFeature(ht.DidCloseTextDocumentNotification.method);o.push(x.onNotificationSent(f=>{this.cleanUpDocument(f.textDocument)})),t.onClose(f=>{for(let y of f)this.cleanUpDocument(y)}),this.diagnosticRequestor.onDidChangeDiagnosticsEmitter.event(()=>{for(let f of be.workspace.textDocuments)c(f)&&this.diagnosticRequestor.pull(f)}),i.workspaceDiagnostics===!0&&i.identifier!=="da348dc5-c30a-4515-9d98-31ff3be38d14"&&this.diagnosticRequestor.pullWorkspace(),this.disposable=be.Disposable.from(...o,this.backgroundScheduler,this.diagnosticRequestor)}get onDidChangeDiagnosticsEmitter(){return this.diagnosticRequestor.onDidChangeDiagnosticsEmitter}get diagnostics(){return this.diagnosticRequestor.provider}cleanUpDocument(e){this.diagnosticRequestor.knows(Rt.document,e)&&(this.diagnosticRequestor.forgetDocument(e),this.backgroundScheduler.remove(e))}},Uh=class extends Nh.TextDocumentLanguageFeature{constructor(e){super(e,ht.DocumentDiagnosticRequest.type)}fillClientCapabilities(e){let t=Ru(Ru(e,"textDocument"),"diagnostic");t.dynamicRegistration=!0,t.relatedDocumentSupport=!1,Ru(Ru(e,"workspace"),"diagnostics").refreshSupport=!0}initialize(e,t){this._client.onRequest(ht.DiagnosticRefreshRequest.type,async()=>{for(let o of this.getAllProviders())o.onDidChangeDiagnosticsEmitter.fire()});let[r,s]=this.getRegistration(t,e.diagnosticProvider);!r||!s||this.register({id:r,registerOptions:s})}clear(){this.tabs!==void 0&&(this.tabs.dispose(),this.tabs=void 0),super.clear()}registerLanguageProvider(e){this.tabs===void 0&&(this.tabs=new Ah);let t=new Mh(this._client,this.tabs,e);return[t.disposable,t]}};dr.DiagnosticFeature=Uh});var iR=T(ku=>{"use strict";Object.defineProperty(ku,"__esModule",{value:!0});ku.NotebookDocumentSyncFeature=void 0;var Wt=require("vscode"),jA=Cu(),Ei=ue(),LA=tt(),tR=qn();function nR(n,e){return n[e]===void 0&&(n[e]={}),n[e]}var Os;(function(n){let e;(function(t){function i(h,x){return{version:h.version,uri:x.asUri(h.uri)}}t.asVersionedNotebookDocumentIdentifier=i;function r(h,x,f){let y=Ei.NotebookDocument.create(f.asUri(h.uri),h.notebookType,h.version,s(x,f));return Object.keys(h.metadata).length>0&&(y.metadata=o(h.metadata)),y}t.asNotebookDocument=r;function s(h,x){return h.map(f=>a(f,x))}t.asNotebookCells=s;function o(h){return u(new Set,h)}t.asMetadata=o;function a(h,x){let f=Ei.NotebookCell.create(c(h.kind),x.asUri(h.document.uri));return Object.keys(h.metadata).length>0&&(f.metadata=o(h.metadata)),h.executionSummary!==void 0&&tR.number(h.executionSummary.executionOrder)&&tR.boolean(h.executionSummary.success)&&(f.executionSummary={executionOrder:h.executionSummary.executionOrder,success:h.executionSummary.success}),f}t.asNotebookCell=a;function c(h){switch(h){case Wt.NotebookCellKind.Markup:return Ei.NotebookCellKind.Markup;case Wt.NotebookCellKind.Code:return Ei.NotebookCellKind.Code}}function u(h,x){if(h.has(x))throw new Error("Can't deep copy cyclic structures.");if(Array.isArray(x)){let f=[];for(let y of x)if(y!==null&&typeof y=="object"||Array.isArray(y))f.push(u(h,y));else{if(y instanceof RegExp)throw new Error("Can't transfer regular expressions to the server");f.push(y)}return f}else{let f=Object.keys(x),y=Object.create(null);for(let w of f){let S=x[w];if(S!==null&&typeof S=="object"||Array.isArray(S))y[w]=u(h,S);else{if(S instanceof RegExp)throw new Error("Can't transfer regular expressions to the server");y[w]=S}}return y}}function l(h,x){let f=x.asChangeTextDocumentParams(h,h.document.uri,h.document.version);return{document:f.textDocument,changes:f.contentChanges}}t.asTextContentChange=l;function p(h,x){let f=Object.create(null);if(h.metadata&&(f.metadata=n.c2p.asMetadata(h.metadata)),h.cells!==void 0){let y=Object.create(null),w=h.cells;w.structure&&(y.structure={array:{start:w.structure.array.start,deleteCount:w.structure.array.deleteCount,cells:w.structure.array.cells!==void 0?w.structure.array.cells.map(S=>n.c2p.asNotebookCell(S,x)):void 0},didOpen:w.structure.didOpen!==void 0?w.structure.didOpen.map(S=>x.asOpenTextDocumentParams(S.document).textDocument):void 0,didClose:w.structure.didClose!==void 0?w.structure.didClose.map(S=>x.asCloseTextDocumentParams(S.document).textDocument):void 0}),w.data!==void 0&&(y.data=w.data.map(S=>n.c2p.asNotebookCell(S,x))),w.textContent!==void 0&&(y.textContent=w.textContent.map(S=>n.c2p.asTextContentChange(S,x))),Object.keys(y).length>0&&(f.cells=y)}return f}t.asNotebookDocumentChangeEvent=p})(e=n.c2p||(n.c2p={}))})(Os||(Os={}));var $h;(function(n){function e(a,c,u){let l=a.length,p=c.length,h=0;for(;h=0&&f>=0&&t(a[x],c[f],u);)x--,f--;let y=x+1-h,w=h===f+1?void 0:c.slice(h,f+1);return w!==void 0?{start:h,deleteCount:y,cells:w}:{start:h,deleteCount:y}}else return hi.document.uri.toString()))}}n.create=e})(Eu||(Eu={}));var qs=class{constructor(e,t){this.client=e,this.options=t,this.notebookSyncInfo=new Map,this.notebookDidOpen=new Set,this.disposables=[],this.selector=e.protocol2CodeConverter.asDocumentSelector(Tu.asDocumentSelector(t)),Wt.workspace.onDidOpenNotebookDocument(i=>{this.notebookDidOpen.add(i.uri.toString()),this.didOpen(i)},void 0,this.disposables);for(let i of Wt.workspace.notebookDocuments)this.notebookDidOpen.add(i.uri.toString()),this.didOpen(i);Wt.workspace.onDidChangeNotebookDocument(i=>this.didChangeNotebookDocument(i),void 0,this.disposables),this.options.save===!0&&Wt.workspace.onDidSaveNotebookDocument(i=>this.didSave(i),void 0,this.disposables),Wt.workspace.onDidCloseNotebookDocument(i=>{this.didClose(i),this.notebookDidOpen.delete(i.uri.toString())},void 0,this.disposables)}getState(){for(let e of Wt.workspace.notebookDocuments)if(this.getMatchingCells(e)!==void 0)return{kind:"document",id:"$internal",registrations:!0,matches:!0};return{kind:"document",id:"$internal",registrations:!0,matches:!1}}get mode(){return"notebook"}handles(e){return Wt.languages.match(this.selector,e)>0}didOpenNotebookCellTextDocument(e,t){if(Wt.languages.match(this.selector,t.document)===0||!this.notebookDidOpen.has(e.uri.toString()))return;let i=this.notebookSyncInfo.get(e.uri.toString()),r=this.cellMatches(e,t);if(i!==void 0){let s=i.uris.has(t.document.uri.toString());if(r&&s||!r&&!s)return;if(r){let o=this.getMatchingCells(e);if(o!==void 0){let a=this.asNotebookDocumentChangeEvent(e,void 0,i,o);a!==void 0&&this.doSendChange(a,o).catch(()=>{})}}}else r&&this.doSendOpen(e,[t]).catch(()=>{})}didChangeNotebookCellTextDocument(e,t){Wt.languages.match(this.selector,t.document)!==0&&this.doSendChange({notebook:e,cells:{textContent:[t]}},void 0).catch(()=>{})}didCloseNotebookCellTextDocument(e,t){let i=this.notebookSyncInfo.get(e.uri.toString());if(i===void 0)return;let r=t.document.uri,s=i.cells.findIndex(o=>o.document.uri.toString()===r.toString());if(s!==-1)if(s===0&&i.cells.length===1)this.doSendClose(e,i.cells).catch(()=>{});else{let o=i.cells.slice(),a=o.splice(s,1);this.doSendChange({notebook:e,cells:{structure:{array:{start:s,deleteCount:1},didClose:a}}},o).catch(()=>{})}}dispose(){for(let e of this.disposables)e.dispose()}didOpen(e,t=this.getMatchingCells(e),i=this.notebookSyncInfo.get(e.uri.toString())){if(i!==void 0)if(t!==void 0){let r=this.asNotebookDocumentChangeEvent(e,void 0,i,t);r!==void 0&&this.doSendChange(r,t).catch(()=>{})}else this.doSendClose(e,[]).catch(()=>{});else{if(t===void 0)return;this.doSendOpen(e,t).catch(()=>{})}}didChangeNotebookDocument(e){let t=e.notebook,i=this.notebookSyncInfo.get(t.uri.toString());if(i===void 0){if(e.contentChanges.length===0)return;let r=this.getMatchingCells(t);if(r===void 0)return;this.didOpen(t,r,i)}else{let r=this.getMatchingCells(t);if(r===void 0){this.didClose(t,i);return}let s=this.asNotebookDocumentChangeEvent(e.notebook,e,i,r);s!==void 0&&this.doSendChange(s,r).catch(()=>{})}}didSave(e){this.notebookSyncInfo.get(e.uri.toString())!==void 0&&this.doSendSave(e).catch(()=>{})}didClose(e,t=this.notebookSyncInfo.get(e.uri.toString())){if(t===void 0)return;let i=e.getCells().filter(r=>t.uris.has(r.document.uri.toString()));this.doSendClose(e,i).catch(()=>{})}async sendDidOpenNotebookDocument(e){let t=this.getMatchingCells(e);if(t!==void 0)return this.doSendOpen(e,t)}async doSendOpen(e,t){let i=async(s,o)=>{let a=Os.c2p.asNotebookDocument(s,o,this.client.code2ProtocolConverter),c=o.map(u=>this.client.code2ProtocolConverter.asTextDocumentItem(u.document));try{await this.client.sendNotification(Ei.DidOpenNotebookDocumentNotification.type,{notebookDocument:a,cellTextDocuments:c})}catch(u){throw this.client.error("Sending DidOpenNotebookDocumentNotification failed",u),u}},r=this.client.middleware?.notebooks;return this.notebookSyncInfo.set(e.uri.toString(),Eu.create(t)),r?.didOpen!==void 0?r.didOpen(e,t,i):i(e,t)}async sendDidChangeNotebookDocument(e){return this.doSendChange(e,void 0)}async doSendChange(e,t=this.getMatchingCells(e.notebook)){let i=async s=>{try{await this.client.sendNotification(Ei.DidChangeNotebookDocumentNotification.type,{notebookDocument:Os.c2p.asVersionedNotebookDocumentIdentifier(s.notebook,this.client.code2ProtocolConverter),change:Os.c2p.asNotebookDocumentChangeEvent(s,this.client.code2ProtocolConverter)})}catch(o){throw this.client.error("Sending DidChangeNotebookDocumentNotification failed",o),o}},r=this.client.middleware?.notebooks;return e.cells?.structure!==void 0&&this.notebookSyncInfo.set(e.notebook.uri.toString(),Eu.create(t??[])),r?.didChange!==void 0?r?.didChange(e,i):i(e)}async sendDidSaveNotebookDocument(e){return this.doSendSave(e)}async doSendSave(e){let t=async r=>{try{await this.client.sendNotification(Ei.DidSaveNotebookDocumentNotification.type,{notebookDocument:{uri:this.client.code2ProtocolConverter.asUri(r.uri)}})}catch(s){throw this.client.error("Sending DidSaveNotebookDocumentNotification failed",s),s}},i=this.client.middleware?.notebooks;return i?.didSave!==void 0?i.didSave(e,t):t(e)}async sendDidCloseNotebookDocument(e){return this.doSendClose(e,this.getMatchingCells(e)??[])}async doSendClose(e,t){let i=async(s,o)=>{try{await this.client.sendNotification(Ei.DidCloseNotebookDocumentNotification.type,{notebookDocument:{uri:this.client.code2ProtocolConverter.asUri(s.uri)},cellTextDocuments:o.map(a=>this.client.code2ProtocolConverter.asTextDocumentIdentifier(a.document))})}catch(a){throw this.client.error("Sending DidCloseNotebookDocumentNotification failed",a),a}},r=this.client.middleware?.notebooks;return this.notebookSyncInfo.delete(e.uri.toString()),r?.didClose!==void 0?r.didClose(e,t,i):i(e,t)}asNotebookDocumentChangeEvent(e,t,i,r){if(t!==void 0&&t.notebook!==e)throw new Error("Notebook must be identical");let s={notebook:e};t?.metadata!==void 0&&(s.metadata=Os.c2p.asMetadata(t.metadata));let o;if(t?.cellChanges!==void 0&&t.cellChanges.length>0){let a=[];o=new Set(r.map(c=>c.document.uri.toString()));for(let c of t.cellChanges)o.has(c.cell.document.uri.toString())&&(c.executionSummary!==void 0||c.metadata!==void 0)&&a.push(c.cell);a.length>0&&(s.cells=s.cells??{},s.cells.data=a)}if((t?.contentChanges!==void 0&&t.contentChanges.length>0||t===void 0)&&i!==void 0&&r!==void 0){let a=i.cells,c=r,u=$h.computeDiff(a,c,!1),l,p;if(u!==void 0){l=u.cells===void 0?new Map:new Map(u.cells.map(f=>[f.document.uri.toString(),f])),p=u.deleteCount===0?new Map:new Map(a.slice(u.start,u.start+u.deleteCount).map(f=>[f.document.uri.toString(),f]));for(let f of Array.from(p.keys()))l.has(f)&&(p.delete(f),l.delete(f));s.cells=s.cells??{};let h=[],x=[];if(l.size>0||p.size>0){for(let f of l.values())h.push(f);for(let f of p.values())x.push(f)}s.cells.structure={array:u,didOpen:h,didClose:x}}}return Object.keys(s).length>1?s:void 0}getMatchingCells(e,t=e.getCells()){if(this.options.notebookSelector!==void 0){for(let i of this.options.notebookSelector)if(i.notebook===void 0||Hh.matchNotebook(i.notebook,e)){let r=this.filterCells(e,t,i.cells);return r.length===0?void 0:r}}}cellMatches(e,t){let i=this.getMatchingCells(e,[t]);return i!==void 0&&i[0]===t}filterCells(e,t,i){let r=i!==void 0?t.filter(s=>{let o=s.document.languageId;return i.some(a=>a.language==="*"||o===a.language)}):t;return typeof this.client.clientOptions.notebookDocumentOptions?.filterCells=="function"?this.client.clientOptions.notebookDocumentOptions.filterCells(e,r):r}},Pu=class n{constructor(e){this.client=e,this.registrations=new Map,this.registrationType=Ei.NotebookDocumentSyncRegistrationType.type,Wt.workspace.onDidOpenTextDocument(t=>{if(t.uri.scheme!==n.CellScheme)return;let[i,r]=this.findNotebookDocumentAndCell(t);if(!(i===void 0||r===void 0))for(let s of this.registrations.values())s instanceof qs&&s.didOpenNotebookCellTextDocument(i,r)}),Wt.workspace.onDidChangeTextDocument(t=>{if(t.contentChanges.length===0)return;let i=t.document;if(i.uri.scheme!==n.CellScheme)return;let[r]=this.findNotebookDocumentAndCell(i);if(r!==void 0)for(let s of this.registrations.values())s instanceof qs&&s.didChangeNotebookCellTextDocument(r,t)}),Wt.workspace.onDidCloseTextDocument(t=>{if(t.uri.scheme!==n.CellScheme)return;let[i,r]=this.findNotebookDocumentAndCell(t);if(!(i===void 0||r===void 0))for(let s of this.registrations.values())s instanceof qs&&s.didCloseNotebookCellTextDocument(i,r)})}getState(){if(this.registrations.size===0)return{kind:"document",id:this.registrationType.method,registrations:!1,matches:!1};for(let e of this.registrations.values()){let t=e.getState();if(t.kind==="document"&&t.registrations===!0&&t.matches===!0)return{kind:"document",id:this.registrationType.method,registrations:!0,matches:!0}}return{kind:"document",id:this.registrationType.method,registrations:!0,matches:!1}}fillClientCapabilities(e){let t=nR(nR(e,"notebookDocument"),"synchronization");t.dynamicRegistration=!0,t.executionSummarySupport=!0}preInitialize(e){let t=e.notebookDocumentSync;t!==void 0&&(this.dedicatedChannel=this.client.protocol2CodeConverter.asDocumentSelector(Tu.asDocumentSelector(t)))}initialize(e){let t=e.notebookDocumentSync;if(t===void 0)return;let i=t.id??LA.generateUuid();this.register({id:i,registerOptions:t})}register(e){let t=new qs(this.client,e.registerOptions);this.registrations.set(e.id,t)}unregister(e){let t=this.registrations.get(e);t&&t.dispose()}clear(){for(let e of this.registrations.values())e.dispose();this.registrations.clear()}handles(e){if(e.uri.scheme!==n.CellScheme)return!1;if(this.dedicatedChannel!==void 0&&Wt.languages.match(this.dedicatedChannel,e)>0)return!0;for(let t of this.registrations.values())if(t.handles(e))return!0;return!1}getProvider(e){for(let t of this.registrations.values())if(t.handles(e.document))return t}findNotebookDocumentAndCell(e){let t=e.uri.toString();for(let i of Wt.workspace.notebookDocuments)for(let r of i.getCells())if(r.document.uri.toString()===t)return[i,r];return[void 0,void 0]}};ku.NotebookDocumentSyncFeature=Pu;Pu.CellScheme="vscode-notebook-cell"});var sR=T(pr=>{"use strict";Object.defineProperty(pr,"__esModule",{value:!0});pr.SyncConfigurationFeature=pr.toJSONObject=pr.ConfigurationFeature=void 0;var Fs=require("vscode"),Mo=ue(),MA=qn(),UA=tt(),rR=Ce(),Bh=class{constructor(e){this._client=e}getState(){return{kind:"static"}}fillClientCapabilities(e){e.workspace=e.workspace||{},e.workspace.configuration=!0}initialize(){let e=this._client;e.onRequest(Mo.ConfigurationRequest.type,(t,i)=>{let r=o=>{let a=[];for(let c of o.items){let u=c.scopeUri!==void 0&&c.scopeUri!==null?this._client.protocol2CodeConverter.asUri(c.scopeUri):void 0;a.push(this.getConfiguration(u,c.section!==null?c.section:void 0))}return a},s=e.middleware.workspace;return s&&s.configuration?s.configuration(t,i,r):r(t,i)})}getConfiguration(e,t){let i=null;if(t){let r=t.lastIndexOf(".");if(r===-1)i=Or(Fs.workspace.getConfiguration(void 0,e).get(t));else{let s=Fs.workspace.getConfiguration(t.substr(0,r),e);s&&(i=Or(s.get(t.substr(r+1))))}}else{let r=Fs.workspace.getConfiguration(void 0,e);i={};for(let s of Object.keys(r))r.has(s)&&(i[s]=Or(r.get(s)))}return i===void 0&&(i=null),i}clear(){}};pr.ConfigurationFeature=Bh;function Or(n){if(n){if(Array.isArray(n))return n.map(Or);if(typeof n=="object"){let e=Object.create(null);for(let t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=Or(n[t]));return e}}return n}pr.toJSONObject=Or;var Wh=class{constructor(e){this._client=e,this.isCleared=!1,this._listeners=new Map}getState(){return{kind:"workspace",id:this.registrationType.method,registrations:this._listeners.size>0}}get registrationType(){return Mo.DidChangeConfigurationNotification.type}fillClientCapabilities(e){(0,rR.ensure)((0,rR.ensure)(e,"workspace"),"didChangeConfiguration").dynamicRegistration=!0}initialize(){this.isCleared=!1;let e=this._client.clientOptions.synchronize?.configurationSection;e!==void 0&&this.register({id:UA.generateUuid(),registerOptions:{section:e}})}register(e){let t=Fs.workspace.onDidChangeConfiguration(i=>{this.onDidChangeConfiguration(e.registerOptions.section,i)});this._listeners.set(e.id,t),e.registerOptions.section!==void 0&&this.onDidChangeConfiguration(e.registerOptions.section,void 0)}unregister(e){let t=this._listeners.get(e);t&&(this._listeners.delete(e),t.dispose())}clear(){for(let e of this._listeners.values())e.dispose();this._listeners.clear(),this.isCleared=!0}onDidChangeConfiguration(e,t){if(this.isCleared)return;let i;if(MA.string(e)?i=[e]:i=e,i!==void 0&&t!==void 0&&!i.some(a=>t.affectsConfiguration(a)))return;let r=async o=>o===void 0?this._client.sendNotification(Mo.DidChangeConfigurationNotification.type,{settings:null}):this._client.sendNotification(Mo.DidChangeConfigurationNotification.type,{settings:this.extractSettingsInformation(o)}),s=this._client.middleware.workspace?.didChangeConfiguration;(s?s(i,r):r(i)).catch(o=>{this._client.error(`Sending notification ${Mo.DidChangeConfigurationNotification.type.method} failed`,o)})}extractSettingsInformation(e){function t(s,o){let a=s;for(let c=0;c=0?c=Fs.workspace.getConfiguration(o.substr(0,a),i).get(o.substr(a+1)):c=Fs.workspace.getConfiguration(void 0,i).get(o),c){let u=e[s].split(".");t(r,u)[u[u.length-1]]=Or(c)}}return r}};pr.SyncConfigurationFeature=Wh});var oR=T(un=>{"use strict";Object.defineProperty(un,"__esModule",{value:!0});un.DidSaveTextDocumentFeature=un.WillSaveWaitUntilFeature=un.WillSaveFeature=un.DidChangeTextDocumentFeature=un.DidCloseTextDocumentFeature=un.DidOpenTextDocumentFeature=void 0;var bn=require("vscode"),Be=ue(),st=Ce(),Ns=tt(),Kh=class extends st.TextDocumentEventFeature{constructor(e,t){super(e,bn.workspace.onDidOpenTextDocument,Be.DidOpenTextDocumentNotification.type,()=>e.middleware.didOpen,i=>e.code2ProtocolConverter.asOpenTextDocumentParams(i),i=>i,st.TextDocumentEventFeature.textDocumentFilter),this._syncedDocuments=t}get openDocuments(){return this._syncedDocuments.values()}fillClientCapabilities(e){(0,st.ensure)((0,st.ensure)(e,"textDocument"),"synchronization").dynamicRegistration=!0}initialize(e,t){let i=e.resolvedTextDocumentSync;t&&i&&i.openClose&&this.register({id:Ns.generateUuid(),registerOptions:{documentSelector:t}})}get registrationType(){return Be.DidOpenTextDocumentNotification.type}register(e){if(super.register(e),!e.registerOptions.documentSelector)return;let t=this._client.protocol2CodeConverter.asDocumentSelector(e.registerOptions.documentSelector);bn.workspace.textDocuments.forEach(i=>{let r=i.uri.toString();if(!this._syncedDocuments.has(r)&&bn.languages.match(t,i)>0&&!this._client.hasDedicatedTextSynchronizationFeature(i)){let s=this._client.middleware,o=a=>this._client.sendNotification(this._type,this._createParams(a));(s.didOpen?s.didOpen(i,o):o(i)).catch(a=>{this._client.error(`Sending document notification ${this._type.method} failed`,a)}),this._syncedDocuments.set(r,i)}})}getTextDocument(e){return e}notificationSent(e,t,i){this._syncedDocuments.set(e.uri.toString(),e),super.notificationSent(e,t,i)}};un.DidOpenTextDocumentFeature=Kh;var Gh=class extends st.TextDocumentEventFeature{constructor(e,t,i){super(e,bn.workspace.onDidCloseTextDocument,Be.DidCloseTextDocumentNotification.type,()=>e.middleware.didClose,r=>e.code2ProtocolConverter.asCloseTextDocumentParams(r),r=>r,st.TextDocumentEventFeature.textDocumentFilter),this._syncedDocuments=t,this._pendingTextDocumentChanges=i}get registrationType(){return Be.DidCloseTextDocumentNotification.type}fillClientCapabilities(e){(0,st.ensure)((0,st.ensure)(e,"textDocument"),"synchronization").dynamicRegistration=!0}initialize(e,t){let i=e.resolvedTextDocumentSync;t&&i&&i.openClose&&this.register({id:Ns.generateUuid(),registerOptions:{documentSelector:t}})}async callback(e){await super.callback(e),this._pendingTextDocumentChanges.delete(e.uri.toString())}getTextDocument(e){return e}notificationSent(e,t,i){this._syncedDocuments.delete(e.uri.toString()),super.notificationSent(e,t,i)}unregister(e){let t=this._selectors.get(e);super.unregister(e);let i=this._selectors.values();this._syncedDocuments.forEach(r=>{if(bn.languages.match(t,r)>0&&!this._selectorFilter(i,r)&&!this._client.hasDedicatedTextSynchronizationFeature(r)){let s=this._client.middleware,o=a=>this._client.sendNotification(this._type,this._createParams(a));this._syncedDocuments.delete(r.uri.toString()),(s.didClose?s.didClose(r,o):o(r)).catch(a=>{this._client.error(`Sending document notification ${this._type.method} failed`,a)})}})}};un.DidCloseTextDocumentFeature=Gh;var Vh=class extends st.DynamicDocumentFeature{constructor(e,t){super(e),this._changeData=new Map,this._onNotificationSent=new bn.EventEmitter,this._onPendingChangeAdded=new bn.EventEmitter,this._pendingTextDocumentChanges=t,this._syncKind=Be.TextDocumentSyncKind.None}get onNotificationSent(){return this._onNotificationSent.event}get onPendingChangeAdded(){return this._onPendingChangeAdded.event}get syncKind(){return this._syncKind}get registrationType(){return Be.DidChangeTextDocumentNotification.type}fillClientCapabilities(e){(0,st.ensure)((0,st.ensure)(e,"textDocument"),"synchronization").dynamicRegistration=!0}initialize(e,t){let i=e.resolvedTextDocumentSync;t&&i&&i.change!==void 0&&i.change!==Be.TextDocumentSyncKind.None&&this.register({id:Ns.generateUuid(),registerOptions:Object.assign({},{documentSelector:t},{syncKind:i.change})})}register(e){e.registerOptions.documentSelector&&(this._listener||(this._listener=bn.workspace.onDidChangeTextDocument(this.callback,this)),this._changeData.set(e.id,{syncKind:e.registerOptions.syncKind,documentSelector:this._client.protocol2CodeConverter.asDocumentSelector(e.registerOptions.documentSelector)}),this.updateSyncKind(e.registerOptions.syncKind))}*getDocumentSelectors(){for(let e of this._changeData.values())yield e.documentSelector}async callback(e){if(e.contentChanges.length===0)return;let t=e.document.uri,i=e.document.version,r=[];for(let s of this._changeData.values())if(bn.languages.match(s.documentSelector,e.document)>0&&!this._client.hasDedicatedTextSynchronizationFeature(e.document)){let o=this._client.middleware;if(s.syncKind===Be.TextDocumentSyncKind.Incremental){let a=async c=>{let u=this._client.code2ProtocolConverter.asChangeTextDocumentParams(c,t,i);await this._client.sendNotification(Be.DidChangeTextDocumentNotification.type,u),this.notificationSent(c.document,Be.DidChangeTextDocumentNotification.type,u)};r.push(o.didChange?o.didChange(e,c=>a(c)):a(e))}else if(s.syncKind===Be.TextDocumentSyncKind.Full){let a=async c=>{let u=c.document.uri.toString();this._pendingTextDocumentChanges.set(u,c.document),this._onPendingChangeAdded.fire()};r.push(o.didChange?o.didChange(e,c=>a(c)):a(e))}}return Promise.all(r).then(void 0,s=>{throw this._client.error(`Sending document notification ${Be.DidChangeTextDocumentNotification.type.method} failed`,s),s})}notificationSent(e,t,i){this._onNotificationSent.fire({textDocument:e,type:t,params:i})}unregister(e){if(this._changeData.delete(e),this._changeData.size===0)this._listener&&(this._listener.dispose(),this._listener=void 0),this._syncKind=Be.TextDocumentSyncKind.None;else{this._syncKind=Be.TextDocumentSyncKind.None;for(let t of this._changeData.values())if(this.updateSyncKind(t.syncKind),this._syncKind===Be.TextDocumentSyncKind.Full)break}}clear(){this._pendingTextDocumentChanges.clear(),this._changeData.clear(),this._syncKind=Be.TextDocumentSyncKind.None,this._listener&&(this._listener.dispose(),this._listener=void 0)}getPendingDocumentChanges(e){if(this._pendingTextDocumentChanges.size===0)return[];let t;if(e.size===0)t=Array.from(this._pendingTextDocumentChanges.values()),this._pendingTextDocumentChanges.clear();else{t=[];for(let i of this._pendingTextDocumentChanges)e.has(i[0])||(t.push(i[1]),this._pendingTextDocumentChanges.delete(i[0]))}return t}getProvider(e){for(let t of this._changeData.values())if(bn.languages.match(t.documentSelector,e)>0)return{send:i=>this.callback(i)}}updateSyncKind(e){if(this._syncKind!==Be.TextDocumentSyncKind.Full)switch(e){case Be.TextDocumentSyncKind.Full:this._syncKind=e;break;case Be.TextDocumentSyncKind.Incremental:this._syncKind===Be.TextDocumentSyncKind.None&&(this._syncKind=Be.TextDocumentSyncKind.Incremental);break}}};un.DidChangeTextDocumentFeature=Vh;var Xh=class extends st.TextDocumentEventFeature{constructor(e){super(e,bn.workspace.onWillSaveTextDocument,Be.WillSaveTextDocumentNotification.type,()=>e.middleware.willSave,t=>e.code2ProtocolConverter.asWillSaveTextDocumentParams(t),t=>t.document,(t,i)=>st.TextDocumentEventFeature.textDocumentFilter(t,i.document))}get registrationType(){return Be.WillSaveTextDocumentNotification.type}fillClientCapabilities(e){let t=(0,st.ensure)((0,st.ensure)(e,"textDocument"),"synchronization");t.willSave=!0}initialize(e,t){let i=e.resolvedTextDocumentSync;t&&i&&i.willSave&&this.register({id:Ns.generateUuid(),registerOptions:{documentSelector:t}})}getTextDocument(e){return e.document}};un.WillSaveFeature=Xh;var Jh=class extends st.DynamicDocumentFeature{constructor(e){super(e),this._selectors=new Map}getDocumentSelectors(){return this._selectors.values()}get registrationType(){return Be.WillSaveTextDocumentWaitUntilRequest.type}fillClientCapabilities(e){let t=(0,st.ensure)((0,st.ensure)(e,"textDocument"),"synchronization");t.willSaveWaitUntil=!0}initialize(e,t){let i=e.resolvedTextDocumentSync;t&&i&&i.willSaveWaitUntil&&this.register({id:Ns.generateUuid(),registerOptions:{documentSelector:t}})}register(e){e.registerOptions.documentSelector&&(this._listener||(this._listener=bn.workspace.onWillSaveTextDocument(this.callback,this)),this._selectors.set(e.id,this._client.protocol2CodeConverter.asDocumentSelector(e.registerOptions.documentSelector)))}callback(e){if(st.TextDocumentEventFeature.textDocumentFilter(this._selectors.values(),e.document)&&!this._client.hasDedicatedTextSynchronizationFeature(e.document)){let t=this._client.middleware,i=r=>this._client.sendRequest(Be.WillSaveTextDocumentWaitUntilRequest.type,this._client.code2ProtocolConverter.asWillSaveTextDocumentParams(r)).then(async s=>{let o=await this._client.protocol2CodeConverter.asTextEdits(s);return o===void 0?[]:o});e.waitUntil(t.willSaveWaitUntil?t.willSaveWaitUntil(e,i):i(e))}}unregister(e){this._selectors.delete(e),this._selectors.size===0&&this._listener&&(this._listener.dispose(),this._listener=void 0)}clear(){this._selectors.clear(),this._listener&&(this._listener.dispose(),this._listener=void 0)}};un.WillSaveWaitUntilFeature=Jh;var Yh=class extends st.TextDocumentEventFeature{constructor(e){super(e,bn.workspace.onDidSaveTextDocument,Be.DidSaveTextDocumentNotification.type,()=>e.middleware.didSave,t=>e.code2ProtocolConverter.asSaveTextDocumentParams(t,this._includeText),t=>t,st.TextDocumentEventFeature.textDocumentFilter),this._includeText=!1}get registrationType(){return Be.DidSaveTextDocumentNotification.type}fillClientCapabilities(e){(0,st.ensure)((0,st.ensure)(e,"textDocument"),"synchronization").didSave=!0}initialize(e,t){let i=e.resolvedTextDocumentSync;if(t&&i&&i.save){let r=typeof i.save=="boolean"?{includeText:!1}:{includeText:!!i.save.includeText};this.register({id:Ns.generateUuid(),registerOptions:Object.assign({},{documentSelector:t},r)})}}register(e){this._includeText=!!e.registerOptions.includeText,super.register(e)}getTextDocument(e){return e}};un.DidSaveTextDocumentFeature=Yh});var aR=T(Ou=>{"use strict";Object.defineProperty(Ou,"__esModule",{value:!0});Ou.CompletionItemFeature=void 0;var zA=require("vscode"),we=ue(),Qh=Ce(),$A=tt(),HA=[we.CompletionItemKind.Text,we.CompletionItemKind.Method,we.CompletionItemKind.Function,we.CompletionItemKind.Constructor,we.CompletionItemKind.Field,we.CompletionItemKind.Variable,we.CompletionItemKind.Class,we.CompletionItemKind.Interface,we.CompletionItemKind.Module,we.CompletionItemKind.Property,we.CompletionItemKind.Unit,we.CompletionItemKind.Value,we.CompletionItemKind.Enum,we.CompletionItemKind.Keyword,we.CompletionItemKind.Snippet,we.CompletionItemKind.Color,we.CompletionItemKind.File,we.CompletionItemKind.Reference,we.CompletionItemKind.Folder,we.CompletionItemKind.EnumMember,we.CompletionItemKind.Constant,we.CompletionItemKind.Struct,we.CompletionItemKind.Event,we.CompletionItemKind.Operator,we.CompletionItemKind.TypeParameter],Zh=class extends Qh.TextDocumentLanguageFeature{constructor(e){super(e,we.CompletionRequest.type),this.labelDetailsSupport=new Map}fillClientCapabilities(e){let t=(0,Qh.ensure)((0,Qh.ensure)(e,"textDocument"),"completion");t.dynamicRegistration=!0,t.contextSupport=!0,t.completionItem={snippetSupport:!0,commitCharactersSupport:!0,documentationFormat:[we.MarkupKind.Markdown,we.MarkupKind.PlainText],deprecatedSupport:!0,preselectSupport:!0,tagSupport:{valueSet:[we.CompletionItemTag.Deprecated]},insertReplaceSupport:!0,resolveSupport:{properties:["documentation","detail","additionalTextEdits"]},insertTextModeSupport:{valueSet:[we.InsertTextMode.asIs,we.InsertTextMode.adjustIndentation]},labelDetailsSupport:!0},t.insertTextMode=we.InsertTextMode.adjustIndentation,t.completionItemKind={valueSet:HA},t.completionList={itemDefaults:["commitCharacters","editRange","insertTextFormat","insertTextMode","data"]}}initialize(e,t){let i=this.getRegistrationOptions(t,e.completionProvider);i&&this.register({id:$A.generateUuid(),registerOptions:i})}registerLanguageProvider(e,t){this.labelDetailsSupport.set(t,!!e.completionItem?.labelDetailsSupport);let i=e.triggerCharacters??[],r=e.allCommitCharacters,s=e.documentSelector,o={provideCompletionItems:(a,c,u,l)=>{let p=this._client,h=this._client.middleware,x=(f,y,w,S)=>p.sendRequest(we.CompletionRequest.type,p.code2ProtocolConverter.asCompletionParams(f,y,w),S).then(O=>S.isCancellationRequested?null:p.protocol2CodeConverter.asCompletionResult(O,r,S),O=>p.handleFailedRequest(we.CompletionRequest.type,S,O,null));return h.provideCompletionItem?h.provideCompletionItem(a,c,l,u,x):x(a,c,l,u)},resolveCompletionItem:e.resolveProvider?(a,c)=>{let u=this._client,l=this._client.middleware,p=(h,x)=>u.sendRequest(we.CompletionResolveRequest.type,u.code2ProtocolConverter.asCompletionItem(h,!!this.labelDetailsSupport.get(t)),x).then(f=>x.isCancellationRequested?null:u.protocol2CodeConverter.asCompletionItem(f),f=>u.handleFailedRequest(we.CompletionResolveRequest.type,x,f,h));return l.resolveCompletionItem?l.resolveCompletionItem(a,c,p):p(a,c)}:void 0};return[zA.languages.registerCompletionItemProvider(this._client.protocol2CodeConverter.asDocumentSelector(s),o,...i),o]}};Ou.CompletionItemFeature=Zh});var cR=T(qu=>{"use strict";Object.defineProperty(qu,"__esModule",{value:!0});qu.HoverFeature=void 0;var BA=require("vscode"),Uo=ue(),em=Ce(),WA=tt(),tm=class extends em.TextDocumentLanguageFeature{constructor(e){super(e,Uo.HoverRequest.type)}fillClientCapabilities(e){let t=(0,em.ensure)((0,em.ensure)(e,"textDocument"),"hover");t.dynamicRegistration=!0,t.contentFormat=[Uo.MarkupKind.Markdown,Uo.MarkupKind.PlainText]}initialize(e,t){let i=this.getRegistrationOptions(t,e.hoverProvider);i&&this.register({id:WA.generateUuid(),registerOptions:i})}registerLanguageProvider(e){let t=e.documentSelector,i={provideHover:(r,s,o)=>{let a=this._client,c=(l,p,h)=>a.sendRequest(Uo.HoverRequest.type,a.code2ProtocolConverter.asTextDocumentPositionParams(l,p),h).then(x=>h.isCancellationRequested?null:a.protocol2CodeConverter.asHover(x),x=>a.handleFailedRequest(Uo.HoverRequest.type,h,x,null)),u=a.middleware;return u.provideHover?u.provideHover(r,s,o,c):c(r,s,o)}};return[this.registerProvider(t,i),i]}registerProvider(e,t){return BA.languages.registerHoverProvider(this._client.protocol2CodeConverter.asDocumentSelector(e),t)}};qu.HoverFeature=tm});var uR=T(Fu=>{"use strict";Object.defineProperty(Fu,"__esModule",{value:!0});Fu.DefinitionFeature=void 0;var KA=require("vscode"),nm=ue(),im=Ce(),GA=tt(),rm=class extends im.TextDocumentLanguageFeature{constructor(e){super(e,nm.DefinitionRequest.type)}fillClientCapabilities(e){let t=(0,im.ensure)((0,im.ensure)(e,"textDocument"),"definition");t.dynamicRegistration=!0,t.linkSupport=!0}initialize(e,t){let i=this.getRegistrationOptions(t,e.definitionProvider);i&&this.register({id:GA.generateUuid(),registerOptions:i})}registerLanguageProvider(e){let t=e.documentSelector,i={provideDefinition:(r,s,o)=>{let a=this._client,c=(l,p,h)=>a.sendRequest(nm.DefinitionRequest.type,a.code2ProtocolConverter.asTextDocumentPositionParams(l,p),h).then(x=>h.isCancellationRequested?null:a.protocol2CodeConverter.asDefinitionResult(x,h),x=>a.handleFailedRequest(nm.DefinitionRequest.type,h,x,null)),u=a.middleware;return u.provideDefinition?u.provideDefinition(r,s,o,c):c(r,s,o)}};return[this.registerProvider(t,i),i]}registerProvider(e,t){return KA.languages.registerDefinitionProvider(this._client.protocol2CodeConverter.asDocumentSelector(e),t)}};Fu.DefinitionFeature=rm});var dR=T(Nu=>{"use strict";Object.defineProperty(Nu,"__esModule",{value:!0});Nu.SignatureHelpFeature=void 0;var lR=require("vscode"),zo=ue(),sm=Ce(),VA=tt(),om=class extends sm.TextDocumentLanguageFeature{constructor(e){super(e,zo.SignatureHelpRequest.type)}fillClientCapabilities(e){let t=(0,sm.ensure)((0,sm.ensure)(e,"textDocument"),"signatureHelp");t.dynamicRegistration=!0,t.signatureInformation={documentationFormat:[zo.MarkupKind.Markdown,zo.MarkupKind.PlainText]},t.signatureInformation.parameterInformation={labelOffsetSupport:!0},t.signatureInformation.activeParameterSupport=!0,t.contextSupport=!0}initialize(e,t){let i=this.getRegistrationOptions(t,e.signatureHelpProvider);i&&this.register({id:VA.generateUuid(),registerOptions:i})}registerLanguageProvider(e){let t={provideSignatureHelp:(i,r,s,o)=>{let a=this._client,c=(l,p,h,x)=>a.sendRequest(zo.SignatureHelpRequest.type,a.code2ProtocolConverter.asSignatureHelpParams(l,p,h),x).then(f=>x.isCancellationRequested?null:a.protocol2CodeConverter.asSignatureHelp(f,x),f=>a.handleFailedRequest(zo.SignatureHelpRequest.type,x,f,null)),u=a.middleware;return u.provideSignatureHelp?u.provideSignatureHelp(i,r,o,s,c):c(i,r,o,s)}};return[this.registerProvider(e,t),t]}registerProvider(e,t){let i=this._client.protocol2CodeConverter.asDocumentSelector(e.documentSelector);if(e.retriggerCharacters===void 0){let r=e.triggerCharacters||[];return lR.languages.registerSignatureHelpProvider(i,t,...r)}else{let r={triggerCharacters:e.triggerCharacters||[],retriggerCharacters:e.retriggerCharacters||[]};return lR.languages.registerSignatureHelpProvider(i,t,r)}}};Nu.SignatureHelpFeature=om});var pR=T(Au=>{"use strict";Object.defineProperty(Au,"__esModule",{value:!0});Au.DocumentHighlightFeature=void 0;var XA=require("vscode"),am=ue(),cm=Ce(),JA=tt(),um=class extends cm.TextDocumentLanguageFeature{constructor(e){super(e,am.DocumentHighlightRequest.type)}fillClientCapabilities(e){(0,cm.ensure)((0,cm.ensure)(e,"textDocument"),"documentHighlight").dynamicRegistration=!0}initialize(e,t){let i=this.getRegistrationOptions(t,e.documentHighlightProvider);i&&this.register({id:JA.generateUuid(),registerOptions:i})}registerLanguageProvider(e){let t=e.documentSelector,i={provideDocumentHighlights:(r,s,o)=>{let a=this._client,c=(l,p,h)=>a.sendRequest(am.DocumentHighlightRequest.type,a.code2ProtocolConverter.asTextDocumentPositionParams(l,p),h).then(x=>h.isCancellationRequested?null:a.protocol2CodeConverter.asDocumentHighlights(x,h),x=>a.handleFailedRequest(am.DocumentHighlightRequest.type,h,x,null)),u=a.middleware;return u.provideDocumentHighlights?u.provideDocumentHighlights(r,s,o,c):c(r,s,o)}};return[XA.languages.registerDocumentHighlightProvider(this._client.protocol2CodeConverter.asDocumentSelector(t),i),i]}};Au.DocumentHighlightFeature=um});var pm=T(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});hi.DocumentSymbolFeature=hi.SupportedSymbolTags=hi.SupportedSymbolKinds=void 0;var YA=require("vscode"),Fe=ue(),lm=Ce(),QA=tt();hi.SupportedSymbolKinds=[Fe.SymbolKind.File,Fe.SymbolKind.Module,Fe.SymbolKind.Namespace,Fe.SymbolKind.Package,Fe.SymbolKind.Class,Fe.SymbolKind.Method,Fe.SymbolKind.Property,Fe.SymbolKind.Field,Fe.SymbolKind.Constructor,Fe.SymbolKind.Enum,Fe.SymbolKind.Interface,Fe.SymbolKind.Function,Fe.SymbolKind.Variable,Fe.SymbolKind.Constant,Fe.SymbolKind.String,Fe.SymbolKind.Number,Fe.SymbolKind.Boolean,Fe.SymbolKind.Array,Fe.SymbolKind.Object,Fe.SymbolKind.Key,Fe.SymbolKind.Null,Fe.SymbolKind.EnumMember,Fe.SymbolKind.Struct,Fe.SymbolKind.Event,Fe.SymbolKind.Operator,Fe.SymbolKind.TypeParameter];hi.SupportedSymbolTags=[Fe.SymbolTag.Deprecated];var dm=class extends lm.TextDocumentLanguageFeature{constructor(e){super(e,Fe.DocumentSymbolRequest.type)}fillClientCapabilities(e){let t=(0,lm.ensure)((0,lm.ensure)(e,"textDocument"),"documentSymbol");t.dynamicRegistration=!0,t.symbolKind={valueSet:hi.SupportedSymbolKinds},t.hierarchicalDocumentSymbolSupport=!0,t.tagSupport={valueSet:hi.SupportedSymbolTags},t.labelSupport=!0}initialize(e,t){let i=this.getRegistrationOptions(t,e.documentSymbolProvider);i&&this.register({id:QA.generateUuid(),registerOptions:i})}registerLanguageProvider(e){let t=e.documentSelector,i={provideDocumentSymbols:(s,o)=>{let a=this._client,c=async(l,p)=>{try{let h=await a.sendRequest(Fe.DocumentSymbolRequest.type,a.code2ProtocolConverter.asDocumentSymbolParams(l),p);if(p.isCancellationRequested||h===void 0||h===null)return null;if(h.length===0)return[];{let x=h[0];return Fe.DocumentSymbol.is(x)?await a.protocol2CodeConverter.asDocumentSymbols(h,p):await a.protocol2CodeConverter.asSymbolInformations(h,p)}}catch(h){return a.handleFailedRequest(Fe.DocumentSymbolRequest.type,p,h,null)}},u=a.middleware;return u.provideDocumentSymbols?u.provideDocumentSymbols(s,o,c):c(s,o)}},r=e.label!==void 0?{label:e.label}:void 0;return[YA.languages.registerDocumentSymbolProvider(this._client.protocol2CodeConverter.asDocumentSelector(t),i,r),i]}};hi.DocumentSymbolFeature=dm});var hR=T(Iu=>{"use strict";Object.defineProperty(Iu,"__esModule",{value:!0});Iu.WorkspaceSymbolFeature=void 0;var ZA=require("vscode"),$o=ue(),fm=Ce(),fR=pm(),eI=tt(),hm=class extends fm.WorkspaceFeature{constructor(e){super(e,$o.WorkspaceSymbolRequest.type)}fillClientCapabilities(e){let t=(0,fm.ensure)((0,fm.ensure)(e,"workspace"),"symbol");t.dynamicRegistration=!0,t.symbolKind={valueSet:fR.SupportedSymbolKinds},t.tagSupport={valueSet:fR.SupportedSymbolTags},t.resolveSupport={properties:["location.range"]}}initialize(e){e.workspaceSymbolProvider&&this.register({id:eI.generateUuid(),registerOptions:e.workspaceSymbolProvider===!0?{workDoneProgress:!1}:e.workspaceSymbolProvider})}registerLanguageProvider(e){let t={provideWorkspaceSymbols:(i,r)=>{let s=this._client,o=(c,u)=>s.sendRequest($o.WorkspaceSymbolRequest.type,{query:c},u).then(l=>u.isCancellationRequested?null:s.protocol2CodeConverter.asSymbolInformations(l,u),l=>s.handleFailedRequest($o.WorkspaceSymbolRequest.type,u,l,null)),a=s.middleware;return a.provideWorkspaceSymbols?a.provideWorkspaceSymbols(i,r,o):o(i,r)},resolveWorkspaceSymbol:e.resolveProvider===!0?(i,r)=>{let s=this._client,o=(c,u)=>s.sendRequest($o.WorkspaceSymbolResolveRequest.type,s.code2ProtocolConverter.asWorkspaceSymbol(c),u).then(l=>u.isCancellationRequested?null:s.protocol2CodeConverter.asSymbolInformation(l),l=>s.handleFailedRequest($o.WorkspaceSymbolResolveRequest.type,u,l,null)),a=s.middleware;return a.resolveWorkspaceSymbol?a.resolveWorkspaceSymbol(i,r,o):o(i,r)}:void 0};return[ZA.languages.registerWorkspaceSymbolProvider(t),t]}};Iu.WorkspaceSymbolFeature=hm});var mR=T(ju=>{"use strict";Object.defineProperty(ju,"__esModule",{value:!0});ju.ReferencesFeature=void 0;var tI=require("vscode"),mm=ue(),gm=Ce(),nI=tt(),vm=class extends gm.TextDocumentLanguageFeature{constructor(e){super(e,mm.ReferencesRequest.type)}fillClientCapabilities(e){(0,gm.ensure)((0,gm.ensure)(e,"textDocument"),"references").dynamicRegistration=!0}initialize(e,t){let i=this.getRegistrationOptions(t,e.referencesProvider);i&&this.register({id:nI.generateUuid(),registerOptions:i})}registerLanguageProvider(e){let t=e.documentSelector,i={provideReferences:(r,s,o,a)=>{let c=this._client,u=(p,h,x,f)=>c.sendRequest(mm.ReferencesRequest.type,c.code2ProtocolConverter.asReferenceParams(p,h,x),f).then(y=>f.isCancellationRequested?null:c.protocol2CodeConverter.asReferences(y,f),y=>c.handleFailedRequest(mm.ReferencesRequest.type,f,y,null)),l=c.middleware;return l.provideReferences?l.provideReferences(r,s,o,a,u):u(r,s,o,a)}};return[this.registerProvider(t,i),i]}registerProvider(e,t){return tI.languages.registerReferenceProvider(this._client.protocol2CodeConverter.asDocumentSelector(e),t)}};ju.ReferencesFeature=vm});var gR=T(Lu=>{"use strict";Object.defineProperty(Lu,"__esModule",{value:!0});Lu.CodeActionFeature=void 0;var iI=require("vscode"),wn=ue(),rI=tt(),xm=Ce(),ym=class extends xm.TextDocumentLanguageFeature{constructor(e){super(e,wn.CodeActionRequest.type)}fillClientCapabilities(e){let t=(0,xm.ensure)((0,xm.ensure)(e,"textDocument"),"codeAction");t.dynamicRegistration=!0,t.isPreferredSupport=!0,t.disabledSupport=!0,t.dataSupport=!0,t.resolveSupport={properties:["edit"]},t.codeActionLiteralSupport={codeActionKind:{valueSet:[wn.CodeActionKind.Empty,wn.CodeActionKind.QuickFix,wn.CodeActionKind.Refactor,wn.CodeActionKind.RefactorExtract,wn.CodeActionKind.RefactorInline,wn.CodeActionKind.RefactorRewrite,wn.CodeActionKind.Source,wn.CodeActionKind.SourceOrganizeImports]}},t.honorsChangeAnnotations=!0}initialize(e,t){let i=this.getRegistrationOptions(t,e.codeActionProvider);i&&this.register({id:rI.generateUuid(),registerOptions:i})}registerLanguageProvider(e){let t=e.documentSelector,i={provideCodeActions:(r,s,o,a)=>{let c=this._client,u=async(p,h,x,f)=>{let y={textDocument:c.code2ProtocolConverter.asTextDocumentIdentifier(p),range:c.code2ProtocolConverter.asRange(h),context:c.code2ProtocolConverter.asCodeActionContextSync(x)};return c.sendRequest(wn.CodeActionRequest.type,y,f).then(w=>f.isCancellationRequested||w===null||w===void 0?null:c.protocol2CodeConverter.asCodeActionResult(w,f),w=>c.handleFailedRequest(wn.CodeActionRequest.type,f,w,null))},l=c.middleware;return l.provideCodeActions?l.provideCodeActions(r,s,o,a,u):u(r,s,o,a)},resolveCodeAction:e.resolveProvider?(r,s)=>{let o=this._client,a=this._client.middleware,c=async(u,l)=>o.sendRequest(wn.CodeActionResolveRequest.type,o.code2ProtocolConverter.asCodeActionSync(u),l).then(p=>l.isCancellationRequested?u:o.protocol2CodeConverter.asCodeAction(p,l),p=>o.handleFailedRequest(wn.CodeActionResolveRequest.type,l,p,u));return a.resolveCodeAction?a.resolveCodeAction(r,s,c):c(r,s)}:void 0};return[iI.languages.registerCodeActionsProvider(this._client.protocol2CodeConverter.asDocumentSelector(t),i,e.codeActionKinds?{providedCodeActionKinds:this._client.protocol2CodeConverter.asCodeActionKinds(e.codeActionKinds)}:void 0),i]}};Lu.CodeActionFeature=ym});var xR=T(Mu=>{"use strict";Object.defineProperty(Mu,"__esModule",{value:!0});Mu.CodeLensFeature=void 0;var vR=require("vscode"),As=ue(),sI=tt(),Ho=Ce(),bm=class extends Ho.TextDocumentLanguageFeature{constructor(e){super(e,As.CodeLensRequest.type)}fillClientCapabilities(e){(0,Ho.ensure)((0,Ho.ensure)(e,"textDocument"),"codeLens").dynamicRegistration=!0,(0,Ho.ensure)((0,Ho.ensure)(e,"workspace"),"codeLens").refreshSupport=!0}initialize(e,t){this._client.onRequest(As.CodeLensRefreshRequest.type,async()=>{for(let s of this.getAllProviders())s.onDidChangeCodeLensEmitter.fire()});let r=this.getRegistrationOptions(t,e.codeLensProvider);r&&this.register({id:sI.generateUuid(),registerOptions:r})}registerLanguageProvider(e){let t=e.documentSelector,i=new vR.EventEmitter,r={onDidChangeCodeLenses:i.event,provideCodeLenses:(s,o)=>{let a=this._client,c=(l,p)=>a.sendRequest(As.CodeLensRequest.type,a.code2ProtocolConverter.asCodeLensParams(l),p).then(h=>p.isCancellationRequested?null:a.protocol2CodeConverter.asCodeLenses(h,p),h=>a.handleFailedRequest(As.CodeLensRequest.type,p,h,null)),u=a.middleware;return u.provideCodeLenses?u.provideCodeLenses(s,o,c):c(s,o)},resolveCodeLens:e.resolveProvider?(s,o)=>{let a=this._client,c=(l,p)=>a.sendRequest(As.CodeLensResolveRequest.type,a.code2ProtocolConverter.asCodeLens(l),p).then(h=>p.isCancellationRequested?l:a.protocol2CodeConverter.asCodeLens(h),h=>a.handleFailedRequest(As.CodeLensResolveRequest.type,p,h,l)),u=a.middleware;return u.resolveCodeLens?u.resolveCodeLens(s,o,c):c(s,o)}:void 0};return[vR.languages.registerCodeLensProvider(this._client.protocol2CodeConverter.asDocumentSelector(t),r),{provider:r,onDidChangeCodeLensEmitter:i}]}};Mu.CodeLensFeature=bm});var yR=T(fr=>{"use strict";Object.defineProperty(fr,"__esModule",{value:!0});fr.DocumentOnTypeFormattingFeature=fr.DocumentRangeFormattingFeature=fr.DocumentFormattingFeature=void 0;var Uu=require("vscode"),Yn=ue(),Cm=tt(),Pi=Ce(),Is;(function(n){function e(t){let i=Uu.workspace.getConfiguration("files",t);return{trimTrailingWhitespace:i.get("trimTrailingWhitespace"),trimFinalNewlines:i.get("trimFinalNewlines"),insertFinalNewline:i.get("insertFinalNewline")}}n.fromConfiguration=e})(Is||(Is={}));var wm=class extends Pi.TextDocumentLanguageFeature{constructor(e){super(e,Yn.DocumentFormattingRequest.type)}fillClientCapabilities(e){(0,Pi.ensure)((0,Pi.ensure)(e,"textDocument"),"formatting").dynamicRegistration=!0}initialize(e,t){let i=this.getRegistrationOptions(t,e.documentFormattingProvider);i&&this.register({id:Cm.generateUuid(),registerOptions:i})}registerLanguageProvider(e){let t=e.documentSelector,i={provideDocumentFormattingEdits:(r,s,o)=>{let a=this._client,c=(l,p,h)=>{let x={textDocument:a.code2ProtocolConverter.asTextDocumentIdentifier(l),options:a.code2ProtocolConverter.asFormattingOptions(p,Is.fromConfiguration(l))};return a.sendRequest(Yn.DocumentFormattingRequest.type,x,h).then(f=>h.isCancellationRequested?null:a.protocol2CodeConverter.asTextEdits(f,h),f=>a.handleFailedRequest(Yn.DocumentFormattingRequest.type,h,f,null))},u=a.middleware;return u.provideDocumentFormattingEdits?u.provideDocumentFormattingEdits(r,s,o,c):c(r,s,o)}};return[Uu.languages.registerDocumentFormattingEditProvider(this._client.protocol2CodeConverter.asDocumentSelector(t),i),i]}};fr.DocumentFormattingFeature=wm;var _m=class extends Pi.TextDocumentLanguageFeature{constructor(e){super(e,Yn.DocumentRangeFormattingRequest.type)}fillClientCapabilities(e){let t=(0,Pi.ensure)((0,Pi.ensure)(e,"textDocument"),"rangeFormatting");t.dynamicRegistration=!0,t.rangesSupport=!0}initialize(e,t){let i=this.getRegistrationOptions(t,e.documentRangeFormattingProvider);i&&this.register({id:Cm.generateUuid(),registerOptions:i})}registerLanguageProvider(e){let t=e.documentSelector,i={provideDocumentRangeFormattingEdits:(r,s,o,a)=>{let c=this._client,u=(p,h,x,f)=>{let y={textDocument:c.code2ProtocolConverter.asTextDocumentIdentifier(p),range:c.code2ProtocolConverter.asRange(h),options:c.code2ProtocolConverter.asFormattingOptions(x,Is.fromConfiguration(p))};return c.sendRequest(Yn.DocumentRangeFormattingRequest.type,y,f).then(w=>f.isCancellationRequested?null:c.protocol2CodeConverter.asTextEdits(w,f),w=>c.handleFailedRequest(Yn.DocumentRangeFormattingRequest.type,f,w,null))},l=c.middleware;return l.provideDocumentRangeFormattingEdits?l.provideDocumentRangeFormattingEdits(r,s,o,a,u):u(r,s,o,a)}};return e.rangesSupport&&(i.provideDocumentRangesFormattingEdits=(r,s,o,a)=>{let c=this._client,u=(p,h,x,f)=>{let y={textDocument:c.code2ProtocolConverter.asTextDocumentIdentifier(p),ranges:c.code2ProtocolConverter.asRanges(h),options:c.code2ProtocolConverter.asFormattingOptions(x,Is.fromConfiguration(p))};return c.sendRequest(Yn.DocumentRangesFormattingRequest.type,y,f).then(w=>f.isCancellationRequested?null:c.protocol2CodeConverter.asTextEdits(w,f),w=>c.handleFailedRequest(Yn.DocumentRangesFormattingRequest.type,f,w,null))},l=c.middleware;return l.provideDocumentRangesFormattingEdits?l.provideDocumentRangesFormattingEdits(r,s,o,a,u):u(r,s,o,a)}),[Uu.languages.registerDocumentRangeFormattingEditProvider(this._client.protocol2CodeConverter.asDocumentSelector(t),i),i]}};fr.DocumentRangeFormattingFeature=_m;var Sm=class extends Pi.TextDocumentLanguageFeature{constructor(e){super(e,Yn.DocumentOnTypeFormattingRequest.type)}fillClientCapabilities(e){(0,Pi.ensure)((0,Pi.ensure)(e,"textDocument"),"onTypeFormatting").dynamicRegistration=!0}initialize(e,t){let i=this.getRegistrationOptions(t,e.documentOnTypeFormattingProvider);i&&this.register({id:Cm.generateUuid(),registerOptions:i})}registerLanguageProvider(e){let t=e.documentSelector,i={provideOnTypeFormattingEdits:(s,o,a,c,u)=>{let l=this._client,p=(x,f,y,w,S)=>{let O={textDocument:l.code2ProtocolConverter.asTextDocumentIdentifier(x),position:l.code2ProtocolConverter.asPosition(f),ch:y,options:l.code2ProtocolConverter.asFormattingOptions(w,Is.fromConfiguration(x))};return l.sendRequest(Yn.DocumentOnTypeFormattingRequest.type,O,S).then(k=>S.isCancellationRequested?null:l.protocol2CodeConverter.asTextEdits(k,S),k=>l.handleFailedRequest(Yn.DocumentOnTypeFormattingRequest.type,S,k,null))},h=l.middleware;return h.provideOnTypeFormattingEdits?h.provideOnTypeFormattingEdits(s,o,a,c,u,p):p(s,o,a,c,u)}},r=e.moreTriggerCharacter||[];return[Uu.languages.registerOnTypeFormattingEditProvider(this._client.protocol2CodeConverter.asDocumentSelector(t),i,e.firstTriggerCharacter,...r),i]}};fr.DocumentOnTypeFormattingFeature=Sm});var wR=T(zu=>{"use strict";Object.defineProperty(zu,"__esModule",{value:!0});zu.RenameFeature=void 0;var oI=require("vscode"),qr=ue(),aI=tt(),bR=qn(),Rm=Ce(),Dm=class extends Rm.TextDocumentLanguageFeature{constructor(e){super(e,qr.RenameRequest.type)}fillClientCapabilities(e){let t=(0,Rm.ensure)((0,Rm.ensure)(e,"textDocument"),"rename");t.dynamicRegistration=!0,t.prepareSupport=!0,t.prepareSupportDefaultBehavior=qr.PrepareSupportDefaultBehavior.Identifier,t.honorsChangeAnnotations=!0}initialize(e,t){let i=this.getRegistrationOptions(t,e.renameProvider);i&&(bR.boolean(e.renameProvider)&&(i.prepareProvider=!1),this.register({id:aI.generateUuid(),registerOptions:i}))}registerLanguageProvider(e){let t=e.documentSelector,i={provideRenameEdits:(r,s,o,a)=>{let c=this._client,u=(p,h,x,f)=>{let y={textDocument:c.code2ProtocolConverter.asTextDocumentIdentifier(p),position:c.code2ProtocolConverter.asPosition(h),newName:x};return c.sendRequest(qr.RenameRequest.type,y,f).then(w=>f.isCancellationRequested?null:c.protocol2CodeConverter.asWorkspaceEdit(w,f),w=>c.handleFailedRequest(qr.RenameRequest.type,f,w,null,!1))},l=c.middleware;return l.provideRenameEdits?l.provideRenameEdits(r,s,o,a,u):u(r,s,o,a)},prepareRename:e.prepareProvider?(r,s,o)=>{let a=this._client,c=(l,p,h)=>{let x={textDocument:a.code2ProtocolConverter.asTextDocumentIdentifier(l),position:a.code2ProtocolConverter.asPosition(p)};return a.sendRequest(qr.PrepareRenameRequest.type,x,h).then(f=>h.isCancellationRequested?null:qr.Range.is(f)?a.protocol2CodeConverter.asRange(f):this.isDefaultBehavior(f)?f.defaultBehavior===!0?null:Promise.reject(new Error("The element can't be renamed.")):f&&qr.Range.is(f.range)?{range:a.protocol2CodeConverter.asRange(f.range),placeholder:f.placeholder}:Promise.reject(new Error("The element can't be renamed.")),f=>{throw typeof f.message=="string"?new Error(f.message):new Error("The element can't be renamed.")})},u=a.middleware;return u.prepareRename?u.prepareRename(r,s,o,c):c(r,s,o)}:void 0};return[this.registerProvider(t,i),i]}registerProvider(e,t){return oI.languages.registerRenameProvider(this._client.protocol2CodeConverter.asDocumentSelector(e),t)}isDefaultBehavior(e){let t=e;return t&&bR.boolean(t.defaultBehavior)}};zu.RenameFeature=Dm});var _R=T($u=>{"use strict";Object.defineProperty($u,"__esModule",{value:!0});$u.DocumentLinkFeature=void 0;var cI=require("vscode"),Bo=ue(),Tm=Ce(),uI=tt(),Em=class extends Tm.TextDocumentLanguageFeature{constructor(e){super(e,Bo.DocumentLinkRequest.type)}fillClientCapabilities(e){let t=(0,Tm.ensure)((0,Tm.ensure)(e,"textDocument"),"documentLink");t.dynamicRegistration=!0,t.tooltipSupport=!0}initialize(e,t){let i=this.getRegistrationOptions(t,e.documentLinkProvider);i&&this.register({id:uI.generateUuid(),registerOptions:i})}registerLanguageProvider(e){let t=e.documentSelector,i={provideDocumentLinks:(r,s)=>{let o=this._client,a=(u,l)=>o.sendRequest(Bo.DocumentLinkRequest.type,o.code2ProtocolConverter.asDocumentLinkParams(u),l).then(p=>l.isCancellationRequested?null:o.protocol2CodeConverter.asDocumentLinks(p,l),p=>o.handleFailedRequest(Bo.DocumentLinkRequest.type,l,p,null)),c=o.middleware;return c.provideDocumentLinks?c.provideDocumentLinks(r,s,a):a(r,s)},resolveDocumentLink:e.resolveProvider?(r,s)=>{let o=this._client,a=(u,l)=>o.sendRequest(Bo.DocumentLinkResolveRequest.type,o.code2ProtocolConverter.asDocumentLink(u),l).then(p=>l.isCancellationRequested?u:o.protocol2CodeConverter.asDocumentLink(p),p=>o.handleFailedRequest(Bo.DocumentLinkResolveRequest.type,l,p,u)),c=o.middleware;return c.resolveDocumentLink?c.resolveDocumentLink(r,s,a):a(r,s)}:void 0};return[cI.languages.registerDocumentLinkProvider(this._client.protocol2CodeConverter.asDocumentSelector(t),i),i]}};$u.DocumentLinkFeature=Em});var CR=T(Hu=>{"use strict";Object.defineProperty(Hu,"__esModule",{value:!0});Hu.ExecuteCommandFeature=void 0;var lI=require("vscode"),Pm=ue(),dI=tt(),SR=Ce(),km=class{constructor(e){this._client=e,this._commands=new Map}getState(){return{kind:"workspace",id:this.registrationType.method,registrations:this._commands.size>0}}get registrationType(){return Pm.ExecuteCommandRequest.type}fillClientCapabilities(e){(0,SR.ensure)((0,SR.ensure)(e,"workspace"),"executeCommand").dynamicRegistration=!0}initialize(e){e.executeCommandProvider&&this.register({id:dI.generateUuid(),registerOptions:Object.assign({},e.executeCommandProvider)})}register(e){let t=this._client,i=t.middleware,r=(s,o)=>{let a={command:s,arguments:o};return t.sendRequest(Pm.ExecuteCommandRequest.type,a).then(void 0,c=>t.handleFailedRequest(Pm.ExecuteCommandRequest.type,void 0,c,void 0))};if(e.registerOptions.commands){let s=[];for(let o of e.registerOptions.commands)s.push(lI.commands.registerCommand(o,(...a)=>i.executeCommand?i.executeCommand(o,a,r):r(o,a)));this._commands.set(e.id,s)}}unregister(e){let t=this._commands.get(e);t&&t.forEach(i=>i.dispose())}clear(){this._commands.forEach(e=>{e.forEach(t=>t.dispose())}),this._commands.clear()}};Hu.ExecuteCommandFeature=km});var RR=T(Wu=>{"use strict";Object.defineProperty(Wu,"__esModule",{value:!0});Wu.FileSystemWatcherFeature=void 0;var pI=require("vscode"),Fr=ue(),Bu=Ce(),Om=class{constructor(e,t){this._client=e,this._notifyFileEvent=t,this._watchers=new Map}getState(){return{kind:"workspace",id:this.registrationType.method,registrations:this._watchers.size>0}}get registrationType(){return Fr.DidChangeWatchedFilesNotification.type}fillClientCapabilities(e){(0,Bu.ensure)((0,Bu.ensure)(e,"workspace"),"didChangeWatchedFiles").dynamicRegistration=!0,(0,Bu.ensure)((0,Bu.ensure)(e,"workspace"),"didChangeWatchedFiles").relativePatternSupport=!0}initialize(e,t){}register(e){if(!Array.isArray(e.registerOptions.watchers))return;let t=[];for(let i of e.registerOptions.watchers){let r=this._client.protocol2CodeConverter.asGlobPattern(i.globPattern);if(r===void 0)continue;let s=!0,o=!0,a=!0;i.kind!==void 0&&i.kind!==null&&(s=(i.kind&Fr.WatchKind.Create)!==0,o=(i.kind&Fr.WatchKind.Change)!==0,a=(i.kind&Fr.WatchKind.Delete)!==0);let c=pI.workspace.createFileSystemWatcher(r,!s,!o,!a);this.hookListeners(c,s,o,a,t),t.push(c)}this._watchers.set(e.id,t)}registerRaw(e,t){let i=[];for(let r of t)this.hookListeners(r,!0,!0,!0,i);this._watchers.set(e,i)}hookListeners(e,t,i,r,s){t&&e.onDidCreate(o=>this._notifyFileEvent({uri:this._client.code2ProtocolConverter.asUri(o),type:Fr.FileChangeType.Created}),null,s),i&&e.onDidChange(o=>this._notifyFileEvent({uri:this._client.code2ProtocolConverter.asUri(o),type:Fr.FileChangeType.Changed}),null,s),r&&e.onDidDelete(o=>this._notifyFileEvent({uri:this._client.code2ProtocolConverter.asUri(o),type:Fr.FileChangeType.Deleted}),null,s)}unregister(e){let t=this._watchers.get(e);if(t)for(let i of t)i.dispose()}clear(){this._watchers.forEach(e=>{for(let t of e)t.dispose()}),this._watchers.clear()}};Wu.FileSystemWatcherFeature=Om});var DR=T(Ku=>{"use strict";Object.defineProperty(Ku,"__esModule",{value:!0});Ku.ColorProviderFeature=void 0;var fI=require("vscode"),Wo=ue(),qm=Ce(),Fm=class extends qm.TextDocumentLanguageFeature{constructor(e){super(e,Wo.DocumentColorRequest.type)}fillClientCapabilities(e){(0,qm.ensure)((0,qm.ensure)(e,"textDocument"),"colorProvider").dynamicRegistration=!0}initialize(e,t){let[i,r]=this.getRegistration(t,e.colorProvider);!i||!r||this.register({id:i,registerOptions:r})}registerLanguageProvider(e){let t=e.documentSelector,i={provideColorPresentations:(r,s,o)=>{let a=this._client,c=(l,p,h)=>{let x={color:l,textDocument:a.code2ProtocolConverter.asTextDocumentIdentifier(p.document),range:a.code2ProtocolConverter.asRange(p.range)};return a.sendRequest(Wo.ColorPresentationRequest.type,x,h).then(f=>h.isCancellationRequested?null:this._client.protocol2CodeConverter.asColorPresentations(f,h),f=>a.handleFailedRequest(Wo.ColorPresentationRequest.type,h,f,null))},u=a.middleware;return u.provideColorPresentations?u.provideColorPresentations(r,s,o,c):c(r,s,o)},provideDocumentColors:(r,s)=>{let o=this._client,a=(u,l)=>{let p={textDocument:o.code2ProtocolConverter.asTextDocumentIdentifier(u)};return o.sendRequest(Wo.DocumentColorRequest.type,p,l).then(h=>l.isCancellationRequested?null:this._client.protocol2CodeConverter.asColorInformations(h,l),h=>o.handleFailedRequest(Wo.DocumentColorRequest.type,l,h,null))},c=o.middleware;return c.provideDocumentColors?c.provideDocumentColors(r,s,a):a(r,s)}};return[fI.languages.registerColorProvider(this._client.protocol2CodeConverter.asDocumentSelector(t),i),i]}};Ku.ColorProviderFeature=Fm});var TR=T(Gu=>{"use strict";Object.defineProperty(Gu,"__esModule",{value:!0});Gu.ImplementationFeature=void 0;var hI=require("vscode"),Nm=ue(),Am=Ce(),Im=class extends Am.TextDocumentLanguageFeature{constructor(e){super(e,Nm.ImplementationRequest.type)}fillClientCapabilities(e){let t=(0,Am.ensure)((0,Am.ensure)(e,"textDocument"),"implementation");t.dynamicRegistration=!0,t.linkSupport=!0}initialize(e,t){let[i,r]=this.getRegistration(t,e.implementationProvider);!i||!r||this.register({id:i,registerOptions:r})}registerLanguageProvider(e){let t=e.documentSelector,i={provideImplementation:(r,s,o)=>{let a=this._client,c=(l,p,h)=>a.sendRequest(Nm.ImplementationRequest.type,a.code2ProtocolConverter.asTextDocumentPositionParams(l,p),h).then(x=>h.isCancellationRequested?null:a.protocol2CodeConverter.asDefinitionResult(x,h),x=>a.handleFailedRequest(Nm.ImplementationRequest.type,h,x,null)),u=a.middleware;return u.provideImplementation?u.provideImplementation(r,s,o,c):c(r,s,o)}};return[this.registerProvider(t,i),i]}registerProvider(e,t){return hI.languages.registerImplementationProvider(this._client.protocol2CodeConverter.asDocumentSelector(e),t)}};Gu.ImplementationFeature=Im});var ER=T(Vu=>{"use strict";Object.defineProperty(Vu,"__esModule",{value:!0});Vu.TypeDefinitionFeature=void 0;var mI=require("vscode"),jm=ue(),Ko=Ce(),Lm=class extends Ko.TextDocumentLanguageFeature{constructor(e){super(e,jm.TypeDefinitionRequest.type)}fillClientCapabilities(e){(0,Ko.ensure)((0,Ko.ensure)(e,"textDocument"),"typeDefinition").dynamicRegistration=!0;let t=(0,Ko.ensure)((0,Ko.ensure)(e,"textDocument"),"typeDefinition");t.dynamicRegistration=!0,t.linkSupport=!0}initialize(e,t){let[i,r]=this.getRegistration(t,e.typeDefinitionProvider);!i||!r||this.register({id:i,registerOptions:r})}registerLanguageProvider(e){let t=e.documentSelector,i={provideTypeDefinition:(r,s,o)=>{let a=this._client,c=(l,p,h)=>a.sendRequest(jm.TypeDefinitionRequest.type,a.code2ProtocolConverter.asTextDocumentPositionParams(l,p),h).then(x=>h.isCancellationRequested?null:a.protocol2CodeConverter.asDefinitionResult(x,h),x=>a.handleFailedRequest(jm.TypeDefinitionRequest.type,h,x,null)),u=a.middleware;return u.provideTypeDefinition?u.provideTypeDefinition(r,s,o,c):c(r,s,o)}};return[this.registerProvider(t,i),i]}registerProvider(e,t){return mI.languages.registerTypeDefinitionProvider(this._client.protocol2CodeConverter.asDocumentSelector(e),t)}};Vu.TypeDefinitionFeature=Lm});var PR=T(js=>{"use strict";Object.defineProperty(js,"__esModule",{value:!0});js.WorkspaceFoldersFeature=js.arrayDiff=void 0;var gI=tt(),Xu=require("vscode"),Go=ue();function Mm(n,e){if(n!=null)return n[e]}function Um(n,e){return n.filter(t=>e.indexOf(t)<0)}js.arrayDiff=Um;var zm=class{constructor(e){this._client=e,this._listeners=new Map}getState(){return{kind:"workspace",id:this.registrationType.method,registrations:this._listeners.size>0}}get registrationType(){return Go.DidChangeWorkspaceFoldersNotification.type}fillInitializeParams(e){let t=Xu.workspace.workspaceFolders;this.initializeWithFolders(t),t===void 0?e.workspaceFolders=null:e.workspaceFolders=t.map(i=>this.asProtocol(i))}initializeWithFolders(e){this._initialFolders=e}fillClientCapabilities(e){e.workspace=e.workspace||{},e.workspace.workspaceFolders=!0}initialize(e){let t=this._client;t.onRequest(Go.WorkspaceFoldersRequest.type,s=>{let o=()=>{let c=Xu.workspace.workspaceFolders;return c===void 0?null:c.map(l=>this.asProtocol(l))},a=t.middleware.workspace;return a&&a.workspaceFolders?a.workspaceFolders(s,o):o(s)});let i=Mm(Mm(Mm(e,"workspace"),"workspaceFolders"),"changeNotifications"),r;typeof i=="string"?r=i:i===!0&&(r=gI.generateUuid()),r&&this.register({id:r,registerOptions:void 0})}sendInitialEvent(e){let t;if(this._initialFolders&&e){let i=Um(this._initialFolders,e),r=Um(e,this._initialFolders);(r.length>0||i.length>0)&&(t=this.doSendEvent(r,i))}else this._initialFolders?t=this.doSendEvent([],this._initialFolders):e&&(t=this.doSendEvent(e,[]));t!==void 0&&t.catch(i=>{this._client.error(`Sending notification ${Go.DidChangeWorkspaceFoldersNotification.type.method} failed`,i)})}doSendEvent(e,t){let i={event:{added:e.map(r=>this.asProtocol(r)),removed:t.map(r=>this.asProtocol(r))}};return this._client.sendNotification(Go.DidChangeWorkspaceFoldersNotification.type,i)}register(e){let t=e.id,i=this._client,r=Xu.workspace.onDidChangeWorkspaceFolders(s=>{let o=u=>this.doSendEvent(u.added,u.removed),a=i.middleware.workspace;(a&&a.didChangeWorkspaceFolders?a.didChangeWorkspaceFolders(s,o):o(s)).catch(u=>{this._client.error(`Sending notification ${Go.DidChangeWorkspaceFoldersNotification.type.method} failed`,u)})});this._listeners.set(t,r),this.sendInitialEvent(Xu.workspace.workspaceFolders)}unregister(e){let t=this._listeners.get(e);t!==void 0&&(this._listeners.delete(e),t.dispose())}clear(){for(let e of this._listeners.values())e.dispose();this._listeners.clear()}asProtocol(e){return e===void 0?null:{uri:this._client.code2ProtocolConverter.asUri(e.uri),name:e.name}}};js.WorkspaceFoldersFeature=zm});var OR=T(Ju=>{"use strict";Object.defineProperty(Ju,"__esModule",{value:!0});Ju.FoldingRangeFeature=void 0;var kR=require("vscode"),Nr=ue(),Vo=Ce(),$m=class extends Vo.TextDocumentLanguageFeature{constructor(e){super(e,Nr.FoldingRangeRequest.type)}fillClientCapabilities(e){let t=(0,Vo.ensure)((0,Vo.ensure)(e,"textDocument"),"foldingRange");t.dynamicRegistration=!0,t.rangeLimit=5e3,t.lineFoldingOnly=!0,t.foldingRangeKind={valueSet:[Nr.FoldingRangeKind.Comment,Nr.FoldingRangeKind.Imports,Nr.FoldingRangeKind.Region]},t.foldingRange={collapsedText:!1},(0,Vo.ensure)((0,Vo.ensure)(e,"workspace"),"foldingRange").refreshSupport=!0}initialize(e,t){this._client.onRequest(Nr.FoldingRangeRefreshRequest.type,async()=>{for(let s of this.getAllProviders())s.onDidChangeFoldingRange.fire()});let[i,r]=this.getRegistration(t,e.foldingRangeProvider);!i||!r||this.register({id:i,registerOptions:r})}registerLanguageProvider(e){let t=e.documentSelector,i=new kR.EventEmitter,r={onDidChangeFoldingRanges:i.event,provideFoldingRanges:(s,o,a)=>{let c=this._client,u=(p,h,x)=>{let f={textDocument:c.code2ProtocolConverter.asTextDocumentIdentifier(p)};return c.sendRequest(Nr.FoldingRangeRequest.type,f,x).then(y=>x.isCancellationRequested?null:c.protocol2CodeConverter.asFoldingRanges(y,x),y=>c.handleFailedRequest(Nr.FoldingRangeRequest.type,x,y,null))},l=c.middleware;return l.provideFoldingRanges?l.provideFoldingRanges(s,o,a,u):u(s,o,a)}};return[kR.languages.registerFoldingRangeProvider(this._client.protocol2CodeConverter.asDocumentSelector(t),r),{provider:r,onDidChangeFoldingRange:i}]}};Ju.FoldingRangeFeature=$m});var qR=T(Yu=>{"use strict";Object.defineProperty(Yu,"__esModule",{value:!0});Yu.DeclarationFeature=void 0;var vI=require("vscode"),Hm=ue(),Bm=Ce(),Wm=class extends Bm.TextDocumentLanguageFeature{constructor(e){super(e,Hm.DeclarationRequest.type)}fillClientCapabilities(e){let t=(0,Bm.ensure)((0,Bm.ensure)(e,"textDocument"),"declaration");t.dynamicRegistration=!0,t.linkSupport=!0}initialize(e,t){let[i,r]=this.getRegistration(t,e.declarationProvider);!i||!r||this.register({id:i,registerOptions:r})}registerLanguageProvider(e){let t=e.documentSelector,i={provideDeclaration:(r,s,o)=>{let a=this._client,c=(l,p,h)=>a.sendRequest(Hm.DeclarationRequest.type,a.code2ProtocolConverter.asTextDocumentPositionParams(l,p),h).then(x=>h.isCancellationRequested?null:a.protocol2CodeConverter.asDeclarationResult(x,h),x=>a.handleFailedRequest(Hm.DeclarationRequest.type,h,x,null)),u=a.middleware;return u.provideDeclaration?u.provideDeclaration(r,s,o,c):c(r,s,o)}};return[this.registerProvider(t,i),i]}registerProvider(e,t){return vI.languages.registerDeclarationProvider(this._client.protocol2CodeConverter.asDocumentSelector(e),t)}};Yu.DeclarationFeature=Wm});var FR=T(Qu=>{"use strict";Object.defineProperty(Qu,"__esModule",{value:!0});Qu.SelectionRangeFeature=void 0;var xI=require("vscode"),Km=ue(),Gm=Ce(),Vm=class extends Gm.TextDocumentLanguageFeature{constructor(e){super(e,Km.SelectionRangeRequest.type)}fillClientCapabilities(e){let t=(0,Gm.ensure)((0,Gm.ensure)(e,"textDocument"),"selectionRange");t.dynamicRegistration=!0}initialize(e,t){let[i,r]=this.getRegistration(t,e.selectionRangeProvider);!i||!r||this.register({id:i,registerOptions:r})}registerLanguageProvider(e){let t=e.documentSelector,i={provideSelectionRanges:(r,s,o)=>{let a=this._client,c=async(l,p,h)=>{let x={textDocument:a.code2ProtocolConverter.asTextDocumentIdentifier(l),positions:a.code2ProtocolConverter.asPositionsSync(p,h)};return a.sendRequest(Km.SelectionRangeRequest.type,x,h).then(f=>h.isCancellationRequested?null:a.protocol2CodeConverter.asSelectionRanges(f,h),f=>a.handleFailedRequest(Km.SelectionRangeRequest.type,h,f,null))},u=a.middleware;return u.provideSelectionRanges?u.provideSelectionRanges(r,s,o,c):c(r,s,o)}};return[this.registerProvider(t,i),i]}registerProvider(e,t){return xI.languages.registerSelectionRangeProvider(this._client.protocol2CodeConverter.asDocumentSelector(e),t)}};Qu.SelectionRangeFeature=Vm});var AR=T(Zu=>{"use strict";Object.defineProperty(Zu,"__esModule",{value:!0});Zu.ProgressFeature=void 0;var NR=ue(),yI=wh();function bI(n,e){return n[e]===void 0&&(n[e]=Object.create(null)),n[e]}var Xm=class{constructor(e){this._client=e,this.activeParts=new Set}getState(){return{kind:"window",id:NR.WorkDoneProgressCreateRequest.method,registrations:this.activeParts.size>0}}fillClientCapabilities(e){bI(e,"window").workDoneProgress=!0}initialize(){let e=this._client,t=r=>{this.activeParts.delete(r)},i=r=>{this.activeParts.add(new yI.ProgressPart(this._client,r.token,t))};e.onRequest(NR.WorkDoneProgressCreateRequest.type,i)}clear(){for(let e of this.activeParts)e.done();this.activeParts.clear()}};Zu.ProgressFeature=Xm});var IR=T(el=>{"use strict";Object.defineProperty(el,"__esModule",{value:!0});el.CallHierarchyFeature=void 0;var wI=require("vscode"),Ar=ue(),Jm=Ce(),Ym=class{constructor(e){this.client=e,this.middleware=e.middleware}prepareCallHierarchy(e,t,i){let r=this.client,s=this.middleware,o=(a,c,u)=>{let l=r.code2ProtocolConverter.asTextDocumentPositionParams(a,c);return r.sendRequest(Ar.CallHierarchyPrepareRequest.type,l,u).then(p=>u.isCancellationRequested?null:r.protocol2CodeConverter.asCallHierarchyItems(p,u),p=>r.handleFailedRequest(Ar.CallHierarchyPrepareRequest.type,u,p,null))};return s.prepareCallHierarchy?s.prepareCallHierarchy(e,t,i,o):o(e,t,i)}provideCallHierarchyIncomingCalls(e,t){let i=this.client,r=this.middleware,s=(o,a)=>{let c={item:i.code2ProtocolConverter.asCallHierarchyItem(o)};return i.sendRequest(Ar.CallHierarchyIncomingCallsRequest.type,c,a).then(u=>a.isCancellationRequested?null:i.protocol2CodeConverter.asCallHierarchyIncomingCalls(u,a),u=>i.handleFailedRequest(Ar.CallHierarchyIncomingCallsRequest.type,a,u,null))};return r.provideCallHierarchyIncomingCalls?r.provideCallHierarchyIncomingCalls(e,t,s):s(e,t)}provideCallHierarchyOutgoingCalls(e,t){let i=this.client,r=this.middleware,s=(o,a)=>{let c={item:i.code2ProtocolConverter.asCallHierarchyItem(o)};return i.sendRequest(Ar.CallHierarchyOutgoingCallsRequest.type,c,a).then(u=>a.isCancellationRequested?null:i.protocol2CodeConverter.asCallHierarchyOutgoingCalls(u,a),u=>i.handleFailedRequest(Ar.CallHierarchyOutgoingCallsRequest.type,a,u,null))};return r.provideCallHierarchyOutgoingCalls?r.provideCallHierarchyOutgoingCalls(e,t,s):s(e,t)}},Qm=class extends Jm.TextDocumentLanguageFeature{constructor(e){super(e,Ar.CallHierarchyPrepareRequest.type)}fillClientCapabilities(e){let t=e,i=(0,Jm.ensure)((0,Jm.ensure)(t,"textDocument"),"callHierarchy");i.dynamicRegistration=!0}initialize(e,t){let[i,r]=this.getRegistration(t,e.callHierarchyProvider);!i||!r||this.register({id:i,registerOptions:r})}registerLanguageProvider(e){let t=this._client,i=new Ym(t);return[wI.languages.registerCallHierarchyProvider(this._client.protocol2CodeConverter.asDocumentSelector(e.documentSelector),i),i]}};el.CallHierarchyFeature=Qm});var jR=T(nl=>{"use strict";Object.defineProperty(nl,"__esModule",{value:!0});nl.SemanticTokensFeature=void 0;var tl=require("vscode"),fe=ue(),Xo=Ce(),_I=qn(),Zm=class extends Xo.TextDocumentLanguageFeature{constructor(e){super(e,fe.SemanticTokensRegistrationType.type)}fillClientCapabilities(e){let t=(0,Xo.ensure)((0,Xo.ensure)(e,"textDocument"),"semanticTokens");t.dynamicRegistration=!0,t.tokenTypes=[fe.SemanticTokenTypes.namespace,fe.SemanticTokenTypes.type,fe.SemanticTokenTypes.class,fe.SemanticTokenTypes.enum,fe.SemanticTokenTypes.interface,fe.SemanticTokenTypes.struct,fe.SemanticTokenTypes.typeParameter,fe.SemanticTokenTypes.parameter,fe.SemanticTokenTypes.variable,fe.SemanticTokenTypes.property,fe.SemanticTokenTypes.enumMember,fe.SemanticTokenTypes.event,fe.SemanticTokenTypes.function,fe.SemanticTokenTypes.method,fe.SemanticTokenTypes.macro,fe.SemanticTokenTypes.keyword,fe.SemanticTokenTypes.modifier,fe.SemanticTokenTypes.comment,fe.SemanticTokenTypes.string,fe.SemanticTokenTypes.number,fe.SemanticTokenTypes.regexp,fe.SemanticTokenTypes.operator,fe.SemanticTokenTypes.decorator],t.tokenModifiers=[fe.SemanticTokenModifiers.declaration,fe.SemanticTokenModifiers.definition,fe.SemanticTokenModifiers.readonly,fe.SemanticTokenModifiers.static,fe.SemanticTokenModifiers.deprecated,fe.SemanticTokenModifiers.abstract,fe.SemanticTokenModifiers.async,fe.SemanticTokenModifiers.modification,fe.SemanticTokenModifiers.documentation,fe.SemanticTokenModifiers.defaultLibrary],t.formats=[fe.TokenFormat.Relative],t.requests={range:!0,full:{delta:!0}},t.multilineTokenSupport=!1,t.overlappingTokenSupport=!1,t.serverCancelSupport=!0,t.augmentsSyntaxTokens=!0,(0,Xo.ensure)((0,Xo.ensure)(e,"workspace"),"semanticTokens").refreshSupport=!0}initialize(e,t){this._client.onRequest(fe.SemanticTokensRefreshRequest.type,async()=>{for(let o of this.getAllProviders())o.onDidChangeSemanticTokensEmitter.fire()});let[r,s]=this.getRegistration(t,e.semanticTokensProvider);!r||!s||this.register({id:r,registerOptions:s})}registerLanguageProvider(e){let t=e.documentSelector,i=_I.boolean(e.full)?e.full:e.full!==void 0,r=e.full!==void 0&&typeof e.full!="boolean"&&e.full.delta===!0,s=new tl.EventEmitter,o=i?{onDidChangeSemanticTokens:s.event,provideDocumentSemanticTokens:(x,f)=>{let y=this._client,w=y.middleware,S=(O,k)=>{let N={textDocument:y.code2ProtocolConverter.asTextDocumentIdentifier(O)};return y.sendRequest(fe.SemanticTokensRequest.type,N,k).then(j=>k.isCancellationRequested?null:y.protocol2CodeConverter.asSemanticTokens(j,k),j=>y.handleFailedRequest(fe.SemanticTokensRequest.type,k,j,null))};return w.provideDocumentSemanticTokens?w.provideDocumentSemanticTokens(x,f,S):S(x,f)},provideDocumentSemanticTokensEdits:r?(x,f,y)=>{let w=this._client,S=w.middleware,O=(k,N,j)=>{let G={textDocument:w.code2ProtocolConverter.asTextDocumentIdentifier(k),previousResultId:N};return w.sendRequest(fe.SemanticTokensDeltaRequest.type,G,j).then(async $=>j.isCancellationRequested?null:fe.SemanticTokens.is($)?await w.protocol2CodeConverter.asSemanticTokens($,j):await w.protocol2CodeConverter.asSemanticTokensEdits($,j),$=>w.handleFailedRequest(fe.SemanticTokensDeltaRequest.type,j,$,null))};return S.provideDocumentSemanticTokensEdits?S.provideDocumentSemanticTokensEdits(x,f,y,O):O(x,f,y)}:void 0}:void 0,c=e.range===!0?{provideDocumentRangeSemanticTokens:(x,f,y)=>{let w=this._client,S=w.middleware,O=(k,N,j)=>{let G={textDocument:w.code2ProtocolConverter.asTextDocumentIdentifier(k),range:w.code2ProtocolConverter.asRange(N)};return w.sendRequest(fe.SemanticTokensRangeRequest.type,G,j).then($=>j.isCancellationRequested?null:w.protocol2CodeConverter.asSemanticTokens($,j),$=>w.handleFailedRequest(fe.SemanticTokensRangeRequest.type,j,$,null))};return S.provideDocumentRangeSemanticTokens?S.provideDocumentRangeSemanticTokens(x,f,y,O):O(x,f,y)}}:void 0,u=[],l=this._client,p=l.protocol2CodeConverter.asSemanticTokensLegend(e.legend),h=l.protocol2CodeConverter.asDocumentSelector(t);return o!==void 0&&u.push(tl.languages.registerDocumentSemanticTokensProvider(h,o,p)),c!==void 0&&u.push(tl.languages.registerDocumentRangeSemanticTokensProvider(h,c,p)),[new tl.Disposable(()=>u.forEach(x=>x.dispose())),{range:c,full:o,onDidChangeSemanticTokensEmitter:s}]}};nl.SemanticTokensFeature=Zm});var UR=T(ln=>{"use strict";Object.defineProperty(ln,"__esModule",{value:!0});ln.WillDeleteFilesFeature=ln.WillRenameFilesFeature=ln.WillCreateFilesFeature=ln.DidDeleteFilesFeature=ln.DidRenameFilesFeature=ln.DidCreateFilesFeature=void 0;var Ln=require("vscode"),SI=Cu(),ki=ue(),CI=tt();function LR(n,e){return n[e]===void 0&&(n[e]={}),n[e]}function RI(n,e){return n[e]}function MR(n,e,t){n[e]=t}var Jo=class n{constructor(e,t,i,r,s){this._client=e,this._event=t,this._registrationType=i,this._clientCapability=r,this._serverCapability=s,this._filters=new Map}getState(){return{kind:"workspace",id:this._registrationType.method,registrations:this._filters.size>0}}filterSize(){return this._filters.size}get registrationType(){return this._registrationType}fillClientCapabilities(e){let t=LR(LR(e,"workspace"),"fileOperations");MR(t,"dynamicRegistration",!0),MR(t,this._clientCapability,!0)}initialize(e){let t=e.workspace?.fileOperations,i=t!==void 0?RI(t,this._serverCapability):void 0;if(i?.filters!==void 0)try{this.register({id:CI.generateUuid(),registerOptions:{filters:i.filters}})}catch(r){this._client.warn(`Ignoring invalid glob pattern for ${this._serverCapability} registration: ${r}`)}}register(e){this._listener||(this._listener=this._event(this.send,this));let t=e.registerOptions.filters.map(i=>{let r=new SI.Minimatch(i.pattern.glob,n.asMinimatchOptions(i.pattern.options));if(!r.makeRe())throw new Error(`Invalid pattern ${i.pattern.glob}!`);return{scheme:i.scheme,matcher:r,kind:i.pattern.matches}});this._filters.set(e.id,t)}unregister(e){this._filters.delete(e),this._filters.size===0&&this._listener&&(this._listener.dispose(),this._listener=void 0)}clear(){this._filters.clear(),this._listener&&(this._listener.dispose(),this._listener=void 0)}getFileType(e){return n.getFileType(e)}async filter(e,t){let i=await Promise.all(e.files.map(async s=>{let o=t(s),a=o.fsPath.replace(/\\/g,"/");for(let c of this._filters.values())for(let u of c)if(!(u.scheme!==void 0&&u.scheme!==o.scheme)){if(u.matcher.match(a)){if(u.kind===void 0)return!0;let l=await this.getFileType(o);if(l===void 0)return this._client.error(`Failed to determine file type for ${o.toString()}.`),!0;if(l===Ln.FileType.File&&u.kind===ki.FileOperationPatternKind.file||l===Ln.FileType.Directory&&u.kind===ki.FileOperationPatternKind.folder)return!0}else if(u.kind===ki.FileOperationPatternKind.folder&&await n.getFileType(o)===Ln.FileType.Directory&&u.matcher.match(`${a}/`))return!0}return!1})),r=e.files.filter((s,o)=>i[o]);return{...e,files:r}}static async getFileType(e){try{return(await Ln.workspace.fs.stat(e)).type}catch{return}}static asMinimatchOptions(e){let t={dot:!0};return e?.ignoreCase===!0&&(t.nocase=!0),t}},il=class extends Jo{constructor(e,t,i,r,s,o,a){super(e,t,i,r,s),this._notificationType=i,this._accessUri=o,this._createParams=a}async send(e){let t=await this.filter(e,this._accessUri);if(t.files.length){let i=async r=>this._client.sendNotification(this._notificationType,this._createParams(r));return this.doSend(t,i)}}},rl=class extends il{constructor(){super(...arguments),this._fsPathFileTypes=new Map}async getFileType(e){let t=e.fsPath;if(this._fsPathFileTypes.has(t))return this._fsPathFileTypes.get(t);let i=await Jo.getFileType(e);return i&&this._fsPathFileTypes.set(t,i),i}async cacheFileTypes(e,t){await this.filter(e,t)}clearFileTypeCache(){this._fsPathFileTypes.clear()}unregister(e){super.unregister(e),this.filterSize()===0&&this._willListener&&(this._willListener.dispose(),this._willListener=void 0)}clear(){super.clear(),this._willListener&&(this._willListener.dispose(),this._willListener=void 0)}},eg=class extends il{constructor(e){super(e,Ln.workspace.onDidCreateFiles,ki.DidCreateFilesNotification.type,"didCreate","didCreate",t=>t,e.code2ProtocolConverter.asDidCreateFilesParams)}doSend(e,t){let i=this._client.middleware.workspace;return i?.didCreateFiles?i.didCreateFiles(e,t):t(e)}};ln.DidCreateFilesFeature=eg;var tg=class extends rl{constructor(e){super(e,Ln.workspace.onDidRenameFiles,ki.DidRenameFilesNotification.type,"didRename","didRename",t=>t.oldUri,e.code2ProtocolConverter.asDidRenameFilesParams)}register(e){this._willListener||(this._willListener=Ln.workspace.onWillRenameFiles(this.willRename,this)),super.register(e)}willRename(e){e.waitUntil(this.cacheFileTypes(e,t=>t.oldUri))}doSend(e,t){this.clearFileTypeCache();let i=this._client.middleware.workspace;return i?.didRenameFiles?i.didRenameFiles(e,t):t(e)}};ln.DidRenameFilesFeature=tg;var ng=class extends rl{constructor(e){super(e,Ln.workspace.onDidDeleteFiles,ki.DidDeleteFilesNotification.type,"didDelete","didDelete",t=>t,e.code2ProtocolConverter.asDidDeleteFilesParams)}register(e){this._willListener||(this._willListener=Ln.workspace.onWillDeleteFiles(this.willDelete,this)),super.register(e)}willDelete(e){e.waitUntil(this.cacheFileTypes(e,t=>t))}doSend(e,t){this.clearFileTypeCache();let i=this._client.middleware.workspace;return i?.didDeleteFiles?i.didDeleteFiles(e,t):t(e)}};ln.DidDeleteFilesFeature=ng;var Yo=class extends Jo{constructor(e,t,i,r,s,o,a){super(e,t,i,r,s),this._requestType=i,this._accessUri=o,this._createParams=a}async send(e){let t=this.waitUntil(e);e.waitUntil(t)}async waitUntil(e){let t=await this.filter(e,this._accessUri);if(t.files.length){let i=r=>this._client.sendRequest(this._requestType,this._createParams(r),r.token).then(this._client.protocol2CodeConverter.asWorkspaceEdit);return this.doSend(t,i)}else return}},ig=class extends Yo{constructor(e){super(e,Ln.workspace.onWillCreateFiles,ki.WillCreateFilesRequest.type,"willCreate","willCreate",t=>t,e.code2ProtocolConverter.asWillCreateFilesParams)}doSend(e,t){let i=this._client.middleware.workspace;return i?.willCreateFiles?i.willCreateFiles(e,t):t(e)}};ln.WillCreateFilesFeature=ig;var rg=class extends Yo{constructor(e){super(e,Ln.workspace.onWillRenameFiles,ki.WillRenameFilesRequest.type,"willRename","willRename",t=>t.oldUri,e.code2ProtocolConverter.asWillRenameFilesParams)}doSend(e,t){let i=this._client.middleware.workspace;return i?.willRenameFiles?i.willRenameFiles(e,t):t(e)}};ln.WillRenameFilesFeature=rg;var sg=class extends Yo{constructor(e){super(e,Ln.workspace.onWillDeleteFiles,ki.WillDeleteFilesRequest.type,"willDelete","willDelete",t=>t,e.code2ProtocolConverter.asWillDeleteFilesParams)}doSend(e,t){let i=this._client.middleware.workspace;return i?.willDeleteFiles?i.willDeleteFiles(e,t):t(e)}};ln.WillDeleteFilesFeature=sg});var zR=T(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});sl.LinkedEditingFeature=void 0;var DI=require("vscode"),og=ue(),ag=Ce(),cg=class extends ag.TextDocumentLanguageFeature{constructor(e){super(e,og.LinkedEditingRangeRequest.type)}fillClientCapabilities(e){let t=(0,ag.ensure)((0,ag.ensure)(e,"textDocument"),"linkedEditingRange");t.dynamicRegistration=!0}initialize(e,t){let[i,r]=this.getRegistration(t,e.linkedEditingRangeProvider);!i||!r||this.register({id:i,registerOptions:r})}registerLanguageProvider(e){let t=e.documentSelector,i={provideLinkedEditingRanges:(r,s,o)=>{let a=this._client,c=(l,p,h)=>a.sendRequest(og.LinkedEditingRangeRequest.type,a.code2ProtocolConverter.asTextDocumentPositionParams(l,p),h).then(x=>h.isCancellationRequested?null:a.protocol2CodeConverter.asLinkedEditingRanges(x,h),x=>a.handleFailedRequest(og.LinkedEditingRangeRequest.type,h,x,null)),u=a.middleware;return u.provideLinkedEditingRange?u.provideLinkedEditingRange(r,s,o,c):c(r,s,o)}};return[this.registerProvider(t,i),i]}registerProvider(e,t){return DI.languages.registerLinkedEditingRangeProvider(this._client.protocol2CodeConverter.asDocumentSelector(e),t)}};sl.LinkedEditingFeature=cg});var $R=T(ol=>{"use strict";Object.defineProperty(ol,"__esModule",{value:!0});ol.TypeHierarchyFeature=void 0;var TI=require("vscode"),Ir=ue(),ug=Ce(),lg=class{constructor(e){this.client=e,this.middleware=e.middleware}prepareTypeHierarchy(e,t,i){let r=this.client,s=this.middleware,o=(a,c,u)=>{let l=r.code2ProtocolConverter.asTextDocumentPositionParams(a,c);return r.sendRequest(Ir.TypeHierarchyPrepareRequest.type,l,u).then(p=>u.isCancellationRequested?null:r.protocol2CodeConverter.asTypeHierarchyItems(p,u),p=>r.handleFailedRequest(Ir.TypeHierarchyPrepareRequest.type,u,p,null))};return s.prepareTypeHierarchy?s.prepareTypeHierarchy(e,t,i,o):o(e,t,i)}provideTypeHierarchySupertypes(e,t){let i=this.client,r=this.middleware,s=(o,a)=>{let c={item:i.code2ProtocolConverter.asTypeHierarchyItem(o)};return i.sendRequest(Ir.TypeHierarchySupertypesRequest.type,c,a).then(u=>a.isCancellationRequested?null:i.protocol2CodeConverter.asTypeHierarchyItems(u,a),u=>i.handleFailedRequest(Ir.TypeHierarchySupertypesRequest.type,a,u,null))};return r.provideTypeHierarchySupertypes?r.provideTypeHierarchySupertypes(e,t,s):s(e,t)}provideTypeHierarchySubtypes(e,t){let i=this.client,r=this.middleware,s=(o,a)=>{let c={item:i.code2ProtocolConverter.asTypeHierarchyItem(o)};return i.sendRequest(Ir.TypeHierarchySubtypesRequest.type,c,a).then(u=>a.isCancellationRequested?null:i.protocol2CodeConverter.asTypeHierarchyItems(u,a),u=>i.handleFailedRequest(Ir.TypeHierarchySubtypesRequest.type,a,u,null))};return r.provideTypeHierarchySubtypes?r.provideTypeHierarchySubtypes(e,t,s):s(e,t)}},dg=class extends ug.TextDocumentLanguageFeature{constructor(e){super(e,Ir.TypeHierarchyPrepareRequest.type)}fillClientCapabilities(e){let t=(0,ug.ensure)((0,ug.ensure)(e,"textDocument"),"typeHierarchy");t.dynamicRegistration=!0}initialize(e,t){let[i,r]=this.getRegistration(t,e.typeHierarchyProvider);!i||!r||this.register({id:i,registerOptions:r})}registerLanguageProvider(e){let t=this._client,i=new lg(t);return[TI.languages.registerTypeHierarchyProvider(t.protocol2CodeConverter.asDocumentSelector(e.documentSelector),i),i]}};ol.TypeHierarchyFeature=dg});var BR=T(cl=>{"use strict";Object.defineProperty(cl,"__esModule",{value:!0});cl.InlineValueFeature=void 0;var HR=require("vscode"),al=ue(),Qo=Ce(),pg=class extends Qo.TextDocumentLanguageFeature{constructor(e){super(e,al.InlineValueRequest.type)}fillClientCapabilities(e){(0,Qo.ensure)((0,Qo.ensure)(e,"textDocument"),"inlineValue").dynamicRegistration=!0,(0,Qo.ensure)((0,Qo.ensure)(e,"workspace"),"inlineValue").refreshSupport=!0}initialize(e,t){this._client.onRequest(al.InlineValueRefreshRequest.type,async()=>{for(let s of this.getAllProviders())s.onDidChangeInlineValues.fire()});let[i,r]=this.getRegistration(t,e.inlineValueProvider);!i||!r||this.register({id:i,registerOptions:r})}registerLanguageProvider(e){let t=e.documentSelector,i=new HR.EventEmitter,r={onDidChangeInlineValues:i.event,provideInlineValues:(s,o,a,c)=>{let u=this._client,l=(h,x,f,y)=>{let w={textDocument:u.code2ProtocolConverter.asTextDocumentIdentifier(h),range:u.code2ProtocolConverter.asRange(x),context:u.code2ProtocolConverter.asInlineValueContext(f)};return u.sendRequest(al.InlineValueRequest.type,w,y).then(S=>y.isCancellationRequested?null:u.protocol2CodeConverter.asInlineValues(S,y),S=>u.handleFailedRequest(al.InlineValueRequest.type,y,S,null))},p=u.middleware;return p.provideInlineValues?p.provideInlineValues(s,o,a,c,l):l(s,o,a,c)}};return[this.registerProvider(t,r),{provider:r,onDidChangeInlineValues:i}]}registerProvider(e,t){return HR.languages.registerInlineValuesProvider(this._client.protocol2CodeConverter.asDocumentSelector(e),t)}};cl.InlineValueFeature=pg});var KR=T(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});ul.InlayHintsFeature=void 0;var WR=require("vscode"),Ls=ue(),Zo=Ce(),fg=class extends Zo.TextDocumentLanguageFeature{constructor(e){super(e,Ls.InlayHintRequest.type)}fillClientCapabilities(e){let t=(0,Zo.ensure)((0,Zo.ensure)(e,"textDocument"),"inlayHint");t.dynamicRegistration=!0,t.resolveSupport={properties:["tooltip","textEdits","label.tooltip","label.location","label.command"]},(0,Zo.ensure)((0,Zo.ensure)(e,"workspace"),"inlayHint").refreshSupport=!0}initialize(e,t){this._client.onRequest(Ls.InlayHintRefreshRequest.type,async()=>{for(let s of this.getAllProviders())s.onDidChangeInlayHints.fire()});let[i,r]=this.getRegistration(t,e.inlayHintProvider);!i||!r||this.register({id:i,registerOptions:r})}registerLanguageProvider(e){let t=e.documentSelector,i=new WR.EventEmitter,r={onDidChangeInlayHints:i.event,provideInlayHints:(s,o,a)=>{let c=this._client,u=async(p,h,x)=>{let f={textDocument:c.code2ProtocolConverter.asTextDocumentIdentifier(p),range:c.code2ProtocolConverter.asRange(h)};try{let y=await c.sendRequest(Ls.InlayHintRequest.type,f,x);return x.isCancellationRequested?null:c.protocol2CodeConverter.asInlayHints(y,x)}catch(y){return c.handleFailedRequest(Ls.InlayHintRequest.type,x,y,null)}},l=c.middleware;return l.provideInlayHints?l.provideInlayHints(s,o,a,u):u(s,o,a)}};return r.resolveInlayHint=e.resolveProvider===!0?(s,o)=>{let a=this._client,c=async(l,p)=>{try{let h=await a.sendRequest(Ls.InlayHintResolveRequest.type,a.code2ProtocolConverter.asInlayHint(l),p);if(p.isCancellationRequested)return null;let x=a.protocol2CodeConverter.asInlayHint(h,p);return p.isCancellationRequested?null:x}catch(h){return a.handleFailedRequest(Ls.InlayHintResolveRequest.type,p,h,null)}},u=a.middleware;return u.resolveInlayHint?u.resolveInlayHint(s,o,c):c(s,o)}:void 0,[this.registerProvider(t,r),{provider:r,onDidChangeInlayHints:i}]}registerProvider(e,t){return WR.languages.registerInlayHintsProvider(this._client.protocol2CodeConverter.asDocumentSelector(e),t)}};ul.InlayHintsFeature=fg});var GR=T(ll=>{"use strict";Object.defineProperty(ll,"__esModule",{value:!0});ll.InlineCompletionItemFeature=void 0;var EI=require("vscode"),hg=ue(),mg=Ce(),PI=tt(),gg=class extends mg.TextDocumentLanguageFeature{constructor(e){super(e,hg.InlineCompletionRequest.type)}fillClientCapabilities(e){let t=(0,mg.ensure)((0,mg.ensure)(e,"textDocument"),"inlineCompletion");t.dynamicRegistration=!0}initialize(e,t){let i=this.getRegistrationOptions(t,e.inlineCompletionProvider);i&&this.register({id:PI.generateUuid(),registerOptions:i})}registerLanguageProvider(e){let t=e.documentSelector,i={provideInlineCompletionItems:(r,s,o,a)=>{let c=this._client,u=this._client.middleware,l=(p,h,x,f)=>c.sendRequest(hg.InlineCompletionRequest.type,c.code2ProtocolConverter.asInlineCompletionParams(p,h,x),f).then(y=>f.isCancellationRequested?null:c.protocol2CodeConverter.asInlineCompletionResult(y,f),y=>c.handleFailedRequest(hg.InlineCompletionRequest.type,f,y,null));return u.provideInlineCompletionItems?u.provideInlineCompletionItems(r,s,o,a,l):l(r,s,o,a)}};return[EI.languages.registerInlineCompletionItemProvider(this._client.protocol2CodeConverter.asDocumentSelector(t),i),i]}};ll.InlineCompletionItemFeature=gg});var _g=T(Ft=>{"use strict";Object.defineProperty(Ft,"__esModule",{value:!0});Ft.ProposedFeatures=Ft.BaseLanguageClient=Ft.MessageTransports=Ft.SuspendMode=Ft.State=Ft.CloseAction=Ft.ErrorAction=Ft.RevealOutputChannelOn=void 0;var je=require("vscode"),z=ue(),kI=S0(),OI=D0(),Zn=qn(),dl=vu(),VR=tt(),qI=wh(),Qn=Ce(),FI=zh(),XR=iR(),JR=sR(),Ms=oR(),NI=aR(),AI=cR(),II=uR(),jI=dR(),LI=pR(),MI=pm(),UI=hR(),zI=mR(),$I=gR(),HI=xR(),vg=yR(),BI=wR(),WI=_R(),KI=CR(),GI=RR(),VI=DR(),XI=TR(),JI=ER(),YI=PR(),QI=OR(),ZI=qR(),ej=FR(),tj=AR(),nj=IR(),ij=jR(),Us=UR(),rj=zR(),sj=$R(),oj=BR(),aj=KR(),cj=GR(),jr;(function(n){n[n.Debug=0]="Debug",n[n.Info=1]="Info",n[n.Warn=2]="Warn",n[n.Error=3]="Error",n[n.Never=4]="Never"})(jr||(Ft.RevealOutputChannelOn=jr={}));var ta;(function(n){n[n.Continue=1]="Continue",n[n.Shutdown=2]="Shutdown"})(ta||(Ft.ErrorAction=ta={}));var hr;(function(n){n[n.DoNotRestart=1]="DoNotRestart",n[n.Restart=2]="Restart"})(hr||(Ft.CloseAction=hr={}));var ea;(function(n){n[n.Stopped=1]="Stopped",n[n.Starting=3]="Starting",n[n.Running=2]="Running"})(ea||(Ft.State=ea={}));var YR;(function(n){n.off="off",n.on="on"})(YR||(Ft.SuspendMode=YR={}));var xg;(function(n){function e(t){return t==null?!1:typeof t=="boolean"||typeof t=="object"&&t!==null&&Zn.stringArray(t.enabledCommands)?t:!1}n.sanitizeIsTrusted=e})(xg||(xg={}));var yg=class{constructor(e,t){this.client=e,this.maxRestartCount=t,this.restarts=[]}error(e,t,i){return i&&i<=3?{action:ta.Continue}:{action:ta.Shutdown}}closed(){return this.restarts.push(Date.now()),this.restarts.length<=this.maxRestartCount?{action:hr.Restart}:this.restarts[this.restarts.length-1]-this.restarts[0]<=3*60*1e3?{action:hr.DoNotRestart,message:`The ${this.client.name} server crashed ${this.maxRestartCount+1} times in the last 3 minutes. The server will not be restarted. See the output for more information.`}:(this.restarts.shift(),{action:hr.Restart})}},ve;(function(n){n.Initial="initial",n.Starting="starting",n.StartFailed="startFailed",n.Running="running",n.Stopping="stopping",n.Stopped="stopped"})(ve||(ve={}));var QR;(function(n){function e(t){return t&&z.MessageReader.is(t.reader)&&z.MessageWriter.is(t.writer)}n.is=e})(QR||(Ft.MessageTransports=QR={}));var na=class n{constructor(e,t,i){this._traceFormat=z.TraceFormat.Text,this._diagnosticQueue=new Map,this._diagnosticQueueState={state:"idle"},this._features=[],this._dynamicFeatures=new Map,this.workspaceEditLock=new dl.Semaphore(1),this._id=e,this._name=t,i=i||{};let r={isTrusted:!1,supportHtml:!1};i.markdown!==void 0&&(r.isTrusted=xg.sanitizeIsTrusted(i.markdown.isTrusted),r.supportHtml=i.markdown.supportHtml===!0),this._clientOptions={documentSelector:i.documentSelector??[],synchronize:i.synchronize??{},diagnosticCollectionName:i.diagnosticCollectionName,outputChannelName:i.outputChannelName??this._name,revealOutputChannelOn:i.revealOutputChannelOn??jr.Error,stdioEncoding:i.stdioEncoding??"utf8",initializationOptions:i.initializationOptions,initializationFailedHandler:i.initializationFailedHandler,progressOnInitialization:!!i.progressOnInitialization,errorHandler:i.errorHandler??this.createDefaultErrorHandler(i.connectionOptions?.maxRestartCount),middleware:i.middleware??{},uriConverters:i.uriConverters,workspaceFolder:i.workspaceFolder,connectionOptions:i.connectionOptions,markdown:r,diagnosticPullOptions:i.diagnosticPullOptions??{onChange:!0,onSave:!1},notebookDocumentOptions:i.notebookDocumentOptions??{}},this._clientOptions.synchronize=this._clientOptions.synchronize||{},this._state=ve.Initial,this._ignoredRegistrations=new Set,this._listeners=[],this._notificationHandlers=new Map,this._pendingNotificationHandlers=new Map,this._notificationDisposables=new Map,this._requestHandlers=new Map,this._pendingRequestHandlers=new Map,this._requestDisposables=new Map,this._progressHandlers=new Map,this._pendingProgressHandlers=new Map,this._progressDisposables=new Map,this._connection=void 0,this._initializeResult=void 0,i.outputChannel?(this._outputChannel=i.outputChannel,this._disposeOutputChannel=!1):(this._outputChannel=void 0,this._disposeOutputChannel=!0),this._traceOutputChannel=i.traceOutputChannel,this._diagnostics=void 0,this._pendingOpenNotifications=new Set,this._pendingChangeSemaphore=new dl.Semaphore(1),this._pendingChangeDelayer=new dl.Delayer(250),this._fileEvents=[],this._fileEventDelayer=new dl.Delayer(250),this._onStop=void 0,this._telemetryEmitter=new z.Emitter,this._stateChangeEmitter=new z.Emitter,this._trace=z.Trace.Off,this._tracer={log:(s,o)=>{Zn.string(s)?this.logTrace(s,o):this.logObjectTrace(s)}},this._c2p=kI.createConverter(i.uriConverters?i.uriConverters.code2Protocol:void 0),this._p2c=OI.createConverter(i.uriConverters?i.uriConverters.protocol2Code:void 0,this._clientOptions.markdown.isTrusted,this._clientOptions.markdown.supportHtml),this._syncedDocuments=new Map,this.registerBuiltinFeatures()}get name(){return this._name}get middleware(){return this._clientOptions.middleware??Object.create(null)}get clientOptions(){return this._clientOptions}get protocol2CodeConverter(){return this._p2c}get code2ProtocolConverter(){return this._c2p}get onTelemetry(){return this._telemetryEmitter.event}get onDidChangeState(){return this._stateChangeEmitter.event}get outputChannel(){return this._outputChannel||(this._outputChannel=je.window.createOutputChannel(this._clientOptions.outputChannelName?this._clientOptions.outputChannelName:this._name)),this._outputChannel}get traceOutputChannel(){return this._traceOutputChannel?this._traceOutputChannel:this.outputChannel}get diagnostics(){return this._diagnostics}get state(){return this.getPublicState()}get $state(){return this._state}set $state(e){let t=this.getPublicState();this._state=e;let i=this.getPublicState();i!==t&&this._stateChangeEmitter.fire({oldState:t,newState:i})}getPublicState(){switch(this.$state){case ve.Starting:return ea.Starting;case ve.Running:return ea.Running;default:return ea.Stopped}}get initializeResult(){return this._initializeResult}async sendRequest(e,...t){if(this.$state===ve.StartFailed||this.$state===ve.Stopping||this.$state===ve.Stopped)return Promise.reject(new z.ResponseError(z.ErrorCodes.ConnectionInactive,"Client is not running"));let i=await this.$start();this._didChangeTextDocumentFeature.syncKind===z.TextDocumentSyncKind.Full&&await this.sendPendingFullTextDocumentChanges(i);let r=this._clientOptions.middleware?.sendRequest;if(r!==void 0){let s,o;return t.length===1?z.CancellationToken.is(t[0])?o=t[0]:s=t[0]:t.length===2&&(s=t[0],o=t[1]),r(e,s,o,(a,c,u)=>{let l=[];return c!==void 0&&l.push(c),u!==void 0&&l.push(u),i.sendRequest(a,...l)})}else return i.sendRequest(e,...t)}onRequest(e,t){let i=typeof e=="string"?e:e.method;this._requestHandlers.set(i,t);let r=this.activeConnection(),s;return r!==void 0?(this._requestDisposables.set(i,r.onRequest(e,t)),s={dispose:()=>{let o=this._requestDisposables.get(i);o!==void 0&&(o.dispose(),this._requestDisposables.delete(i))}}):(this._pendingRequestHandlers.set(i,t),s={dispose:()=>{this._pendingRequestHandlers.delete(i);let o=this._requestDisposables.get(i);o!==void 0&&(o.dispose(),this._requestDisposables.delete(i))}}),{dispose:()=>{this._requestHandlers.delete(i),s.dispose()}}}async sendNotification(e,t){if(this.$state===ve.StartFailed||this.$state===ve.Stopping||this.$state===ve.Stopped)return Promise.reject(new z.ResponseError(z.ErrorCodes.ConnectionInactive,"Client is not running"));let i=this._didChangeTextDocumentFeature.syncKind===z.TextDocumentSyncKind.Full,r;i&&typeof e!="string"&&e.method===z.DidOpenTextDocumentNotification.method&&(r=t?.textDocument.uri,this._pendingOpenNotifications.add(r));let s=await this.$start();i&&await this.sendPendingFullTextDocumentChanges(s),r!==void 0&&this._pendingOpenNotifications.delete(r);let o=this._clientOptions.middleware?.sendNotification;return o?o(e,s.sendNotification.bind(s),t):s.sendNotification(e,t)}onNotification(e,t){let i=typeof e=="string"?e:e.method;this._notificationHandlers.set(i,t);let r=this.activeConnection(),s;return r!==void 0?(this._notificationDisposables.set(i,r.onNotification(e,t)),s={dispose:()=>{let o=this._notificationDisposables.get(i);o!==void 0&&(o.dispose(),this._notificationDisposables.delete(i))}}):(this._pendingNotificationHandlers.set(i,t),s={dispose:()=>{this._pendingNotificationHandlers.delete(i);let o=this._notificationDisposables.get(i);o!==void 0&&(o.dispose(),this._notificationDisposables.delete(i))}}),{dispose:()=>{this._notificationHandlers.delete(i),s.dispose()}}}async sendProgress(e,t,i){if(this.$state===ve.StartFailed||this.$state===ve.Stopping||this.$state===ve.Stopped)return Promise.reject(new z.ResponseError(z.ErrorCodes.ConnectionInactive,"Client is not running"));try{return(await this.$start()).sendProgress(e,t,i)}catch(r){throw this.error(`Sending progress for token ${t} failed.`,r),r}}onProgress(e,t,i){this._progressHandlers.set(t,{type:e,handler:i});let r=this.activeConnection(),s,o=this._clientOptions.middleware?.handleWorkDoneProgress,a=z.WorkDoneProgress.is(e)&&o!==void 0?c=>{o(t,c,()=>i(c))}:i;return r!==void 0?(this._progressDisposables.set(t,r.onProgress(e,t,a)),s={dispose:()=>{let c=this._progressDisposables.get(t);c!==void 0&&(c.dispose(),this._progressDisposables.delete(t))}}):(this._pendingProgressHandlers.set(t,{type:e,handler:i}),s={dispose:()=>{this._pendingProgressHandlers.delete(t);let c=this._progressDisposables.get(t);c!==void 0&&(c.dispose(),this._progressDisposables.delete(t))}}),{dispose:()=>{this._progressHandlers.delete(t),s.dispose()}}}createDefaultErrorHandler(e){if(e!==void 0&&e<0)throw new Error(`Invalid maxRestartCount: ${e}`);return new yg(this,e??4)}async setTrace(e){this._trace=e;let t=this.activeConnection();t!==void 0&&await t.trace(this._trace,this._tracer,{sendNotification:!1,traceFormat:this._traceFormat})}data2String(e){if(e instanceof z.ResponseError){let t=e;return` Message: ${t.message} + Code: ${t.code} ${t.data?` +`+t.data.toString():""}`}return e instanceof Error?Zn.string(e.stack)?e.stack:e.message:Zn.string(e)?e:e.toString()}debug(e,t,i=!0){this.logOutputMessage(z.MessageType.Debug,jr.Debug,"Debug",e,t,i)}info(e,t,i=!0){this.logOutputMessage(z.MessageType.Info,jr.Info,"Info",e,t,i)}warn(e,t,i=!0){this.logOutputMessage(z.MessageType.Warning,jr.Warn,"Warn",e,t,i)}error(e,t,i=!0){this.logOutputMessage(z.MessageType.Error,jr.Error,"Error",e,t,i)}logOutputMessage(e,t,i,r,s,o){this.outputChannel.appendLine(`[${i.padEnd(5)} - ${new Date().toLocaleTimeString()}] ${r}`),s!=null&&this.outputChannel.appendLine(this.data2String(s)),(o==="force"||o&&this._clientOptions.revealOutputChannelOn<=t)&&this.showNotificationMessage(e,r)}showNotificationMessage(e,t){t=t??"A request has failed. See the output for more information.",(e===z.MessageType.Error?je.window.showErrorMessage:e===z.MessageType.Warning?je.window.showWarningMessage:je.window.showInformationMessage)(t,"Go to output").then(r=>{r!==void 0&&this.outputChannel.show(!0)})}logTrace(e,t){this.traceOutputChannel.appendLine(`[Trace - ${new Date().toLocaleTimeString()}] ${e}`),t&&this.traceOutputChannel.appendLine(this.data2String(t))}logObjectTrace(e){e.isLSPMessage&&e.type?this.traceOutputChannel.append(`[LSP - ${new Date().toLocaleTimeString()}] `):this.traceOutputChannel.append(`[Trace - ${new Date().toLocaleTimeString()}] `),e&&this.traceOutputChannel.appendLine(`${JSON.stringify(e)}`)}needsStart(){return this.$state===ve.Initial||this.$state===ve.Stopping||this.$state===ve.Stopped}needsStop(){return this.$state===ve.Starting||this.$state===ve.Running}activeConnection(){return this.$state===ve.Running&&this._connection!==void 0?this._connection:void 0}isRunning(){return this.$state===ve.Running}async start(){if(this._disposed==="disposing"||this._disposed==="disposed")throw new Error("Client got disposed and can't be restarted.");if(this.$state===ve.Stopping)throw new Error("Client is currently stopping. Can only restart a full stopped client");if(this._onStart!==void 0)return this._onStart;let[e,t,i]=this.createOnStartPromise();this._onStart=e,this._diagnostics===void 0&&(this._diagnostics=this._clientOptions.diagnosticCollectionName?je.languages.createDiagnosticCollection(this._clientOptions.diagnosticCollectionName):je.languages.createDiagnosticCollection());for(let[r,s]of this._notificationHandlers)this._pendingNotificationHandlers.has(r)||this._pendingNotificationHandlers.set(r,s);for(let[r,s]of this._requestHandlers)this._pendingRequestHandlers.has(r)||this._pendingRequestHandlers.set(r,s);for(let[r,s]of this._progressHandlers)this._pendingProgressHandlers.has(r)||this._pendingProgressHandlers.set(r,s);this.$state=ve.Starting;try{let r=await this.createConnection();r.onNotification(z.LogMessageNotification.type,s=>{switch(s.type){case z.MessageType.Error:this.error(s.message,void 0,!1);break;case z.MessageType.Warning:this.warn(s.message,void 0,!1);break;case z.MessageType.Info:this.info(s.message,void 0,!1);break;case z.MessageType.Debug:this.debug(s.message,void 0,!1);break;default:this.outputChannel.appendLine(s.message)}}),r.onNotification(z.ShowMessageNotification.type,s=>{switch(s.type){case z.MessageType.Error:je.window.showErrorMessage(s.message);break;case z.MessageType.Warning:je.window.showWarningMessage(s.message);break;case z.MessageType.Info:je.window.showInformationMessage(s.message);break;default:je.window.showInformationMessage(s.message)}}),r.onRequest(z.ShowMessageRequest.type,s=>{let o;switch(s.type){case z.MessageType.Error:o=je.window.showErrorMessage;break;case z.MessageType.Warning:o=je.window.showWarningMessage;break;case z.MessageType.Info:o=je.window.showInformationMessage;break;default:o=je.window.showInformationMessage}let a=s.actions||[];return o(s.message,...a)}),r.onNotification(z.TelemetryEventNotification.type,s=>{this._telemetryEmitter.fire(s)}),r.onRequest(z.ShowDocumentRequest.type,async s=>{let o=async c=>{let u=this.protocol2CodeConverter.asUri(c.uri);try{if(c.external===!0)return{success:await je.env.openExternal(u)};{let l={};return c.selection!==void 0&&(l.selection=this.protocol2CodeConverter.asRange(c.selection)),c.takeFocus===void 0||c.takeFocus===!1?l.preserveFocus=!0:c.takeFocus===!0&&(l.preserveFocus=!1),await je.window.showTextDocument(u,l),{success:!0}}}catch{return{success:!1}}},a=this._clientOptions.middleware.window?.showDocument;return a!==void 0?a(s,o):o(s)}),r.listen(),await this.initialize(r),t()}catch(r){this.$state=ve.StartFailed,this.error(`${this._name} client: couldn't create connection to server.`,r,"force"),i(r)}return this._onStart}createOnStartPromise(){let e,t;return[new Promise((r,s)=>{e=r,t=s}),e,t]}async initialize(e){this.refreshTrace(e,!1);let t=this._clientOptions.initializationOptions,[i,r]=this._clientOptions.workspaceFolder!==void 0?[this._clientOptions.workspaceFolder.uri.fsPath,[{uri:this._c2p.asUri(this._clientOptions.workspaceFolder.uri),name:this._clientOptions.workspaceFolder.name}]]:[this._clientGetRootPath(),null],s={processId:null,clientInfo:{name:je.env.appName,version:je.version},locale:this.getLocale(),rootPath:i||null,rootUri:i?this._c2p.asUri(je.Uri.file(i)):null,capabilities:this.computeClientCapabilities(),initializationOptions:Zn.func(t)?t():t,trace:z.Trace.toString(this._trace),workspaceFolders:r};if(this.fillInitializeParams(s),this._clientOptions.progressOnInitialization){let o=VR.generateUuid(),a=new qI.ProgressPart(e,o);s.workDoneToken=o;try{let c=await this.doInitialize(e,s);return a.done(),c}catch(c){throw a.cancel(),c}}else return this.doInitialize(e,s)}async doInitialize(e,t){try{let i=await e.initialize(t);if(i.capabilities.positionEncoding!==void 0&&i.capabilities.positionEncoding!==z.PositionEncodingKind.UTF16)throw new Error(`Unsupported position encoding (${i.capabilities.positionEncoding}) received from server ${this.name}`);this._initializeResult=i,this.$state=ve.Running;let r;Zn.number(i.capabilities.textDocumentSync)?i.capabilities.textDocumentSync===z.TextDocumentSyncKind.None?r={openClose:!1,change:z.TextDocumentSyncKind.None,save:void 0}:r={openClose:!0,change:i.capabilities.textDocumentSync,save:{includeText:!1}}:i.capabilities.textDocumentSync!==void 0&&i.capabilities.textDocumentSync!==null&&(r=i.capabilities.textDocumentSync),this._capabilities=Object.assign({},i.capabilities,{resolvedTextDocumentSync:r}),e.onNotification(z.PublishDiagnosticsNotification.type,s=>this.handleDiagnostics(s)),e.onRequest(z.RegistrationRequest.type,s=>this.handleRegistrationRequest(s)),e.onRequest("client/registerFeature",s=>this.handleRegistrationRequest(s)),e.onRequest(z.UnregistrationRequest.type,s=>this.handleUnregistrationRequest(s)),e.onRequest("client/unregisterFeature",s=>this.handleUnregistrationRequest(s)),e.onRequest(z.ApplyWorkspaceEditRequest.type,s=>this.handleApplyWorkspaceEdit(s));for(let[s,o]of this._pendingNotificationHandlers)this._notificationDisposables.set(s,e.onNotification(s,o));this._pendingNotificationHandlers.clear();for(let[s,o]of this._pendingRequestHandlers)this._requestDisposables.set(s,e.onRequest(s,o));this._pendingRequestHandlers.clear();for(let[s,o]of this._pendingProgressHandlers)this._progressDisposables.set(s,e.onProgress(o.type,s,o.handler));return this._pendingProgressHandlers.clear(),await e.sendNotification(z.InitializedNotification.type,{}),this.hookFileEvents(e),this.hookConfigurationChanged(e),this.initializeFeatures(e),i}catch(i){throw this._clientOptions.initializationFailedHandler?this._clientOptions.initializationFailedHandler(i)?this.initialize(e):this.stop():i instanceof z.ResponseError&&i.data&&i.data.retry?je.window.showErrorMessage(i.message,{title:"Retry",id:"retry"}).then(r=>{r&&r.id==="retry"?this.initialize(e):this.stop()}):(i&&i.message&&je.window.showErrorMessage(i.message),this.error("Server initialization failed.",i),this.stop()),i}}_clientGetRootPath(){let e=je.workspace.workspaceFolders;if(!e||e.length===0)return;let t=e[0];if(t.uri.scheme==="file")return t.uri.fsPath}stop(e=2e3){return this.shutdown("stop",e)}dispose(e=2e3){try{return this._disposed="disposing",this.stop(e)}finally{this._disposed="disposed"}}async shutdown(e,t){if(this.$state===ve.Stopped||this.$state===ve.Initial)return;if(this.$state===ve.Stopping){if(this._onStop!==void 0)return this._onStop;throw new Error("Client is stopping but no stop promise available.")}let i=this.activeConnection();if(i===void 0||this.$state!==ve.Running)throw new Error(`Client is not running and can't be stopped. It's current state is: ${this.$state}`);this._initializeResult=void 0,this.$state=ve.Stopping,this.cleanUp(e);let r=new Promise(o=>{(0,z.RAL)().timer.setTimeout(o,t)}),s=(async o=>(await o.shutdown(),await o.exit(),o))(i);return this._onStop=Promise.race([r,s]).then(o=>{if(o!==void 0)o.end(),o.dispose();else throw this.error("Stopping server timed out",void 0,!1),new Error("Stopping the server timed out")},o=>{throw this.error("Stopping server failed",o,!1),o}).finally(()=>{this.$state=ve.Stopped,e==="stop"&&this.cleanUpChannel(),this._onStart=void 0,this._onStop=void 0,this._connection=void 0,this._ignoredRegistrations.clear()})}cleanUp(e){this._fileEvents=[],this._fileEventDelayer.cancel();let t=this._listeners.splice(0,this._listeners.length);for(let i of t)i.dispose();this._syncedDocuments&&this._syncedDocuments.clear();for(let i of Array.from(this._features.entries()).map(r=>r[1]).reverse())i.clear();e==="stop"&&this._diagnostics!==void 0&&(this._diagnostics.dispose(),this._diagnostics=void 0),this._idleInterval!==void 0&&(this._idleInterval.dispose(),this._idleInterval=void 0)}cleanUpChannel(){this._outputChannel!==void 0&&this._disposeOutputChannel&&(this._outputChannel.dispose(),this._outputChannel=void 0)}notifyFileEvent(e){let t=this;async function i(s){return t._fileEvents.push(s),t._fileEventDelayer.trigger(async()=>{await t.sendNotification(z.DidChangeWatchedFilesNotification.type,{changes:t._fileEvents}),t._fileEvents=[]})}let r=this.clientOptions.middleware?.workspace;(r?.didChangeWatchedFile?r.didChangeWatchedFile(e,i):i(e)).catch(s=>{t.error("Notify file events failed.",s)})}async sendPendingFullTextDocumentChanges(e){return this._pendingChangeSemaphore.lock(async()=>{try{let t=this._didChangeTextDocumentFeature.getPendingDocumentChanges(this._pendingOpenNotifications);if(t.length===0)return;for(let i of t){let r=this.code2ProtocolConverter.asChangeTextDocumentParams(i);await e.sendNotification(z.DidChangeTextDocumentNotification.type,r),this._didChangeTextDocumentFeature.notificationSent(i,z.DidChangeTextDocumentNotification.type,r)}}catch(t){throw this.error("Sending pending changes failed",t,!1),t}})}triggerPendingChangeDelivery(){this._pendingChangeDelayer.trigger(async()=>{let e=this.activeConnection();if(e===void 0){this.triggerPendingChangeDelivery();return}await this.sendPendingFullTextDocumentChanges(e)}).catch(e=>this.error("Delivering pending changes failed",e,!1))}handleDiagnostics(e){if(!this._diagnostics)return;let t=e.uri;this._diagnosticQueueState.state==="busy"&&this._diagnosticQueueState.document===t&&this._diagnosticQueueState.tokenSource.cancel(),this._diagnosticQueue.set(e.uri,e.diagnostics),this.triggerDiagnosticQueue()}triggerDiagnosticQueue(){(0,z.RAL)().timer.setImmediate(()=>{this.workDiagnosticQueue()})}workDiagnosticQueue(){if(this._diagnosticQueueState.state==="busy")return;let e=this._diagnosticQueue.entries().next();if(e.done===!0)return;let[t,i]=e.value;this._diagnosticQueue.delete(t);let r=new je.CancellationTokenSource;this._diagnosticQueueState={state:"busy",document:t,tokenSource:r},this._p2c.asDiagnostics(i,r.token).then(s=>{if(!r.token.isCancellationRequested){let o=this._p2c.asUri(t),a=this.clientOptions.middleware;a.handleDiagnostics?a.handleDiagnostics(o,s,(c,u)=>this.setDiagnostics(c,u)):this.setDiagnostics(o,s)}}).finally(()=>{this._diagnosticQueueState={state:"idle"},this.triggerDiagnosticQueue()})}setDiagnostics(e,t){this._diagnostics&&this._diagnostics.set(e,t)}getLocale(){return je.env.language}async $start(){if(this.$state===ve.StartFailed)throw new Error("Previous start failed. Can't restart server.");await this.start();let e=this.activeConnection();if(e===void 0)throw new Error("Starting server failed");return e}async createConnection(){let e=(r,s,o)=>{this.handleConnectionError(r,s,o).catch(a=>this.error("Handling connection error failed",a))},t=()=>{this.handleConnectionClosed().catch(r=>this.error("Handling connection close failed",r))},i=await this.createMessageTransports(this._clientOptions.stdioEncoding||"utf8");return this._connection=uj(i.reader,i.writer,e,t,this._clientOptions.connectionOptions),this._connection}async handleConnectionClosed(){if(this.$state===ve.Stopped)return;try{this._connection!==void 0&&this._connection.dispose()}catch{}let e={action:hr.DoNotRestart};if(this.$state!==ve.Stopping)try{e=await this._clientOptions.errorHandler.closed()}catch{}this._connection=void 0,e.action===hr.DoNotRestart?(this.error(e.message??"Connection to server got closed. Server will not be restarted.",void 0,e.handled===!0?!1:"force"),this.cleanUp("stop"),this.$state===ve.Starting?this.$state=ve.StartFailed:this.$state=ve.Stopped,this._onStop=Promise.resolve(),this._onStart=void 0):e.action===hr.Restart&&(this.info(e.message??"Connection to server got closed. Server will restart.",!e.handled),this.cleanUp("restart"),this.$state=ve.Initial,this._onStop=Promise.resolve(),this._onStart=void 0,this.start().catch(t=>this.error("Restarting server failed",t,"force")))}async handleConnectionError(e,t,i){let r=await this._clientOptions.errorHandler.error(e,t,i);r.action===ta.Shutdown?(this.error(r.message??`Client ${this._name}: connection to server is erroring. +${e.message} +Shutting down server.`,void 0,r.handled===!0?!1:"force"),this.stop().catch(s=>{this.error("Stopping server failed",s,!1)})):this.error(r.message??`Client ${this._name}: connection to server is erroring. +${e.message}`,void 0,r.handled===!0?!1:"force")}hookConfigurationChanged(e){this._listeners.push(je.workspace.onDidChangeConfiguration(()=>{this.refreshTrace(e,!0)}))}refreshTrace(e,t=!1){let i=je.workspace.getConfiguration(this._id),r=z.Trace.Off,s=z.TraceFormat.Text;if(i){let o=i.get("trace.server","off");typeof o=="string"?r=z.Trace.fromString(o):(r=z.Trace.fromString(i.get("trace.server.verbosity","off")),s=z.TraceFormat.fromString(i.get("trace.server.format","text")))}this._trace=r,this._traceFormat=s,e.trace(this._trace,this._tracer,{sendNotification:t,traceFormat:this._traceFormat}).catch(o=>{this.error("Updating trace failed with error",o,!1)})}hookFileEvents(e){let t=this._clientOptions.synchronize.fileEvents;if(!t)return;let i;Zn.array(t)?i=t:i=[t],i&&this._dynamicFeatures.get(z.DidChangeWatchedFilesNotification.type.method).registerRaw(VR.generateUuid(),i)}registerFeatures(e){for(let t of e)this.registerFeature(t)}registerFeature(e){if(this._features.push(e),Qn.DynamicFeature.is(e)){let t=e.registrationType;this._dynamicFeatures.set(t.method,e)}}getFeature(e){return this._dynamicFeatures.get(e)}hasDedicatedTextSynchronizationFeature(e){let t=this.getFeature(z.NotebookDocumentSyncRegistrationType.method);return t===void 0||!(t instanceof XR.NotebookDocumentSyncFeature)?!1:t.handles(e)}registerBuiltinFeatures(){let e=new Map;this.registerFeature(new JR.ConfigurationFeature(this)),this.registerFeature(new Ms.DidOpenTextDocumentFeature(this,this._syncedDocuments)),this._didChangeTextDocumentFeature=new Ms.DidChangeTextDocumentFeature(this,e),this._didChangeTextDocumentFeature.onPendingChangeAdded(()=>{this.triggerPendingChangeDelivery()}),this.registerFeature(this._didChangeTextDocumentFeature),this.registerFeature(new Ms.WillSaveFeature(this)),this.registerFeature(new Ms.WillSaveWaitUntilFeature(this)),this.registerFeature(new Ms.DidSaveTextDocumentFeature(this)),this.registerFeature(new Ms.DidCloseTextDocumentFeature(this,this._syncedDocuments,e)),this.registerFeature(new GI.FileSystemWatcherFeature(this,t=>this.notifyFileEvent(t))),this.registerFeature(new NI.CompletionItemFeature(this)),this.registerFeature(new AI.HoverFeature(this)),this.registerFeature(new jI.SignatureHelpFeature(this)),this.registerFeature(new II.DefinitionFeature(this)),this.registerFeature(new zI.ReferencesFeature(this)),this.registerFeature(new LI.DocumentHighlightFeature(this)),this.registerFeature(new MI.DocumentSymbolFeature(this)),this.registerFeature(new UI.WorkspaceSymbolFeature(this)),this.registerFeature(new $I.CodeActionFeature(this)),this.registerFeature(new HI.CodeLensFeature(this)),this.registerFeature(new vg.DocumentFormattingFeature(this)),this.registerFeature(new vg.DocumentRangeFormattingFeature(this)),this.registerFeature(new vg.DocumentOnTypeFormattingFeature(this)),this.registerFeature(new BI.RenameFeature(this)),this.registerFeature(new WI.DocumentLinkFeature(this)),this.registerFeature(new KI.ExecuteCommandFeature(this)),this.registerFeature(new JR.SyncConfigurationFeature(this)),this.registerFeature(new JI.TypeDefinitionFeature(this)),this.registerFeature(new XI.ImplementationFeature(this)),this.registerFeature(new VI.ColorProviderFeature(this)),this.clientOptions.workspaceFolder===void 0&&this.registerFeature(new YI.WorkspaceFoldersFeature(this)),this.registerFeature(new QI.FoldingRangeFeature(this)),this.registerFeature(new ZI.DeclarationFeature(this)),this.registerFeature(new ej.SelectionRangeFeature(this)),this.registerFeature(new tj.ProgressFeature(this)),this.registerFeature(new nj.CallHierarchyFeature(this)),this.registerFeature(new ij.SemanticTokensFeature(this)),this.registerFeature(new rj.LinkedEditingFeature(this)),this.registerFeature(new Us.DidCreateFilesFeature(this)),this.registerFeature(new Us.DidRenameFilesFeature(this)),this.registerFeature(new Us.DidDeleteFilesFeature(this)),this.registerFeature(new Us.WillCreateFilesFeature(this)),this.registerFeature(new Us.WillRenameFilesFeature(this)),this.registerFeature(new Us.WillDeleteFilesFeature(this)),this.registerFeature(new sj.TypeHierarchyFeature(this)),this.registerFeature(new oj.InlineValueFeature(this)),this.registerFeature(new aj.InlayHintsFeature(this)),this.registerFeature(new FI.DiagnosticFeature(this)),this.registerFeature(new XR.NotebookDocumentSyncFeature(this))}registerProposedFeatures(){this.registerFeatures(wg.createAll(this))}fillInitializeParams(e){for(let t of this._features)Zn.func(t.fillInitializeParams)&&t.fillInitializeParams(e)}computeClientCapabilities(){let e={};(0,Qn.ensure)(e,"workspace").applyEdit=!0;let t=(0,Qn.ensure)((0,Qn.ensure)(e,"workspace"),"workspaceEdit");t.documentChanges=!0,t.resourceOperations=[z.ResourceOperationKind.Create,z.ResourceOperationKind.Rename,z.ResourceOperationKind.Delete],t.failureHandling=z.FailureHandlingKind.TextOnlyTransactional,t.normalizesLineEndings=!0,t.changeAnnotationSupport={groupsOnLabel:!0};let i=(0,Qn.ensure)((0,Qn.ensure)(e,"textDocument"),"publishDiagnostics");i.relatedInformation=!0,i.versionSupport=!1,i.tagSupport={valueSet:[z.DiagnosticTag.Unnecessary,z.DiagnosticTag.Deprecated]},i.codeDescriptionSupport=!0,i.dataSupport=!0;let r=(0,Qn.ensure)(e,"window"),s=(0,Qn.ensure)(r,"showMessage");s.messageActionItem={additionalPropertiesSupport:!0};let o=(0,Qn.ensure)(r,"showDocument");o.support=!0;let a=(0,Qn.ensure)(e,"general");a.staleRequestSupport={cancel:!0,retryOnContentModified:Array.from(n.RequestsToCancelOnContentModified)},a.regularExpressions={engine:"ECMAScript",version:"ES2020"},a.markdown={parser:"marked",version:"1.1.0"},a.positionEncodings=["utf-16"],this._clientOptions.markdown.supportHtml&&(a.markdown.allowedTags=["ul","li","p","code","blockquote","ol","h1","h2","h3","h4","h5","h6","hr","em","pre","table","thead","tbody","tr","th","td","div","del","a","strong","br","img","span"]);for(let c of this._features)c.fillClientCapabilities(e);return e}initializeFeatures(e){let t=this._clientOptions.documentSelector;for(let i of this._features)Zn.func(i.preInitialize)&&i.preInitialize(this._capabilities,t);for(let i of this._features)i.initialize(this._capabilities,t)}async handleRegistrationRequest(e){let t=this.clientOptions.middleware?.handleRegisterCapability;return t?t(e,i=>this.doRegisterCapability(i)):this.doRegisterCapability(e)}async doRegisterCapability(e){if(!this.isRunning()){for(let t of e.registrations)this._ignoredRegistrations.add(t.id);return}for(let t of e.registrations){let i=this._dynamicFeatures.get(t.method);if(i===void 0)return Promise.reject(new Error(`No feature implementation for ${t.method} found. Registration failed.`));let r=t.registerOptions??{};r.documentSelector=r.documentSelector??this._clientOptions.documentSelector;let s={id:t.id,registerOptions:r};try{i.register(s)}catch(o){return Promise.reject(o)}}}async handleUnregistrationRequest(e){let t=this.clientOptions.middleware?.handleUnregisterCapability;return t?t(e,i=>this.doUnregisterCapability(i)):this.doUnregisterCapability(e)}async doUnregisterCapability(e){for(let t of e.unregisterations){if(this._ignoredRegistrations.has(t.id))continue;let i=this._dynamicFeatures.get(t.method);if(!i)return Promise.reject(new Error(`No feature implementation for ${t.method} found. Unregistration failed.`));i.unregister(t.id)}}async handleApplyWorkspaceEdit(e){let t=e.edit,i=await this.workspaceEditLock.lock(()=>this._p2c.asWorkspaceEdit(t)),r=new Map;je.workspace.textDocuments.forEach(o=>r.set(o.uri.toString(),o));let s=!1;if(t.documentChanges){for(let o of t.documentChanges)if(z.TextDocumentEdit.is(o)&&o.textDocument.version&&o.textDocument.version>=0){let a=this._p2c.asUri(o.textDocument.uri).toString(),c=r.get(a);if(c&&c.version!==o.textDocument.version){s=!0;break}}}return s?Promise.resolve({applied:!1}):Zn.asPromise(je.workspace.applyEdit(i).then(o=>({applied:o})))}handleFailedRequest(e,t,i,r,s=!0){if(i instanceof z.ResponseError){if(i.code===z.ErrorCodes.PendingResponseRejected||i.code===z.ErrorCodes.ConnectionInactive)return r;if(i.code===z.LSPErrorCodes.RequestCancelled||i.code===z.LSPErrorCodes.ServerCancelled){if(t!==void 0&&t.isCancellationRequested)return r;throw i.data!==void 0?new Qn.LSPCancellationError(i.data):new je.CancellationError}else if(i.code===z.LSPErrorCodes.ContentModified){if(n.RequestsToCancelOnContentModified.has(e.method)||n.CancellableResolveCalls.has(e.method))throw new je.CancellationError;return r}}throw this.error(`Request ${e.method} failed.`,i,s),i}};Ft.BaseLanguageClient=na;na.RequestsToCancelOnContentModified=new Set([z.SemanticTokensRequest.method,z.SemanticTokensRangeRequest.method,z.SemanticTokensDeltaRequest.method]);na.CancellableResolveCalls=new Set([z.CompletionResolveRequest.method,z.CodeLensResolveRequest.method,z.CodeActionResolveRequest.method,z.InlayHintResolveRequest.method,z.DocumentLinkResolveRequest.method,z.WorkspaceSymbolResolveRequest.method]);var bg=class{error(e){(0,z.RAL)().console.error(e)}warn(e){(0,z.RAL)().console.warn(e)}info(e){(0,z.RAL)().console.info(e)}log(e){(0,z.RAL)().console.log(e)}};function uj(n,e,t,i,r){let s=new bg,o=(0,z.createProtocolConnection)(n,e,s,r);return o.onError(c=>{t(c[0],c[1],c[2])}),o.onClose(i),{listen:()=>o.listen(),sendRequest:o.sendRequest,onRequest:o.onRequest,hasPendingResponse:o.hasPendingResponse,sendNotification:o.sendNotification,onNotification:o.onNotification,onProgress:o.onProgress,sendProgress:o.sendProgress,trace:(c,u,l)=>{let p={sendNotification:!1,traceFormat:z.TraceFormat.Text};return l===void 0?o.trace(c,u,p):(Zn.boolean(l),o.trace(c,u,l))},initialize:c=>o.sendRequest(z.InitializeRequest.type,c),shutdown:()=>o.sendRequest(z.ShutdownRequest.type,void 0),exit:()=>o.sendNotification(z.ExitNotification.type),end:()=>o.end(),dispose:()=>o.dispose()}}var wg;(function(n){function e(t){return[new cj.InlineCompletionItemFeature(t)]}n.createAll=e})(wg||(Ft.ProposedFeatures=wg={}))});var eD=T(pl=>{"use strict";Object.defineProperty(pl,"__esModule",{value:!0});pl.terminate=void 0;var ZR=require("child_process"),lj=require("path"),dj=process.platform==="win32",pj=process.platform==="darwin",fj=process.platform==="linux";function hj(n,e){if(dj)try{let r={stdio:["pipe","pipe","ignore"]};return e&&(r.cwd=e),ZR.execFileSync("taskkill",["/T","/F","/PID",n.pid.toString()],r),!0}catch{return!1}else if(fj||pj)try{var t=(0,lj.join)(__dirname,"terminateProcess.sh"),i=ZR.spawnSync(t,[n.pid.toString()]);return!i.error}catch{return!1}else return n.kill("SIGKILL"),!0}pl.terminate=hj});var Sg=T((az,tD)=>{"use strict";tD.exports=ue()});var ia=T((cz,nD)=>{var mj=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...n)=>console.error("SEMVER",...n):()=>{};nD.exports=mj});var fl=T((uz,iD)=>{var gj="2.0.0",vj=Number.MAX_SAFE_INTEGER||9007199254740991,xj=16,yj=250,bj=["major","premajor","minor","preminor","patch","prepatch","prerelease"];iD.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:xj,MAX_SAFE_BUILD_LENGTH:yj,MAX_SAFE_INTEGER:vj,RELEASE_TYPES:bj,SEMVER_SPEC_VERSION:gj,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var hl=T((Oi,rD)=>{var{MAX_SAFE_COMPONENT_LENGTH:Cg,MAX_SAFE_BUILD_LENGTH:wj,MAX_LENGTH:_j}=fl(),Sj=ia();Oi=rD.exports={};var Cj=Oi.re=[],Rj=Oi.safeRe=[],X=Oi.src=[],J=Oi.t={},Dj=0,Rg="[a-zA-Z0-9-]",Tj=[["\\s",1],["\\d",_j],[Rg,wj]],Ej=n=>{for(let[e,t]of Tj)n=n.split(`${e}*`).join(`${e}{0,${t}}`).split(`${e}+`).join(`${e}{1,${t}}`);return n},he=(n,e,t)=>{let i=Ej(e),r=Dj++;Sj(n,r,e),J[n]=r,X[r]=e,Cj[r]=new RegExp(e,t?"g":void 0),Rj[r]=new RegExp(i,t?"g":void 0)};he("NUMERICIDENTIFIER","0|[1-9]\\d*");he("NUMERICIDENTIFIERLOOSE","\\d+");he("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Rg}*`);he("MAINVERSION",`(${X[J.NUMERICIDENTIFIER]})\\.(${X[J.NUMERICIDENTIFIER]})\\.(${X[J.NUMERICIDENTIFIER]})`);he("MAINVERSIONLOOSE",`(${X[J.NUMERICIDENTIFIERLOOSE]})\\.(${X[J.NUMERICIDENTIFIERLOOSE]})\\.(${X[J.NUMERICIDENTIFIERLOOSE]})`);he("PRERELEASEIDENTIFIER",`(?:${X[J.NUMERICIDENTIFIER]}|${X[J.NONNUMERICIDENTIFIER]})`);he("PRERELEASEIDENTIFIERLOOSE",`(?:${X[J.NUMERICIDENTIFIERLOOSE]}|${X[J.NONNUMERICIDENTIFIER]})`);he("PRERELEASE",`(?:-(${X[J.PRERELEASEIDENTIFIER]}(?:\\.${X[J.PRERELEASEIDENTIFIER]})*))`);he("PRERELEASELOOSE",`(?:-?(${X[J.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${X[J.PRERELEASEIDENTIFIERLOOSE]})*))`);he("BUILDIDENTIFIER",`${Rg}+`);he("BUILD",`(?:\\+(${X[J.BUILDIDENTIFIER]}(?:\\.${X[J.BUILDIDENTIFIER]})*))`);he("FULLPLAIN",`v?${X[J.MAINVERSION]}${X[J.PRERELEASE]}?${X[J.BUILD]}?`);he("FULL",`^${X[J.FULLPLAIN]}$`);he("LOOSEPLAIN",`[v=\\s]*${X[J.MAINVERSIONLOOSE]}${X[J.PRERELEASELOOSE]}?${X[J.BUILD]}?`);he("LOOSE",`^${X[J.LOOSEPLAIN]}$`);he("GTLT","((?:<|>)?=?)");he("XRANGEIDENTIFIERLOOSE",`${X[J.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);he("XRANGEIDENTIFIER",`${X[J.NUMERICIDENTIFIER]}|x|X|\\*`);he("XRANGEPLAIN",`[v=\\s]*(${X[J.XRANGEIDENTIFIER]})(?:\\.(${X[J.XRANGEIDENTIFIER]})(?:\\.(${X[J.XRANGEIDENTIFIER]})(?:${X[J.PRERELEASE]})?${X[J.BUILD]}?)?)?`);he("XRANGEPLAINLOOSE",`[v=\\s]*(${X[J.XRANGEIDENTIFIERLOOSE]})(?:\\.(${X[J.XRANGEIDENTIFIERLOOSE]})(?:\\.(${X[J.XRANGEIDENTIFIERLOOSE]})(?:${X[J.PRERELEASELOOSE]})?${X[J.BUILD]}?)?)?`);he("XRANGE",`^${X[J.GTLT]}\\s*${X[J.XRANGEPLAIN]}$`);he("XRANGELOOSE",`^${X[J.GTLT]}\\s*${X[J.XRANGEPLAINLOOSE]}$`);he("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Cg}})(?:\\.(\\d{1,${Cg}}))?(?:\\.(\\d{1,${Cg}}))?`);he("COERCE",`${X[J.COERCEPLAIN]}(?:$|[^\\d])`);he("COERCEFULL",X[J.COERCEPLAIN]+`(?:${X[J.PRERELEASE]})?(?:${X[J.BUILD]})?(?:$|[^\\d])`);he("COERCERTL",X[J.COERCE],!0);he("COERCERTLFULL",X[J.COERCEFULL],!0);he("LONETILDE","(?:~>?)");he("TILDETRIM",`(\\s*)${X[J.LONETILDE]}\\s+`,!0);Oi.tildeTrimReplace="$1~";he("TILDE",`^${X[J.LONETILDE]}${X[J.XRANGEPLAIN]}$`);he("TILDELOOSE",`^${X[J.LONETILDE]}${X[J.XRANGEPLAINLOOSE]}$`);he("LONECARET","(?:\\^)");he("CARETTRIM",`(\\s*)${X[J.LONECARET]}\\s+`,!0);Oi.caretTrimReplace="$1^";he("CARET",`^${X[J.LONECARET]}${X[J.XRANGEPLAIN]}$`);he("CARETLOOSE",`^${X[J.LONECARET]}${X[J.XRANGEPLAINLOOSE]}$`);he("COMPARATORLOOSE",`^${X[J.GTLT]}\\s*(${X[J.LOOSEPLAIN]})$|^$`);he("COMPARATOR",`^${X[J.GTLT]}\\s*(${X[J.FULLPLAIN]})$|^$`);he("COMPARATORTRIM",`(\\s*)${X[J.GTLT]}\\s*(${X[J.LOOSEPLAIN]}|${X[J.XRANGEPLAIN]})`,!0);Oi.comparatorTrimReplace="$1$2$3";he("HYPHENRANGE",`^\\s*(${X[J.XRANGEPLAIN]})\\s+-\\s+(${X[J.XRANGEPLAIN]})\\s*$`);he("HYPHENRANGELOOSE",`^\\s*(${X[J.XRANGEPLAINLOOSE]})\\s+-\\s+(${X[J.XRANGEPLAINLOOSE]})\\s*$`);he("STAR","(<|>)?=?\\s*\\*");he("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");he("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var ml=T((lz,sD)=>{var Pj=Object.freeze({loose:!0}),kj=Object.freeze({}),Oj=n=>n?typeof n!="object"?Pj:n:kj;sD.exports=Oj});var uD=T((dz,cD)=>{var oD=/^[0-9]+$/,aD=(n,e)=>{let t=oD.test(n),i=oD.test(e);return t&&i&&(n=+n,e=+e),n===e?0:t&&!i?-1:i&&!t?1:naD(e,n);cD.exports={compareIdentifiers:aD,rcompareIdentifiers:qj}});var ra=T((pz,fD)=>{var gl=ia(),{MAX_LENGTH:lD,MAX_SAFE_INTEGER:vl}=fl(),{safeRe:dD,t:pD}=hl(),Fj=ml(),{compareIdentifiers:zs}=uD(),Dg=class n{constructor(e,t){if(t=Fj(t),e instanceof n){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>lD)throw new TypeError(`version is longer than ${lD} characters`);gl("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let i=e.trim().match(t.loose?dD[pD.LOOSE]:dD[pD.FULL]);if(!i)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+i[1],this.minor=+i[2],this.patch=+i[3],this.major>vl||this.major<0)throw new TypeError("Invalid major version");if(this.minor>vl||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>vl||this.patch<0)throw new TypeError("Invalid patch version");i[4]?this.prerelease=i[4].split(".").map(r=>{if(/^[0-9]+$/.test(r)){let s=+r;if(s>=0&&s=0;)typeof this.prerelease[s]=="number"&&(this.prerelease[s]++,s=-2);if(s===-1){if(t===this.prerelease.join(".")&&i===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(r)}}if(t){let s=[t,r];i===!1&&(s=[t]),zs(this.prerelease[0],t)===0?isNaN(this.prerelease[1])&&(this.prerelease=s):this.prerelease=s}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};fD.exports=Dg});var gD=T((fz,mD)=>{var hD=ra(),Nj=(n,e,t=!1)=>{if(n instanceof hD)return n;try{return new hD(n,e)}catch(i){if(!t)return null;throw i}};mD.exports=Nj});var xD=T((hz,vD)=>{var Tg=class{constructor(){this.max=1e3,this.map=new Map}get(e){let t=this.map.get(e);if(t!==void 0)return this.map.delete(e),this.map.set(e,t),t}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&t!==void 0){if(this.map.size>=this.max){let r=this.map.keys().next().value;this.delete(r)}this.map.set(e,t)}return this}};vD.exports=Tg});var Lr=T((mz,bD)=>{var yD=ra(),Aj=(n,e,t)=>new yD(n,t).compare(new yD(e,t));bD.exports=Aj});var _D=T((gz,wD)=>{var Ij=Lr(),jj=(n,e,t)=>Ij(n,e,t)===0;wD.exports=jj});var CD=T((vz,SD)=>{var Lj=Lr(),Mj=(n,e,t)=>Lj(n,e,t)!==0;SD.exports=Mj});var DD=T((xz,RD)=>{var Uj=Lr(),zj=(n,e,t)=>Uj(n,e,t)>0;RD.exports=zj});var ED=T((yz,TD)=>{var $j=Lr(),Hj=(n,e,t)=>$j(n,e,t)>=0;TD.exports=Hj});var kD=T((bz,PD)=>{var Bj=Lr(),Wj=(n,e,t)=>Bj(n,e,t)<0;PD.exports=Wj});var qD=T((wz,OD)=>{var Kj=Lr(),Gj=(n,e,t)=>Kj(n,e,t)<=0;OD.exports=Gj});var ND=T((_z,FD)=>{var Vj=_D(),Xj=CD(),Jj=DD(),Yj=ED(),Qj=kD(),Zj=qD(),eL=(n,e,t,i)=>{switch(e){case"===":return typeof n=="object"&&(n=n.version),typeof t=="object"&&(t=t.version),n===t;case"!==":return typeof n=="object"&&(n=n.version),typeof t=="object"&&(t=t.version),n!==t;case"":case"=":case"==":return Vj(n,t,i);case"!=":return Xj(n,t,i);case">":return Jj(n,t,i);case">=":return Yj(n,t,i);case"<":return Qj(n,t,i);case"<=":return Zj(n,t,i);default:throw new TypeError(`Invalid operator: ${e}`)}};FD.exports=eL});var zD=T((Sz,UD)=>{var sa=Symbol("SemVer ANY"),kg=class n{static get ANY(){return sa}constructor(e,t){if(t=AD(t),e instanceof n){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),Pg("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===sa?this.value="":this.value=this.operator+this.semver.version,Pg("comp",this)}parse(e){let t=this.options.loose?ID[jD.COMPARATORLOOSE]:ID[jD.COMPARATOR],i=e.match(t);if(!i)throw new TypeError(`Invalid comparator: ${e}`);this.operator=i[1]!==void 0?i[1]:"",this.operator==="="&&(this.operator=""),i[2]?this.semver=new LD(i[2],this.options.loose):this.semver=sa}toString(){return this.value}test(e){if(Pg("Comparator.test",e,this.options.loose),this.semver===sa||e===sa)return!0;if(typeof e=="string")try{e=new LD(e,this.options)}catch{return!1}return Eg(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof n))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new MD(e.value,t).test(this.value):e.operator===""?e.value===""?!0:new MD(this.value,t).test(e.semver):(t=AD(t),t.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||Eg(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||Eg(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};UD.exports=kg;var AD=ml(),{safeRe:ID,t:jD}=hl(),Eg=ND(),Pg=ia(),LD=ra(),MD=Og()});var Og=T((Cz,WD)=>{var tL=/\s+/g,qg=class n{constructor(e,t){if(t=iL(t),e instanceof n)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new n(e.raw,t);if(e instanceof Fg)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(tL," "),this.set=this.raw.split("||").map(i=>this.parseRange(i.trim())).filter(i=>i.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let i=this.set[0];if(this.set=this.set.filter(r=>!HD(r[0])),this.set.length===0)this.set=[i];else if(this.set.length>1){for(let r of this.set)if(r.length===1&&lL(r[0])){this.set=[r];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e0&&(this.formatted+="||");let t=this.set[e];for(let i=0;i0&&(this.formatted+=" "),this.formatted+=t[i].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let i=((this.options.includePrerelease&&cL)|(this.options.loose&&uL))+":"+e,r=$D.get(i);if(r)return r;let s=this.options.loose,o=s?dn[Yt.HYPHENRANGELOOSE]:dn[Yt.HYPHENRANGE];e=e.replace(o,bL(this.options.includePrerelease)),Je("hyphen replace",e),e=e.replace(dn[Yt.COMPARATORTRIM],sL),Je("comparator trim",e),e=e.replace(dn[Yt.TILDETRIM],oL),Je("tilde trim",e),e=e.replace(dn[Yt.CARETTRIM],aL),Je("caret trim",e);let a=e.split(" ").map(p=>dL(p,this.options)).join(" ").split(/\s+/).map(p=>yL(p,this.options));s&&(a=a.filter(p=>(Je("loose invalid filter",p,this.options),!!p.match(dn[Yt.COMPARATORLOOSE])))),Je("range list",a);let c=new Map,u=a.map(p=>new Fg(p,this.options));for(let p of u){if(HD(p))return[p];c.set(p.value,p)}c.size>1&&c.has("")&&c.delete("");let l=[...c.values()];return $D.set(i,l),l}intersects(e,t){if(!(e instanceof n))throw new TypeError("a Range is required");return this.set.some(i=>BD(i,t)&&e.set.some(r=>BD(r,t)&&i.every(s=>r.every(o=>s.intersects(o,t)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new rL(e,this.options)}catch{return!1}for(let t=0;tn.value==="<0.0.0-0",lL=n=>n.value==="",BD=(n,e)=>{let t=!0,i=n.slice(),r=i.pop();for(;t&&i.length;)t=i.every(s=>r.intersects(s,e)),r=i.pop();return t},dL=(n,e)=>(Je("comp",n,e),n=hL(n,e),Je("caret",n),n=pL(n,e),Je("tildes",n),n=gL(n,e),Je("xrange",n),n=xL(n,e),Je("stars",n),n),Qt=n=>!n||n.toLowerCase()==="x"||n==="*",pL=(n,e)=>n.trim().split(/\s+/).map(t=>fL(t,e)).join(" "),fL=(n,e)=>{let t=e.loose?dn[Yt.TILDELOOSE]:dn[Yt.TILDE];return n.replace(t,(i,r,s,o,a)=>{Je("tilde",n,i,r,s,o,a);let c;return Qt(r)?c="":Qt(s)?c=`>=${r}.0.0 <${+r+1}.0.0-0`:Qt(o)?c=`>=${r}.${s}.0 <${r}.${+s+1}.0-0`:a?(Je("replaceTilde pr",a),c=`>=${r}.${s}.${o}-${a} <${r}.${+s+1}.0-0`):c=`>=${r}.${s}.${o} <${r}.${+s+1}.0-0`,Je("tilde return",c),c})},hL=(n,e)=>n.trim().split(/\s+/).map(t=>mL(t,e)).join(" "),mL=(n,e)=>{Je("caret",n,e);let t=e.loose?dn[Yt.CARETLOOSE]:dn[Yt.CARET],i=e.includePrerelease?"-0":"";return n.replace(t,(r,s,o,a,c)=>{Je("caret",n,r,s,o,a,c);let u;return Qt(s)?u="":Qt(o)?u=`>=${s}.0.0${i} <${+s+1}.0.0-0`:Qt(a)?s==="0"?u=`>=${s}.${o}.0${i} <${s}.${+o+1}.0-0`:u=`>=${s}.${o}.0${i} <${+s+1}.0.0-0`:c?(Je("replaceCaret pr",c),s==="0"?o==="0"?u=`>=${s}.${o}.${a}-${c} <${s}.${o}.${+a+1}-0`:u=`>=${s}.${o}.${a}-${c} <${s}.${+o+1}.0-0`:u=`>=${s}.${o}.${a}-${c} <${+s+1}.0.0-0`):(Je("no pr"),s==="0"?o==="0"?u=`>=${s}.${o}.${a}${i} <${s}.${o}.${+a+1}-0`:u=`>=${s}.${o}.${a}${i} <${s}.${+o+1}.0-0`:u=`>=${s}.${o}.${a} <${+s+1}.0.0-0`),Je("caret return",u),u})},gL=(n,e)=>(Je("replaceXRanges",n,e),n.split(/\s+/).map(t=>vL(t,e)).join(" ")),vL=(n,e)=>{n=n.trim();let t=e.loose?dn[Yt.XRANGELOOSE]:dn[Yt.XRANGE];return n.replace(t,(i,r,s,o,a,c)=>{Je("xRange",n,i,r,s,o,a,c);let u=Qt(s),l=u||Qt(o),p=l||Qt(a),h=p;return r==="="&&h&&(r=""),c=e.includePrerelease?"-0":"",u?r===">"||r==="<"?i="<0.0.0-0":i="*":r&&h?(l&&(o=0),a=0,r===">"?(r=">=",l?(s=+s+1,o=0,a=0):(o=+o+1,a=0)):r==="<="&&(r="<",l?s=+s+1:o=+o+1),r==="<"&&(c="-0"),i=`${r+s}.${o}.${a}${c}`):l?i=`>=${s}.0.0${c} <${+s+1}.0.0-0`:p&&(i=`>=${s}.${o}.0${c} <${s}.${+o+1}.0-0`),Je("xRange return",i),i})},xL=(n,e)=>(Je("replaceStars",n,e),n.trim().replace(dn[Yt.STAR],"")),yL=(n,e)=>(Je("replaceGTE0",n,e),n.trim().replace(dn[e.includePrerelease?Yt.GTE0PRE:Yt.GTE0],"")),bL=n=>(e,t,i,r,s,o,a,c,u,l,p,h)=>(Qt(i)?t="":Qt(r)?t=`>=${i}.0.0${n?"-0":""}`:Qt(s)?t=`>=${i}.${r}.0${n?"-0":""}`:o?t=`>=${t}`:t=`>=${t}${n?"-0":""}`,Qt(u)?c="":Qt(l)?c=`<${+u+1}.0.0-0`:Qt(p)?c=`<${u}.${+l+1}.0-0`:h?c=`<=${u}.${l}.${p}-${h}`:n?c=`<${u}.${l}.${+p+1}-0`:c=`<=${c}`,`${t} ${c}`.trim()),wL=(n,e,t)=>{for(let i=0;i0){let r=n[i].semver;if(r.major===e.major&&r.minor===e.minor&&r.patch===e.patch)return!0}return!1}return!0}});var GD=T((Rz,KD)=>{var _L=Og(),SL=(n,e,t)=>{try{e=new _L(e,t)}catch{return!1}return e.test(n)};KD.exports=SL});var XD=T(_n=>{"use strict";var CL=_n&&_n.__createBinding||(Object.create?function(n,e,t,i){i===void 0&&(i=t);var r=Object.getOwnPropertyDescriptor(e,t);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,i,r)}:function(n,e,t,i){i===void 0&&(i=t),n[i]=e[t]}),Ng=_n&&_n.__exportStar||function(n,e){for(var t in n)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&CL(e,n,t)};Object.defineProperty(_n,"__esModule",{value:!0});_n.DiagnosticPullMode=_n.vsdiag=void 0;Ng(ue(),_n);Ng(Ce(),_n);var VD=zh();Object.defineProperty(_n,"vsdiag",{enumerable:!0,get:function(){return VD.vsdiag}});Object.defineProperty(_n,"DiagnosticPullMode",{enumerable:!0,get:function(){return VD.DiagnosticPullMode}});Ng(_g(),_n)});var ZD=T(pn=>{"use strict";var RL=pn&&pn.__createBinding||(Object.create?function(n,e,t,i){i===void 0&&(i=t);var r=Object.getOwnPropertyDescriptor(e,t);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,i,r)}:function(n,e,t,i){i===void 0&&(i=t),n[i]=e[t]}),QD=pn&&pn.__exportStar||function(n,e){for(var t in n)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&RL(e,n,t)};Object.defineProperty(pn,"__esModule",{value:!0});pn.SettingMonitor=pn.LanguageClient=pn.TransportKind=void 0;var qi=require("child_process"),Ag=require("fs"),Ig=require("path"),gr=require("vscode"),nt=qn(),JD=_g(),DL=eD(),ot=Sg(),TL=gD(),EL=GD();QD(Sg(),pn);QD(XD(),pn);var YD="^1.82.0",at;(function(n){n[n.stdio=0]="stdio",n[n.ipc=1]="ipc",n[n.pipe=2]="pipe",n[n.socket=3]="socket"})(at||(pn.TransportKind=at={}));var mr;(function(n){function e(t){let i=t;return i&&i.kind===at.socket&&nt.number(i.port)}n.isSocket=e})(mr||(mr={}));var jg;(function(n){function e(t){return nt.string(t.command)}n.is=e})(jg||(jg={}));var Lg;(function(n){function e(t){return nt.string(t.module)}n.is=e})(Lg||(Lg={}));var Mg;(function(n){function e(t){let i=t;return i&&i.writer!==void 0&&i.reader!==void 0}n.is=e})(Mg||(Mg={}));var Ug;(function(n){function e(t){let i=t;return i&&i.process!==void 0&&typeof i.detached=="boolean"}n.is=e})(Ug||(Ug={}));var zg=class extends JD.BaseLanguageClient{constructor(e,t,i,r,s){let o,a,c,u,l;nt.string(t)?(o=e,a=t,c=i,u=r,l=!!s):(o=e.toLowerCase(),a=e,c=t,u=i,l=r),l===void 0&&(l=!1),super(o,a,u),this._serverOptions=c,this._forceDebug=l,this._isInDebugMode=l;try{this.checkVersion()}catch(p){throw nt.string(p.message)&&this.outputChannel.appendLine(p.message),p}}checkVersion(){let e=TL(gr.version);if(!e)throw new Error(`No valid VS Code version detected. Version string is: ${gr.version}`);if(e.prerelease&&e.prerelease.length>0&&(e.prerelease=[]),!EL(e,YD))throw new Error(`The language client requires VS Code version ${YD} but received version ${gr.version}`)}get isInDebugMode(){return this._isInDebugMode}async restart(){await this.stop(),this.isInDebugMode?(await new Promise(e=>setTimeout(e,1e3)),await this.start()):await this.start()}stop(e=2e3){return super.stop(e).finally(()=>{if(this._serverProcess){let t=this._serverProcess;this._serverProcess=void 0,(this._isDetached===void 0||!this._isDetached)&&this.checkProcessDied(t),this._isDetached=void 0}})}checkProcessDied(e){!e||e.pid===void 0||setTimeout(()=>{try{e.pid!==void 0&&(process.kill(e.pid,0),(0,DL.terminate)(e))}catch{}},2e3)}handleConnectionClosed(){return this._serverProcess=void 0,super.handleConnectionClosed()}fillInitializeParams(e){super.fillInitializeParams(e),e.processId===null&&(e.processId=process.pid)}createMessageTransports(e){function t(l,p){if(!l&&!p)return;let h=Object.create(null);return Object.keys(process.env).forEach(x=>h[x]=process.env[x]),p&&(h.ELECTRON_RUN_AS_NODE="1",h.ELECTRON_NO_ASAR="1"),l&&Object.keys(l).forEach(x=>h[x]=l[x]),h}let i=["--debug=","--debug-brk=","--inspect=","--inspect-brk="],r=["--debug","--debug-brk","--inspect","--inspect-brk"];function s(){let l=process.execArgv;return l?l.some(p=>i.some(h=>p.startsWith(h))||r.some(h=>p===h)):!1}function o(l){if(l.stdin===null||l.stdout===null||l.stderr===null)throw new Error("Process created without stdio streams")}let a=this._serverOptions;if(nt.func(a))return a().then(l=>{if(JD.MessageTransports.is(l))return this._isDetached=!!l.detached,l;if(Mg.is(l))return this._isDetached=!!l.detached,{reader:new ot.StreamMessageReader(l.reader),writer:new ot.StreamMessageWriter(l.writer)};{let p;return Ug.is(l)?(p=l.process,this._isDetached=l.detached):(p=l,this._isDetached=!1),p.stderr.on("data",h=>this.outputChannel.append(nt.string(h)?h:h.toString(e))),{reader:new ot.StreamMessageReader(p.stdout),writer:new ot.StreamMessageWriter(p.stdin)}}});let c,u=a;return u.run||u.debug?this._forceDebug||s()?(c=u.debug,this._isInDebugMode=!0):(c=u.run,this._isInDebugMode=!1):c=a,this._getServerWorkingDir(c.options).then(l=>{if(Lg.is(c)&&c.module){let p=c,h=p.transport||at.stdio;if(p.runtime){let x=[],f=p.options??Object.create(null);f.execArgv&&f.execArgv.forEach(O=>x.push(O)),x.push(p.module),p.args&&p.args.forEach(O=>x.push(O));let y=Object.create(null);y.cwd=l,y.env=t(f.env,!1);let w=this._getRuntimePath(p.runtime,l),S;if(h===at.ipc?(y.stdio=[null,null,null,"ipc"],x.push("--node-ipc")):h===at.stdio?x.push("--stdio"):h===at.pipe?(S=(0,ot.generateRandomPipeName)(),x.push(`--pipe=${S}`)):mr.isSocket(h)&&x.push(`--socket=${h.port}`),x.push(`--clientProcessId=${process.pid.toString()}`),h===at.ipc||h===at.stdio){let O=qi.spawn(w,x,y);return!O||!O.pid?$s(O,`Launching server using runtime ${w} failed.`):(this._serverProcess=O,O.stderr.on("data",k=>this.outputChannel.append(nt.string(k)?k:k.toString(e))),h===at.ipc?(O.stdout.on("data",k=>this.outputChannel.append(nt.string(k)?k:k.toString(e))),Promise.resolve({reader:new ot.IPCMessageReader(O),writer:new ot.IPCMessageWriter(O)})):Promise.resolve({reader:new ot.StreamMessageReader(O.stdout),writer:new ot.StreamMessageWriter(O.stdin)}))}else{if(h===at.pipe)return(0,ot.createClientPipeTransport)(S).then(O=>{let k=qi.spawn(w,x,y);return!k||!k.pid?$s(k,`Launching server using runtime ${w} failed.`):(this._serverProcess=k,k.stderr.on("data",N=>this.outputChannel.append(nt.string(N)?N:N.toString(e))),k.stdout.on("data",N=>this.outputChannel.append(nt.string(N)?N:N.toString(e))),O.onConnected().then(N=>({reader:N[0],writer:N[1]})))});if(mr.isSocket(h))return(0,ot.createClientSocketTransport)(h.port).then(O=>{let k=qi.spawn(w,x,y);return!k||!k.pid?$s(k,`Launching server using runtime ${w} failed.`):(this._serverProcess=k,k.stderr.on("data",N=>this.outputChannel.append(nt.string(N)?N:N.toString(e))),k.stdout.on("data",N=>this.outputChannel.append(nt.string(N)?N:N.toString(e))),O.onConnected().then(N=>({reader:N[0],writer:N[1]})))})}}else{let x;return new Promise((f,y)=>{let w=(p.args&&p.args.slice())??[];h===at.ipc?w.push("--node-ipc"):h===at.stdio?w.push("--stdio"):h===at.pipe?(x=(0,ot.generateRandomPipeName)(),w.push(`--pipe=${x}`)):mr.isSocket(h)&&w.push(`--socket=${h.port}`),w.push(`--clientProcessId=${process.pid.toString()}`);let S=p.options??Object.create(null);if(S.env=t(S.env,!0),S.execArgv=S.execArgv||[],S.cwd=l,S.silent=!0,h===at.ipc||h===at.stdio){let O=qi.fork(p.module,w||[],S);o(O),this._serverProcess=O,O.stderr.on("data",k=>this.outputChannel.append(nt.string(k)?k:k.toString(e))),h===at.ipc?(O.stdout.on("data",k=>this.outputChannel.append(nt.string(k)?k:k.toString(e))),f({reader:new ot.IPCMessageReader(this._serverProcess),writer:new ot.IPCMessageWriter(this._serverProcess)})):f({reader:new ot.StreamMessageReader(O.stdout),writer:new ot.StreamMessageWriter(O.stdin)})}else h===at.pipe?(0,ot.createClientPipeTransport)(x).then(O=>{let k=qi.fork(p.module,w||[],S);o(k),this._serverProcess=k,k.stderr.on("data",N=>this.outputChannel.append(nt.string(N)?N:N.toString(e))),k.stdout.on("data",N=>this.outputChannel.append(nt.string(N)?N:N.toString(e))),O.onConnected().then(N=>{f({reader:N[0],writer:N[1]})},y)},y):mr.isSocket(h)&&(0,ot.createClientSocketTransport)(h.port).then(O=>{let k=qi.fork(p.module,w||[],S);o(k),this._serverProcess=k,k.stderr.on("data",N=>this.outputChannel.append(nt.string(N)?N:N.toString(e))),k.stdout.on("data",N=>this.outputChannel.append(nt.string(N)?N:N.toString(e))),O.onConnected().then(N=>{f({reader:N[0],writer:N[1]})},y)},y)})}}else if(jg.is(c)&&c.command){let p=c,h=c.args!==void 0?c.args.slice(0):[],x,f=c.transport;if(f===at.stdio)h.push("--stdio");else if(f===at.pipe)x=(0,ot.generateRandomPipeName)(),h.push(`--pipe=${x}`);else if(mr.isSocket(f))h.push(`--socket=${f.port}`);else if(f===at.ipc)throw new Error("Transport kind ipc is not support for command executable");let y=Object.assign({},p.options);if(y.cwd=y.cwd||l,f===void 0||f===at.stdio){let w=qi.spawn(p.command,h,y);return!w||!w.pid?$s(w,`Launching server using command ${p.command} failed.`):(w.stderr.on("data",S=>this.outputChannel.append(nt.string(S)?S:S.toString(e))),this._serverProcess=w,this._isDetached=!!y.detached,Promise.resolve({reader:new ot.StreamMessageReader(w.stdout),writer:new ot.StreamMessageWriter(w.stdin)}))}else{if(f===at.pipe)return(0,ot.createClientPipeTransport)(x).then(w=>{let S=qi.spawn(p.command,h,y);return!S||!S.pid?$s(S,`Launching server using command ${p.command} failed.`):(this._serverProcess=S,this._isDetached=!!y.detached,S.stderr.on("data",O=>this.outputChannel.append(nt.string(O)?O:O.toString(e))),S.stdout.on("data",O=>this.outputChannel.append(nt.string(O)?O:O.toString(e))),w.onConnected().then(O=>({reader:O[0],writer:O[1]})))});if(mr.isSocket(f))return(0,ot.createClientSocketTransport)(f.port).then(w=>{let S=qi.spawn(p.command,h,y);return!S||!S.pid?$s(S,`Launching server using command ${p.command} failed.`):(this._serverProcess=S,this._isDetached=!!y.detached,S.stderr.on("data",O=>this.outputChannel.append(nt.string(O)?O:O.toString(e))),S.stdout.on("data",O=>this.outputChannel.append(nt.string(O)?O:O.toString(e))),w.onConnected().then(O=>({reader:O[0],writer:O[1]})))})}}return Promise.reject(new Error("Unsupported server configuration "+JSON.stringify(a,null,4)))}).finally(()=>{this._serverProcess!==void 0&&this._serverProcess.on("exit",(l,p)=>{l!==null&&this.error(`Server process exited with code ${l}.`,void 0,!1),p!==null&&this.error(`Server process exited with signal ${p}.`,void 0,!1)})})}_getRuntimePath(e,t){if(Ig.isAbsolute(e))return e;let i=this._mainGetRootPath();if(i!==void 0){let r=Ig.join(i,e);if(Ag.existsSync(r))return r}if(t!==void 0){let r=Ig.join(t,e);if(Ag.existsSync(r))return r}return e}_mainGetRootPath(){let e=gr.workspace.workspaceFolders;if(!e||e.length===0)return;let t=e[0];if(t.uri.scheme==="file")return t.uri.fsPath}_getServerWorkingDir(e){let t=e&&e.cwd;return t||(t=this.clientOptions.workspaceFolder?this.clientOptions.workspaceFolder.uri.fsPath:this._mainGetRootPath()),t?new Promise(i=>{Ag.lstat(t,(r,s)=>{i(!r&&s.isDirectory()?t:void 0)})}):Promise.resolve(void 0)}};pn.LanguageClient=zg;var $g=class{constructor(e,t){this._client=e,this._setting=t,this._listeners=[]}start(){return gr.workspace.onDidChangeConfiguration(this.onDidChangeConfiguration,this,this._listeners),this.onDidChangeConfiguration(),new gr.Disposable(()=>{this._client.needsStop()&&this._client.stop()})}onDidChangeConfiguration(){let e=this._setting.indexOf("."),t=e>=0?this._setting.substr(0,e):this._setting,i=e>=0?this._setting.substr(e+1):void 0,r=i?gr.workspace.getConfiguration(t).get(i,!1):gr.workspace.getConfiguration(t);r&&this._client.needsStart()?this._client.start().catch(s=>this._client.error("Start failed after configuration change",s,"force")):!r&&this._client.needsStop()&&this._client.stop().catch(s=>this._client.error("Stop failed after configuration change",s,"force"))}};pn.SettingMonitor=$g;function $s(n,e){return n===null?Promise.reject(e):new Promise((t,i)=>{n.on("error",r=>{i(`${e} ${r}`)}),setImmediate(()=>i(e))})}});var tT=T((Ez,eT)=>{"use strict";eT.exports=ZD()});var qL={};dT(qL,{activate:()=>kL,deactivate:()=>OL});module.exports=pT(qL);var oa=require("vscode"),nT=bl(Ew()),iT=bl(Lw()),rT=bl(tT()),PL=require("node:path"),xl;async function kL(n){let e=oa.window.createOutputChannel("KDL LSP Client"),t=oa.workspace.getConfiguration("kdl"),i=process.env.SERVER_PATH||t.get("command"),r=t.get("argv",[]);if(!i){let c=(0,nT.getPackage)();if(!c.exists()){let l=(0,iT.configureProxy)(c.url);await c.install(l,!1)}let u=c.binaries["kdl-lsp"];i=PL.join(c.installDirectory,u)}let s={command:i,args:r,options:{env:{...process.env,RUST_LOG:t.get("loglevel","debug")}}},o={run:s,debug:s},a={documentSelector:[{scheme:"file",language:"kdl"}],outputChannel:oa.window.createOutputChannel("KDL Language Server Stderr"),traceOutputChannel:e,diagnosticPullOptions:{onChange:!0,onSave:!0,onTabs:!1}};xl=new rT.LanguageClient("kdl-lsp","KDL Language Server",o,a),xl.start()}function OL(){if(xl)return xl.stop()}0&&(module.exports={activate,deactivate}); +/*! Bundled license information: + +mime-db/index.js: + (*! + * mime-db + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2015-2022 Douglas Christopher Wilson + * MIT Licensed + *) + +mime-types/index.js: + (*! + * mime-types + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2015 Douglas Christopher Wilson + * MIT Licensed + *) +*/ diff --git a/assets/dotfiles/vscode-extensions/kdl-org.kdl-2.1.3/dist/node_modules/.bin_real/kdl-lsp b/assets/dotfiles/vscode-extensions/kdl-org.kdl-2.1.3/dist/node_modules/.bin_real/kdl-lsp new file mode 100644 index 0000000..dd14338 Binary files /dev/null and b/assets/dotfiles/vscode-extensions/kdl-org.kdl-2.1.3/dist/node_modules/.bin_real/kdl-lsp differ diff --git a/assets/dotfiles/vscode-extensions/kdl-org.kdl-2.1.3/language-configuration.json b/assets/dotfiles/vscode-extensions/kdl-org.kdl-2.1.3/language-configuration.json new file mode 100644 index 0000000..6f292c3 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/kdl-org.kdl-2.1.3/language-configuration.json @@ -0,0 +1,48 @@ +{ + "comments": { + // symbol used for single line comment. Remove this entry if your language does not support line comments + "lineComment": "//", + // symbols used for start and end a block comment. Remove this entry if your language does not support block comments + "blockComment": [ + "/*", + "*/" + ] + }, + // symbols used as brackets + "brackets": [ + [ + "{", + "}" + ], + ], + // symbols that are auto closed when typing + "autoClosingPairs": [ + [ + "{", + "}" + ], + [ + "\"", + "\"" + ], + [ + "(", + ")" + ] + ], + // symbols that can be used to surround a selection + "surroundingPairs": [ + [ + "{", + "}" + ], + [ + "\"", + "\"" + ], + [ + "(", + ")" + ] + ] +} diff --git a/assets/dotfiles/vscode-extensions/kdl-org.kdl-2.1.3/package.json b/assets/dotfiles/vscode-extensions/kdl-org.kdl-2.1.3/package.json new file mode 100644 index 0000000..175d36a --- /dev/null +++ b/assets/dotfiles/vscode-extensions/kdl-org.kdl-2.1.3/package.json @@ -0,0 +1,114 @@ +{ + "name": "kdl", + "displayName": "KDL", + "description": "Language support for the KDL Document Language. This extension supports only KDL v2.0.0. Use `kdl-v1` for legacy KDL highlighting.", + "version": "2.1.3", + "license": "Apache-2.0", + "publisher": "kdl-org", + "repository": "https://github.com/kdl-org/vscode-kdl.git", + "main": "./dist/extension.js", + "scripts": { + "pack": "vsce package", + "compile": "npm run check-types && node esbuild.js", + "check-types": "tsc --noEmit", + "watch": "npm-run-all -p watch:*", + "watch:esbuild": "node esbuild.js --watch", + "watch:tsc": "tsc --noEmit --watch --project tsconfig.json", + "vscode:prepublish": "npm run package", + "package": "npm run check-types && node esbuild.js --production", + "publish": "vsce publish" + }, + "engines": { + "vscode": "^1.96.0" + }, + "categories": [ + "Programming Languages" + ], + "activationEvents": [ + "onStartupFinished" + ], + "icon": "KDL_Logo_Only_128x128.png", + "contributes": { + "languages": [ + { + "id": "kdl", + "aliases": [ + "KDL", + "kdl" + ], + "extensions": [ + ".kdl" + ], + "configuration": "./language-configuration.json" + } + ], + "grammars": [ + { + "language": "kdl", + "scopeName": "source.kdl", + "path": "./syntaxes/kdl.tmLanguage.json" + } + ], + "configuration": { + "type": "object", + "title": "KDL", + "properties": { + "kdl.enable": { + "scope": "resource", + "type": "boolean", + "default": true, + "description": "Enable/disable the KDL language server" + }, + "kdl.command": { + "scope": "resource", + "type": "string", + "description": "LSP server command (defaults to bundled server)" + }, + "kdl.argv": { + "scope": "resource", + "type": "array", + "default": [], + "items": { + "type": "string" + }, + "description": "LSP server arguments" + }, + "kdl.loglevel": { + "scope": "resource", + "description": "Log level for the KDL LSP server", + "type": "string", + "default": "info", + "enum": [ + "off", + "error", + "warn", + "info", + "debug" + ], + "enumDescriptions": [ + "No server tracing", + "Errors only", + "Warnings and errors", + "Information, warnings, and errors", + "Full debug output" + ] + } + } + } + }, + "devDependencies": { + "@types/node": "^22.10.5", + "@types/vscode": "^1.96.0", + "axios-proxy-builder": "^0.1.2", + "esbuild": "^0.24.2", + "kdl-lsp": "^6.3.2", + "npm-run-all": "^4.1.5", + "vsce": "^1.99.0", + "vscode-languageclient": "^9.0.1" + }, + "__metadata": { + "installedTimestamp": 1783821237752, + "targetPlatform": "undefined", + "size": 822494 + } +} \ No newline at end of file diff --git a/assets/dotfiles/vscode-extensions/kdl-org.kdl-2.1.3/syntaxes/kdl.tmLanguage.json b/assets/dotfiles/vscode-extensions/kdl-org.kdl-2.1.3/syntaxes/kdl.tmLanguage.json new file mode 100644 index 0000000..0ccf591 --- /dev/null +++ b/assets/dotfiles/vscode-extensions/kdl-org.kdl-2.1.3/syntaxes/kdl.tmLanguage.json @@ -0,0 +1,227 @@ +{ + "$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json", + "comment": "Some of these patterns are taken straight from rust-analyzer: https://github.com/rust-lang/vscode-rust/blob/master/rust-analyzer/editors/code/rust.tmGrammar.json. Some was also taken from https://github.com/arm32x/vscode-sdlang/blob/master/syntaxes/sdlang.tmLanguage.json", + "name": "kdl", + "patterns": [ + { + "include": "#forbidden_ident" + }, + { + "include": "#null" + }, + { + "include": "#boolean" + }, + { + "include": "#float_keyword" + }, + { + "include": "#float_fraction" + }, + { + "include": "#float_exp" + }, + { + "include": "#decimal" + }, + { + "include": "#hexadecimal" + }, + { + "include": "#octal" + }, + { + "include": "#binary" + }, + { + "include": "#raw-string" + }, + { + "include": "#string_multi_line" + }, + { + "include": "#string_single_line" + }, + { + "include": "#block_comment" + }, + { + "include": "#block_doc_comment" + }, + { + "include": "#slashdash_block_comment" + }, + { + "include": "#slashdash_comment" + }, + { + "include": "#slashdash_node_comment" + }, + { + "include": "#slashdash_node_with_children_comment" + }, + { + "include": "#line_comment" + }, + { + "include": "#attribute" + }, + { + "include": "#node_name" + }, + { + "include": "#ident_string" + } + ], + "repository": { + "float_fraction": { + "comment": "Floating point literal (fraction)", + "name": "constant.numeric.float.rust", + "match": "\\b([0-9\\-\\+]|\\-|\\+)[0-9_]*\\.[0-9][0-9_]*([eE][+-]?[0-9_]+)?\\b" + }, + "float_exp": { + "comment": "Floating point literal (exponent)", + "name": "constant.numeric.float.rust", + "match": "\\b[0-9][0-9_]*(\\.[0-9][0-9_]*)?[eE][+-]?[0-9_]+\\b" + }, + "decimal": { + "comment": "Integer literal (decimal)", + "name": "constant.numeric.integer.decimal.rust", + "match": "\\b[0-9\\-\\+][0-9_]*\\b" + }, + "hexadecimal": { + "comment": "Integer literal (hexadecimal)", + "name": "constant.numeric.integer.hexadecimal.rust", + "match": "\\b0x[a-fA-F0-9][a-fA-F0-9_]*\\b" + }, + "octal": { + "comment": "Integer literal (octal)", + "name": "constant.numeric.integer.octal.rust", + "match": "\\b0o[0-7][0-7_]*\\b" + }, + "binary": { + "comment": "Integer literal (binary)", + "name": "constant.numeric.integer.binary.rust", + "match": "\\b0b[01][01_]*\\b" + }, + "forbidden_ident": { + "name": "invalid.illegal.kdl.bad-ident", + "match": "(?:\\w\\-_~,'`!\\?@\\$%^&*+|.\\(\\)]+\\d*[<>:\\w\\-_~,'`!\\?@\\$%^&*+|.\\(\\)]*" + }, + "attribute": { + "name": "entity.other.attribute-name.kdl", + "match": "(?![/\\\\{\\}#;\\[\\]\\=])[<>:\\w\\-_~,'`!\\?@\\$%^&*+|.\\(\\)]+\\d*[<>:\\w\\-_~,'`!\\?@\\$%^&*+|.\\(\\)]*(=)", + "captures": { + "1": { + "name": "punctuation.separator.key-value.kdl" + } + } + }, + "ident_string": { + "name": "string.unquoted", + "match": "(?![/\\\\{\\}#;\\[\\]\\=])[<>:\\w\\-_~,'`!\\?@\\$%^&*+|.\\(\\)]+\\d*[<>:\\w\\-_~,'`!\\?@\\$%^&*+|.\\(\\)]*" + }, + "float_keyword": { + "name": "constant.language.other.kdl", + "match": "#nan|#inf|#-inf" + }, + "null": { + "name": "constant.language.null.kdl", + "match": "#null" + }, + "boolean": { + "name": "constant.language.boolean.kdl", + "match": "#true|#false" + }, + "string_single_line": { + "name": "string.quoted.double.kdl", + "begin": "\"", + "end": "\"", + "patterns": [ + { + "name": "constant.character.escape.kdl", + "match": "\\\\(:?[nrtbfs\\\\\"]|u\\{[a-fA-F0-9]{1,6}\\})" + } + ] + }, + "string_multi_line": { + "name": "string.quoted.triple.kdl", + "begin": "\"\"\"", + "end": "\"\"\"", + "patterns": [ + { + "name": "constant.character.escape.kdl", + "match": "\\\\(:?[nrtbfs\\\\\"]|u\\{[a-fA-F0-9]{1,6}\\})" + } + ] + }, + "raw-string": { + "name": "string.quoted.other.raw.kdl", + "begin": "(#+)(\"\"\"|\")", + "end": "\\2\\1" + }, + "block_doc_comment": { + "comment": "Block documentation comment", + "name": "comment.block.documentation.kdl", + "begin": "/\\*[\\*!](?![\\*/])", + "end": "\\*/", + "patterns": [ + { + "include": "#block_doc_comment" + }, + { + "include": "#block_comment" + } + ] + }, + "block_comment": { + "comment": "Block comment", + "name": "comment.block.kdl", + "begin": "/\\*", + "end": "\\*/", + "patterns": [ + { + "include": "#block_doc_comment" + }, + { + "include": "#block_comment" + } + ] + }, + "line_comment": { + "comment": "Single-line comment", + "name": "comment.line.double-slash.kdl", + "begin": "//", + "end": "$" + }, + "slashdash_comment": { + "name": "comment.block.slashdash.kdl", + "comment": "Slashdash inline comment", + "begin": "(?","http://*/*","https://*/*","file://*/*","https://easylist.to/*","https://*.fanboy.co.nz/*","https://filterlists.com/*","https://forums.lanik.us/*","https://github.com/*","https://*.github.io/*","https://github.com/uBlockOrigin/*","https://ublockorigin.github.io/*","https://*.reddit.com/r/uBlockOrigin/*"],"data_collection":["none"]},"optionalPermissions":{"permissions":[],"origins":[],"data_collection":[]},"requestedPermissions":{"permissions":[],"origins":[],"data_collection":[]},"icons":{"48":"img/icon_48.png","96":"img/icon_96.png"},"iconURL":null,"blocklistAttentionDismissed":false,"blocklistState":0,"blocklistURL":null,"startupData":{"persistentListeners":{"webRequest":{"onBeforeRequest":[[{"incognito":null,"tabId":null,"types":null,"urls":["moz-extension://6546ca68-f80f-403d-ac5b-64867ab5a141/web_accessible_resources/*"],"windowId":null},["blocking"]],[{"incognito":null,"tabId":null,"types":null,"urls":["http://*/*","https://*/*","ws://*/*","wss://*/*"],"windowId":null},["blocking"]]]}}},"hidden":false,"installTelemetryInfo":{"source":"amo","sourceURL":"https://addons.mozilla.org/en-US/firefox/addon/adnauseam/?utm_source=addons.mozilla.org&utm_medium=referral&utm_content=search","method":"amWebAPI"},"recommendationState":null,"rootURI":"jar:file:///home/grey/.config/zen/8o3fztws.Default%20(release)-3/extensions/adnauseam@rednoise.org.xpi!/","location":"app-profile"},{"id":"{446900e4-71c2-419f-a6a7-df9c091e268b}","syncGUID":"{2c594013-1f49-4390-b1c4-234c33748f0c}","version":"2026.6.1","type":"extension","loader":null,"updateURL":null,"installOrigins":null,"manifestVersion":2,"optionsURL":null,"optionsType":null,"optionsBrowserStyle":true,"aboutURL":null,"defaultLocale":{"name":"Bitwarden Password Manager","description":"At home, at work, or on the go, Bitwarden easily secures all your passwords, passkeys, and sensitive information","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"embedderDisabled":false,"installDate":1766354604520,"updateDate":1783021687860,"applyBackgroundUpdates":1,"path":"/home/grey/.config/zen/8o3fztws.Default (release)-3/extensions/{446900e4-71c2-419f-a6a7-df9c091e268b}.xpi","skinnable":false,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"strictCompatibility":true,"locales":[{"name":"Bitwarden Password Manager","description":"At home, at work, or on the go, Bitwarden easily secures all your passwords, passkeys, and sensitive information","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["en"]},{"name":"Bitwarden パスワードマネージャー","description":"自宅、職場、または外出先でも、Bitwarden はすべてのパスワード、パスキー、機密情報を簡単に保護します。","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["ja"]},{"name":"Bitwardeni paroolihaldur","description":"Kodus, tööl ja teel - Bitwarden hoiustab imelihtsalt kõik su paroolid, pääsuvõtmed ja tundliku info","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["et"]},{"name":"Bitwarden - Gestor de Palavras-passe","description":"Em casa, no trabalho, em todo o lado, o Bitwarden protege todas as suas palavras-passe e informações sensíveis","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["pt-PT"]},{"name":"Rheolydd cyfrineiriau Bitwarden","description":"Gartref, yn y gweithle, neu ar fynd, mae Bitwarden yn diogelu eich holl gyfrineiriau a gwybodaeth sensitif","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["cy"]},{"name":"Bitwarden Password Manager","description":"At home, at work, or on the go, Bitwarden easily secures all your passwords, passkeys, and sensitive information","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["te"]},{"name":"Gestionnaire de mots de passe Bitwarden","description":"Où que vous soyez, Bitwarden sécurise tous vos mots de passe, clés d'accès et informations sensibles","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["fr"]},{"name":"Bitwarden — управител на пароли","description":"У дома, на работа или на път – Битуорден защитава всички Ваши пароли, секретни ключове и лична информация","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["bg"]},{"name":"Pengelola Sandi Bitwarden","description":"Bitwarden memudahkan Anda menyimpan kata sandi, kata kunci, dan informasi sensitif dimanapun Anda berada","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["id"]},{"name":"Bitwarden – менеджер паролів","description":"Вдома, на роботі чи в дорозі, Bitwarden захищає ваші паролі, ключі доступу та конфіденційну інформацію","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["uk"]},{"name":"Bitwarden Password Manager","description":"At home, at work, or on the go, Bitwarden easily secures all your passwords, passkeys, and sensitive information","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["nn"]},{"name":"Bitwarden Password Manager","description":"At home, at work, or on the go, Bitwarden easily secures all your passwords, passkeys, and sensitive information","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["si"]},{"name":"Bitwarden Password Manager","description":"At home, at work, or on the go, Bitwarden easily secures all your passwords, passkeys, and sensitive information","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["ka"]},{"name":"Bitwarden 비밀번호 관리자","description":"집에서도, 직장에서도, 이동 중에도 Bitwarden은 비밀번호, 패스키, 민감 정보를 쉽게 보호합니다.","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["ko"]},{"name":"مدير كلمات المرور Bitwarden","description":"في المنزل، في العمل، أو في أثناء التنقل، يقوم Bitwarden بتأمين جميع كلمات المرور والمعلومات الحساسة بسهولة","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["ar"]},{"name":"Bitwarden Password Manager","description":"A casa, al lavoro, o in viaggio, Bitwarden protegge tutte le tue password, passkey, e informazioni sensibili","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["it"]},{"name":"बिटवार्डन पासवर्ड मैनेजर","description":"घर पर, काम पर या चलते-फिरते, बिटवर्डन आपके सभी पासवर्ड, पासकी और संवेदनशील जानकारी को आसानी से सुरक्षित रखता है","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["hi"]},{"name":"Bitwarden கடவுச்சொல் மேலாளர்","description":"வீட்டிலோ, வேலையிலோ, பயணத்திலோ, Bitwarden உங்கள் கடவுச்சொற்கள் மற்றும் முக்கிய தகவல்களை எளிதாகப் பாதுகாக்கிறது","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["ta"]},{"name":"„Bitwarden“ slaptažodžių tvarkyklė","description":"Namuose, darbe ar kelyje, „Bitwarden“ apsaugo jūsų slaptažodžius, raktažodžius ir svarbią informaciją","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["lt"]},{"name":"Bitwarden Password Manager","description":"ไม่ว่าจะอยู่ที่ไหน Bitwarden ก็สามารถปกป้องรหัสผ่าน พาสคีย์ และข้อมูลสำคัญของคุณได้อย่างง่ายดาย","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["th"]},{"name":"Bitwarden Passwortmanager","description":"Bitwarden schützt alle deine Passwörter, Passkeys und vertrauliche Informationen - egal, wo du bist.","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["de"]},{"name":"Bitwarden Password Manager","description":"At home, at work, or on the go, Bitwarden easily secures all your passwords, passkeys, and sensitive information","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["mr"]},{"name":"Bitwarden Password Manager","description":"At home, at work, or on the go, Bitwarden easily secures all your passwords, passkeys, and sensitive information","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["en-GB"]},{"name":"Bitwarden Password Manager","description":"At home, at work, or on the go, Bitwarden easily secures all your passwords, passkeys, and sensitive information","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["my"]},{"name":"Bitwarden Password Manager","description":"At home, at work, or on the go, Bitwarden easily secures all your passwords, passkeys, and sensitive information","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["bn"]},{"name":"Bitwarden passordbehandler","description":"Hjemme, på jobben eller på farten sikrer Bitwarden enkelt alle dine passord, passnøkler og sensitiv informasjon","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["nb"]},{"name":"Xestor de Contrasinais Bitwarden","description":"Na casa, no traballo ou en movemento, Bitwarden protexe os teus contrasinais, Claves de acceso e datos sensíbeis","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["gl"]},{"name":"Bitwarden - Gestor de contrasenyes","description":"A casa, a la feina o en moviment, Bitwarden protegeix totes les contrasenyes, claus de pas i informació sensible","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["ca"]},{"name":"Bitwarden pasahitz kudeatzailea","description":"Etxean, lanean edo bidean, Bitwardenek zure pasahitz, giltz orokor edo informazio delikatua erraz gordetzen du","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["eu"]},{"name":"مدیریت کلمه عبور Bitwarden","description":"در خانه، محل کار و هر کجای دیگر، Bitwarden به راحتی همه‌ رمزها و کلیدهای عبور، و اطلاعات حساس شما را ایمن می‌کند","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["fa"]},{"name":"Bitwarden Password Manager","description":"At home, at work, or on the go, Bitwarden easily secures all your passwords, passkeys, and sensitive information","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["ml"]},{"name":"Bitwarden Password Manager","description":"无论是在家中、工作中还是在旅途中,Bitwarden 都可以轻松地保护您的所有密码、通行密钥和敏感信息。","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["zh-CN"]},{"name":"Bitwarden Lösenordshanterare","description":"Hemma, på jobbet eller på språng säkrar Bitwarden enkelt alla dina lösenord, lösenord och känslig information","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["sv"]},{"name":"Trình quản lý mật khẩu Bitwarden","description":"Ở nhà, ở cơ quan hay khi di chuyển, Bitwarden sẽ bảo vệ tất cả mật khẩu, mã khóa và thông tin cá nhân của bạn","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["vi"]},{"name":"Bitwarden - Správce hesel","description":"Bitwarden zabezpečí všechna Vaše hesla, přístupové klíče a citlivé informace doma, v práci nebo na cestách","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["cs"]},{"name":"Bitwarden Password Manager","description":"At home, at work, or on the go, Bitwarden easily secures all your passwords, passkeys, and sensitive information","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["km"]},{"name":"Bitwarden Password Manager","description":"At home, at work, or on the go, Bitwarden easily secures all your passwords, passkeys, and sensitive information","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["or"]},{"name":"Bitwarden Jelszókezelő","description":"Legyen otthon, munkában, vagy úton, a Bitwarden könnyen biztosítja jelszavát, kulcsait, és kényes információit","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["hu"]},{"name":"Bitwarden – správca hesiel","description":"Bitwarden zabezpečí všetky vaše heslá, prístupové kľúče a citlivé informácie doma, v práci alebo na cestách","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["sk"]},{"name":"Menedżer haseł Bitwarden","description":"W domu, w pracy lub w podróży Bitwarden zabezpiecza wszystkie hasła, klucze dostępu i poufne informacje.","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["pl"]},{"name":"Bitwarden – Upravitelj gesel","description":"Doma, na delu ali na poti – Bitwarden enostavno zaščiti vsa vaša gesla, ključe za dostop in občutljive podatke","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["sl"]},{"name":"Менеджар пароляў Bitwarden","description":"Дома, на працы ці ў дарозе Bitwarden лёгка абараняе ўсе вашы паролі, ключы доступу і канфідэнцыяльную інфармацыю","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["be"]},{"name":"Bitwarden Password Manager","description":"At home, at work, or on the go, Bitwarden easily secures all your passwords, passkeys, and sensitive information","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["bs"]},{"name":"Bitwarden - Manager Gratuit de Parole","description":"Acasă, la serviciu sau în deplasare, Bitwarden vă protejează toate parolele și informațiile sensibile","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["ro"]},{"name":"Bitwarden paroļu pārvaldnieks","description":"Bitwarden viegli aizsargā visas paroles, paroļu atslēgas un jutīgu informāciju mājās, darbā vai ceļā","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["lv"]},{"name":"Bitwarden Менаџер Лозинке","description":"Било где, Bitwarden лако обезбеђује све ваше лозинке, приступне кључеве и осетљиве информације","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["sr"]},{"name":"Bitwarden Password Manager","description":"At home, at work, or on the go, Bitwarden easily secures all your passwords, passkeys, and sensitive information","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["fil"]},{"name":"Bitwarden Salasanahallinta","description":"Kotona, töissä tai reissussa, Bitwarden suojaa salasanasi, pääsyavaimesi ja arkaluonteiset tietosi helposti.","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["fi"]},{"name":"Διαχειριστής Κωδικών Πρόσβασης Bitwarden","description":"Το Bitwarden ασφαλίζει παντού και εύκολα τους κωδικούς, τα κλειδιά πρόσβασης και τις ευαίσθητες πληροφορίες σας","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["el"]},{"name":"Bitwarden upravitelj lozinki","description":"Kod kuće, na poslu ili u pokretu, Bitwarden štiti sve tvoje lozinke, pristupne ključeve i osjetljive informacije","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["hr"]},{"name":"Bitwarden Parol Meneceri","description":"Bitwarden evdə və ya işdə olarkən bütün parol, keçid açarı və həssas məlumatlarınızı asanlıqla qoruyur","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["az"]},{"name":"Bitwarden - Менеджер паролей","description":"Дома, на работе или в пути - Bitwarden всегда защитит ваши пароли, passkeys и конфиденциальную информацию","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["ru"]},{"name":"Bitwarden Password Manager","description":"At home, at work, or on the go, Bitwarden easily secures all your passwords, passkeys, and sensitive information","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["kn"]},{"name":"Bitwarden Adgangskodehåndtering","description":"Hjemme, på arbejde eller på farten sikrer Bitwarden nemt alle adgangskoder, adgangskort og sensitive oplysninger","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["da"]},{"name":"מנהל הסיסמאות Bitwarden","description":"בבית, בעבודה, או בדרך, Bitwarden מאבטח בקלות את כל הסיסמאות, מפתחות הגישה, והמידע הרגיש שלך","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["he"]},{"name":"Bitwarden Купуясөз башкаруучусу","description":"Үйдө, жумушта, жолдо - Bitwarden дайыма купуясөздөрүңүздү, passkey'лериңизди, жашыруун маалыматыңызды коргойт","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["ky"]},{"name":"Bitwarden Password Manager","description":"At home, at work, or on the go, Bitwarden easily secures all your passwords, passkeys, and sensitive information","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["en-IN"]},{"name":"Bitwarden - wachtwoordbeheerder","description":"Thuis, op werk of onderweg. Bitwarden beveiligt makkelijk al je wachtwoorden, passkeys en gevoelige informatie","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["nl"]},{"name":"Bitwarden - Administrador de contraseñas","description":"En casa, el trabajo o el viaje, Bitwarden asegura todas sus contraseñas, claves e información confidencial","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["es"]},{"name":"Bitwarden Password Manager","description":"At home, at work, or on the go, Bitwarden easily secures all your passwords, passkeys, and sensitive information","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["ne"]},{"name":"Bitwarden Parola Yöneticisi","description":"Bitwarden tüm parolalarınızı, geçiş anahtarlarınızı ve hassas bilgilerinizi güvenle saklar","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["tr"]},{"name":"Bitwarden 密碼管理工具","description":"無論在家、在工作場所或外出時,Bitwarden 都能輕鬆保護您的所有密碼、密碼金鑰及敏感資訊。","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["zh-TW"]},{"name":"Bitwarden Gerenciador de Senhas","description":"Onde quer que você esteja, o Bitwarden protege suas senhas, chaves de acesso e informações sensíveis","creator":"Bitwarden Inc.","homepageURL":"https://bitwarden.com","developers":null,"translators":null,"contributors":null,"locales":["pt-BR"]}],"targetApplications":[{"id":"toolkit@mozilla.org","minVersion":"91.0","maxVersion":null}],"targetPlatforms":[],"signedState":2,"signedTypes":[2,1],"signedDate":1782987678000,"seen":true,"dependencies":[],"incognito":"spanning","userPermissions":{"permissions":["alarms","clipboardRead","clipboardWrite","contextMenus","idle","storage","tabs","unlimitedStorage","webNavigation","webRequest","webRequestBlocking","notifications"],"origins":["","*://*/*","file:///*"],"data_collection":[]},"optionalPermissions":{"permissions":["nativeMessaging"],"origins":[],"data_collection":[]},"requestedPermissions":{"permissions":[],"origins":[],"data_collection":[]},"icons":{"16":"images/icon16.png","32":"images/icon32.png","48":"images/icon48.png","96":"images/icon96.png","128":"images/icon128.png"},"iconURL":null,"blocklistAttentionDismissed":false,"blocklistState":0,"blocklistURL":null,"startupData":{},"hidden":false,"installTelemetryInfo":{"source":"amo","sourceURL":"https://addons.mozilla.org/en-US/firefox/addon/bitwarden-password-manager/","method":"amWebAPI"},"recommendationState":{"validNotAfter":1940775674000,"validNotBefore":1782987674000,"states":["recommended","recommended-android"]},"rootURI":"jar:file:///home/grey/.config/zen/8o3fztws.Default%20(release)-3/extensions/%7B446900e4-71c2-419f-a6a7-df9c091e268b%7D.xpi!/","location":"app-profile"},{"id":"firefoxpwa@filips.si","syncGUID":"{5d9351d7-dfae-48b8-9ddd-c49d1d747148}","version":"2.18.4","type":"extension","loader":null,"updateURL":null,"installOrigins":null,"manifestVersion":2,"optionsURL":null,"optionsType":null,"optionsBrowserStyle":true,"aboutURL":null,"defaultLocale":{"name":"Progressive Web Apps for Firefox","description":"A tool to install, manage and use Progressive Web Apps (PWAs) in Mozilla Firefox","creator":null,"homepageURL":"https://pwasforfirefox.filips.si/","developers":null,"translators":null,"contributors":null},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"embedderDisabled":false,"installDate":1776723875212,"updateDate":1783448759070,"applyBackgroundUpdates":1,"path":"/home/grey/.config/zen/8o3fztws.Default (release)-3/extensions/firefoxpwa@filips.si.xpi","skinnable":false,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"strictCompatibility":true,"locales":[{"name":"Progressive Web Apps for Firefox","description":"A tool to install, manage and use Progressive Web Apps (PWAs) in Mozilla Firefox","creator":null,"homepageURL":"https://pwasforfirefox.filips.si/","developers":null,"translators":null,"contributors":null,"locales":["en"]},{"name":"Progressive Web Apps for Firefox","description":"Mozilla Firefox に Progressive Web Apps(PWA)をインストール、管理、利用するためのツールです。","creator":null,"homepageURL":"https://pwasforfirefox.filips.si/","developers":null,"translators":null,"contributors":null,"locales":["ja"]},{"name":"Progressive Web Apps for Firefox","description":"Un outil pour installer, gérer et utiliser des Progressive Web Apps (PWAs) dans Mozilla Firefox","creator":null,"homepageURL":"https://pwasforfirefox.filips.si/","developers":null,"translators":null,"contributors":null,"locales":["fr"]},{"name":"Progressive Web Apps for Firefox","description":"Sebuah alat untuk menginstal, mengelola dan menggunakan Aplikasi Web Progresif (PWAs) di Mozilla Firefox","creator":null,"homepageURL":"https://pwasforfirefox.filips.si/","developers":null,"translators":null,"contributors":null,"locales":["id"]},{"name":"Progressive Web Apps for Firefox","description":"Інструмент для встановлення, керування та використання прогресивних вебзастосунків (Progressive Web Apps) у Mozilla Firefox","creator":null,"homepageURL":"https://pwasforfirefox.filips.si/","developers":null,"translators":null,"contributors":null,"locales":["uk"]},{"name":"Progressive Web Apps for Firefox","description":"Инструмент для установки, управления и использования прогрессивных веб-приложений (PWAs) в Mozilla Firefox","creator":null,"homepageURL":"https://pwasforfirefox.filips.si/","developers":null,"translators":null,"contributors":null,"locales":["ru"]},{"name":"Progressive Web Apps for Firefox","description":"一个用于在Mozilla Firefox上安装、管理、使用渐进式网页应用程序(PWA)的工具","creator":null,"homepageURL":"https://pwasforfirefox.filips.si/","developers":null,"translators":null,"contributors":null,"locales":["zh-CN"]},{"name":"Progressive Web Apps for Firefox","description":"Uma ferramenta para instalar, gerenciar e usar aplicativos da Web progressivos (PWAs) no Mozilla Firefox.","creator":null,"homepageURL":"https://pwasforfirefox.filips.si/","developers":null,"translators":null,"contributors":null,"locales":["pt-BR"]},{"name":"Progressive Web Apps for Firefox","description":"一個用於在Mozilla Firefox上下載、管理、使用漸進式網頁應用程式(PWA)的工具","creator":null,"homepageURL":"https://pwasforfirefox.filips.si/","developers":null,"translators":null,"contributors":null,"locales":["zh-TW"]},{"name":"Progressive Web Apps for Firefox","description":"Orodje za namestitev, upravljanje in uporabo progresivnih spletnih aplikacij (PWA) v Mozilla Firefox","creator":null,"homepageURL":"https://pwasforfirefox.filips.si/","developers":null,"translators":null,"contributors":null,"locales":["sl"]}],"targetApplications":[{"id":"toolkit@mozilla.org","minVersion":null,"maxVersion":null}],"targetPlatforms":[],"signedState":2,"signedTypes":[2,1],"signedDate":1783334927000,"seen":true,"dependencies":[],"incognito":"spanning","userPermissions":{"permissions":["nativeMessaging","notifications","storage"],"origins":["http://*/*","https://*/*"],"data_collection":["browsingActivity"]},"optionalPermissions":{"permissions":["webNavigation","webRequest","webRequestBlocking"],"origins":[],"data_collection":[]},"requestedPermissions":{"permissions":[],"origins":[],"data_collection":[]},"icons":{"48":"images/addon-logo.svg","96":"images/addon-logo.svg","192":"images/addon-logo.svg"},"iconURL":null,"blocklistAttentionDismissed":false,"blocklistState":0,"blocklistURL":null,"startupData":{},"hidden":false,"installTelemetryInfo":{"source":"amo","sourceURL":"https://addons.mozilla.org/en-US/firefox/addon/pwas-for-firefox/","method":"amWebAPI"},"recommendationState":null,"rootURI":"jar:file:///home/grey/.config/zen/8o3fztws.Default%20(release)-3/extensions/firefoxpwa@filips.si.xpi!/","location":"app-profile"},{"id":"uBlock0@raymondhill.net","syncGUID":"{e4442dcc-29b5-4ddb-8860-9fd0228dc57d}","version":"1.72.2","type":"extension","loader":null,"updateURL":null,"installOrigins":null,"manifestVersion":2,"optionsURL":"dashboard.html","optionsType":3,"optionsBrowserStyle":false,"aboutURL":null,"defaultLocale":{"name":"uBlock Origin","description":"Finally, an efficient blocker. Easy on CPU and memory.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null},"visible":true,"active":false,"userDisabled":true,"appDisabled":false,"embedderDisabled":false,"installDate":1766358141826,"updateDate":1783765798590,"applyBackgroundUpdates":1,"path":"/home/grey/.config/zen/8o3fztws.Default (release)-3/extensions/uBlock0@raymondhill.net.xpi","skinnable":false,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"strictCompatibility":true,"locales":[{"name":"uBlock Origin","description":"Finally, an efficient blocker. Easy on CPU and memory.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["en"]},{"name":"uBlock Origin","description":"高効率ブロッカーついに登場。CPU とメモリーに負担をかけません。","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["ja"]},{"name":"uBlock Origin","description":"Lõpuks on valminud tõhus blokeerija. Protsessori- ja mälusõbralik.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["et"]},{"name":"uBlock Origin","description":"Enfin un blocador eficaç. Sollicita pauc lo CPU e la memòria","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["oc"]},{"name":"uBlock Origin","description":"Finalmente, um bloqueador eficiente. Leve para a CPU e a memória.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["pt-PT"]},{"name":"uBlock Origin","description":"O'r diwedd, rhwystrydd effeithlon sy'n well ar y CPU a'r cof.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["cy"]},{"name":"uBlock Origin","description":"మొత్తానికి RAM ఇంకా CPU పై తేలికయిన, ఒక సమర్థవంతమైన నిరోధిని.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["te"]},{"name":"uBlock Origin","description":"Un bloqueur de nuisances efficace, qui ménagera votre processeur et votre mémoire vive.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["fr"]},{"name":"uBlock Origin","description":"Einlik, in effisjinte adblocker. Brûkt hast gjin prosessorkrêft of ûnthâld.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["fy"]},{"name":"uBlock Origin","description":"Най-накрая, ефективен блокер. Щадящ процесора и паметта.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["bg"]},{"name":"uBlock Origin","description":"ਆਖਰਕਾਰ ਪ੍ਰਭਾਵੀ ਬਲੌਕਰ ਹੈ। CPU ਅਤੇ ਮੈਮੋਰੀ ਲਈ ਸੌਖਾ।","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["pa"]},{"name":"uBlock Origin","description":"Akhirnya, pemblokir iklan yang efisien. Ringan penggunaan CPU dan memori.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["id"]},{"name":"uBlock Origin","description":"Ugu dambeyntii, xannibaado hufan. Ku fudud oo ku saabsan CPU iyo xusuusta.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["so"]},{"name":"uBlock Origin","description":"Äntligen en effektiv blockerare. Lätt för både processor och minne.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["sv"]},{"name":"uBlock Origin","description":"Behingoz, blokeatzaile eraginkor bat. PUZ eta memorian arina.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["eu"]},{"name":"uBlock Origin","description":"Konečně efektivní blokovač. Nezatěžuje CPU a paměť.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["cs"]},{"name":"uBlock Origin","description":"Végre egy hatékony blokkoló, amely kíméletes a processzorral és a memóriával.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["hu"]},{"name":"uBlock Origin","description":"একটি শক্তিশালী বিজ্ঞাপন প্রতিরোধক, অবশেষে তৈরী হল। যা সিপিইউ এবং মেমরির জন্য সহনীয়।","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["bn"]},{"name":"uBlock Origin","description":"ಕೊನೆಗೆ, ಒಂದು ದಕ್ಷ ನಿರ್ಬಂಧಕ. ಮಿತವಾದ ಸಿಪಿಯೂ ಹಾಗು ಮೆಮೊರಿ ಬಳಿಕೇಒಂದಿಗೆ .","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["kn"]},{"name":"uBlock Origin","description":"Finalmente, un blocker efficiente. Leggero sulla CPU e sulla memoria.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["it"]},{"name":"uBlock Origin","description":"Endelig en effektiv blokkeringsutvidelse. Lavt CPU- og minnebruk.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["no"]},{"name":"uBlock Origin","description":"Më në fund, një bllokues efikas që nuk e rëndon procesorin dhe memorien.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["sq"]},{"name":"uBlock Origin","description":"आख़िरकार, क्रोमियम-बेस्ड ब्राउज़रों के लिए एक कुशल अवरोधक। सीपीयू और मेमोरी पर कम भार के साथ।\n","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["hi"]},{"name":"uBlock Origin","description":"Pagaliau, efektyvus blokatorius, neapkraunantis nei procesoriaus, nei darbinės atminties.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["lt"]},{"name":"uBlock Origin","description":"අවසානයේදී, මධ්‍ය සැකසුම් ඒකකය සහ මතකය අඩුවෙන් භාවිතා කරන කාර්යක්‍ෂම අවහිරකයක් ඇත.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["si"]},{"name":"uBlock Origin","description":"Ефективний блокувальник реклами таки з’явився. Не навантажує процесор та пам'ять.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["uk"]},{"name":"uBlock Origin","description":"آخر کار، ایک مؤثر اشتہار کو روکنے والا، یہ کم cpu اور میموری لیتا ہے.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["ur"]},{"name":"uBlock Origin","description":"Finfine rendimenta reklamoblokilo. Afabla por ĉefprocesoro kaj memoro.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["eo"]},{"name":"uBlock Origin","description":"Konečne efektívny blokovač. Nezaťažuje CPU ani pamäť.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["sk"]},{"name":"uBlock Origin","description":"Коначно, ефикасан блокатор. Ниски процесорски и меморијски захтеви.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["sr"]},{"name":"uBlock Origin","description":"Тинех Интернет тишкерӳҫӗ валли хӑвӑрт та витӗмлӗ чаркӑч пур.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["cv"]},{"name":"uBlock Origin","description":"Cuối cùng, đã có một công cụ chặn quảng cáo hiệu quả, tiêu tốn ít CPU và bộ nhớ.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["vi"]},{"name":"uBlock Origin","description":"وأخيراً, مانع اعلانات كفوء. خفيف على المعالج و الذاكرة.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["ar"]},{"name":"uBlock Origin","description":"Beidzot, efektīvs bloķētājs. Nepārslogo procesoru un atmiņu.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["lv"]},{"name":"uBlock Origin","description":"이 부가 기능은 효율적인 차단기입니다. CPU와 메모리에 주는 부담이 적습니다.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["ko"]},{"name":"uBlock Origin","description":"Erfin, ur stanker saotradurioù efedus hag a zouj d'ho reizhiad korvoiñ ha d'ho memor.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["br-FR"]},{"name":"uBlock Origin","description":"Mainam na pangharang sa content. Magaan sa CPU at memorya.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["fil"]},{"name":"uBlock Origin","description":"Konačno, efikasan blokator. Lak na CPU i memoriji.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["hr"]},{"name":"uBlock Origin","description":"Viimeinkin tehokas estotyökalu, joka ei kuormita prosessoria ja muistia.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["fi"]},{"name":"uBlock Origin","description":"Վերջապե՛ս, արդյունավետ արգելափակիչ։ Խնայում է մշակիչը և հիշողությունը։","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["hy"]},{"name":"uBlock Origin","description":"Ақыры, тиімді блоктаушы. Процессор мен жадыға жеңіл.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["kk"]},{"name":"uBlock Origin","description":"Нарэшце, эфектыўны блакавальнік. Не нагружае працэсар і памяць.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["be"]},{"name":"uBlock Origin","description":"În sfârșit, un blocant eficient. Are un impact mic asupra procesorului și memoriei.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["ro"]},{"name":"uBlock Origin","description":"અંતે, એક કાર્યક્ષમ અવરોધક. સીપીયુ અને મેમરી પર સરળ.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["gu"]},{"name":"uBlock Origin","description":"Konačno, efikasan bloker. Štedljiv na procesoru i memoriji.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["bs"]},{"name":"uBlock Origin","description":"Επιτέλους, ένας αποτελεσματικός blocker. Ελαφρύς για τον επεξεργαστή και τη μνήμη.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["el"]},{"name":"uBlock Origin","description":"Por fin, un bloqueador eficiente con uso mínimo de procesador y memoria.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["es"]},{"name":"uBlock Origin","description":"Finalmente, um bloqueador eficiente. Com baixo uso de CPU e memória.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["pt-BR"]},{"name":"uBlock Origin","description":"終於有一款高效能的封鎖工具。對 CPU 和記憶體的占用極低。","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["zh-TW"]},{"name":"uBlock Origin","description":"סוף סוף, חוסם יעיל. קל על המעבד והזיכרון.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["he"]},{"name":"uBlock Origin","description":"Endelig en effektiv blocker. Lavt CPU- og hukommelsesforbrug.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["da"]},{"name":"uBlock Origin","description":"இறுதியாக, ஒரு திறமையான விளம்பரத் தடுப்பான். கணினியின் மையச் செயற்பகுதியின் மேலும் நினைவகத்தின் மேலும் இலகுவானது.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["ta"]},{"name":"uBlock Origin","description":"Sonunda, etkili bir engelleyici. İşlemciyi ve belleği yormaz.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["tr"]},{"name":"uBlock Origin","description":"Eindelijk, een efficiënte blokker. Gebruikt weinig processorkracht en geheugen.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["nl"]},{"name":"uBlock Origin","description":"มาแล้ว! โปรแกรมบล็อกโฆษณาได้อย่างมีประสิทธิภาพ โดยที่ไม่กินซีพียูหรือแรม","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["th"]},{"name":"uBlock Origin","description":"Axır ki, prosessor və yaddaş yükünü azaldan səmərəli bir əngəlləyici var.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["az"]},{"name":"uBlock Origin","description":"Конечно, ефикасен блокер. Лесен на CPU и меморија.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["mk"]},{"name":"uBlock Origin","description":"Ein effizienter Blocker mit geringer CPU- und Speicherauslastung.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["de"]},{"name":"uBlock Origin","description":"शेवटी, एक कार्यक्षम ब्लॉकर क्रोमियम आधारित ब्राउझरांसाठी. सीपीयू आणि मेमरी वर सोपे जातो.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["mr"]},{"name":"uBlock Origin","description":"Finally, an efficient blocker. Easy on CPU and memory.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["en-GB"]},{"name":"uBlock Origin","description":"Endelig en effektiv blokkeringsutvidelse. Lavt CPU- og minnebruk.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["nb"]},{"name":"uBlock Origin","description":"Finalment, un blocador eficient que utilitza pocs recursos de memòria i processador.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["ca"]},{"name":"uBlock Origin","description":"Hatimaye, kizuizi kinachofaa. Nyepesi kwenye CPU na kumbukumbu.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["sw"]},{"name":"uBlock Origin","description":"بالاخره، یک بلاکر کارآمد. کم حجم بر روی پردازنده و حافظه.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["fa"]},{"name":"uBlock Origin","description":"അവസാനം, ഒരു കാര്യക്ഷമമായ ബ്ലോക്കര്‍. ലഘുവായ CPU, memory ഉപയോഗം.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["ml"]},{"name":"uBlock Origin","description":"Akhirnya, penyekat yang cekap. Tidak membebankan CPU dan memori.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["ms"]},{"name":"uBlock Origin","description":"一款高效的网络请求过滤工具,占用极低的内存和 CPU。","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["zh-CN"]},{"name":"uBlock Origin","description":"Наконец-то, быстрый и эффективный блокировщик для браузеров.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["ru"]},{"name":"uBlock Origin","description":"როგორც იქნა, მძლავრი და შედეგიანი რეკლამების შემზღუდავი. ზოგავს CPU-ს და მეხსიერებას.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["ka"]},{"name":"uBlock Origin","description":"Ó fin, un bloqueador eficiente que non chupa toda a memoria e o procesador.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["gl"]},{"name":"uBlock Origin","description":"Nareszcie skuteczny bloker charakteryzujący się niskim użyciem procesora i pamięci.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["pl"]},{"name":"uBlock Origin","description":"Končno, učinkovita, procesorju in pomnilniku prijazna razširitev za blokiranje oglasov.","creator":"Raymond Hill & contributors","developers":null,"translators":null,"contributors":null,"locales":["sl"]}],"targetApplications":[{"id":"toolkit@mozilla.org","minVersion":"115.0","maxVersion":null}],"targetPlatforms":[],"signedState":2,"signedTypes":[2,1],"signedDate":1783514775000,"seen":true,"dependencies":[],"incognito":"spanning","userPermissions":{"permissions":["alarms","dns","menus","privacy","storage","tabs","unlimitedStorage","webNavigation","webRequest","webRequestBlocking"],"origins":["","http://*/*","https://*/*","file://*/*","https://easylist.to/*","https://*.fanboy.co.nz/*","https://filterlists.com/*","https://forums.lanik.us/*","https://github.com/*","https://*.github.io/*","https://github.com/uBlockOrigin/*","https://ublockorigin.github.io/*","https://*.reddit.com/r/uBlockOrigin/*"],"data_collection":["none"]},"optionalPermissions":{"permissions":[],"origins":[],"data_collection":[]},"requestedPermissions":{"permissions":[],"origins":[],"data_collection":[]},"icons":{"16":"img/ublock.svg","32":"img/ublock.svg","48":"img/ublock.svg","64":"img/ublock.svg","96":"img/ublock.svg","128":"img/ublock.svg"},"iconURL":null,"blocklistAttentionDismissed":false,"blocklistState":0,"blocklistURL":null,"startupData":null,"hidden":false,"installTelemetryInfo":{"source":"amo","sourceURL":"https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/","method":"amWebAPI"},"recommendationState":{"validNotAfter":1941302774000,"validNotBefore":1783514774000,"states":["recommended","recommended-android"]},"rootURI":"jar:file:///home/grey/.config/zen/8o3fztws.Default%20(release)-3/extensions/uBlock0@raymondhill.net.xpi!/","location":"app-profile"},{"id":"ipp-activator@mozilla.com","syncGUID":"{13292f55-2463-4fe6-9119-2f88fe8d668b}","version":"0.2.20260622.182020","type":"extension","loader":null,"updateURL":null,"installOrigins":null,"manifestVersion":2,"optionsURL":null,"optionsType":null,"optionsBrowserStyle":true,"aboutURL":null,"defaultLocale":{"name":"IPP Activator","description":"A system add-on to activate IPP in 143","creator":null,"developers":null,"translators":null,"contributors":null},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"embedderDisabled":false,"installDate":1782416331838,"updateDate":1782416331830,"applyBackgroundUpdates":1,"path":"/home/grey/.config/zen/8o3fztws.Default (release)-3/features/{ec6ee789-5dad-4eed-9c6b-a23b9e709818}/ipp-activator@mozilla.com.xpi","skinnable":false,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"strictCompatibility":true,"locales":[],"targetApplications":[{"id":"toolkit@mozilla.org","minVersion":"143.0","maxVersion":null}],"targetPlatforms":[],"signedState":3,"signedTypes":[2,1],"signedDate":1782244793000,"seen":true,"dependencies":[],"incognito":"spanning","userPermissions":{"permissions":["tabs","cookies","webRequest"],"origins":[""],"data_collection":[]},"optionalPermissions":{"permissions":[],"origins":[],"data_collection":[]},"requestedPermissions":{"permissions":[],"origins":[],"data_collection":[]},"icons":{},"iconURL":null,"blocklistAttentionDismissed":false,"blocklistState":0,"blocklistURL":null,"startupData":{},"hidden":true,"installTelemetryInfo":{"source":"system-addon","method":"product-updates"},"recommendationState":null,"rootURI":"jar:file:///home/grey/.config/zen/8o3fztws.Default%20(release)-3/features/%7Bec6ee789-5dad-4eed-9c6b-a23b9e709818%7D/ipp-activator@mozilla.com.xpi!/","location":"app-system-addons"},{"id":"data-leak-blocker@mozilla.com","syncGUID":"{0458488a-c59c-4f28-954e-94e45a1cbe3d}","version":"144.0.0","type":"extension","loader":null,"updateURL":null,"installOrigins":null,"manifestVersion":2,"optionsURL":null,"optionsType":null,"optionsBrowserStyle":true,"aboutURL":null,"defaultLocale":{"name":"Data Leak Blocker","description":"","creator":null,"developers":null,"translators":null,"contributors":null},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"embedderDisabled":false,"applyBackgroundUpdates":1,"path":null,"skinnable":false,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"strictCompatibility":true,"locales":[],"targetApplications":[{"id":"toolkit@mozilla.org","minVersion":"139.0","maxVersion":null}],"targetPlatforms":[],"signedDate":null,"seen":true,"dependencies":[],"incognito":"spanning","userPermissions":{"permissions":["mozillaAddons"],"origins":[],"data_collection":[]},"optionalPermissions":{"permissions":[],"origins":[],"data_collection":[]},"requestedPermissions":{"permissions":[],"origins":[],"data_collection":[]},"icons":{},"iconURL":null,"blocklistAttentionDismissed":false,"blocklistState":0,"blocklistURL":null,"startupData":{},"hidden":true,"installTelemetryInfo":null,"recommendationState":null,"rootURI":"resource://builtin-addons/data-leak-blocker/","location":"app-builtin-addons"},{"id":"formautofill@mozilla.org","syncGUID":"{fed2891b-9578-4b11-bbef-f0fc0d417e00}","version":"1.0.1","type":"extension","loader":null,"updateURL":null,"installOrigins":null,"manifestVersion":2,"optionsURL":null,"optionsType":null,"optionsBrowserStyle":true,"aboutURL":null,"defaultLocale":{"name":"Form Autofill","creator":null,"developers":null,"translators":null,"contributors":null},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"embedderDisabled":false,"applyBackgroundUpdates":1,"path":null,"skinnable":false,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"strictCompatibility":true,"locales":[],"targetApplications":[{"id":"toolkit@mozilla.org","minVersion":null,"maxVersion":null}],"targetPlatforms":[],"signedDate":null,"seen":true,"dependencies":[],"incognito":"spanning","userPermissions":{"permissions":[],"origins":[],"data_collection":[]},"optionalPermissions":{"permissions":[],"origins":[],"data_collection":[]},"requestedPermissions":{"permissions":[],"origins":[],"data_collection":[]},"icons":{},"iconURL":null,"blocklistAttentionDismissed":false,"blocklistState":0,"blocklistURL":null,"startupData":{},"hidden":true,"installTelemetryInfo":null,"recommendationState":null,"rootURI":"resource://builtin-addons/formautofill/","location":"app-builtin-addons"},{"id":"ipp-activator@mozilla.com","syncGUID":"{0be9dae6-52f4-414d-ab09-6f706c8fc072}","version":"0.1","type":"extension","loader":null,"updateURL":null,"installOrigins":null,"manifestVersion":2,"optionsURL":null,"optionsType":null,"optionsBrowserStyle":true,"aboutURL":null,"defaultLocale":{"name":"IPP Activator","description":"A system add-on to activate IPP in 143","creator":null,"developers":null,"translators":null,"contributors":null},"visible":false,"active":false,"userDisabled":false,"appDisabled":false,"embedderDisabled":false,"applyBackgroundUpdates":1,"path":null,"skinnable":false,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"strictCompatibility":true,"locales":[],"targetApplications":[{"id":"toolkit@mozilla.org","minVersion":"143.0","maxVersion":null}],"targetPlatforms":[],"signedDate":null,"seen":true,"dependencies":[],"incognito":"spanning","userPermissions":{"permissions":["tabs","cookies","webRequest"],"origins":[""],"data_collection":[]},"optionalPermissions":{"permissions":[],"origins":[],"data_collection":[]},"requestedPermissions":{"permissions":[],"origins":[],"data_collection":[]},"icons":{},"iconURL":null,"blocklistAttentionDismissed":false,"blocklistState":0,"blocklistURL":null,"startupData":null,"hidden":true,"installTelemetryInfo":null,"recommendationState":null,"rootURI":"resource://builtin-addons/ipp-activator/","location":"app-builtin-addons"},{"id":"newtab@mozilla.org","syncGUID":"{04ec77c0-a6ac-4e0d-aa3b-cfd36f66e6b3}","version":"152.3.0","type":"extension","loader":null,"updateURL":null,"installOrigins":null,"manifestVersion":2,"optionsURL":null,"optionsType":null,"optionsBrowserStyle":true,"aboutURL":null,"defaultLocale":{"name":"New Tab","description":"","creator":null,"developers":null,"translators":null,"contributors":null},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"embedderDisabled":false,"applyBackgroundUpdates":1,"path":null,"skinnable":false,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"strictCompatibility":true,"locales":[],"targetApplications":[{"id":"toolkit@mozilla.org","minVersion":"142.0a1","maxVersion":null}],"targetPlatforms":[],"signedDate":null,"seen":true,"dependencies":[],"incognito":"spanning","userPermissions":{"permissions":[],"origins":[],"data_collection":[]},"optionalPermissions":{"permissions":[],"origins":[],"data_collection":[]},"requestedPermissions":{"permissions":[],"origins":[],"data_collection":[]},"icons":{},"iconURL":null,"blocklistAttentionDismissed":false,"blocklistState":0,"blocklistURL":null,"startupData":{},"hidden":true,"installTelemetryInfo":null,"recommendationState":null,"rootURI":"resource://builtin-addons/newtab/","location":"app-builtin-addons"},{"id":"pictureinpicture@mozilla.org","syncGUID":"{0f37d663-124f-4d2c-98f8-756d8382b6a8}","version":"1.0.0","type":"extension","loader":null,"updateURL":null,"installOrigins":null,"manifestVersion":2,"optionsURL":null,"optionsType":null,"optionsBrowserStyle":true,"aboutURL":null,"defaultLocale":{"name":"Picture-In-Picture","description":"Fixes for web compatibility with Picture-in-Picture","creator":null,"developers":null,"translators":null,"contributors":null},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"embedderDisabled":false,"applyBackgroundUpdates":1,"path":null,"skinnable":false,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"strictCompatibility":true,"locales":[],"targetApplications":[{"id":"toolkit@mozilla.org","minVersion":"88.0a1","maxVersion":null}],"targetPlatforms":[],"signedDate":null,"seen":true,"dependencies":[],"incognito":"spanning","userPermissions":{"permissions":[],"origins":[],"data_collection":[]},"optionalPermissions":{"permissions":[],"origins":[],"data_collection":[]},"requestedPermissions":{"permissions":[],"origins":[],"data_collection":[]},"icons":{},"iconURL":null,"blocklistAttentionDismissed":false,"blocklistState":0,"blocklistURL":null,"startupData":{},"hidden":true,"installTelemetryInfo":null,"recommendationState":null,"rootURI":"resource://builtin-addons/pictureinpicture/","location":"app-builtin-addons"},{"id":"addons-search-detection@mozilla.com","syncGUID":"{e563c4fe-ac83-446c-8d5c-227f9c2635ce}","version":"3.0.0","type":"extension","loader":null,"updateURL":null,"installOrigins":null,"manifestVersion":2,"optionsURL":null,"optionsType":null,"optionsBrowserStyle":true,"aboutURL":null,"defaultLocale":{"name":"Add-ons Search Detection","description":"","creator":null,"developers":null,"translators":null,"contributors":null},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"embedderDisabled":false,"applyBackgroundUpdates":1,"path":null,"skinnable":false,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"strictCompatibility":true,"locales":[],"targetApplications":[{"id":"toolkit@mozilla.org","minVersion":null,"maxVersion":null}],"targetPlatforms":[],"signedDate":null,"seen":true,"dependencies":[],"incognito":"spanning","userPermissions":{"permissions":["telemetry","webRequest","webRequestBlocking"],"origins":[""],"data_collection":[]},"optionalPermissions":{"permissions":[],"origins":[],"data_collection":[]},"requestedPermissions":{"permissions":[],"origins":[],"data_collection":[]},"icons":{},"iconURL":null,"blocklistAttentionDismissed":false,"blocklistState":0,"blocklistURL":null,"startupData":{},"hidden":true,"installTelemetryInfo":null,"recommendationState":null,"rootURI":"resource://builtin-addons/search-detection/","location":"app-builtin-addons"},{"id":"webcompat@mozilla.org","syncGUID":"{b4b7c0f4-0d60-4cd8-b8f6-2b4a24fa8a2b}","version":"152.9.0","type":"extension","loader":null,"updateURL":null,"installOrigins":null,"manifestVersion":2,"optionsURL":null,"optionsType":null,"optionsBrowserStyle":true,"aboutURL":null,"defaultLocale":{"name":"Web Compatibility Interventions","description":"Urgent post-release fixes for web compatibility.","creator":null,"developers":null,"translators":null,"contributors":null},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"embedderDisabled":false,"applyBackgroundUpdates":1,"path":null,"skinnable":false,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"strictCompatibility":true,"locales":[],"targetApplications":[{"id":"toolkit@mozilla.org","minVersion":"102.0","maxVersion":null}],"targetPlatforms":[],"signedDate":null,"seen":true,"dependencies":[],"incognito":"spanning","userPermissions":{"permissions":["cookies","mozillaAddons","scripting","tabs","webNavigation","webRequest","webRequestBlocking"],"origins":[""],"data_collection":[]},"optionalPermissions":{"permissions":[],"origins":[],"data_collection":[]},"requestedPermissions":{"permissions":[],"origins":[],"data_collection":[]},"icons":{},"iconURL":null,"blocklistAttentionDismissed":false,"blocklistState":0,"blocklistURL":null,"startupData":{"persistentListeners":{"webRequest":{"onBeforeRequest":[[{"incognito":null,"tabId":null,"types":null,"urls":["https://www.toei-anim.co.jp/_next/static/chunks/585-*.js"],"windowId":null},["blocking"]],[{"incognito":null,"tabId":null,"types":null,"urls":["*://www.rogers.com/bbapp/bbapi.js*","*://www.fido.ca/bbapp/bbapi.js*"],"windowId":null},["blocking"]],[{"incognito":null,"tabId":null,"types":null,"urls":["*://ipn2.paymentus.com/rotp/vatx"],"windowId":null},["blocking"]]],"onBeforeSendHeaders":[[{"incognito":null,"tabId":null,"types":null,"urls":["*://steamcommunity.com/chat*","*://*.directv.com/*","https://watch.sling.com/*","https://www.mobilesuica.com/*","*://*.bancosantander.es/*","*://*.gruposantander.es/*","*://*.santander.co.uk/*","*://*.mms.telekom.de/*","*://wifi.sncf/*","*://ubank.com.au/*","*://411.ca/","*://*.unitedwifi.com/*","*://*.clipchamp.com/*","*://*.elearning.dmv.ca.gov/*","*://watch.tonton.com.my/*","*://gts-pro.iyuno.com/*","*://atracker.pro/*","*://hrmis2.eghrmis.gov.my/*","*://*.bmo.com/main/personal/*/getting-started/*","*://*.bankmandiri.co.id/*","*://*.snapchat.com/*","*://*.dingtalk.com/*","*://hackgreensdr.org/*","*://websdr.78dx.ru/*","*://login.seb.lt/ui/*","*://my.rhinoshield.fr/*","*://app.homewyse.com/*","*://*.gmbinder.com/*","*://app.libry.jp/*","*://indigo.shireburn.com/*","*://*.remotasks.com/*","*://forms.ontariodrugbenefit.ca/*","*://www.smartmirror.link/*","*://sekowf.wns.com/*","*://trade-in.vodafone.com/*","*://facturador.afip.gob.ar/*","*://account.gov.il/*","*://tza.red/*","*://mysunlife.sunlife.com.hk/ClientAppWeb/*","*://app.stormx.io/*","*://www.goodyearfiaetrc.com/standings*","*://conference.amwell.com/*","*://www.smartgpseco.com/*","*://events.webinar.ru/*","*://carelink.minimed.eu/*","*://my.murj.com/*","*://england.nhs.attendanywhere.com/*","*://*.prudential.com.hk/*","*://*.mymsc.com/*","*://*.oculus.com/cast*","*://horizon.meta.com/casting*","*://bcbs.pinpointglobal.com/*","*://wbte.drcedirect.com/*","*://app.bookcreator.com/*","*://game.granbluefantasy.jp/*","*://passpoint.boingo.com/*","*://selecionases.saude.pe.gov.br/*","*://ct-tc.apps.cic.gc.ca/*","*://seller.kuajingmaihuo.com/*","*://flash.puffin.com/store/*","*://store.91app.com/*","*://app.rnova.org/*","*://www.clinicaonline.co.il/*","*://www.e-src.net/*","*://sales-crowd.jp/*","*://musicstore.auone.jp/*","*://pss.perodua.com.my/*","*://mgr.knowbe.jp/*","*://agent.foundi.info/*","*://esampark.wondercement.com/*","*://ibanka.seb.lv/*login*","*://e.seb.ee/*","*://www.hilokal.com/*","*://onvideo.kuaishou.com/*","*://www.vpropel.in/*","*://*.coupangplay.com/*","*://stage.metareal.com/*","*://workhub.transcribeme.com/*","*://*.thepersonal.com/*","*://*.lapersonnelle.com/*","*://*.desjardinsgeneralinsurance.com/*","*://be.bim.mx/*","*://englishtest.duolingo.com/*","*://ads.tiktok.com/*","*://mp3cut.net/*","*://app.gather.town/*","*://playlist-manager.com/*","*://watch.foxtel.com.au/app/*","*://xmgl.ccccltd.cn/*","*://*.class.com/*","*://*.blackboard.com/*","*://*.bbcollab.com/*","https://cotota.app/*","https://h2breeze.com/*","https://is-sets.com/*","*://confetti.buzz/*","*://eu-trade.naeu.playblackdesert.com/*","*://myassurity.com/*","*://*.ipmph.com/*","*://contractorinduction.colesgroup.com.au/*","*://iwebv2.thebankersbank.com/*","*://app.phase.com/*","*://oasis.decart.ai/*","*://next.goalplan.com/*","*://www.tiktok.com/tiktokstudio*","*://app.fullcodemedical.com/Player/*","*://testbook.com/*/lesson/*","*://*.arenti.net/*","*://*.aylak.com/*","*://*.formula1.com/*","*://sus.softadmin.se/*","*://byod.airindia.com/*","*://slc-ut-us.avolvecloud.com/*","*://*.advancedmd.com/*","*://midi.city/*","*://cesupils.lv/*","*://go.idnow.de/*","*://*.onlyfaucet.com/*","*://cmyportal.tkc.co.jp/auth/*","*://app.simplenote.com/*","*://*.truepicvision.com/*","*://daotranslate.com/*","*://www.fxnetworkspressroom.com/*","*://labs-aws.popcap.com/facebook/bj2/*","*://*.useinsider.com/*","*://*.ehssrisk.com/*","*://portal.pilot.ly/*","*://pwa.samsungglobalgoals.com/*","*://*.larksuite.com/*","*://bbs.colg.cn/*","*://chatbot.weixin.qq.com/webapp/*","*://paybill.com/occourts/*","*://otr.oregon.gov/*","*://www.4gamer.net/*","*://tibi.monconteneur.be/*","*://javalab.org/*potential_energy_by_gravity*","*://cloudplay.jiogames.com/*","*://www.showroom-live.com/*","*://gueval2.digimoolyankan.com/*","*://*.indeed.com/*","*://ncvtmis.gov.in/*","*://*.oirsa.org/*","*://onp.cloud.waterloo.ca/*","*://*.admissions.nid.edu/*","*://*.onvue.com/*","*://*.avizia.com/*","*://watch.indee.tv/*","*://viewer-ebook.books.com.tw/*"],"windowId":null},["blocking","requestHeaders"]]]}}},"hidden":true,"installTelemetryInfo":null,"recommendationState":null,"rootURI":"resource://builtin-addons/webcompat/","location":"app-builtin-addons"},{"id":"default-theme@mozilla.org","syncGUID":"{449ec822-41bc-4249-b861-0b51d187f0e7}","version":"1.4.2","type":"theme","loader":null,"updateURL":null,"installOrigins":null,"manifestVersion":2,"optionsURL":null,"optionsType":null,"optionsBrowserStyle":true,"aboutURL":null,"defaultLocale":{"name":"System theme — auto","description":"Follow the operating system setting for buttons, menus, and windows.","creator":"Mozilla","developers":null,"translators":null,"contributors":null},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"embedderDisabled":false,"installDate":1766354119990,"applyBackgroundUpdates":1,"path":null,"skinnable":false,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"strictCompatibility":true,"locales":[],"targetApplications":[{"id":"toolkit@mozilla.org","minVersion":null,"maxVersion":null}],"targetPlatforms":[],"signedDate":null,"seen":true,"dependencies":[],"userPermissions":null,"optionalPermissions":null,"requestedPermissions":null,"icons":{"32":"icon.svg"},"iconURL":null,"blocklistAttentionDismissed":false,"blocklistState":0,"blocklistURL":null,"startupData":{},"hidden":false,"installTelemetryInfo":null,"recommendationState":null,"rootURI":"resource://default-theme/","location":"app-builtin"},{"id":"firefox-compact-light@mozilla.org","syncGUID":"{4d1cdacd-2eee-4856-b316-aba1cd0ee044}","version":"1.3.4","type":"theme","loader":null,"updateURL":null,"installOrigins":null,"manifestVersion":2,"optionsURL":null,"optionsType":null,"optionsBrowserStyle":true,"aboutURL":null,"defaultLocale":{"name":"Light","description":"A theme with a light color scheme.","creator":"Mozilla","developers":null,"translators":null,"contributors":null},"visible":true,"active":false,"userDisabled":true,"appDisabled":false,"embedderDisabled":false,"installDate":1766354121266,"applyBackgroundUpdates":1,"path":null,"skinnable":false,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"strictCompatibility":true,"locales":[],"targetApplications":[{"id":"toolkit@mozilla.org","minVersion":null,"maxVersion":null}],"targetPlatforms":[],"signedDate":null,"seen":true,"dependencies":[],"userPermissions":null,"optionalPermissions":null,"requestedPermissions":null,"icons":{"32":"icon.svg"},"iconURL":null,"blocklistAttentionDismissed":false,"blocklistState":0,"blocklistURL":null,"startupData":null,"hidden":false,"installTelemetryInfo":null,"recommendationState":null,"rootURI":"resource://builtin-themes/light/","location":"app-builtin"},{"id":"firefox-alpenglow@mozilla.org","syncGUID":"{eb2655a6-d195-4986-91df-17a2d63307ac}","version":"1.5.2","type":"theme","loader":null,"updateURL":null,"installOrigins":null,"manifestVersion":2,"optionsURL":null,"optionsType":null,"optionsBrowserStyle":true,"aboutURL":null,"defaultLocale":{"name":"Firefox Alpenglow","description":"Use a colorful appearance for buttons, menus, and windows.","creator":"Mozilla","developers":null,"translators":null,"contributors":null},"visible":true,"active":false,"userDisabled":true,"appDisabled":false,"embedderDisabled":false,"installDate":1766354121266,"applyBackgroundUpdates":1,"path":null,"skinnable":false,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"strictCompatibility":true,"locales":[],"targetApplications":[{"id":"toolkit@mozilla.org","minVersion":null,"maxVersion":null}],"targetPlatforms":[],"signedDate":null,"seen":true,"dependencies":[],"userPermissions":null,"optionalPermissions":null,"requestedPermissions":null,"icons":{"32":"icon.svg"},"iconURL":null,"blocklistAttentionDismissed":false,"blocklistState":0,"blocklistURL":null,"startupData":null,"hidden":false,"installTelemetryInfo":null,"recommendationState":null,"rootURI":"resource://builtin-themes/alpenglow/","location":"app-builtin"},{"id":"firefox-compact-dark@mozilla.org","syncGUID":"{0c9f125b-cf13-453b-a90d-5e8022ba1cc7}","version":"1.3.4","type":"theme","loader":null,"updateURL":null,"installOrigins":null,"manifestVersion":2,"optionsURL":null,"optionsType":null,"optionsBrowserStyle":true,"aboutURL":null,"defaultLocale":{"name":"Dark","description":"A theme with a dark color scheme.","creator":"Mozilla","developers":null,"translators":null,"contributors":null},"visible":true,"active":false,"userDisabled":true,"appDisabled":false,"embedderDisabled":false,"installDate":1766354121267,"applyBackgroundUpdates":1,"path":null,"skinnable":false,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"strictCompatibility":true,"locales":[],"targetApplications":[{"id":"toolkit@mozilla.org","minVersion":null,"maxVersion":null}],"targetPlatforms":[],"signedDate":null,"seen":true,"dependencies":[],"userPermissions":null,"optionalPermissions":null,"requestedPermissions":null,"icons":{"32":"icon.svg"},"iconURL":null,"blocklistAttentionDismissed":false,"blocklistState":0,"blocklistURL":null,"startupData":null,"hidden":false,"installTelemetryInfo":null,"recommendationState":null,"rootURI":"resource://builtin-themes/dark/","location":"app-builtin"}]} \ No newline at end of file diff --git a/assets/dotfiles/zen-config/8o3fztws.Default (release)-3/extensions/adnauseam@rednoise.org.xpi b/assets/dotfiles/zen-config/8o3fztws.Default (release)-3/extensions/adnauseam@rednoise.org.xpi new file mode 100644 index 0000000..c423e7c Binary files /dev/null and b/assets/dotfiles/zen-config/8o3fztws.Default (release)-3/extensions/adnauseam@rednoise.org.xpi differ diff --git a/assets/dotfiles/zen-config/8o3fztws.Default (release)-3/extensions/firefoxpwa@filips.si.xpi b/assets/dotfiles/zen-config/8o3fztws.Default (release)-3/extensions/firefoxpwa@filips.si.xpi new file mode 100644 index 0000000..57bffa9 Binary files /dev/null and b/assets/dotfiles/zen-config/8o3fztws.Default (release)-3/extensions/firefoxpwa@filips.si.xpi differ diff --git a/assets/dotfiles/zen-config/8o3fztws.Default (release)-3/extensions/uBlock0@raymondhill.net.xpi b/assets/dotfiles/zen-config/8o3fztws.Default (release)-3/extensions/uBlock0@raymondhill.net.xpi new file mode 100644 index 0000000..7250309 Binary files /dev/null and b/assets/dotfiles/zen-config/8o3fztws.Default (release)-3/extensions/uBlock0@raymondhill.net.xpi differ diff --git a/assets/dotfiles/zen-config/8o3fztws.Default (release)-3/extensions/{446900e4-71c2-419f-a6a7-df9c091e268b}.xpi b/assets/dotfiles/zen-config/8o3fztws.Default (release)-3/extensions/{446900e4-71c2-419f-a6a7-df9c091e268b}.xpi new file mode 100644 index 0000000..4d42281 Binary files /dev/null and b/assets/dotfiles/zen-config/8o3fztws.Default (release)-3/extensions/{446900e4-71c2-419f-a6a7-df9c091e268b}.xpi differ diff --git a/assets/dotfiles/zen-config/8o3fztws.Default (release)-3/extensions/{cb31ec5d-c49a-4e5a-b240-16c767444f62}.xpi b/assets/dotfiles/zen-config/8o3fztws.Default (release)-3/extensions/{cb31ec5d-c49a-4e5a-b240-16c767444f62}.xpi new file mode 100644 index 0000000..a9937f4 Binary files /dev/null and b/assets/dotfiles/zen-config/8o3fztws.Default (release)-3/extensions/{cb31ec5d-c49a-4e5a-b240-16c767444f62}.xpi differ diff --git a/assets/dotfiles/zen-config/8o3fztws.Default (release)-3/favicons.sqlite b/assets/dotfiles/zen-config/8o3fztws.Default (release)-3/favicons.sqlite new file mode 100644 index 0000000..b6a0268 Binary files /dev/null and b/assets/dotfiles/zen-config/8o3fztws.Default (release)-3/favicons.sqlite differ diff --git a/assets/dotfiles/zen-config/8o3fztws.Default (release)-3/permissions.sqlite b/assets/dotfiles/zen-config/8o3fztws.Default (release)-3/permissions.sqlite new file mode 100644 index 0000000..518e31f Binary files /dev/null and b/assets/dotfiles/zen-config/8o3fztws.Default (release)-3/permissions.sqlite differ diff --git a/assets/dotfiles/zen-config/8o3fztws.Default (release)-3/places.sqlite b/assets/dotfiles/zen-config/8o3fztws.Default (release)-3/places.sqlite new file mode 100644 index 0000000..e3436fe Binary files /dev/null and b/assets/dotfiles/zen-config/8o3fztws.Default (release)-3/places.sqlite differ diff --git a/assets/dotfiles/zen-config/8o3fztws.Default (release)-3/prefs.js b/assets/dotfiles/zen-config/8o3fztws.Default (release)-3/prefs.js new file mode 100644 index 0000000..9a593be --- /dev/null +++ b/assets/dotfiles/zen-config/8o3fztws.Default (release)-3/prefs.js @@ -0,0 +1,330 @@ +// Mozilla User Preferences + +// DO NOT EDIT THIS FILE. +// +// If you make changes to this file while the application is running, +// the changes will be overwritten when the application exits. +// +// To change a preference value, you can either: +// - modify it via the UI (e.g. via about:config in the browser); or +// - set it within a user.js file in your profile. + +user_pref("accessibility.typeaheadfind.flashBar", 0); +user_pref("app.normandy.first_run", false); +user_pref("app.normandy.migrationsApplied", 12); +user_pref("app.update.download.attempts", 0); +user_pref("app.update.elevate.attempts", 0); +user_pref("app.update.lastUpdateTime.addon-background-update-timer", 1783765798); +user_pref("app.update.lastUpdateTime.background-update-timer", 1783814387); +user_pref("app.update.lastUpdateTime.browser-cleanup-thumbnails", 1783823134); +user_pref("app.update.lastUpdateTime.glean-addons-daily", 1783765798); +user_pref("app.update.lastUpdateTime.region-update-timer", 1783765798); +user_pref("app.update.lastUpdateTime.rs-experiment-loader-timer", 1783824638); +user_pref("app.update.lastUpdateTime.services-settings-poll-changes", 1783765798); +user_pref("app.update.lastUpdateTime.xpi-signature-verification", 1783765798); +user_pref("app.update.lockedOut.count", 0); +user_pref("browser.bookmarks.addedImportButton", true); +user_pref("browser.bookmarks.editDialog.confirmationHintShowCount", 1); +user_pref("browser.bookmarks.restore_default_bookmarks", false); +user_pref("browser.bookmarks.showMobileBookmarks", false); +user_pref("browser.contentblocking.category", "custom"); +user_pref("browser.download.deletePrivate.chosen", true); +user_pref("browser.download.lastDir", "/home/grey/Downloads"); +user_pref("browser.download.panel.shown", true); +user_pref("browser.download.viewableInternally.typeWasRegistered.avif", true); +user_pref("browser.download.viewableInternally.typeWasRegistered.jxl", true); +user_pref("browser.download.viewableInternally.typeWasRegistered.webp", true); +user_pref("browser.engagement.downloads-button.has-used", true); +user_pref("browser.engagement.home-button.has-removed", true); +user_pref("browser.formfill.enable", true); +user_pref("browser.ipProtection.locationListCache", "[{\"name\":\"United Kingdom\",\"code\":\"GB\",\"cities\":[{\"name\":\"London\",\"code\":\"EGLC\",\"servers\":[{\"port\":2499,\"hostname\":\"eglc860.m1.fastly-masque.net\",\"quarantined\":false,\"protocols\":[{\"name\":\"connect\",\"host\":\"eglc860.m1.fastly-masque.net\",\"port\":2499,\"scheme\":\"https\"}]}]}]},{\"name\":\"Germany\",\"code\":\"DE\",\"cities\":[{\"name\":\"Munich\",\"code\":\"MUC\",\"servers\":[{\"port\":2499,\"hostname\":\"muc139.m1.fastly-masque.net\",\"quarantined\":false,\"protocols\":[{\"name\":\"connect\",\"host\":\"muc139.m1.fastly-masque.net\",\"port\":2499,\"scheme\":\"https\"}]}]}]},{\"name\":\"CatchAll Anycast\",\"code\":\"US\",\"cities\":[{\"name\":\"USA\",\"code\":\"Q30\",\"servers\":[{\"port\":2499,\"hostname\":\"p.m1.fastly-masque.net\",\"quarantined\":false,\"protocols\":[{\"name\":\"connect\",\"host\":\"p.m1.fastly-masque.net\",\"port\":2499,\"scheme\":\"https\"}]}]}]},{\"name\":\"France\",\"code\":\"FR\",\"cities\":[{\"name\":\"Paris\",\"code\":\"LFPB\",\"servers\":[{\"port\":2499,\"hostname\":\"lfpb115.m1.fastly-masque.net\",\"quarantined\":false,\"protocols\":[{\"name\":\"connect\",\"host\":\"lfpb115.m1.fastly-masque.net\",\"port\":2499,\"scheme\":\"https\"}]}]}]},{\"name\":\"Canada\",\"code\":\"CA\",\"cities\":[{\"name\":\"Toronto\",\"code\":\"YYZ\",\"servers\":[{\"port\":2499,\"hostname\":\"yyz45.m1.fastly-masque.net\",\"quarantined\":false,\"protocols\":[{\"name\":\"connect\",\"host\":\"yyz45.m1.fastly-masque.net\",\"port\":2499,\"scheme\":\"https\"}]}]}]},{\"name\":\"Recomended Location\",\"code\":\"REC\",\"cities\":[{\"name\":\"Recomended City\",\"code\":\"REC\",\"servers\":[{\"port\":2499,\"hostname\":\"p.m1.fastly-masque.net\",\"quarantined\":false,\"protocols\":[{\"name\":\"connect\",\"host\":\"p.m1.fastly-masque.net\",\"port\":2499,\"scheme\":\"https\"}]}]}]}]"); +user_pref("browser.laterrun.bookkeeping.profileCreationTime", 1766354119); +user_pref("browser.laterrun.bookkeeping.sessionCount", 1); +user_pref("browser.laterrun.bookkeeping.updateAppliedTime", 1777407206); +user_pref("browser.migration.version", 172); +user_pref("browser.ml.enable", true); +user_pref("browser.newtabpage.activity-stream.impressionId", "{cdd21088-b862-4544-9a08-dd0529304b15}"); +user_pref("browser.newtabpage.activity-stream.newtabWallpapers.user.enabled.migrated", true); +user_pref("browser.newtabpage.activity-stream.system.showWeatherOptIn", false); +user_pref("browser.newtabpage.storageVersion", 1); +user_pref("browser.pageActions.persistedActions", "{\"ids\":[\"bookmark\",\"firefoxpwa_filips_si\"],\"idsInUrlbar\":[\"firefoxpwa_filips_si\",\"bookmark\"],\"idsInUrlbarPreProton\":[],\"version\":1}"); +user_pref("browser.pagethumbnails.storage_version", 3); +user_pref("browser.policies.applied", true); +user_pref("browser.preferences.config_warning.warningPasswordManager.dismissed", true); +user_pref("browser.preferences.experimental.hidden", true); +user_pref("browser.proton.toolbar.version", 3); +user_pref("browser.region.update.updated", 1783765798); +user_pref("browser.rights.3.shown", true); +user_pref("browser.safebrowsing.provider.google5.lastupdatetime", "1783765769641"); +user_pref("browser.safebrowsing.provider.google5.nextupdatetime", "1783852169641"); +user_pref("browser.safebrowsing.provider.mozilla.lastupdatetime", "1783813623953"); +user_pref("browser.safebrowsing.provider.mozilla.nextupdatetime", "1783835223953"); +user_pref("browser.search.region", "GB"); +user_pref("browser.search.separatePrivateDefault", false); +user_pref("browser.search.serpEventTelemetryCategorization.regionEnabled", false); +user_pref("browser.search.totalSearches", 100); +user_pref("browser.sessionstore.upgradeBackup.latestBuildID", "20260708113753"); +user_pref("browser.settings-redesign.promo.dismissed", true); +user_pref("browser.shell.didSkipDefaultBrowserCheckOnFirstRun", true); +user_pref("browser.shell.mostRecentDateSetAsDefault", "1783824637"); +user_pref("browser.shell.mostRecentDefaultPromptSeen", "1766354544"); +user_pref("browser.shell.userDisabledDefaultCheck", "1766354544"); +user_pref("browser.startup.couldRestoreSession.count", 2); +user_pref("browser.startup.homepage", "https://www.greyweather.dev"); +user_pref("browser.startup.homepage_override.buildID", "20260708113753"); +user_pref("browser.startup.homepage_override.mstone", "152.0.5"); +user_pref("browser.startup.lastColdStartupCheck", 1783824638); +user_pref("browser.startup.page", 1); +user_pref("browser.termsofuse.prefMigrationCheck", true); +user_pref("browser.theme.toolbar-theme", 0); +user_pref("browser.translations.mostRecentTargetLanguages", "en"); +user_pref("browser.uiCustomization.state", "{\"placements\":{\"widget-overflow-fixed-list\":[],\"unified-extensions-area\":[\"adnauseam_rednoise_org-browser-action\",\"ublock0_raymondhill_net-browser-action\",\"_cb31ec5d-c49a-4e5a-b240-16c767444f62_-browser-action\",\"firefoxpwa_filips_si-browser-action\"],\"nav-bar\":[\"back-button\",\"forward-button\",\"stop-reload-button\",\"customizableui-special-spring1\",\"vertical-spacer\",\"urlbar-container\",\"customizableui-special-spring2\",\"unified-extensions-button\",\"_446900e4-71c2-419f-a6a7-df9c091e268b_-browser-action\",\"vpn_proton_ch-browser-action\",\"tineye_ideeinc_com-browser-action\",\"reset-pbm-toolbar-button\"],\"toolbar-menubar\":[\"menubar-items\"],\"TabsToolbar\":[\"tabbrowser-tabs\"],\"vertical-tabs\":[],\"PersonalToolbar\":[\"import-button\",\"personal-bookmarks\"],\"zen-sidebar-top-buttons\":[\"zen-toggle-compact-mode\",\"home-button\"],\"zen-sidebar-foot-buttons\":[\"downloads-button\",\"zen-workspaces-button\",\"zen-create-new-button\"]},\"seen\":[\"developer-button\",\"screenshot-button\",\"_446900e4-71c2-419f-a6a7-df9c091e268b_-browser-action\",\"vpn_proton_ch-browser-action\",\"ublock0_raymondhill_net-browser-action\",\"tineye_ideeinc_com-browser-action\",\"_cb31ec5d-c49a-4e5a-b240-16c767444f62_-browser-action\",\"firefoxpwa_filips_si-browser-action\",\"reset-pbm-toolbar-button\",\"adnauseam_rednoise_org-browser-action\"],\"dirtyAreaCache\":[\"nav-bar\",\"vertical-tabs\",\"zen-sidebar-foot-buttons\",\"PersonalToolbar\",\"toolbar-menubar\",\"TabsToolbar\",\"zen-sidebar-top-buttons\",\"unified-extensions-area\",\"widget-overflow-fixed-list\"],\"currentVersion\":24,\"newElementCount\":3}"); +user_pref("browser.urlbar.lastUrlbarSearchSeconds", 1783824933); +user_pref("browser.urlbar.quicksuggest.migrationVersion", 7); +user_pref("browser.urlbar.recentsearches.lastDefaultChanged", "1783814540435"); +user_pref("browser.urlbar.suggest.engines", false); +user_pref("captchadetection.hasUnsubmittedData", false); +user_pref("captchadetection.lastSubmission", 1781788); +user_pref("datareporting.dau.cachedUsageProfileGroupID", "b0bacafe-b0ba-cafe-b0ba-cafeb0bacafe"); +user_pref("datareporting.dau.cachedUsageProfileID", "beefbeef-beef-beef-beef-beeefbeefbee"); +user_pref("devtools.aboutdebugging.collapsibilities.processes", false); +user_pref("devtools.cache.disabled", true); +user_pref("devtools.debugger.prefs-schema-version", 11); +user_pref("devtools.everOpened", true); +user_pref("devtools.inspector.activeSidebar", "compatibilityview"); +user_pref("devtools.inspector.selectedSidebar", "compatibilityview"); +user_pref("devtools.netmonitor.columnsData", "[{\"name\":\"override\",\"minWidth\":20,\"width\":2},{\"name\":\"status\",\"minWidth\":30,\"width\":6.55},{\"name\":\"method\",\"minWidth\":30,\"width\":6.55},{\"name\":\"domain\",\"minWidth\":30,\"width\":13.07},{\"name\":\"file\",\"minWidth\":30,\"width\":32.81},{\"name\":\"url\",\"minWidth\":30,\"width\":25},{\"name\":\"initiator\",\"minWidth\":30,\"width\":13.07},{\"name\":\"type\",\"minWidth\":30,\"width\":6.55},{\"name\":\"transferred\",\"minWidth\":30,\"width\":13.04},{\"name\":\"contentSize\",\"minWidth\":30,\"width\":6.55},{\"name\":\"waterfall\",\"minWidth\":150,\"width\":1.82}]"); +user_pref("devtools.netmonitor.msg.visibleColumns", "[\"data\",\"time\"]"); +user_pref("devtools.netmonitor.panes-search-height", 438); +user_pref("devtools.performance.recording.entries", 134217728); +user_pref("devtools.performance.recording.features", "[\"screenshots\",\"js\",\"cpu\",\"memory\"]"); +user_pref("devtools.performance.recording.threads", "[\"GeckoMain\",\"Compositor\",\"Renderer\",\"DOM Worker\"]"); +user_pref("devtools.responsive.reloadNotification.enabled", false); +user_pref("devtools.responsive.touchSimulation.enabled", true); +user_pref("devtools.responsive.userAgent", "Mozilla/5.0 (iPhone; CPU iPhone OS 18_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.0 Mobile/15E148 Safari/604.1"); +user_pref("devtools.responsive.viewport.height", 874); +user_pref("devtools.responsive.viewport.pixelRatio", 3); +user_pref("devtools.responsive.viewport.width", 402); +user_pref("devtools.toolbox.footer.height", 467); +user_pref("devtools.toolbox.splitconsoleHeight", 163); +user_pref("devtools.toolsidebar-height.inspector", 350); +user_pref("devtools.toolsidebar-width.inspector", 700); +user_pref("devtools.toolsidebar-width.inspector.splitsidebar", 367); +user_pref("devtools.webconsole.input.editor", true); +user_pref("distribution.iniFile.exists.appversion", "1.21.6b"); +user_pref("distribution.iniFile.exists.value", false); +user_pref("doh-rollout.doneFirstRun", true); +user_pref("doh-rollout.home-region", "GB"); +user_pref("dom.forms.autocomplete.formautofill", true); +user_pref("dom.push.userAgentID", "96ead2dfec6c4b28bb94ecb041fbb864"); +user_pref("extensions.activeThemeID", "default-theme@mozilla.org"); +user_pref("extensions.blocklist.pingCountVersion", -1); +user_pref("extensions.colorway-builtin-themes-cleanup", 1); +user_pref("extensions.databaseSchema", 37); +user_pref("extensions.formautofill.addresses.enabled", false); +user_pref("extensions.formautofill.creditCards.enabled", false); +user_pref("extensions.lastAppBuildId", "20260708113753"); +user_pref("extensions.lastAppVersion", "1.21.6b"); +user_pref("extensions.lastPlatformVersion", "152.0.5"); +user_pref("extensions.pendingOperations", false); +user_pref("extensions.pictureinpicture.enable_picture_in_picture_overrides", true); +user_pref("extensions.quarantinedDomains.list", "autoatendimento.bb.com.br,ibpf.sicredi.com.br,ibpj.sicredi.com.br,internetbanking.caixa.gov.br,www.ib12.bradesco.com.br,www2.bancobrasil.com.br"); +user_pref("extensions.signatureCheckpoint", 1); +user_pref("extensions.systemAddonSet", "{\"schema\":1,\"directory\":\"{ec6ee789-5dad-4eed-9c6b-a23b9e709818}\",\"addons\":{\"ipp-activator@mozilla.com\":{\"version\":\"0.2.20260622.182020\"}}}"); +user_pref("extensions.ui.dictionary.hidden", true); +user_pref("extensions.ui.extension.hidden", false); +user_pref("extensions.ui.lastCategory", "addons://list/extension"); +user_pref("extensions.ui.locale.hidden", true); +user_pref("extensions.ui.mlmodel.hidden", true); +user_pref("extensions.ui.sitepermission.hidden", false); +user_pref("extensions.webcompat.perform_injections", true); +user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.adnauseam@rednoise.org", true); +user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.firefoxpwa@filips.si", true); +user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.uBlock0@raymondhill.net", true); +user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.{446900e4-71c2-419f-a6a7-df9c091e268b}", true); +user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.{cb31ec5d-c49a-4e5a-b240-16c767444f62}", true); +user_pref("extensions.webextensions.uuids", "{\"data-leak-blocker@mozilla.com\":\"ede8bb73-20b5-43d5-83e1-b86523e2c172\",\"formautofill@mozilla.org\":\"c8c68be8-727e-474b-ab6c-3c1ad389056d\",\"ipp-activator@mozilla.com\":\"a420afdd-fe4b-4ff1-90d9-b2c5dad4e4e7\",\"pictureinpicture@mozilla.org\":\"7a6e440f-13d2-47c4-8273-064c06d428ec\",\"addons-search-detection@mozilla.com\":\"c3b43502-727c-47f1-b28f-a121400b362e\",\"webcompat@mozilla.org\":\"9a310967-e580-48bf-b3e8-4eafebbc122d\",\"newtab@mozilla.org\":\"43a5104c-d50b-4715-8319-efe7bbed3df9\",\"default-theme@mozilla.org\":\"737e2b9c-1c2a-485c-951b-bb36e94f16c9\",\"{446900e4-71c2-419f-a6a7-df9c091e268b}\":\"acf7ccf4-3b89-4d30-8a8d-15f9cf344b76\",\"uBlock0@raymondhill.net\":\"ab3dcea1-0a51-4e07-b343-81d57513a49b\",\"{cb31ec5d-c49a-4e5a-b240-16c767444f62}\":\"05dd45b6-95ae-4fac-9b4f-58db29ef7a74\",\"firefoxpwa@filips.si\":\"ab59cc5c-f2bd-4c4d-95a5-2340e4621fce\",\"adnauseam@rednoise.org\":\"6546ca68-f80f-403d-ac5b-64867ab5a141\"}"); +user_pref("findbar.highlightAll", true); +user_pref("gecko.handlerService.defaultHandlersVersion", 1); +user_pref("general.smoothScroll", true); +user_pref("gfx.blacklist.accelerated-canvas2d.failureid", "FEATURE_FAILURE_DL_BLOCKLIST_NO_ID"); +user_pref("gfx.blacklist.dmabuf.failureid", "FEATURE_FAILURE_DL_BLOCKLIST_NO_ID"); +user_pref("gfx.blacklist.gl.threadsafe.failureid", "FEATURE_FAILURE_DL_BLOCKLIST_NO_ID"); +user_pref("identity.fxaccounts.account.device.name", "grey’s Zen on greys-pc-nobara"); +user_pref("identity.fxaccounts.account.telemetry.sanitized_uid", "86f759acb34288bd6790860a0afb0a38"); +user_pref("identity.fxaccounts.commands.missed.last_fetch", 1783765865); +user_pref("identity.fxaccounts.lastSignedInUserHash", "i8QvHUbH266HV0VGgTCIPYvVI2t9PlkFmxWoinVbxM4="); +user_pref("identity.fxaccounts.toolbar.accessed", true); +user_pref("idle.lastDailyNotification", 1783765834); +user_pref("layout.css.prefers-color-scheme.content-override", 0); +user_pref("media.eme.enabled", false); +user_pref("media.gmp-gmpopenh264.abi", "x86_64-gcc3"); +user_pref("media.gmp-gmpopenh264.hashValue", "f5246bf14d038adf4ce0c4360262ab722bc3de4220f047c3d542b4c564074b4877dc8659e3125c5171c749e7ce93f20cc63777eb5e1539e960670cbc5f30ac85"); +user_pref("media.gmp-gmpopenh264.lastDownload", 1766354149); +user_pref("media.gmp-gmpopenh264.lastInstallStart", 1766354149); +user_pref("media.gmp-gmpopenh264.lastUpdate", 1766354149); +user_pref("media.gmp-gmpopenh264.version", "2.6.0"); +user_pref("media.gmp-manager.buildID", "20260708113753"); +user_pref("media.gmp-manager.lastCheck", 1783808324); +user_pref("media.gmp-manager.lastEmptyCheck", 1783808324); +user_pref("media.gmp-widevinecdm.lastDownload", 1766354150); +user_pref("media.gmp-widevinecdm.lastInstallStart", 1766354149); +user_pref("media.gmp.storage.version.observed", 1); +user_pref("media.peerconnection.ice.default_address_only", true); +user_pref("media.peerconnection.ice.no_host", true); +user_pref("media.peerconnection.ice.proxy_only_if_behind_proxy", true); +user_pref("media.videocontrols.picture-in-picture.video-toggle.first-seen-secs", 1766407782); +user_pref("media.videocontrols.picture-in-picture.video-toggle.has-used", true); +user_pref("media.webspeech.synth.dont_notify_on_error", true); +user_pref("network.cookie.CHIPS.lastMigrateDatabase", 2); +user_pref("network.cookie.validation.lastEpoch", 1); +user_pref("network.dns.disablePrefetch", true); +user_pref("network.http.speculative-parallel-limit", 0); +user_pref("network.prefetch-next", false); +user_pref("nimbus.firstUpdateComplete", true); +user_pref("nimbus.migrations.after-remote-settings-update", 0); +user_pref("nimbus.migrations.after-store-initialized", 3); +user_pref("nimbus.migrations.init-started", 1); +user_pref("nimbus.profileId", "fa4a8c53-611e-4e2e-83ab-c661eef3b91a"); +user_pref("nimbus.rollouts.enabled", false); +user_pref("pdfjs.enableAltTextForEnglish", true); +user_pref("pdfjs.enabledCache.state", true); +user_pref("pdfjs.migrationVersion", 2); +user_pref("places.database.lastMaintenance", 1783765834); +user_pref("pref.downloads.disable_button.edit_actions", false); +user_pref("privacy.bounceTrackingProtection.hasMigratedUserActivationData", true); +user_pref("privacy.clearOnShutdown_v2.formdata", true); +user_pref("privacy.globalprivacycontrol.was_ever_enabled", true); +user_pref("privacy.purge_trackers.date_in_cookie_database", "0"); +user_pref("privacy.purge_trackers.last_purge", "1783765834471"); +user_pref("privacy.sanitize.clearOnShutdown.hasMigratedToNewPrefs3", true); +user_pref("privacy.sanitize.pending", "[{\"id\":\"newtab-container\",\"itemsToClear\":[],\"options\":{}}]"); +user_pref("privacy.trackingprotection.allow_list.hasMigratedCategoryPrefs", true); +user_pref("privacy.trackingprotection.allow_list.hasUserInteractedWithETPSettings", true); +user_pref("privacy.userContext.enabled", false); +user_pref("services.settings.blocklists.addons-bloomfilters.last_check", 1783825433); +user_pref("services.settings.blocklists.gfx.last_check", 1783825433); +user_pref("services.settings.clock_skew_seconds", -195); +user_pref("services.settings.last_etag", "1783825022626"); +user_pref("services.settings.last_update_seconds", 1783825433); +user_pref("services.settings.main.addons-data-leak-blocker-domains.last_check", 1783825433); +user_pref("services.settings.main.addons-manager-settings.last_check", 1783825433); +user_pref("services.settings.main.ai-window-prompts.last_check", 1783825433); +user_pref("services.settings.main.anti-tracking-url-decoration.last_check", 1783825433); +user_pref("services.settings.main.bounce-tracking-protection-exceptions.last_check", 1783825433); +user_pref("services.settings.main.cfr.last_check", 1783825433); +user_pref("services.settings.main.cookie-banner-rules-list.last_check", 1783825433); +user_pref("services.settings.main.devtools-compatibility-browsers.last_check", 1783825433); +user_pref("services.settings.main.devtools-devices.last_check", 1783825433); +user_pref("services.settings.main.doh-config.last_check", 1783825433); +user_pref("services.settings.main.doh-providers.last_check", 1783825433); +user_pref("services.settings.main.fingerprinting-protection-overrides.last_check", 1783825433); +user_pref("services.settings.main.hijack-blocklists.last_check", 1783825433); +user_pref("services.settings.main.language-dictionaries.last_check", 1783825433); +user_pref("services.settings.main.message-groups.last_check", 1783825433); +user_pref("services.settings.main.moz-essential-domain-fallbacks.last_check", 1783825433); +user_pref("services.settings.main.ms-language-packs.last_check", 1783825433); +user_pref("services.settings.main.newtab-frecency-boosted-sponsors.last_check", 1783825433); +user_pref("services.settings.main.newtab-wallpapers-v2.last_check", 1783825433); +user_pref("services.settings.main.nimbus-desktop-experiments.last_check", 1783825433); +user_pref("services.settings.main.nimbus-secure-experiments.last_check", 1783825433); +user_pref("services.settings.main.normandy-recipes-capabilities.last_check", 1783825433); +user_pref("services.settings.main.partitioning-exempt-urls.last_check", 1783825433); +user_pref("services.settings.main.password-recipes.last_check", 1783825433); +user_pref("services.settings.main.password-rules.last_check", 1783825433); +user_pref("services.settings.main.query-stripping.last_check", 1783825433); +user_pref("services.settings.main.remote-permissions.last_check", 1783825433); +user_pref("services.settings.main.search-categorization.last_check", 1783825433); +user_pref("services.settings.main.search-config-icons.last_check", 1783825433); +user_pref("services.settings.main.search-config-overrides-v2.last_check", 1783825433); +user_pref("services.settings.main.search-config-v2.last_check", 1783825433); +user_pref("services.settings.main.search-default-override-allowlist.last_check", 1783825433); +user_pref("services.settings.main.search-telemetry-v2.last_check", 1783825433); +user_pref("services.settings.main.sites-classification.last_check", 1783825433); +user_pref("services.settings.main.third-party-cookie-blocking-exempt-urls.last_check", 1783825433); +user_pref("services.settings.main.tippytop.last_check", 1783825433); +user_pref("services.settings.main.top-sites.last_check", 1783825433); +user_pref("services.settings.main.tracking-protection-lists.last_check", 1783825433); +user_pref("services.settings.main.translations-models-v2.last_check", 1783825433); +user_pref("services.settings.main.translations-models.last_check", 1783825433); +user_pref("services.settings.main.translations-wasm-v2.last_check", 1783825433); +user_pref("services.settings.main.translations-wasm.last_check", 1783825433); +user_pref("services.settings.main.url-classifier-exceptions.last_check", 1783825433); +user_pref("services.settings.main.url-classifier-skip-urls.last_check", 1783825433); +user_pref("services.settings.main.url-parser-default-unknown-schemes-interventions.last_check", 1783825433); +user_pref("services.settings.main.urlbar-persisted-search-terms.last_check", 1783825433); +user_pref("services.settings.main.vpn-serverlist.last_check", 1783825433); +user_pref("services.settings.main.webcompat-interventions.last_check", 1783825433); +user_pref("services.settings.main.websites-with-shared-credential-backends.last_check", 1783825433); +user_pref("services.settings.security-state.cert-revocations.last_check", 1783825433); +user_pref("services.settings.security-state.intermediates.last_check", 1783825433); +user_pref("services.settings.security-state.onecrl.last_check", 1783825433); +user_pref("services.sync.addons.lastSync", "0"); +user_pref("services.sync.addresses.lastSync", "1762803318.67"); +user_pref("services.sync.addresses.syncID", "haHbSn3VPB2E"); +user_pref("services.sync.client.GUID", "WBHS8f-DyD_x"); +user_pref("services.sync.client.syncID", "EVTuQL7VX3i6"); +user_pref("services.sync.clients.devices.desktop", 5); +user_pref("services.sync.clients.devices.mobile", 2); +user_pref("services.sync.clients.lastRecordUpload", 1783824639); +user_pref("services.sync.clients.lastSync", "1783824639.79"); +user_pref("services.sync.clients.syncID", "CFaWINECc2F3"); +user_pref("services.sync.creditcards.lastSync", "1754749690.27"); +user_pref("services.sync.creditcards.syncID", "VKf5qNWOFjxG"); +user_pref("services.sync.declinedEngines", "addons,prefs,creditcards,addresses,passwords"); +user_pref("services.sync.engine.addons", false); +user_pref("services.sync.engine.addresses.available", true); +user_pref("services.sync.engine.passwords", false); +user_pref("services.sync.engine.prefs", false); +user_pref("services.sync.engine.prefs.modified", false); +user_pref("services.sync.forms.lastSync", "1783825241.57"); +user_pref("services.sync.forms.syncID", "VIxGYLK0Z6hH"); +user_pref("services.sync.globalScore", 0); +user_pref("services.sync.lastPing", 1783765770); +user_pref("services.sync.lastSync", "Sun Jul 12 2026 04:00:42 GMT+0100 (British Summer Time)"); +user_pref("services.sync.lastTabFetch", 1783825241); +user_pref("services.sync.nextSync", 1783825842); +user_pref("services.sync.prefs.lastSync", "0"); +user_pref("services.sync.syncInterval", 600000); +user_pref("services.sync.syncThreshold", 300); +user_pref("services.sync.username", "joneshmmm@gmail.com"); +user_pref("services.sync.workspaces.lastSync", "0"); +user_pref("sidebar.backupState", "{\"command\":\"\",\"panelOpen\":false,\"bookmarksExpandedFolders\":[],\"launcherExpanded\":false,\"launcherVisible\":false}"); +user_pref("sidebar.installed.extensions", "{446900e4-71c2-419f-a6a7-df9c091e268b}"); +user_pref("sidebar.main.tools", "{446900e4-71c2-419f-a6a7-df9c091e268b}"); +user_pref("sidebar.old-sidebar.has-used", true); +user_pref("sidebar.visibility", "hide-sidebar"); +user_pref("signon.autofillForms", false); +user_pref("signon.firefoxRelay.feature", "disabled"); +user_pref("signon.generation.enabled", false); +user_pref("signon.management.page.breach-alerts.enabled", false); +user_pref("signon.rememberSignons", false); +user_pref("signon.rustMirror.migrationNeeded", true); +user_pref("storage.vacuum.last.content-prefs.sqlite", 1782667203); +user_pref("storage.vacuum.last.index", 2); +user_pref("storage.vacuum.last.places.sqlite", 1782417406); +user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true); +user_pref("toolkit.profiles.newProfileSubmitted", true); +user_pref("toolkit.profiles.storeID", "b3ec6d91"); +user_pref("toolkit.startup.last_success", 1783824636); +user_pref("toolkit.telemetry.cachedClientID", "96080fd4-bdbd-4b9f-998e-e0fb64f4f55a"); +user_pref("toolkit.telemetry.cachedProfileGroupID", "1fd7da3c-6949-4c8a-bc38-e03c9edb9e43"); +user_pref("toolkit.telemetry.reportingpolicy.firstRun", false); +user_pref("zen.glance.enabled", false); +user_pref("zen.keyboard.shortcuts.version", 19); +user_pref("zen.live-folders.promotion.shown", true); +user_pref("zen.mods.last-update", 1777589778); +user_pref("zen.mods.milestone", "1.19.11b"); +user_pref("zen.mods.updated-value-observer", true); +user_pref("zen.session-store.last-build-id", "20260708113753"); +user_pref("zen.themes.disable-all", true); +user_pref("zen.ui.migration.compact-mode-button-added", true); +user_pref("zen.ui.migration.version", 6); +user_pref("zen.updates.last-build-id", "20260708113753"); +user_pref("zen.updates.last-version", "1.21.6b"); +user_pref("zen.urlbar.behavior", "float"); +user_pref("zen.urlbar.suggestions-learner", "{\"cmd_zenOpenZenThemePicker\":-5,\"Tools:PrivateBrowsing\":-5,\"cmd_newNavigator\":-5,\"cmd_zenToggleTabsOnRight\":-5,\"Browser:ReloadSkipCache\":-5,\"cmd_zenCopyCurrentURL\":-5,\"zen:global-action-add-to-essentials\":-5,\"zen:extension-uBlock0@raymondhill.net\":-5,\"Browser:Reload\":-5,\"Browser:PrevTab\":-5,\"zen:global-action-switch-to-light-mode\":-5,\"zen:global-action-switch-to-dark-mode\":-5,\"Tools:Addons\":-5,\"zen:global-action-settings\":-5,\"Browser:NextTab\":-5,\"zen:extension-vpn@proton.ch\":-5,\"Browser:Screenshot\":-5,\"zen:extension-{446900e4-71c2-419f-a6a7-df9c091e268b}\":-5,\"cmd_zenCompactModeToggle\":-5,\"cmd_zenOpenFolderCreation\":-3,\"cmd_zenNewEmptySplit\":-5,\"cmd_close\":-5,\"cmd_find\":-4,\"cmd_zenTogglePinTab\":-5,\"zen:extension-tineye@ideeinc.com\":-2,\"cmd_print\":-3,\"cmd_zenNewNavigatorUnsynced\":-5,\"zen:extension-firefoxpwa@filips.si\":-5,\"zen:extension-{cb31ec5d-c49a-4e5a-b240-16c767444f62}\":-1,\"zen:extension-adnauseam@rednoise.org\":-1,\"cmd_zenOpenSpaceRoutingSettings\":-1,\"zen:global-action-new-boost\":-1,\"zen:workspace-{55e2654d-2ebc-42ad-aa0c-a4d7ec82356d}\":-2,\"cmd_zenWorkspaceBackward\":-3,\"cmd_zenWorkspaceForward\":-1,\"zen:workspace-{7c41be1c-9192-413c-a5e7-df72eb470270}\":-5}"); +user_pref("zen.view.compact.enable-at-startup", false); +user_pref("zen.view.show-newtab-button-top", false); +user_pref("zen.welcome-screen.seen", true); +user_pref("zen.workspaces.active", "{166d04a1-2cf2-4db9-8026-a6ea797856dd}"); diff --git a/assets/dotfiles/zen-config/8o3fztws.Default (release)-3/search.json.mozlz4 b/assets/dotfiles/zen-config/8o3fztws.Default (release)-3/search.json.mozlz4 new file mode 100644 index 0000000..d3f9021 Binary files /dev/null and b/assets/dotfiles/zen-config/8o3fztws.Default (release)-3/search.json.mozlz4 differ diff --git a/assets/dotfiles/zen-config/8o3fztws.Default (release)-3/zen-keyboard-shortcuts.json b/assets/dotfiles/zen-config/8o3fztws.Default (release)-3/zen-keyboard-shortcuts.json new file mode 100644 index 0000000..c54eff2 --- /dev/null +++ b/assets/dotfiles/zen-config/8o3fztws.Default (release)-3/zen-keyboard-shortcuts.json @@ -0,0 +1 @@ +{"shortcuts":[{"id":"key_wrToggleCaptureSequenceCmd","key":"^","keycode":null,"group":"other","l10nId":null,"modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":"wrToggleCaptureSequenceCmd","disabled":false,"reserved":false,"internal":false},{"id":"key_wrCaptureCmd","key":"#","keycode":null,"group":"other","l10nId":null,"modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":"wrCaptureCmd","disabled":false,"reserved":false,"internal":false},{"id":"key_selectLastTab","key":"9","keycode":null,"group":"windowAndTabManagement","l10nId":null,"modifiers":{"control":false,"alt":true,"shift":false,"meta":false,"accel":false},"action":null,"disabled":false,"reserved":false,"internal":false},{"id":"key_selectTab8","key":"8","keycode":null,"group":"windowAndTabManagement","l10nId":null,"modifiers":{"control":false,"alt":true,"shift":false,"meta":false,"accel":false},"action":null,"disabled":false,"reserved":false,"internal":false},{"id":"key_selectTab7","key":"7","keycode":null,"group":"windowAndTabManagement","l10nId":null,"modifiers":{"control":false,"alt":true,"shift":false,"meta":false,"accel":false},"action":null,"disabled":false,"reserved":false,"internal":false},{"id":"key_selectTab6","key":"6","keycode":null,"group":"windowAndTabManagement","l10nId":null,"modifiers":{"control":false,"alt":true,"shift":false,"meta":false,"accel":false},"action":null,"disabled":false,"reserved":false,"internal":false},{"id":"key_selectTab5","key":"5","keycode":null,"group":"windowAndTabManagement","l10nId":null,"modifiers":{"control":false,"alt":true,"shift":false,"meta":false,"accel":false},"action":null,"disabled":false,"reserved":false,"internal":false},{"id":"key_selectTab4","key":"4","keycode":null,"group":"windowAndTabManagement","l10nId":null,"modifiers":{"control":false,"alt":true,"shift":false,"meta":false,"accel":false},"action":null,"disabled":false,"reserved":false,"internal":false},{"id":"key_selectTab3","key":"3","keycode":null,"group":"windowAndTabManagement","l10nId":null,"modifiers":{"control":false,"alt":true,"shift":false,"meta":false,"accel":false},"action":null,"disabled":false,"reserved":false,"internal":false},{"id":"key_selectTab2","key":"2","keycode":null,"group":"windowAndTabManagement","l10nId":null,"modifiers":{"control":false,"alt":true,"shift":false,"meta":false,"accel":false},"action":null,"disabled":false,"reserved":false,"internal":false},{"id":"key_selectTab1","key":"1","keycode":null,"group":"windowAndTabManagement","l10nId":null,"modifiers":{"control":false,"alt":true,"shift":false,"meta":false,"accel":false},"action":null,"disabled":false,"reserved":false,"internal":false},{"id":"key_undoCloseWindow","key":"","keycode":"","group":"windowAndTabManagement","l10nId":"zen-window-new-shortcut","modifiers":{"control":false,"alt":false,"shift":false,"meta":false},"action":"History:UndoCloseWindow","disabled":true,"reserved":false,"internal":false},{"id":"key_restoreLastClosedTabOrWindowOrSession","key":"t","keycode":null,"group":"windowAndTabManagement","l10nId":"zen-restore-last-closed-tab-shortcut","modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":true},"action":"History:RestoreLastClosedTabOrWindowOrSession","disabled":false,"reserved":false,"internal":false},{"id":"key_quitApplication","key":"q","keycode":null,"group":"windowAndTabManagement","l10nId":"zen-quit-app-shortcut","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":"cmd_quitApplication","disabled":false,"reserved":true,"internal":false},{"id":"key_sanitize","keycode":"VK_DELETE","group":"other","l10nId":null,"modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":true},"action":"Tools:Sanitize","disabled":false,"reserved":false,"internal":false},{"id":"key_screenshot","key":"s","keycode":null,"group":"mediaAndDisplay","l10nId":"zen-screenshot-shortcut","modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":true},"action":"Browser:Screenshot","disabled":false,"reserved":false,"internal":false},{"id":"key_privatebrowsing","key":"p","keycode":null,"group":"navigation","l10nId":"zen-private-browsing-shortcut","modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":true},"action":"Tools:PrivateBrowsing","disabled":false,"reserved":true,"internal":false},{"id":"key_switchTextDirection","key":"x","keycode":null,"group":"mediaAndDisplay","l10nId":"zen-bidi-switch-direction-shortcut","modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":true},"action":"cmd_switchTextDirection","disabled":false,"reserved":false,"internal":false},{"id":"key_showAllTabs","keycode":"VK_TAB","group":"other","l10nId":null,"modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":true},"action":null,"disabled":false,"reserved":false,"internal":false},{"id":null,"key":"","keycode":null,"group":"other","l10nId":"zen-full-zoom-reset-shortcut-alt","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":"cmd_fullZoomReset","disabled":false,"reserved":false,"internal":false},{"id":"key_fullZoomReset","key":"0","keycode":null,"group":"mediaAndDisplay","l10nId":"zen-full-zoom-reset-shortcut","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":"cmd_fullZoomReset","disabled":false,"reserved":false,"internal":false},{"id":null,"key":"","keycode":null,"group":"other","l10nId":"zen-full-zoom-enlarge-shortcut-alt2","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":"cmd_fullZoomEnlarge","disabled":false,"reserved":false,"internal":false},{"id":null,"key":"=","keycode":null,"group":"other","l10nId":"zen-full-zoom-enlarge-shortcut-alt","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":"cmd_fullZoomEnlarge","disabled":false,"reserved":false,"internal":false},{"id":"key_fullZoomEnlarge","key":"+","keycode":null,"group":"mediaAndDisplay","l10nId":"zen-full-zoom-enlarge-shortcut","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":"cmd_fullZoomEnlarge","disabled":false,"reserved":false,"internal":false},{"id":null,"key":"","keycode":null,"group":"other","l10nId":"zen-full-zoom-reduce-shortcut-alt-b","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":"cmd_fullZoomReduce","disabled":false,"reserved":false,"internal":false},{"id":null,"key":"_","keycode":null,"group":"other","l10nId":"zen-full-zoom-reduce-shortcut-alt-a","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":"cmd_fullZoomReduce","disabled":false,"reserved":false,"internal":false},{"id":"key_fullZoomReduce","key":"-","keycode":null,"group":"mediaAndDisplay","l10nId":"zen-full-zoom-reduce-shortcut","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":"cmd_fullZoomReduce","disabled":false,"reserved":false,"internal":false},{"id":"key_gotoHistory","key":"h","keycode":null,"group":"navigation","l10nId":"zen-history-sidebar-shortcut","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":null,"disabled":false,"reserved":false,"internal":false},{"id":"toggleSidebarKb","key":"z","keycode":null,"group":"other","l10nId":"zen-toggle-sidebar-shortcut","modifiers":{"control":false,"alt":true,"shift":false,"meta":false,"accel":true},"action":null,"disabled":false,"reserved":false,"internal":false},{"id":"viewGenaiChatSidebarKb","key":"x","keycode":null,"group":"other","l10nId":"zen-ai-chatbot-sidebar-shortcut","modifiers":{"control":false,"alt":true,"shift":false,"meta":false,"accel":true},"action":null,"disabled":false,"reserved":false,"internal":false},{"id":"key_stop","key":"","keycode":"","group":"other","l10nId":null,"modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":false},"action":"Browser:Stop","disabled":false,"reserved":false,"internal":false},{"id":"viewBookmarksToolbarKb","key":"b","keycode":null,"group":"other","l10nId":"zen-bookmark-show-toolbar-shortcut","modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":true},"action":null,"disabled":false,"reserved":false,"internal":false},{"id":"viewBookmarksSidebarKb","key":"b","keycode":null,"group":"other","l10nId":"zen-bookmark-show-sidebar-shortcut","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":null,"disabled":false,"reserved":false,"internal":false},{"id":"manBookmarkKb","key":"o","keycode":null,"group":"historyAndBookmarks","l10nId":"zen-bookmark-show-library-shortcut","modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":true},"action":"Browser:ShowAllBookmarks","disabled":false,"reserved":false,"internal":false},{"id":"bookmarkAllTabsKb","key":"","keycode":"","group":"historyAndBookmarks","l10nId":"zen-bookmark-this-page-shortcut","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":false},"action":null,"disabled":false,"reserved":false,"internal":false},{"id":"addBookmarkAsKb","key":"d","keycode":null,"group":"historyAndBookmarks","l10nId":"zen-bookmark-this-page-shortcut","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":"Browser:AddBookmarkAs","disabled":false,"reserved":false,"internal":false},{"id":null,"keycode":"VK_F3","group":"other","l10nId":"zen-search-find-again-shortcut-prev","modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":false},"action":"cmd_findPrevious","disabled":false,"reserved":false,"internal":false},{"id":null,"keycode":"VK_F3","group":"other","l10nId":"zen-search-find-again-shortcut-alt","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":false},"action":"cmd_findAgain","disabled":false,"reserved":false,"internal":false},{"id":"key_findPrevious","key":"g","keycode":null,"group":"searchAndFind","l10nId":"zen-search-find-again-shortcut-prev","modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":true},"action":"cmd_findPrevious","disabled":false,"reserved":false,"internal":false},{"id":"key_findAgain","key":"g","keycode":null,"group":"searchAndFind","l10nId":"zen-search-find-again-shortcut","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":"cmd_findAgain","disabled":false,"reserved":false,"internal":false},{"id":"key_find","key":"f","keycode":null,"group":"searchAndFind","l10nId":"zen-find-shortcut","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":"cmd_find","disabled":false,"reserved":false,"internal":false},{"id":"key_viewInfo","key":"i","keycode":null,"group":"pageOperations","l10nId":"zen-page-info-shortcut","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":"View:PageInfo","disabled":false,"reserved":false,"internal":false},{"id":"key_viewSource","key":"u","keycode":null,"group":"pageOperations","l10nId":"zen-page-source-shortcut","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":"View:PageSource","disabled":false,"reserved":false,"internal":false},{"id":"key_aboutProcesses","keycode":"VK_ESCAPE","group":"other","l10nId":null,"modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":false},"action":"View:AboutProcesses","disabled":false,"reserved":false,"internal":false},{"id":"key_reload_skip_cache","key":"r","keycode":null,"group":"navigation","l10nId":"zen-nav-reload-shortcut-skip-cache","modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":true},"action":"Browser:ReloadSkipCache","disabled":false,"reserved":false,"internal":false},{"id":"key_reload","key":"r","keycode":null,"group":"navigation","l10nId":"zen-nav-reload-shortcut","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":"Browser:Reload","disabled":false,"reserved":false,"internal":false},{"id":null,"key":"}","keycode":null,"group":"other","l10nId":"zen-picture-in-picture-toggle-shortcut-alt","modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":true},"action":"View:PictureInPicture","disabled":false,"reserved":false,"internal":false},{"id":"key_togglePictureInPicture","key":"]","keycode":null,"group":"pageOperations","l10nId":"zen-picture-in-picture-toggle-shortcut","modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":true},"action":"View:PictureInPicture","disabled":false,"reserved":false,"internal":false},{"id":"key_toggleReaderMode","key":"r","keycode":null,"group":"pageOperations","l10nId":"zen-reader-mode-toggle-shortcut-other","modifiers":{"control":false,"alt":true,"shift":false,"meta":false,"accel":true},"action":"View:ReaderView","disabled":true,"reserved":false,"internal":false},{"id":"key_exitFullScreen","keycode":"VK_F11","group":"other","l10nId":null,"modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":false},"action":"View:FullScreen","disabled":true,"reserved":true,"internal":false},{"id":"key_enterFullScreen","keycode":"VK_F11","group":"other","l10nId":null,"modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":false},"action":"View:FullScreen","disabled":false,"reserved":false,"internal":false},{"id":null,"keycode":"VK_F5","group":"other","l10nId":null,"modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":"Browser:ReloadSkipCache","disabled":false,"reserved":false,"internal":false},{"id":"showAllHistoryKb","key":"h","keycode":null,"group":"historyAndBookmarks","l10nId":"zen-history-show-all-shortcut","modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":true},"action":"Browser:ShowAllHistory","disabled":false,"reserved":false,"internal":false},{"id":null,"keycode":"VK_F5","group":"other","l10nId":null,"modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":false},"action":"Browser:Reload","disabled":false,"reserved":false,"internal":false},{"id":"goHome","keycode":"VK_HOME","group":"navigation","l10nId":null,"modifiers":{"control":false,"alt":true,"shift":false,"meta":false,"accel":false},"action":null,"disabled":false,"reserved":false,"internal":false},{"id":"goForwardKb2","key":"]","keycode":null,"group":"navigation","l10nId":"zen-nav-fwd-shortcut-alt","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":"Browser:Forward","disabled":false,"reserved":false,"internal":false},{"id":"goBackKb2","key":"[","keycode":null,"group":"navigation","l10nId":"zen-nav-back-shortcut-alt","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":"Browser:Back","disabled":false,"reserved":false,"internal":false},{"id":"goForwardKb","keycode":"VK_RIGHT","group":"navigation","l10nId":null,"modifiers":{"control":false,"alt":true,"shift":false,"meta":false,"accel":false},"action":"Browser:Forward","disabled":false,"reserved":false,"internal":false},{"id":"goBackKb","keycode":"VK_LEFT","group":"navigation","l10nId":null,"modifiers":{"control":false,"alt":true,"shift":false,"meta":false,"accel":false},"action":"Browser:Back","disabled":false,"reserved":false,"internal":false},{"id":null,"keycode":"VK_BACK","group":"other","l10nId":null,"modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":false},"action":"cmd_handleShiftBackspace","disabled":false,"reserved":false,"internal":false},{"id":null,"keycode":"VK_BACK","group":"other","l10nId":null,"modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":false},"action":"cmd_handleBackspace","disabled":false,"reserved":false,"internal":false},{"id":"key_selectAll","key":"a","keycode":null,"group":"other","l10nId":"zen-text-action-select-all-shortcut","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":null,"disabled":false,"reserved":false,"internal":true},{"id":"key_delete","keycode":"VK_DELETE","group":"other","l10nId":null,"modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":false},"action":"cmd_delete","disabled":false,"reserved":false,"internal":false},{"id":"key_paste","key":"v","keycode":null,"group":"other","l10nId":"zen-text-action-paste-shortcut","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":null,"disabled":false,"reserved":false,"internal":true},{"id":"key_copy","key":"c","keycode":null,"group":"other","l10nId":"zen-text-action-copy-shortcut","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":null,"disabled":false,"reserved":false,"internal":true},{"id":"key_cut","key":"x","keycode":null,"group":"other","l10nId":"zen-text-action-cut-shortcut","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":null,"disabled":false,"reserved":false,"internal":true},{"id":"key_redo","key":"z","keycode":null,"group":"other","l10nId":"zen-text-action-undo-shortcut","modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":true},"action":null,"disabled":false,"reserved":false,"internal":true},{"id":"key_undo","key":"z","keycode":null,"group":"other","l10nId":"zen-text-action-undo-shortcut","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":null,"disabled":false,"reserved":false,"internal":true},{"id":"key_toggleMute","key":"m","keycode":null,"group":"mediaAndDisplay","l10nId":"zen-mute-toggle-shortcut","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":"cmd_toggleMute","disabled":false,"reserved":false,"internal":false},{"id":"key_closeWindow","key":"w","keycode":null,"group":"windowAndTabManagement","l10nId":"zen-close-shortcut","modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":true},"action":"cmd_closeWindow","disabled":false,"reserved":true,"internal":false},{"id":"key_close","key":"q","keycode":"","group":"windowAndTabManagement","l10nId":"zen-close-tab-shortcut","modifiers":{"control":false,"alt":true,"shift":false,"meta":false,"accel":false},"action":"cmd_close","disabled":false,"reserved":true,"internal":false},{"id":"printKb","key":"p","keycode":null,"group":"pageOperations","l10nId":"zen-print-shortcut","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":"cmd_print","disabled":false,"reserved":false,"internal":false},{"id":"key_savePage","key":"s","keycode":null,"group":"pageOperations","l10nId":"zen-save-page-shortcut","modifiers":{"control":false,"alt":true,"shift":true,"meta":false,"accel":true},"action":"Browser:SavePage","disabled":false,"reserved":false,"internal":false},{"id":"openFileKb","key":"","keycode":"","group":"other","l10nId":"zen-file-open-shortcut","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":false},"action":"Browser:OpenFile","disabled":false,"reserved":false,"internal":false},{"id":"key_openAddons","key":"a","keycode":null,"group":"other","l10nId":"zen-addons-shortcut","modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":true},"action":"Tools:Addons","disabled":false,"reserved":false,"internal":false},{"id":"key_openDownloads","key":"y","keycode":null,"group":"other","l10nId":"zen-downloads-shortcut","modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":true},"action":"Tools:Downloads","disabled":false,"reserved":false,"internal":false},{"id":"key_search2","key":"j","keycode":null,"group":"searchAndFind","l10nId":"zen-search-focus-shortcut-alt","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":"Tools:Search","disabled":false,"reserved":false,"internal":false},{"id":"key_search","key":"k","keycode":null,"group":"searchAndFind","l10nId":"zen-search-focus-shortcut","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":"Tools:Search","disabled":false,"reserved":false,"internal":false},{"id":"focusURLBar2","key":"d","keycode":null,"group":"pageOperations","l10nId":"zen-location-open-shortcut-alt","modifiers":{"control":false,"alt":true,"shift":false,"meta":false,"accel":false},"action":"Browser:OpenLocation","disabled":false,"reserved":false,"internal":false},{"id":"focusURLBar","key":"l","keycode":null,"group":"pageOperations","l10nId":"zen-location-open-shortcut","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":"Browser:OpenLocation","disabled":false,"reserved":false,"internal":false},{"id":"key_newNavigatorTab","key":"","keycode":"VK_RETURN","group":"windowAndTabManagement","l10nId":"zen-tab-new-shortcut","modifiers":{"control":false,"alt":true,"shift":false,"meta":false,"accel":false},"action":"cmd_newNavigatorTabNoEvent","disabled":false,"reserved":true,"internal":false},{"id":"key_newNavigator","key":"n","keycode":null,"group":"windowAndTabManagement","l10nId":"zen-window-new-shortcut","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":"cmd_newNavigator","disabled":false,"reserved":true,"internal":false},{"id":"zen-compact-mode-toggle","key":"s","keycode":"","group":"zen-compact-mode","l10nId":"zen-compact-mode-shortcut-toggle","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":"cmd_toggleCompactModeIgnoreHover","disabled":false,"reserved":false,"internal":false},{"id":"zen-compact-mode-show-sidebar","key":"s","keycode":"","group":"zen-compact-mode","l10nId":"zen-compact-mode-shortcut-show-sidebar","modifiers":{"control":false,"alt":true,"shift":false,"meta":false,"accel":true},"action":"cmd_zenCompactModeShowSidebar","disabled":false,"reserved":false,"internal":false},{"id":"zen-workspace-switch-10","key":"","keycode":"","group":"zen-workspace","l10nId":"zen-workspace-shortcut-switch-10","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":false},"action":"cmd_zenWorkspaceSwitch10","disabled":false,"reserved":false,"internal":false},{"id":"zen-workspace-switch-9","key":"","keycode":"","group":"zen-workspace","l10nId":"zen-workspace-shortcut-switch-9","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":false},"action":"cmd_zenWorkspaceSwitch9","disabled":false,"reserved":false,"internal":false},{"id":"zen-workspace-switch-8","key":"","keycode":"","group":"zen-workspace","l10nId":"zen-workspace-shortcut-switch-8","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":false},"action":"cmd_zenWorkspaceSwitch8","disabled":false,"reserved":false,"internal":false},{"id":"zen-workspace-switch-7","key":"","keycode":"","group":"zen-workspace","l10nId":"zen-workspace-shortcut-switch-7","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":false},"action":"cmd_zenWorkspaceSwitch7","disabled":false,"reserved":false,"internal":false},{"id":"zen-workspace-switch-6","key":"","keycode":"","group":"zen-workspace","l10nId":"zen-workspace-shortcut-switch-6","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":false},"action":"cmd_zenWorkspaceSwitch6","disabled":false,"reserved":false,"internal":false},{"id":"zen-workspace-switch-5","key":"","keycode":"","group":"zen-workspace","l10nId":"zen-workspace-shortcut-switch-5","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":false},"action":"cmd_zenWorkspaceSwitch5","disabled":false,"reserved":false,"internal":false},{"id":"zen-workspace-switch-4","key":"","keycode":"","group":"zen-workspace","l10nId":"zen-workspace-shortcut-switch-4","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":false},"action":"cmd_zenWorkspaceSwitch4","disabled":false,"reserved":false,"internal":false},{"id":"zen-workspace-switch-3","key":"","keycode":"","group":"zen-workspace","l10nId":"zen-workspace-shortcut-switch-3","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":false},"action":"cmd_zenWorkspaceSwitch3","disabled":false,"reserved":false,"internal":false},{"id":"zen-workspace-switch-2","key":"","keycode":"","group":"zen-workspace","l10nId":"zen-workspace-shortcut-switch-2","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":false},"action":"cmd_zenWorkspaceSwitch2","disabled":false,"reserved":false,"internal":false},{"id":"zen-workspace-switch-1","key":"","keycode":"","group":"zen-workspace","l10nId":"zen-workspace-shortcut-switch-1","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":false},"action":"cmd_zenWorkspaceSwitch1","disabled":false,"reserved":false,"internal":false},{"id":"zen-workspace-forward","key":"","keycode":"VK_RIGHT","group":"zen-workspace","l10nId":"zen-workspace-shortcut-forward","modifiers":{"control":false,"alt":true,"shift":false,"meta":false,"accel":true},"action":"cmd_zenWorkspaceForward","disabled":false,"reserved":false,"internal":false},{"id":"zen-workspace-backward","key":"","keycode":"VK_LEFT","group":"zen-workspace","l10nId":"zen-workspace-shortcut-backward","modifiers":{"control":false,"alt":true,"shift":false,"meta":false,"accel":true},"action":"cmd_zenWorkspaceBackward","disabled":false,"reserved":false,"internal":false},{"id":"zen-split-view-grid","key":"g","keycode":"","group":"zen-split-view","l10nId":"zen-split-view-shortcut-grid","modifiers":{"control":false,"alt":true,"shift":false,"meta":false,"accel":true},"action":"cmd_zenSplitViewGrid","disabled":false,"reserved":false,"internal":false},{"id":"zen-split-view-vertical","key":"v","keycode":"","group":"zen-split-view","l10nId":"zen-split-view-shortcut-vertical","modifiers":{"control":false,"alt":true,"shift":false,"meta":false,"accel":true},"action":"cmd_zenSplitViewVertical","disabled":false,"reserved":false,"internal":false},{"id":"zen-split-view-horizontal","key":"h","keycode":"","group":"zen-split-view","l10nId":"zen-split-view-shortcut-horizontal","modifiers":{"control":false,"alt":true,"shift":false,"meta":false,"accel":true},"action":"cmd_zenSplitViewHorizontal","disabled":false,"reserved":false,"internal":false},{"id":"zen-split-view-unsplit","key":"u","keycode":"","group":"zen-split-view","l10nId":"zen-split-view-shortcut-unsplit","modifiers":{"control":false,"alt":true,"shift":false,"meta":false,"accel":true},"action":"cmd_zenSplitViewUnsplit","disabled":false,"reserved":false,"internal":false},{"id":"zen-pinned-tab-reset-shortcut","key":"","keycode":"","group":"zen-other","l10nId":"zen-pinned-tab-shortcut-reset","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":false},"action":"cmd_zenPinnedTabReset","disabled":false,"reserved":false,"internal":false},{"id":"zen-toggle-sidebar","key":"","keycode":"","group":"zen-other","l10nId":"zen-sidebar-shortcut-toggle","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":false},"action":"cmd_zenToggleSidebar","disabled":false,"reserved":false,"internal":false},{"id":"zen-copy-url","key":"c","keycode":"","group":"zen-other","l10nId":"zen-text-action-copy-url-shortcut","modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":true},"action":"cmd_zenCopyCurrentURL","disabled":false,"reserved":false,"internal":false},{"id":"zen-copy-url-markdown","key":"c","keycode":"","group":"zen-other","l10nId":"zen-text-action-copy-url-markdown-shortcut","modifiers":{"control":false,"alt":true,"shift":true,"meta":false,"accel":true},"action":"cmd_zenCopyCurrentURLMarkdown","disabled":false,"reserved":false,"internal":false},{"id":"zen-toggle-pin-tab","key":"d","keycode":"","group":"zen-other","l10nId":"zen-toggle-pin-tab-shortcut","modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":true},"action":"cmd_zenTogglePinTab","disabled":false,"reserved":false,"internal":false},{"id":"zen-glance-expand","key":"o","keycode":"","group":"zen-other","l10nId":"","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":"cmd_zenGlanceExpand","disabled":false,"reserved":false,"internal":false},{"id":"zen-new-empty-split-view","key":"*","keycode":"","group":"zen-split-view","l10nId":"zen-new-empty-split-view-shortcut","modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":true},"action":"cmd_zenNewEmptySplit","disabled":false,"reserved":false,"internal":false},{"id":"zen-close-all-unpinned-tabs","key":"k","keycode":"","group":"zen-workspace","l10nId":"zen-close-all-unpinned-tabs-shortcut","modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":true},"action":"cmd_zenCloseUnpinnedTabs","disabled":false,"reserved":false,"internal":false},{"id":"key_accessibility","keycode":"VK_F12","group":"devTools","l10nId":null,"modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":false},"action":null,"disabled":false,"reserved":false,"internal":false},{"id":"key_dom","key":"w","keycode":null,"group":"devTools","l10nId":null,"modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":true},"action":null,"disabled":false,"reserved":false,"internal":false},{"id":"key_storage","keycode":"VK_F9","group":"devTools","l10nId":null,"modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":false},"action":null,"disabled":false,"reserved":false,"internal":false},{"id":"key_performance","keycode":"VK_F5","group":"devTools","l10nId":null,"modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":false},"action":null,"disabled":false,"reserved":false,"internal":false},{"id":"key_styleeditor","keycode":"VK_F7","group":"devTools","l10nId":null,"modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":false},"action":null,"disabled":false,"reserved":false,"internal":false},{"id":"key_netmonitor","key":"e","keycode":null,"group":"devTools","l10nId":null,"modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":true},"action":null,"disabled":false,"reserved":false,"internal":false},{"id":"key_jsdebugger","key":"z","keycode":null,"group":"devTools","l10nId":null,"modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":true},"action":null,"disabled":false,"reserved":false,"internal":false},{"id":"key_webconsole","key":"k","keycode":null,"group":"devTools","l10nId":null,"modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":true},"action":null,"disabled":false,"reserved":false,"internal":false},{"id":"key_inspector","key":"l","keycode":null,"group":"devTools","l10nId":null,"modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":true},"action":null,"disabled":false,"reserved":false,"internal":false},{"id":"key_responsiveDesignMode","key":"m","keycode":null,"group":"devTools","l10nId":null,"modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":true},"action":null,"disabled":false,"reserved":false,"internal":false},{"id":"key_browserConsole","key":"j","keycode":null,"group":"devTools","l10nId":null,"modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":true},"action":null,"disabled":false,"reserved":false,"internal":false},{"id":"key_browserToolbox","key":"i","keycode":null,"group":"devTools","l10nId":null,"modifiers":{"control":false,"alt":true,"shift":true,"meta":false,"accel":true},"action":null,"disabled":false,"reserved":false,"internal":false},{"id":"key_toggleToolbox","key":"i","keycode":null,"group":"devTools","l10nId":null,"modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":true},"action":null,"disabled":false,"reserved":false,"internal":false},{"id":"zen-new-unsynced-window","key":"n","keycode":"","group":"zen-other","l10nId":"zen-new-unsynced-window-shortcut","modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":true},"action":"cmd_zenNewNavigatorUnsynced","disabled":false,"reserved":false,"internal":false},{"id":"key_reload_skip_cache2","keycode":"VK_F5","group":"other","l10nId":null,"modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":true},"action":"Browser:ReloadSkipCache","disabled":false,"reserved":false,"internal":false},{"id":"key_reload2","keycode":"VK_F5","group":"other","l10nId":null,"modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":false},"action":"Browser:Reload","disabled":false,"reserved":false,"internal":false},{"id":"zen-new-unsynced-window","key":"n","keycode":"","group":"zen-other","l10nId":"zen-new-unsynced-window-shortcut","modifiers":{"control":false,"alt":false,"shift":true,"meta":false,"accel":true},"action":"cmd_zenNewNavigatorUnsynced","disabled":false,"reserved":false,"internal":false},{"id":"zen-duplicate-tab","key":"","keycode":"","group":"windowAndTabManagement","l10nId":"zen-duplicate-tab-shortcut","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":false},"action":"cmd_zenDuplicateTab","disabled":false,"reserved":false,"internal":false},{"id":"zen-workspace-create","key":"","keycode":"","group":"zen-workspace","l10nId":"zen-workspace-shortcut-create","modifiers":{"control":false,"alt":false,"shift":false,"meta":false,"accel":false},"action":"cmd_zenOpenWorkspaceCreation","disabled":false,"reserved":false,"internal":false},{"id":"key_duplicateTab","key":"","keycode":"","group":"other","l10nId":null,"modifiers":{"control":false,"alt":false,"shift":false,"meta":false},"action":"Browser:DuplicateTab","disabled":true,"reserved":false,"internal":false}]} \ No newline at end of file diff --git a/assets/dotfiles/zen-config/installs.ini b/assets/dotfiles/zen-config/installs.ini new file mode 100644 index 0000000..1a438d4 --- /dev/null +++ b/assets/dotfiles/zen-config/installs.ini @@ -0,0 +1,7 @@ +[BC3695949C265579] +Default=8o3fztws.Default (release)-3 +Locked=1 + +[15B76BAA26BA15E7] +Default=8o3fztws.Default (release)-3 +Locked=1 diff --git a/assets/dotfiles/zen-config/profiles.ini b/assets/dotfiles/zen-config/profiles.ini new file mode 100644 index 0000000..c669cf1 --- /dev/null +++ b/assets/dotfiles/zen-config/profiles.ini @@ -0,0 +1,18 @@ +[Profile0] +Name=greys-zen-profile +IsRelative=1 +Path=8o3fztws.Default (release)-3 +Default=1 + +[General] +StartWithLastProfile=1 +Version=2 + +[InstallBC3695949C265579] +Default=8o3fztws.Default (release)-3 +Locked=1 + +[Install15B76BAA26BA15E7] +Default=8o3fztws.Default (release)-3 +Locked=1 + diff --git a/assets/oxygenrc b/assets/oxygenrc deleted file mode 100644 index ae42bcc..0000000 --- a/assets/oxygenrc +++ /dev/null @@ -1,4 +0,0 @@ -[ActiveShadow] -InnerColor=60,158,211 -ShadowSize=10 -UseOuterColor=false diff --git a/flake.lock b/flake.lock index bde57f4..a6ed3fb 100644 --- a/flake.lock +++ b/flake.lock @@ -76,11 +76,11 @@ }, "locked": { "dir": "pkgs/firefox-addons", - "lastModified": 1783569760, - "narHash": "sha256-debpliOeMVTrO3IpmFmqfSO/mgYVYxhPmxGwDrBpknU=", + "lastModified": 1783656166, + "narHash": "sha256-6WP/DOGL2X6DdZl+vhxt/R7Ahn31z0cwo3JJ0cYFC2M=", "owner": "rycee", "repo": "nur-expressions", - "rev": "32cdec83ac1c9d5219dbb2278b9d4e3f2f6b5dc3", + "rev": "dd7e87fef8e4b30bfbf59418c48ddd3ab4ddb42e", "type": "gitlab" }, "original": { @@ -107,6 +107,24 @@ } }, "flake-parts": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib" + }, + "locked": { + "lastModified": 1782949081, + "narHash": "sha256-vp6Y/Grm98ESt6ceOkWiHWyZRDV3J1RID4w+6NWK9yA=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "17c9d6cdfc60c64f4ee8d306f9bc0b4ccb51481e", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_2": { "inputs": { "nixpkgs-lib": [ "stylix", @@ -167,11 +185,11 @@ ] }, "locked": { - "lastModified": 1783221248, - "narHash": "sha256-ESQnuNHEDChsB4IxoLRhscVahqkDWkTb+qdIz8euYt4=", + "lastModified": 1783740085, + "narHash": "sha256-qajyHfZY29G2oEQk+uHxmsJcRoBUBXP9maTpFlwP/dI=", "owner": "nix-community", "repo": "home-manager", - "rev": "af2beae5f0fae0a4310cc0e6aef2572f56090353", + "rev": "3cd22efe6471dc7365c822bd9ad73a21e55f38fb", "type": "github" }, "original": { @@ -181,6 +199,48 @@ "type": "github" } }, + "millennium": { + "inputs": { + "millennium-src": "millennium-src", + "nixpkgs": [ + "nixos-millennium", + "nixpkgs" + ] + }, + "locked": { + "dir": "packages/nix", + "lastModified": 1783468235, + "narHash": "sha256-IuQdeYcWETUalgPaL+OgRsS43XrtV7anXypcFXdMI8M=", + "owner": "SteamClientHomebrew", + "repo": "Millennium", + "rev": "cf12bf3734b4b2ce609b08bdb14a4cfd222b4fd4", + "type": "github" + }, + "original": { + "dir": "packages/nix", + "owner": "SteamClientHomebrew", + "ref": "next", + "repo": "Millennium", + "type": "github" + } + }, + "millennium-src": { + "flake": false, + "locked": { + "lastModified": 1783268941, + "narHash": "sha256-MJLJ0I48HXgfOpISTAbDMYMUdWj9A6M+jGQz4uAvwyw=", + "owner": "SteamClientHomebrew", + "repo": "Millennium", + "rev": "f37f05bdbd4727d873a1ad83ce72d062ef9a0c48", + "type": "github" + }, + "original": { + "owner": "SteamClientHomebrew", + "repo": "Millennium", + "rev": "f37f05bdbd4727d873a1ad83ce72d062ef9a0c48", + "type": "github" + } + }, "nh": { "inputs": { "nixpkgs": [ @@ -201,13 +261,35 @@ "type": "github" } }, + "nixos-millennium": { + "inputs": { + "flake-parts": "flake-parts", + "millennium": "millennium", + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1783784193, + "narHash": "sha256-ishdCW9PapBqJ04zB+Muk57z/VNlr9pM0fSMTJg/25g=", + "ref": "refs/heads/main", + "rev": "2873e9686a237a2b08b96f02c78611d082b68ffd", + "revCount": 97, + "type": "git", + "url": "https://git.greyweather.dev/greyweather/nixos-millennium" + }, + "original": { + "type": "git", + "url": "https://git.greyweather.dev/greyweather/nixos-millennium" + } + }, "nixpkgs": { "locked": { - "lastModified": 1783389287, - "narHash": "sha256-0xIy4dVLqq47rA+mRy0hXDfjhQd4E5PoIns/RmB7nR4=", + "lastModified": 1783703440, + "narHash": "sha256-O3/YajjWo001VUIgD8BwaRdSNLUFe7nZ1qV5TwhRBcw=", "owner": "nixos", "repo": "nixpkgs", - "rev": "0ad6f47ea4fe188f4bc8f0380f93ae8523337c6c", + "rev": "8f0500b9660505dc3cb647775fe9a978a74b5283", "type": "github" }, "original": { @@ -217,6 +299,21 @@ "type": "github" } }, + "nixpkgs-lib": { + "locked": { + "lastModified": 1782614948, + "narHash": "sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC+eBu2zKlp8=", + "owner": "nix-community", + "repo": "nixpkgs.lib", + "rev": "db3f255737b94216eb71cce308e2912cf6bc2d7c", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nixpkgs.lib", + "type": "github" + } + }, "noctalia": { "inputs": { "nixpkgs": [ @@ -224,11 +321,11 @@ ] }, "locked": { - "lastModified": 1783614904, - "narHash": "sha256-ynxhCPezAjf6s2rGtTtE/3pSvWhs25CGjEbIdwumR3s=", + "lastModified": 1783783058, + "narHash": "sha256-mzef/lDjw6PzpAsuN/Y9Y30BhHJe1/4VMFmr5xxuDGs=", "owner": "noctalia-dev", "repo": "noctalia", - "rev": "bec3a3ad398e445b117c747a1242ff10664293b3", + "rev": "c80f660a787192b0558f62c8c0bb9c50c2b03d7a", "type": "github" }, "original": { @@ -290,6 +387,7 @@ "firefox-addons": "firefox-addons", "home-manager": "home-manager", "nh": "nh", + "nixos-millennium": "nixos-millennium", "nixpkgs": "nixpkgs", "noctalia": "noctalia", "plasma-manager": "plasma-manager", @@ -306,11 +404,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1783303713, - "narHash": "sha256-d6Zs6wD0kvWQXn7qPU0YsuqoqBhT7zi5+1M365FINt8=", + "lastModified": 1783713280, + "narHash": "sha256-TcDlq7je/KLuwDVpCWBp6hoBqxuhWvatekq8pqPjY60=", "owner": "Gerg-L", "repo": "spicetify-nix", - "rev": "d9d714243e2f8d10af28db5111f018ec2d77acc9", + "rev": "3fdc209a45ff9b4e95596feb3be1684d9da51735", "type": "github" }, "original": { @@ -326,7 +424,7 @@ "base16-helix": "base16-helix", "base16-vim": "base16-vim", "firefox-gnome-theme": "firefox-gnome-theme", - "flake-parts": "flake-parts", + "flake-parts": "flake-parts_2", "gnome-shell": "gnome-shell", "nixpkgs": [ "nixpkgs" @@ -457,11 +555,11 @@ ] }, "locked": { - "lastModified": 1783598313, - "narHash": "sha256-LAz4EAdT56VSCSF0oFJNjpIYFVmWW81nM5+3Ieocx5I=", + "lastModified": 1783668941, + "narHash": "sha256-KFnepHImqltAzpJZ8sh8i3qzC1NRVNQX3WBVoD5oBRM=", "owner": "0xc000022070", "repo": "zen-browser-flake", - "rev": "175926c1007114b9d0f8465f23a7d7ce9b26fe33", + "rev": "71e156423dae9496d7fd9e89029a1a82516fb9d8", "type": "github" }, "original": { diff --git a/global-configs/equibop.nix b/global-configs/equibop.nix index 5dace25..9602064 100644 --- a/global-configs/equibop.nix +++ b/global-configs/equibop.nix @@ -1,157 +1,27 @@ { pkgs, + lib, ... }: { - programs.equibop = { - enable = true; - settings = { - discordBranch = "stable"; - tray = false; - minimizeToTray = false; - autoStartMinimized = false; - enableMenu = false; - hardwareAcceleration = true; - arRPC = false; - appBadge = true; - customTitleBar = true; - enableSplashScreen = true; - }; - equicord = { - settings = { - autoUpdate = false; - useQuickCss = true; - enabledThemeLinks = [ - "https://raw.githubusercontent.com/refact0r/midnight-discord/refs/heads/master/themes/midnight.theme.css" - ]; - enableOnlineThemes = true; - cloud = { - authenticated = false; - url = "https://cloud.equicord.org/"; - settingsSync = false; - }; - plugins = { - "EquicordHelper" = { - "enabled" = true; - "noMirroredCamera" = false; - "removeActivitySection" = false; - "showYourOwnActivityButtons" = false; - "forceRoleIcon" = false; - "restoreFileDownloadButton" = false; - "noModalAnimation" = false; - "disableAdoptTagPrompt" = false; - "jsonGateway" = false; - "hideVoiceIndicatorForMutedChannels" = false; - "noBulletPoints" = false; - "accountStandingButton" = false; - }; - "NoTrack" = { - "enabled" = true; - "disableAnalytics" = true; - }; - "NewPluginsManager" = { - enabled = true; - }; - "BetterCommands" = { - enabled = true; - autoFillArguments = true; - allowNewlinesInCommands = true; - }; - "BetterAudioPlayer" = { - enabled = true; - oscilloscope = true; - spectrograph = true; - oscilloscopeSolidColor = false; - oscilloscopeColor = "255, 255, 255"; - spectrographSolidColor = false; - spectrographColor = "33, 150, 243"; - }; - "WebKeybinds" = { - enabled = true; - }; - "WebScreenShareFixes" = { - enabled = true; - }; - "FullUserInChatbox" = { - enabled = true; - }; - "ForceOwnerCrown" = { - enabled = true; - }; - "FixYoutubeEmbeds" = { - enabled = true; - }; - "FakeNitro" = { - enabled = true; - enableEmojiBypass = true; - emojiSize = 48; - transformEmojis = true; - enableStickerBypass = true; - stickerSize = 160; - transformStickers = true; - transformCompoundSentence = false; - enableStreamQualityBypass = true; - useStickerHyperLinks = true; - useEmojiHyperLinks = true; - hyperLinkText = "{{NAME}}"; - disableEmbedPermissionCheck = false; - }; - "DisableCallIdle" = { - enabled = true; - }; - "BetterUploadButton" = { - enabled = true; - }; - "BetterSettings" = { - enabled = true; - disableFade = true; - organizeMenu = true; - eagerLoad = true; - }; - "BetterGifPicker" = { - enabled = true; - keepOpen = false; - }; - "Settings" = { - enabled = true; - settingsLocation = "aboveNitro"; - includeVencordInfoWhenCopying = true; - }; - "Declutter" = { - enabled = true; - removeAvatarDecoration = false; - removeNameplate = false; - removeProfileEffect = false; - removeClanTag = false; - alwaysShowUsername = true; + programs.equibop.enable = true; - removeShopAboveDms = true; - removeQuestsAboveDms = true; - }; - "AltKrispSwitch" = { - enabled = true; - }; - "ClearURLs" = { - enabled = true; - }; - "YoutubeAdblock" = { - enabled = true; - }; - }; - }; - extraQuickCss = '' - /* color options */ - :root { - --colors: on; /* off: discord default colors, on: midnight custom colors */ + home.activation = { + linkEquibopConfig = lib.hm.dag.entryAfter ["writeBoundary"] '' + #!/bin/bash + if [ -f /home/grey/.config/equibop/settings.json ]; then + rm /home/grey/.config/equibop/settings.json + fi + ln -s /home/grey/nixos/assets/dotfiles/equibop-config/settings.json /home/grey/.config/equibop/settings.json - /* text colors */ - --text-0: var(--bg-4); /* text on colored elements */ - --text-1: hsl(220, 45%, 95%); /* other normally white text */ - --text-2: hsl(220, 25%, 75%); /* headings and important text */ - --text-3: hsl(220, 20%, 65%); /* normal text */ - --text-4: hsl(220, 15%, 55%); /* icon buttons and channels */ - --text-5: hsl(220, 15%, 45%); /* muted channels/chats and timestamps */ - }; - ''; - }; + if [ -f /home/grey/.config/equibop/settings/settings.json ]; then + rm /home/grey/.config/equibop/settings/settings.json + fi + ln -s /home/grey/nixos/assets/dotfiles/equibop-config/equicord-settings.json /home/grey/.config/equibop/settings/settings.json + + if [ -f /home/grey/.config/equibop/settings/quickCss.css ]; then + rm /home/grey/.config/equibop/settings/quickCss.css + fi + ln -s /home/grey/nixos/assets/dotfiles/equibop-config/quickCss.css /home/grey/.config/equibop/settings/quickCss.css + ''; }; } \ No newline at end of file diff --git a/global-configs/fastfetch.nix b/global-configs/fastfetch.nix index e50b479..fcdc6b6 100644 --- a/global-configs/fastfetch.nix +++ b/global-configs/fastfetch.nix @@ -19,11 +19,7 @@ }; modules = [ - { - type = "separator"; - string = " "; - times = 0; - } + "break" { type = "title"; color = { @@ -40,10 +36,6 @@ type = "os"; format = "{pretty-name}"; } - { - type = "host"; - format = "{version}"; - } { type = "kernel"; } @@ -109,6 +101,7 @@ } { type = "localip"; + key = "Local IP"; showIpv4 = true; showIpv6 = false; showMac = false; diff --git a/global-configs/floorp.nix b/global-configs/floorp.nix index 2d4b652..06b750d 100644 --- a/global-configs/floorp.nix +++ b/global-configs/floorp.nix @@ -181,6 +181,16 @@ in { icon = "https://wiki.nixos.org/favicon.ico"; definedAliases = ["@nw"]; }; + noogle = { + name = "Noogle"; + urls = [ + { + template = "https://noogle.dev/q/?term={searchTerms}"; + } + ]; + icon = "https://noogle.dev/favicon.ico"; + definedAliases = ["@ng"]; + }; arch-wiki = { name = "ArchWiki"; urls = [ diff --git a/global-configs/plasma.nix b/global-configs/plasma.nix index 87d26f8..ccc829a 100644 --- a/global-configs/plasma.nix +++ b/global-configs/plasma.nix @@ -15,120 +15,54 @@ ]; home.activation = { + linkKdeConfigs = lib.hm.dag.entryAfter ["writeBoundary"] '' + #!/bin/bash + cd /home/grey/nixos/assets/dotfiles/takamaki/kde-config + for file in $PWD/*; do + filename=$(basename $file) + if [ -f /home/grey/.config/$filename ]; then + rm /home/grey/.config/$filename + fi + ln -s $file /home/grey/.config/$filename + done + ''; + + linkCustomShortcuts = lib.hm.dag.entryAfter ["writeBoundary"] '' + #!/bin/bash + cd /home/grey/nixos/assets/dotfiles/takamaki/kde-custom-shortcuts + for file in $PWD/*; do + filename=$(basename $file) + if [ -f /home/grey/.local/share/applications/$filename ]; then + rm /home/grey/.local/share/applications/$filename + fi + ln -s $file /home/grey/.local/share/applications/$filename + done + ''; + linkThemingAssets = lib.hm.dag.entryAfter ["writeBoundary"] '' #!/bin/bash - if [ ! -d /home/grey/.local/share/wallpapers/ExposeAir ]; then + if [ -d /home/grey/.local/share/wallpapers/ExposeAir ]; then + rm -rf /home/grey/.local/share/wallpapers/ExposeAir + else mkdir -p /home/grey/.local/share/wallpapers - ln -s /home/grey/nixos/assets/expose-air/wallpapers/ExposeAir /home/grey/.local/share/wallpapers/ExposeAir fi + ln -s /home/grey/nixos/assets/expose-air/wallpapers/ExposeAir /home/grey/.local/share/wallpapers/ExposeAir - if [ ! -f /home/grey/.local/share/color-schemes/OxygenDarkEdit.colors ]; then + if [ -f /home/grey/.local/share/color-schemes/OxygenDarkEdit.colors ]; then + rm /home/grey/.local/share/color-schemes/OxygenDarkEdit.colors + else mkdir -p /home/grey/.local/share/color-schemes - ln -s /home/grey/nixos/assets/OxygenDarkEdit.colors /home/grey/.local/share/color-schemes/OxygenDarkEdit.colors fi + ln -s /home/grey/nixos/assets/dotfiles/takamaki/OxygenDarkEdit.colors /home/grey/.local/share/color-schemes/OxygenDarkEdit.colors - if [ ! -f /home/grey/.config/oxygenrc ]; then - ln -s /home/grey/nixos/assets/oxygenrc /home/grey/.config/oxygenrc - fi - - if [ ! -d /home/grey/.local/share/plasma/desktoptheme/exposeair ]; then + if [ -d /home/grey/.local/share/plasma/desktoptheme/exposeair ]; then + rm -rf /home/grey/.local/share/plasma/desktoptheme/exposeair + else mkdir -p /home/grey/.local/share/plasma/desktoptheme - ln -s /home/grey/nixos/assets/expose-air/desktoptheme/exposeair /home/grey/.local/share/plasma/desktoptheme/exposeair fi + ln -s /home/grey/nixos/assets/expose-air/desktoptheme/exposeair /home/grey/.local/share/plasma/desktoptheme/exposeair ''; }; - programs.plasma = { - enable = true; - overrideConfig = true; - - session.sessionRestore.restoreOpenApplicationsOnLogin = "startWithEmptySession"; - - input.keyboard.numlockOnStartup = "on"; - - workspace = { - clickItemTo = "select"; - colorScheme = "OxygenDarkEdit"; - cursor = { - size = 22; - theme = "Bibata-Modern-Ice"; - }; - iconTheme = "Papirus-Dark"; - theme = "exposeair"; - wallpaper = "/home/grey/.local/share/wallpapers/ExposeAir/contents/images/2560x1440.png"; - windowDecorations = { - library = "org.kde.oxygen"; - theme = "oxygen"; - }; - soundTheme = "oxygen"; - }; - - hotkeys.commands."rebuild-flake" = { - name = "Rebuild NixOS Flake"; - key = "Meta+Z"; - command = "kitty --hold bash -c \"nh os switch /home/grey/nixos; if [ \\$? == 0 ]; then exit; fi\""; - }; - - shortcuts = { - plasmashell = { - "Show Activity Switcher" = "none"; - "manage activities" = "none"; - }; - - kwin = { - "Close Window" = "Meta+Q"; - "Window Close" = "Meta+Q"; - }; - - "services/kitty.desktop"."_launch" = "Meta+Return"; - }; - - panels = [ - { - location = "bottom"; - widgets = [ - { - name = "org.kde.plasma.kickoff"; - config = { - General = { - icon = "nix-snowflake"; - }; - }; - } - { - name = "org.kde.plasma.icontasks"; - config = { - iconsOnly = true; - launchers = [ - "applications:zen-beta.desktop" - "applications:thunderbird.desktop" - "applications:org.kde.dolphin.desktop" - "applications:equibop.desktop" - "applications:spotify.desktop" - "applications:steam.desktop" - "applications:org.prismlauncher.PrismLauncher.desktop" - "applications:obsidian.desktop" - "applications:github-desktop.desktop" - "applications:unityhub.desktop" - "applications:org.godotengine.Godot4.6.desktop" - "applications:code.desktop" - "applications:idea.desktop" - "applications:clion.desktop" - "applications:com.obsproject.Studio.desktop" - "applications:proton.vpn.app.gtk.desktop" - "applications:systemsettings.desktop" - "applications:io.ente.auth.desktop" - "applications:io.github.ilya_zlobintsev.LACT.desktop" - ]; - }; - } - "org.kde.plasma.marginsseparator" - "org.kde.plasma.systemtray" - "org.kde.plasma.digitalclock" - "org.kde.plasma.showdesktop" - ]; - height = 48; - } - ]; - }; + programs.plasma.enable = true; } diff --git a/global-configs/vscode.nix b/global-configs/vscode.nix index a64df59..9325be7 100644 --- a/global-configs/vscode.nix +++ b/global-configs/vscode.nix @@ -1,89 +1,31 @@ { config, pkgs, + lib, ... }: { - programs.vscode = { - enable = true; - package = pkgs.vscode-with-extensions.override { - vscodeExtensions = with pkgs.vscode-extensions; [ - bbenoist.nix - ] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [ - { - name = "patternstore"; - publisher = "jdunkel"; - version = "0.1.12"; - sha256 = "sha256-JtVtBFZPsSMDC9040UE8gTg4YmNLVFQJz0NGa0+QBqA="; - } - { - name = "kdl"; - publisher = "kdl-org"; - version = "2.1.3"; - sha256 = "sha256-Jssmb5owrgNWlmLFSKCgqMJKp3sPpOrlEUBwzZSSpbM="; - } - ]; - }; - profiles.default = { - enableUpdateCheck = false; - userSettings = { - "[nix]" = { - "editor.tabSize" = 2; - }; - "chat.disableAIFeatures" = true; - "workbench.welcomePage.walkthroughs.openOnInstall" = false; - "patternStore.savedPatterns" = [ - { - label = "convert JSON pairs to Nix format"; - find = "\"(\\w+)\": (.+?),?$"; - replace = "$1 = $2;"; - flags = { - "isRegex" = true; - "isCaseSensitive" = false; - "matchWholeWord" = false; - "isMultiline" = false; - }; - scope = "global"; - } - { - label = "convert JSON opening bracket to Nix format"; - find = "(\"\\w+\"): \\{$"; - replace = "$1 = {"; - flags = { - "isRegex" = true; - "isCaseSensitive" = false; - "matchWholeWord" = false; - "isMultiline" = false; - }; - scope = "global"; - } - { - label = "convert JSON closing bracket to Nix format"; - find = "\\},?$"; - replace = "};"; - flags = { - "isRegex" = true; - "isCaseSensitive" = false; - "matchWholeWord" = false; - "isMultiline" = false; - }; - scope = "global"; - } - ]; - "search.exclude" = { - "**/flake.lock" = true; - "**/assets/**" = true; - }; - }; - keybindings = [ - { - command = "workbench.action.closeActiveEditor"; - key = "alt+q"; - } - { - command = "workbench.action.files.newFile"; - key = "alt+enter"; - } - ]; - }; + programs.vscode.enable = true; + + home.activation = { + linkVsCodeConfig = lib.hm.dag.entryAfter ["writeBoundary"] '' + #!/bin/bash + if [ -f /home/grey/.config/Code/User/settings.json ]; then + rm /home/grey/.config/Code/User/settings.json + fi + ln -s /home/grey/nixos/assets/dotfiles/vscode-config/settings.json /home/grey/.config/Code/User/settings.json + + if [ -f /home/grey/.config/Code/User/keybindings.json ]; then + rm /home/grey/.config/Code/User/keybindings.json + fi + ln -s /home/grey/nixos/assets/dotfiles/vscode-config/keybindings.json /home/grey/.config/Code/User/keybindings.json + ''; + + linkVsCodeExtensions = lib.hm.dag.entryAfter ["writeBoundary"] '' + #!/bin/bash + if [ -d /home/grey/.vscode/extensions ]; then + rm -rf /home/grey/.vscode/extensions + fi + ln -s /home/grey/nixos/assets/dotfiles/vscode-extensions /home/grey/.vscode/extensions + ''; }; } diff --git a/global-configs/zen-browser.nix b/global-configs/zen-browser.nix index 37377c8..db9cda1 100644 --- a/global-configs/zen-browser.nix +++ b/global-configs/zen-browser.nix @@ -1,6 +1,7 @@ { pkgs, inputs, + lib, ... }: let firefox-addons = with pkgs; inputs.firefox-addons.packages.${system}; @@ -9,103 +10,19 @@ in { inputs.zen-browser.homeModules.beta ]; + home.activation = { + linkZenConfig = lib.hm.dag.entryAfter ["writeBoundary"] '' + #!/bin/bash + if [ -d /home/grey/.config/zen ]; then + rm -rf /home/grey/.config/zen + fi + ln -s /home/grey/nixos/assets/dotfiles/zen-config /home/grey/.config/zen + ''; + }; + programs.zen-browser = { enable = true; setAsDefaultBrowser = true; nativeMessagingHosts = [ pkgs.firefoxpwa ]; - policies = { - AIControls.Default = { - Value = "blocked"; - Locked = true; - }; - AutofillAddressEnabled = false; - AutofillCreditCardEnabled = false; - DisableAppUpdate = true; - DisableFeedbackCommands = true; - DisableFirefoxStudies = true; - DisablePocket = true; - DisableTelemetry = true; - NoDefaultBookmarks = true; - OfferToSaveLogins = false; - EnableTrackingProtection = { - Value = true; - Locked = true; - Cryptomining = true; - Fingerprinting = true; - }; - Preferences = { - "browser.startup.homepage" = { - Value = "about:blank"; - Status = "locked"; - }; - }; - }; - profiles.default = { - settings = { - "zen.urlbar.behavior" = "float"; - "zen.welcome-screen.seen" = true; - }; - extensions.packages = with firefox-addons; [ - adnauseam - bitwarden - indie-wiki-buddy - pwas-for-firefox - ]; - search = { - force = true; - default = "ddg"; - engines = { - nixpkgs = { - name = "nixpkgs packages"; - urls = [ - { - template = "https://search.nixos.org/packages?query={searchTerms}"; - } - ]; - icon = "https://wiki.nixos.org/favicon.ico"; - definedAliases = ["@np"]; - }; - nixos-options = { - name = "NixOS options"; - urls = [ - { - template = "https://search.nixos.org/options?query={searchTerms}"; - } - ]; - icon = "https://wiki.nixos.org/favicon.ico"; - definedAliases = ["@no"]; - }; - nixos-wiki = { - name = "NixOS Wiki"; - urls = [ - { - template = "https://wiki.nixos.org/w/index.php?search={searchTerms}"; - } - ]; - icon = "https://wiki.nixos.org/favicon.ico"; - definedAliases = ["@nw"]; - }; - }; - }; - keyboardShortcuts = [ - { - id = "key_close"; - key = "q"; - modifiers = { - control = false; - alt = true; - }; - } - { - id = "key_newNavigatorTab"; - keycode = "VK_RETURN"; - modifiers = { - control = false; - alt = true; - }; - } - ]; - keyboardShortcutsVersion = 19; - }; }; } diff --git a/global-default.nix b/global-default.nix index 3291fe3..a5e0678 100644 --- a/global-default.nix +++ b/global-default.nix @@ -19,7 +19,6 @@ in { "flakes" ]; - boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; networking.networkmanager.enable = true; diff --git a/hosts/kitagawa/default.nix b/hosts/kitagawa/default.nix index a5ee8f4..a83ff68 100644 --- a/hosts/kitagawa/default.nix +++ b/hosts/kitagawa/default.nix @@ -18,6 +18,8 @@ in { "${modules-dir}/window-managers/niri.nix" ]; + boot.loader.limine.enable = true; + stylix.enable = true; stylix.image = ../../assets/wallpapers/kitagawa.jpg; stylix.polarity = "dark"; diff --git a/hosts/nixos-vm/default.nix b/hosts/nixos-vm/default.nix index e76239c..e993140 100644 --- a/hosts/nixos-vm/default.nix +++ b/hosts/nixos-vm/default.nix @@ -17,6 +17,8 @@ in { "${modules-dir}/zsh.nix" ]; + boot.loader.systemd-boot.enable = true; + virtualisation.virtualbox.guest.enable = true; virtualisation.virtualbox.guest.dragAndDrop = true; diff --git a/hosts/takamaki/configs/easyeffects.nix b/hosts/takamaki/configs/easyeffects.nix new file mode 100644 index 0000000..18bfdec --- /dev/null +++ b/hosts/takamaki/configs/easyeffects.nix @@ -0,0 +1,18 @@ +{ + pkgs, + config, + lib, + ... +}: { + services.easyeffects.enable = true; + + home.activation = { + linkEasyEffectsDb = lib.hm.dag.entryAfter ["writeBoundary"] '' + #!/bin/bash + if [ -d /home/grey/.config/easyeffects/db ]; then + rm -rf /home/grey/.config/easyeffects/db + fi + ln -s /home/grey/nixos/assets/dotfiles/takamaki/easyeffects-config /home/grey/.config/easyeffects/db + ''; + }; +} \ No newline at end of file diff --git a/hosts/takamaki/default.nix b/hosts/takamaki/default.nix index e5fc2c7..75f6bec 100644 --- a/hosts/takamaki/default.nix +++ b/hosts/takamaki/default.nix @@ -1,11 +1,13 @@ { config, pkgs, + inputs, ... }: let modules-dir = ../../modules; in { imports = [ + inputs.nixos-millennium.nixosModules.default ../../global-default.nix ./hardware-configuration.nix "${modules-dir}/display-managers/sddm.nix" @@ -18,8 +20,47 @@ in { enable = true; remotePlay.openFirewall = true; dedicatedServer.openFirewall = true; - extraCompatPackages = with pkgs; [ - proton-ge-bin - ]; + extraCompatPackages = [ pkgs.proton-ge-bin ]; + extraPackages = [ pkgs.hidapi ]; + }; + + programs.dconf.enable = true; # apparently necessary for easyeffects to work in home.nix + + boot.loader.grub = { + enable = true; + device = "nodev"; # "nodev" is used for UEFI + efiSupport = true; + useOSProber = true; + theme = pkgs.stdenv.mkDerivation { + pname = "liquidglass-grub"; + version = "1.0"; + src = pkgs.fetchFromGitHub { + owner = "Purp1eDuck2008"; + repo = "Liquid-GRUB"; + rev = "1c336ff58c952e614713471b0aeceeb5d6f29c12"; + hash = "sha256-+YYZK6VTA6fi67k+e2F2wVzkVMM7wvg/P7KzxL6R258="; + }; + installPhase = "cp -r LiquidGlass $out"; + }; + }; + + hardware.i2c.enable = true; + + users.users."grey".extraGroups = [ config.hardware.i2c.group ]; + + services.lact.enable = true; + hardware.amdgpu.overdrive.enable = true; + + zramSwap = { + enable = true; + algorithm = "zstd"; + memoryMax = 17179869184; + }; + + boot.kernel.sysctl = { + "vm.swappiness" = 180; + "vm.watermark_boost_factor" = 0; + "vm.watermark_scale_factor" = 125; + "vm.page-cluster" = 0; }; } diff --git a/hosts/takamaki/hardware-configuration.nix b/hosts/takamaki/hardware-configuration.nix new file mode 100644 index 0000000..4378641 --- /dev/null +++ b/hosts/takamaki/hardware-configuration.nix @@ -0,0 +1,31 @@ +# Do not modify this file! It was generated by ‘nixos-generate-config’ +# and may be overwritten by future invocations. Please make changes +# to /etc/nixos/configuration.nix instead. +{ config, lib, pkgs, modulesPath, ... }: + +{ + imports = + [ (modulesPath + "/installer/scan/not-detected.nix") + ]; + + boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "uas" "sd_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-amd" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/e845a5a1-cc91-4598-910a-c0b8b8486318"; + fsType = "ext4"; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/9E25-4C54"; + fsType = "vfat"; + options = [ "fmask=0077" "dmask=0077" ]; + }; + + swapDevices = [ ]; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; +} diff --git a/hosts/takamaki/home.nix b/hosts/takamaki/home.nix index 79c4036..a196f7b 100644 --- a/hosts/takamaki/home.nix +++ b/hosts/takamaki/home.nix @@ -1,27 +1,31 @@ { config, pkgs, + inputs, + lib, ... }: let global-configs = ../../global-configs; in { imports = [ + inputs.nixos-millennium.homeManagerModules.default ../../global-home.nix "${global-configs}/plasma.nix" "${global-configs}/fastfetch.nix" "${global-configs}/zen-browser.nix" + "${global-configs}/vscode.nix" "${global-configs}/zsh.nix" + "${global-configs}/equibop.nix" + "${global-configs}/spicetify.nix" + ./configs/easyeffects.nix ./configs/kitty.nix ]; home.packages = with pkgs; [ - equibop prismlauncher obsidian github-desktop - vscode thunderbird - spotify unityhub godot jetbrains.clion @@ -29,10 +33,30 @@ in { obs-studio proton-vpn ente-auth - lact winetricks protontricks + kdePackages.filelight + dconf-editor ]; + home.pointerCursor = { + enable = true; + package = pkgs.bibata-cursors; + name = "Bibata-Modern-Ice"; + size = 22; + gtk.enable = true; + x11.enable = true; + }; + programs.steam.theme = pkgs.millenniumThemes.nevko-ui; + + home.activation = { + linkAutostartDir = lib.hm.dag.entryAfter ["writeBoundary"] '' + #!/bin/bash + if [ -d /home/grey/.config/autostart ]; then + rm -rf /home/grey/.config/autostart + fi + ln -s /home/grey/nixos/assets/dotfiles/takamaki/autostart-config /home/grey/.config/autostart + ''; + }; } diff --git a/modules/desktop-environments/plasma6.nix b/modules/desktop-environments/plasma6.nix index 96674ea..8184670 100644 --- a/modules/desktop-environments/plasma6.nix +++ b/modules/desktop-environments/plasma6.nix @@ -8,6 +8,10 @@ enableQt5Integration = true; }; + environment.systemPackages = with pkgs.kdePackages; [ + kcalc + ]; + environment.plasma6.excludePackages = with pkgs.kdePackages; [ konsole qrca