dotfiles/VencordDesktop/vencordDist/vencordDesktopRenderer.js.map

8 lines
2 MiB
Plaintext
Raw Normal View History

2023-11-14 11:41:09 -06:00
{
"version": 3,
"sources": ["../scripts/build/inject/react.mjs", "../src/utils/Logger.ts", "../src/utils/margins.ts", "../src/utils/lazy.ts", "../src/utils/lazyReact.tsx", "../src/debug/Tracer.ts", "../src/webpack/webpack.ts", "../src/webpack/common/classes.ts", "../src/webpack/common/internal.tsx", "../src/webpack/common/components.ts", "../src/webpack/common/menu.ts", "../src/webpack/common/react.ts", "../src/webpack/common/settingsStores.ts", "../src/webpack/common/stores.ts", "../src/webpack/common/types/components.d.ts", "../src/webpack/common/types/menu.d.ts", "../src/webpack/common/types/utils.d.ts", "../src/webpack/common/utils.ts", "../src/webpack/common/index.ts", "git-hash:~git-hash", "git-remote:~git-remote", "../src/utils/constants.ts", "../src/utils/misc.tsx", "../src/utils/react.tsx", "../src/components/ErrorCard.tsx", "../src/components/ErrorBoundary.tsx", "../src/components/Heart.tsx", "../src/components/DonateButton.tsx", "../src/components/Flex.tsx", "../src/utils/modal.tsx", "../src/utils/types.ts", "../src/plugins/_api/badges.tsx", "../src/plugins/_api/commands.ts", "../src/plugins/_api/contextMenu.ts", "../src/plugins/_api/memberListDecorators.ts", "../src/plugins/_api/messageAccessories.ts", "../src/plugins/_api/messageDecorations.ts", "../src/plugins/_api/messageEvents.ts", "../src/plugins/_api/messagePopover.ts", "../src/plugins/_api/notices.ts", "../src/plugins/_api/serverList.ts", "../src/plugins/_core/noTrack.ts", "../src/api/ContextMenu.ts", "../src/utils/debounce.ts", "../src/utils/localStorage.ts", "../src/utils/Queue.ts", "../src/api/Notifications/NotificationComponent.tsx", "../src/api/DataStore/index.ts", "../src/api/Styles.ts", "../node_modules/.pnpm/nanoid@4.0.2/node_modules/nanoid/index.browser.js", "../src/api/Notifications/notificationLog.tsx", "../src/api/Notifications/Notifications.tsx", "../src/api/Notifications/index.ts", "../node_modules/.pnpm/fflate@0.7.4/node_modules/fflate/esm/browser.js", "../src/utils/cloud.tsx", "../src/utils/native.ts", "../src/utils/web.ts", "../src/utils/settingsSync.ts", "../src/api/Settings.ts", "../src/utils/updater.ts", "../src/components/handleComponentFailed.ts", "../src/utils/onlyOnce.ts", "../src/components/VencordSettings/shared.tsx", "../src/components/VencordSettings/VencordTab.tsx", "../src/api/Notices.ts", "../src/components/Icons.tsx", "../src/utils/text.ts", "../src/api/Commands/commandHelpers.ts", "../src/api/Commands/types.ts", "../src/api/Commands/index.ts", "../src/components/Badge.tsx", "../src/components/PluginSettings/components/SettingBooleanComponent.tsx", "../src/components/PluginSettings/components/SettingCustomComponent.tsx", "../src/components/PluginSettings/components/SettingNumericComponent.tsx", "../src/components/PluginSettings/components/SettingSelectComponent.tsx", "../src/components/PluginSettings/components/SettingSliderComponent.tsx", "../src/components/PluginSettings/components/SettingTextComponent.tsx", "../src/components/PluginSettings/components/index.ts", "../src/utils/discord.tsx", "../src/components/PluginSettings/ContributorModal.tsx", "../src/components/PluginSettings/PluginModal.tsx", "../src/components/Switch.tsx", "../src/components/VencordSettings/AddonCard.tsx", "../src/utils/ChangeList.ts", "../src/plugins/index.ts", "../src/components/PluginSettings/index.tsx", "../src/components/VencordSettings/PluginsTab.tsx", "../src/components/Link.tsx", "../src/components/VencordSettings/ThemesTab.tsx", "../src/components/VencordSettings/UpdaterTab.tsx", "../src/components/CheckedTextInput.tsx", "../src/components/VencordSettings/CloudTab.tsx", "../src/components/VencordSettings/BackupAndRestoreTab.tsx", "../src/plugins/_core/settings.tsx", "../src/plugins/_core/supportHelper.tsx", "../src/plugins/alwaysAnimate/index.ts", "../src/plugins/alwaysTrust/index.ts", "../src/plugins/anonymiseFileNames/index.ts", "../src/plugins/arRPC.web/index.tsx", "../src/plugins/banger/index.ts", "../src/plugins/betterFolders/FolderSideBar.tsx", "../src/plugins/betterFolders/index.tsx", "../src/plugins/betterGifAltText/index.ts", "../src/plugins
2023-12-04 14:19:08 -06:00
"sourcesContent": ["/*\n * Vencord, a modification for Discord's desktop app\n * Copyright (c) 2022 Vendicated and contributors\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n*/\n\nexport const VencordFragment = /* #__PURE__*/ Symbol.for(\"react.fragment\");\nexport let VencordCreateElement =\n (...args) => (VencordCreateElement = Vencord.Webpack.Common.React.createElement)(...args);\n", "/*\n * Vencord, a modification for Discord's desktop app\n * Copyright (c) 2022 Vendicated and contributors\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n*/\n\nexport class Logger {\n /**\n * Returns the console format args for a title with the specified background colour and black text\n * @param color Background colour\n * @param title Text\n * @returns Array. Destructure this into {@link Logger}.errorCustomFmt or console.log\n *\n * @example logger.errorCustomFmt(...Logger.makeTitleElements(\"white\", \"Hello\"), \"World\");\n */\n static makeTitle(color: string, title: string): [string, ...string[]] {\n return [\"%c %c %s \", \"\", `background: ${color}; color: black; font-weight: bold; border-radius: 5px;`, title];\n }\n\n constructor(public name: string, public color: string = \"white\") { }\n\n private _log(level: \"log\" | \"error\" | \"warn\" | \"info\" | \"debug\", levelColor: string, args: any[], customFmt = \"\") {\n console[level](\n `%c Vencord %c %c ${this.name} ${customFmt}`,\n `background: ${levelColor}; color: black; font-weight: bold; border-radius: 5px;`,\n \"\",\n `background: ${this.color}; color: black; font-weight: bold; border-radius: 5px;`\n , ...args\n );\n }\n\n public log(...args: any[]) {\n this._log(\"log\", \"#a6d189\", args);\n }\n\n public info(...args: any[]) {\n this._log(\"info\", \"#a6d189\", args);\n }\n\n public error(...args: any[]) {\n this._log(\"error\", \"#e78284\", args);\n }\n\n public errorCustomFmt(fmt: string, ...args: any[]) {\n this._log(\"error\", \"#e78284\", args, fmt);\n }\n\n public warn(...args: any[]) {\n this._log(\"warn\", \"#e5c890\", args);\n }\n\n public debug(...args: any[]) {\n this._log(\"debug\", \"#eebebe\", args);\n }\n}\n", "/*\n * Vencord, a modification for Discord's desktop app\n * Copyright (c) 2023 Vendicated and contributors\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS F
"mappings": ";;;;67BAAA,IAkBaA,EACFC,EAnBXC,EAAAC,EAAA,kBAkBaH,EAAiC,OAAO,IAAI,gBAAgB,EAC9DC,EACP,IAAIG,KAAUH,EAAuB,QAAQ,QAAQ,OAAO,MAAM,eAAe,GAAGG,CAAI,ICpB5F,IAkBaC,GAlBbC,GAAAC,EAAA,kBAAAC,IAkBaH,GAAN,KAAa,CAahB,YAAmBI,EAAqBC,EAAgB,QAAS,CAA9C,UAAAD,EAAqB,WAAAC,CAA2B,CAJnE,OAAO,UAAUA,EAAeC,EAAsC,CAClE,MAAO,CAAC,YAAa,GAAI,eAAeD,0DAA+DC,CAAK,CAChH,CAIQ,KAAKC,EAAoDC,EAAoBC,EAAaC,EAAY,GAAI,CAC9G,QAAQH,GACJ,oBAAoB,KAAK,QAAQG,IACjC,eAAeF,0DACf,GACA,eAAe,KAAK,8DAClB,GAAGC,CACT,CACJ,CAEO,OAAOA,EAAa,CACvB,KAA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oBC,EAAmB,CAG7E,OAAOC,GAAaF,EAASC,CAAQ,CACzC,CAUO,SAASE,GAA6CH,EAAoBC,EAAmB,CAGhG,OAAOG,GAAiBJ,EAASC,CAAQ,CAC7C,CAKO,SAASI,GAASb,EAAkB,CAGvC,OAAOU,GAAU,IAAMI,GAAKd,CAAM,CAAC,CACvC,CAKO,SAASe,MAAeC,EAAiB,CAC5C,IAAMC,EAAMH,GAAKI,GAAQ,QAAQ,GAAGF,CAAK,EAAG,CAAE,WAAY,EAAK,CAAC,EAChE,OAAKC,GACDnB,GAAqB,cAAe,GAAGkB,CAAK,EACzCC,CACX,CAKO,SAASE,KAAmBH,EAAiB,CAGhD,OAAON,GAAU,IAAMK,GAAY,GAAGC,CAAK,CAAC,CAChD,CAKO,SAASI,MAAcC,EAAgB,CAC1C,IAAMJ,
"names": ["VencordFragment", "VencordCreateElement", "init_react", "__esmMin", "args", "Logger", "init_Logger", "__esmMin", "init_react", "name", "color", "title", "level", "levelColor", "args", "customFmt", "fmt", "styleStr", "Margins", "init_margins", "__esmMin", "init_react", "dir", "size", "cl", "makeLazy", "factory", "attempts", "tries", "cache", "proxyLazy", "isChild", "isSameTick", "proxyDummy", "kCACHE", "kGET", "handler", "target", "p", "receiver", "unconfigurable", "init_lazy", "__esmMin", "init_react", "method", "args", "v", "keys", "key", "descriptor", "LazyComponent", "factory", "attempts", "get", "makeLazy", "props", "Component", "NoopComponent", "VencordCreateElement", "init_lazyReact", "__esmMin", "init_react", "init_lazy", "noopTracer", "traceFunction", "init_Tracer", "__esmMin", "init_react", "init_Logger", "name", "f", "mapper", "_initWebpack", "instance", "cache", "r", "wreq", "handleModuleNotFound", "method", "filter", "err", "logger", "findAll", "ret", "key", "mod", "proxyLazyWebpack", "factory", "attempts", "proxyLazy", "LazyComponentWebpack", "LazyComponent", "findLazy", "find", "findByProps", "props", "res", "filters", "findByPropsLazy", "findByCode", "code", "findByCodeLazy", "findStore", "name", "findStoreLazy", "findComponentByCode", "findComponentLazy", "findComponentByCodeLazy", "findExportedComponentLazy", "waitFor", "callback", "isIndirect", "existing", "id", "subscriptions", "addListener", "listeners", "removeListener", "search", "results", "factories", "outer", "str", "extract", "_resolveReady", "onceReady", "findBulk", "findModuleId", "lazyWebpackSearchHistory", "init_webpack", "__esmMin", "init_react", "init_lazy", "init_lazyReact", "init_Logger", "init_Tracer", "Logger", "m", "p", "s", "c", "traceFunction", "isWaitFor", "found", "filterFns", "length", "j", "ModalImageClasses", "ButtonWrapperClasses", "init_classes", "__esmMin", "init_react", "init_webpack", "findLazy", "m", "findByPropsLazy", "waitForComponent", "name", "filter", "myValue", "lazyComponent", "LazyComponent", "waitFor", "v", "waitForStore", "cb", "filters", "init_internal", "__esmMin", "init_react", "init_webpack", "Forms", "Card", "Button", "Switch", "Tooltip", "TextInput", "TextArea", "Text", "Select", "SearchableSelect", "Slider", "ButtonLooks", "Popout", "Dialog", "TabBar", "Paginator", "ScrollerThin", "Clickable", "Avatar", "useToken", "MaskedLink", "Timestamp", "Flex", "init_components", "__esmMin", "init_react", "init_webpack", "init_internal", "waitForComponent", "m", "filters", "waitFor", "Menu", "ContextMenuApi", "init_menu", "__esmMin", "init_react", "init_webpack", "waitFor", "m", "findByPropsLazy", "React", "useState", "useEffect", "useMemo", "useRef", "useReducer", "useCallback", "ReactDOM", "init_react", "__esmMin", "init_webpack", "findByPropsLazy", "waitFor", "m", "TextAndImagesSettingsStores", "StatusSettingsStores", "UserSettingsActionCreators", "init_settingsStores", "__esmMin", "init_react", "init_webpack", "findByPropsLazy", "Flux", "DraftType", "MessageStore", "PrivateChannelsStore", "PermissionStore", "GuildChannelStore", "ReadStateStore", "PresenceStore", "PoggerModeSettingsStore", "GuildStore", "UserStore", "UserProfileStore", "SelectedChannelStore", "SelectedGuildStore", "ChannelStore", "GuildMemberStore", "RelationshipStore", "EmojiStore", "WindowStore", "DraftStore", "useStateFromStores", "init_stores", "__esmMin", "init_react", "init_webpack", "init_internal", "findByPropsLazy", "waitForStore", "s", "m", "components_d_exports", "init_components_d", "__esmMin", "init_react", "menu_d_exports", "init_menu_d", "__esmMin", "init_react", "utils_d_exports", "init_utils_d", "__esmMin", "init_react", "showToast", "message", "type", "ToastType", "Toasts", "FluxDispatcher", "ComponentDispatch", "RestAPI", "moment", "hljs", "lodash", "i18n", "SnowflakeUtils", "Parser", "Alerts", "ToastPosition", "UserUtils", "UploadHandler", "ApplicationAssetUtils", "Clipboard", "NavigationRouter", "SettingsRouter", "Permissions", "init_utils", "__esmMin", "init_react", "init_webpack", "waitFor", "m", "cb", "_resolv
2023-11-14 11:41:09 -06:00
}