module.exports=function(e){var t={};function o(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=13)}([function(e,t){e.exports=require("vscode")},function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0});const n=o(0);t.REMOTE_PREFIX="vscode-remote",t.VIRTUAL_WORKSPACE_PREFIX="vscode-vfs",t.isWindows="win32"===process.platform,t.isRemotePath=function(e){return e.startsWith(t.REMOTE_PREFIX)||e.startsWith(t.VIRTUAL_WORKSPACE_PREFIX)},t.isRemoteUri=function(e){return e.scheme===t.REMOTE_PREFIX||e.scheme===t.VIRTUAL_WORKSPACE_PREFIX},t.isRunningOnCodespaces=function(){var e;return"codespaces"===(null===(e=n.env.remoteName)||void 0===e?void 0:e.toLocaleLowerCase())}},function(e,t){e.exports=require("path")},function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0});t.Container=class{static get context(){return this._extContext}static set context(e){this._extContext=e}}},function(e,t){e.exports=require("fs")},function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0});const n=o(4),r=o(16),i=o(2),s=o(0),a=o(6),c=o(1);t.homeDir=r.homedir(),t.HOME_PATH_VARIABLE="$home",t.HOME_PATH_TILDE="~";let l="";class h{static setExtensionContext(e){if(e.globalStoragePath){l=e.globalStoragePath;const t=i.resolve(l,"..");n.existsSync(t)||n.mkdirSync(t),n.existsSync(l)||n.mkdirSync(l)}}static pathIsUNC(e){return 0===e.indexOf("\\\\")}static compactHomePath(e){return e.startsWith(t.homeDir)?e.replace(t.homeDir,t.HOME_PATH_VARIABLE):e}static expandHomePath(e){return e.startsWith(t.HOME_PATH_VARIABLE)?e.replace(t.HOME_PATH_VARIABLE,t.homeDir):e.startsWith(t.HOME_PATH_TILDE)?e.replace(t.HOME_PATH_TILDE,t.homeDir):e}static expandHomePaths(e){return e.map(e=>(e.description=this.expandHomePath(e.description),e))}static updateWithPathSeparator(e){const t=[];for(const o of e)t.push(this.updateWithPathSeparatorStr(o));return t}static updateWithPathSeparatorStr(e){return"\\"===i.sep?e.replace(/\//g,"\\"):e.replace(/\\/g,"/")}static normalizePath(e){let t=e;if(!h.pathIsUNC(t)){const e=t.split("\\");t=e.join("\\\\")}return t}static indicateInvalidPaths(e){for(const t of e)t.detail||c.isRemotePath(t.description)||n.existsSync(t.description.toString())||(t.detail=a.codicons.circle_slash+" Path does not exist");return e}static getChannelPath(){return process.env.VSCODE_PORTABLE?"user-data":s.env.appName.replace("Visual Studio ","")}static getFilePathFromAppData(e){let o;const r=this.getChannelPath();let s;return process.env.VSCODE_PORTABLE?(o=process.env.VSCODE_PORTABLE,s=i.join(o,r,"User",e)):(o=process.env.APPDATA||("darwin"===process.platform?process.env.HOME+"/Library/Application Support":"/var/local"),s=i.join(o,r,"User",e),"linux"!==process.platform||n.existsSync(s)||(s=i.join(t.homeDir,".config/",r,"User",e))),""!==l&&(n.existsSync(s)||(s=i.join(l,e))),s}}t.PathUtils=h},function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0}),t.codicons=t.ThemeIcons=void 0;var n=o(0),r={account:new n.ThemeIcon("account"),activate_breakpoints:new n.ThemeIcon("activate-breakpoints"),add:new n.ThemeIcon("add"),alert:new n.ThemeIcon("alert"),archive:new n.ThemeIcon("archive"),array:new n.ThemeIcon("array"),arrow_both:new n.ThemeIcon("arrow-both"),arrow_down:new n.ThemeIcon("arrow-down"),arrow_left:new n.ThemeIcon("arrow-left"),arrow_right:new n.ThemeIcon("arrow-right"),arrow_small_down:new n.ThemeIcon("arrow-small-down"),arrow_small_left:new n.ThemeIcon("arrow-small-left"),arrow_small_right:new n.ThemeIcon("arrow-small-right"),arrow_small_up:new n.ThemeIcon("arrow-small-up"),arrow_swap:new n.ThemeIcon("arrow-swap"),arrow_up:new n.ThemeIcon("arrow-up"),beaker:new n.ThemeIcon("beaker"),bell_dot:new n.ThemeIcon("bell-dot"),bell:new n.ThemeIcon("bell"),bold:new n.ThemeIcon("bold"),book:new n.ThemeIcon("book"),bookmark:new n.ThemeIcon("bookmark"),briefcase:new n.ThemeIcon("briefcase"),broadcast:new n.ThemeIcon("broadcast"),browser:new n.ThemeIcon("browser"),bug:new n.ThemeIcon("bug"),calendar:new n.ThemeIcon("calendar"),call_incoming:new n.ThemeIcon("call-incoming"),call_outgoing:new n.ThemeIcon("call-outgoing"),case_sensitive:new n.ThemeIcon("case-sensitive"),check:new n.ThemeIcon("check"),check_all:new n.ThemeIcon("check-all"),checklist:new n.ThemeIcon("checklist"),chevron_down:new n.ThemeIcon("chevron-down"),chevron_left:new n.ThemeIcon("chevron-left"),chevron_right:new n.ThemeIcon("chevron-right"),chevron_up:new n.ThemeIcon("chevron-up"),chrome_close:new n.ThemeIcon("chrome-close"),chrome_maximize:new n.ThemeIcon("chrome-maximize"),chrome_minimize:new n.ThemeIcon("chrome-minimize"),chrome_restore:new n.ThemeIcon("chrome-restore"),circle_filled:new n.ThemeIcon("circle-filled"),circle_outline:new n.ThemeIcon("circle-outline"),circle_slash:new n.ThemeIcon("circle-slash"),circle_large_filled:new n.ThemeIcon("circle-large-filled"),circle_large_outline:new n.ThemeIcon("circle-large-outline"),circuit_board:new n.ThemeIcon("circuit-board"),clear_all:new n.ThemeIcon("clear-all"),clippy:new n.ThemeIcon("clippy"),clock:new n.ThemeIcon("clock"),clone:new n.ThemeIcon("clone"),close_all:new n.ThemeIcon("close-all"),close_dirty:new n.ThemeIcon("close-dirty"),close:new n.ThemeIcon("close"),cloud:new n.ThemeIcon("cloud"),cloud_download:new n.ThemeIcon("cloud-download"),cloud_upload:new n.ThemeIcon("cloud-upload"),copy:new n.ThemeIcon("copy"),code:new n.ThemeIcon("code"),combine:new n.ThemeIcon("combine"),collapse_all:new n.ThemeIcon("collapse-all"),color_mode:new n.ThemeIcon("color-mode"),comment_add:new n.ThemeIcon("comment-add"),comment_discussion:new n.ThemeIcon("comment-discussion"),comment:new n.ThemeIcon("comment"),console:new n.ThemeIcon("console"),credit_card:new n.ThemeIcon("credit-card"),dash:new n.ThemeIcon("dash"),dashboard:new n.ThemeIcon("dashboard"),database:new n.ThemeIcon("database"),debug_alt:new n.ThemeIcon("debug-alt"),debug_alt_small:new n.ThemeIcon("debug-alt-small"),debug_breakpoint_conditional_unverified:new n.ThemeIcon("debug-breakpoint-conditional-unverified"),debug_breakpoint_conditional:new n.ThemeIcon("debug-breakpoint-conditional"),debug_breakpoint_data_unverified:new n.ThemeIcon("debug-breakpoint-data-unverified"),debug_breakpoint_data:new n.ThemeIcon("debug-breakpoint-data"),debug_breakpoint_disabled:new n.ThemeIcon("debug-breakpoint-disabled"),debug_breakpoint_function_unverified:new n.ThemeIcon("debug-breakpoint-function-unverified"),debug_breakpoint_function:new n.ThemeIcon("debug-breakpoint-function"),debug_breakpoint_log_unverified:new n.ThemeIcon("debug-breakpoint-log-unverified"),debug_breakpoint_log:new n.ThemeIcon("debug-breakpoint-log"),debug_breakpoint_unsupported:new n.ThemeIcon("debug-breakpoint-unsupported"),debug_breakpoint:new n.ThemeIcon("debug-breakpoint"),debug_console:new n.ThemeIcon("debug-console"),debug_continue:new n.ThemeIcon("debug-continue"),debug_disconnect:new n.ThemeIcon("debug-disconnect"),debug_hint:new n.ThemeIcon("debug-hint"),debug_line_by_line:new n.ThemeIcon("debug-line-by-line"),debug_pause:new n.ThemeIcon("debug-pause"),debug_restart_frame:new n.ThemeIcon("debug-restart-frame"),debug_restart:new n.ThemeIcon("debug-restart"),debug_reverse_continue:new n.ThemeIcon("debug-reverse-continue"),debug_rerun:new n.ThemeIcon("debug-rerun"),debug_stackframe_active:new n.ThemeIcon("debug-stackframe-active"),debug_stackframe_dot:new n.ThemeIcon("debug-stackframe-dot"),debug_stackframe:new n.ThemeIcon("debug-stackframe"),debug_start:new n.ThemeIcon("debug-start"),debug_step_back:new n.ThemeIcon("debug-step-back"),debug_step_into:new n.ThemeIcon("debug-step-into"),debug_step_out:new n.ThemeIcon("debug-step-out"),debug_step_over:new n.ThemeIcon("debug-step-over"),debug_stop:new n.ThemeIcon("debug-stop"),debug:new n.ThemeIcon("debug"),desktop_download:new n.ThemeIcon("desktop-download"),device_camera_video:new n.ThemeIcon("device-camera-video"),device_camera:new n.ThemeIcon("device-camera"),device_desktop:new n.ThemeIcon("device-desktop"),device_mobile:new n.ThemeIcon("device-mobile"),diff_added:new n.ThemeIcon("diff-added"),diff_ignored:new n.ThemeIcon("diff-ignored"),diff_modified:new n.ThemeIcon("diff-modified"),diff_removed:new n.ThemeIcon("diff-removed"),diff_renamed:new n.ThemeIcon("diff-renamed"),diff:new n.ThemeIcon("diff"),discard:new n.ThemeIcon("discard"),edit:new n.ThemeIcon("edit"),editor_layout:new n.ThemeIcon("editor-layout"),ellipsis:new n.ThemeIcon("ellipsis"),empty_window:new n.ThemeIcon("empty-window"),error:new n.ThemeIcon("error"),exclude:new n.ThemeIcon("exclude"),expand_all:new n.ThemeIcon("expand-all"),export:new n.ThemeIcon("export"),extensions:new n.ThemeIcon("extensions"),eye_closed:new n.ThemeIcon("eye-closed"),eye_unwatch:new n.ThemeIcon("eye-unwatch"),eye_watch:new n.ThemeIcon("eye-watch"),eye:new n.ThemeIcon("eye"),feedback:new n.ThemeIcon("feedback"),file_add:new n.ThemeIcon("file-add"),file_binary:new n.ThemeIcon("file-binary"),file_code:new n.ThemeIcon("file-code"),file_directory_create:new n.ThemeIcon("file-directory-create"),file_directory:new n.ThemeIcon("file-directory"),file_media:new n.ThemeIcon("file-media"),file_pdf:new n.ThemeIcon("file-pdf"),file_submodule:new n.ThemeIcon("file-submodule"),file_symlink_directory:new n.ThemeIcon("file-symlink-directory"),file_symlink_file:new n.ThemeIcon("file-symlink-file"),file_text:new n.ThemeIcon("file-text"),file_zip:new n.ThemeIcon("file-zip"),file:new n.ThemeIcon("file"),files:new n.ThemeIcon("files"),filter:new n.ThemeIcon("filter"),filter_filled:new n.ThemeIcon("filter-filled"),flame:new n.ThemeIcon("flame"),fold_down:new n.ThemeIcon("fold-down"),fold_up:new n.ThemeIcon("fold-up"),fold:new n.ThemeIcon("fold"),folder_active:new n.ThemeIcon("folder-active"),folder_opened:new n.ThemeIcon("folder-opened"),folder:new n.ThemeIcon("folder"),gather:new n.ThemeIcon("gather"),gear:new n.ThemeIcon("gear"),gift:new n.ThemeIcon("gift"),gist_fork_private:new n.ThemeIcon("gist-fork-private"),gist_fork:new n.ThemeIcon("gist-fork"),gist_new:new n.ThemeIcon("gist-new"),gist_private:new n.ThemeIcon("gist-private"),gist_secret:new n.ThemeIcon("gist-secret"),gist:new n.ThemeIcon("gist"),git_branch_create:new n.ThemeIcon("git-branch-create"),git_branch_delete:new n.ThemeIcon("git-branch-delete"),git_branch:new n.ThemeIcon("git-branch"),git_commit:new n.ThemeIcon("git-commit"),git_compare:new n.ThemeIcon("git-compare"),git_merge:new n.ThemeIcon("git-merge"),git_pull_request:new n.ThemeIcon("git-pull-request"),git_pull_request_create:new n.ThemeIcon("git-pull-request-create"),github_action:new n.ThemeIcon("github-action"),github_alt:new n.ThemeIcon("github-alt"),github_inverted:new n.ThemeIcon("github-inverted"),github:new n.ThemeIcon("github"),globe:new n.ThemeIcon("globe"),go_to_file:new n.ThemeIcon("go-to-file"),grabber:new n.ThemeIcon("grabber"),graph:new n.ThemeIcon("graph"),graph_left:new n.ThemeIcon("graph-left"),gripper:new n.ThemeIcon("gripper"),group_by_ref_type:new n.ThemeIcon("group-by-ref-type"),heart:new n.ThemeIcon("heart"),history:new n.ThemeIcon("history"),home:new n.ThemeIcon("home"),horizontal_rule:new n.ThemeIcon("horizontal-rule"),hubot:new n.ThemeIcon("hubot"),inbox:new n.ThemeIcon("inbox"),info:new n.ThemeIcon("info"),issue_closed:new n.ThemeIcon("issue-closed"),issue_opened:new n.ThemeIcon("issue-opened"),issue_reopened:new n.ThemeIcon("issue-reopened"),issues:new n.ThemeIcon("issues"),italic:new n.ThemeIcon("italic"),jersey:new n.ThemeIcon("jersey"),json:new n.ThemeIcon("json"),kebab_horizontal:new n.ThemeIcon("kebab-horizontal"),kebab_vertical:new n.ThemeIcon("kebab-vertical"),key:new n.ThemeIcon("key"),keyboard:new n.ThemeIcon("keyboard"),law:new n.ThemeIcon("law"),library:new n.ThemeIcon("library"),light_bulb:new n.ThemeIcon("light-bulb"),lightbulb_autofix:new n.ThemeIcon("lightbulb-autofix"),lightbulb:new n.ThemeIcon("lightbulb"),link_external:new n.ThemeIcon("link-external"),link:new n.ThemeIcon("link"),list_filter:new n.ThemeIcon("list-filter"),list_flat:new n.ThemeIcon("list-flat"),list_ordered:new n.ThemeIcon("list-ordered"),list_selection:new n.ThemeIcon("list-selection"),list_tree:new n.ThemeIcon("list-tree"),list_unordered:new n.ThemeIcon("list-unordered"),live_share:new n.ThemeIcon("live-share"),loading:new n.ThemeIcon("loading"),location:new n.ThemeIcon("location"),lock:new n.ThemeIcon("lock"),log_in:new n.ThemeIcon("log-in"),log_out:new n.ThemeIcon("log-out"),logo_github:new n.ThemeIcon("logo-github"),magnet:new n.ThemeIcon("magnet"),mail_read:new n.ThemeIcon("mail-read"),mail_reply:new n.ThemeIcon("mail-reply"),mail:new n.ThemeIcon("mail"),mark_github:new n.ThemeIcon("mark-github"),markdown:new n.ThemeIcon("markdown"),megaphone:new n.ThemeIcon("megaphone"),mention:new n.ThemeIcon("mention"),menu:new n.ThemeIcon("menu"),merge:new n.ThemeIcon("merge"),microscope:new n.ThemeIcon("microscope"),milestone:new n.ThemeIcon("milestone"),mirror_private:new n.ThemeIcon("mirror-private"),mirror_public:new n.ThemeIcon("mirror-public"),mirror:new n.ThemeIcon("mirror"),more:new n.ThemeIcon("more"),mortar_board:new n.ThemeIcon("mortar-board"),move:new n.ThemeIcon("move"),multiple_windows:new n.ThemeIcon("multiple-windows"),mute:new n.ThemeIcon("mute"),new_file:new n.ThemeIcon("new-file"),new_folder:new n.ThemeIcon("new-folder"),no_newline:new n.ThemeIcon("no-newline"),note:new n.ThemeIcon("note"),notebook:new n.ThemeIcon("notebook"),notebook_template:new n.ThemeIcon("notebook-template"),octoface:new n.ThemeIcon("octoface"),open_preview:new n.ThemeIcon("open-preview"),organization_filled:new n.ThemeIcon("organization-filled"),organization_outline:new n.ThemeIcon("organization-outline"),organization:new n.ThemeIcon("organization"),output:new n.ThemeIcon("output"),package:new n.ThemeIcon("package"),paintcan:new n.ThemeIcon("paintcan"),pass:new n.ThemeIcon("pass"),pass_filled:new n.ThemeIcon("pass-filled"),pencil:new n.ThemeIcon("pencil"),person_add:new n.ThemeIcon("person-add"),person_filled:new n.ThemeIcon("person-filled"),person_follow:new n.ThemeIcon("person-follow"),person_outline:new n.ThemeIcon("person-outline"),person:new n.ThemeIcon("person"),pin:new n.ThemeIcon("pin"),pinned:new n.ThemeIcon("pinned"),pinned_dirty:new n.ThemeIcon("pinned-dirty"),play_circle:new n.ThemeIcon("play-circle"),play:new n.ThemeIcon("play"),plug:new n.ThemeIcon("plug"),plus:new n.ThemeIcon("plus"),preserve_case:new n.ThemeIcon("preserve-case"),preview:new n.ThemeIcon("preview"),primitive_dot:new n.ThemeIcon("primitive-dot"),primitive_square:new n.ThemeIcon("primitive-square"),project:new n.ThemeIcon("project"),pulse:new n.ThemeIcon("pulse"),question:new n.ThemeIcon("question"),quote:new n.ThemeIcon("quote"),radio_tower:new n.ThemeIcon("radio-tower"),reactions:new n.ThemeIcon("reactions"),record_keys:new n.ThemeIcon("record-keys"),record:new n.ThemeIcon("record"),redo:new n.ThemeIcon("redo"),references:new n.ThemeIcon("references"),refresh:new n.ThemeIcon("refresh"),regex:new n.ThemeIcon("regex"),remote_explorer:new n.ThemeIcon("remote-explorer"),remote:new n.ThemeIcon("remote"),remove_close:new n.ThemeIcon("remove-close"),remove:new n.ThemeIcon("remove"),repl:new n.ThemeIcon("repl"),replace_all:new n.ThemeIcon("replace-all"),replace:new n.ThemeIcon("replace"),reply:new n.ThemeIcon("reply"),repo_clone:new n.ThemeIcon("repo-clone"),repo_create:new n.ThemeIcon("repo-create"),repo_delete:new n.ThemeIcon("repo-delete"),repo_force_push:new n.ThemeIcon("repo-force-push"),repo_forked:new n.ThemeIcon("repo-forked"),repo_pull:new n.ThemeIcon("repo-pull"),repo_push:new n.ThemeIcon("repo-push"),repo_sync:new n.ThemeIcon("repo-sync"),repo:new n.ThemeIcon("repo"),report:new n.ThemeIcon("report"),request_changes:new n.ThemeIcon("request-changes"),rocket:new n.ThemeIcon("rocket"),root_folder_opened:new n.ThemeIcon("root-folder-opened"),root_folder:new n.ThemeIcon("root-folder"),rss:new n.ThemeIcon("rss"),ruby:new n.ThemeIcon("ruby"),run_above:new n.ThemeIcon("run-above"),run_all:new n.ThemeIcon("run-all"),run_below:new n.ThemeIcon("run-below"),save_all:new n.ThemeIcon("save-all"),save_as:new n.ThemeIcon("save-as"),save:new n.ThemeIcon("save"),screen_full:new n.ThemeIcon("screen-full"),screen_normal:new n.ThemeIcon("screen-normal"),search_save:new n.ThemeIcon("search-save"),search_stop:new n.ThemeIcon("search-stop"),search:new n.ThemeIcon("search"),server_environment:new n.ThemeIcon("server-environment"),server_process:new n.ThemeIcon("server-process"),server:new n.ThemeIcon("server"),settings_gear:new n.ThemeIcon("settings-gear"),settings:new n.ThemeIcon("settings"),shield:new n.ThemeIcon("shield"),sign_in:new n.ThemeIcon("sign-in"),sign_out:new n.ThemeIcon("sign-out"),smiley:new n.ThemeIcon("smiley"),sort_precedence:new n.ThemeIcon("sort-precedence"),source_control:new n.ThemeIcon("source-control"),split_horizontal:new n.ThemeIcon("split-horizontal"),split_vertical:new n.ThemeIcon("split-vertical"),squirrel:new n.ThemeIcon("squirrel"),star_empty:new n.ThemeIcon("star-empty"),star_full:new n.ThemeIcon("star-full"),star_half:new n.ThemeIcon("star-half"),star:new n.ThemeIcon("star"),stop_circle:new n.ThemeIcon("stop-circle"),stop:new n.ThemeIcon("stop"),symbol_array:new n.ThemeIcon("symbol-array"),symbol_boolean:new n.ThemeIcon("symbol-boolean"),symbol_class:new n.ThemeIcon("symbol-class"),symbol_color:new n.ThemeIcon("symbol-color"),symbol_constant:new n.ThemeIcon("symbol-constant"),symbol_constructor:new n.ThemeIcon("symbol-constructor"),symbol_enum_member:new n.ThemeIcon("symbol-enum-member"),symbol_enum:new n.ThemeIcon("symbol-enum"),symbol_event:new n.ThemeIcon("symbol-event"),symbol_field:new n.ThemeIcon("symbol-field"),symbol_file:new n.ThemeIcon("symbol-file"),symbol_folder:new n.ThemeIcon("symbol-folder"),symbol_function:new n.ThemeIcon("symbol-function"),symbol_interface:new n.ThemeIcon("symbol-interface"),symbol_key:new n.ThemeIcon("symbol-key"),symbol_keyword:new n.ThemeIcon("symbol-keyword"),symbol_method:new n.ThemeIcon("symbol-method"),symbol_misc:new n.ThemeIcon("symbol-misc"),symbol_module:new n.ThemeIcon("symbol-module"),symbol_namespace:new n.ThemeIcon("symbol-namespace"),symbol_null:new n.ThemeIcon("symbol-null"),symbol_number:new n.ThemeIcon("symbol-number"),symbol_numeric:new n.ThemeIcon("symbol-numeric"),symbol_object:new n.ThemeIcon("symbol-object"),symbol_operator:new n.ThemeIcon("symbol-operator"),symbol_package:new n.ThemeIcon("symbol-package"),symbol_parameter:new n.ThemeIcon("symbol-parameter"),symbol_property:new n.ThemeIcon("symbol-property"),symbol_reference:new n.ThemeIcon("symbol-reference"),symbol_ruler:new n.ThemeIcon("symbol-ruler"),symbol_snippet:new n.ThemeIcon("symbol-snippet"),symbol_string:new n.ThemeIcon("symbol-string"),symbol_struct:new n.ThemeIcon("symbol-struct"),symbol_structure:new n.ThemeIcon("symbol-structure"),symbol_text:new n.ThemeIcon("symbol-text"),symbol_type_parameter:new n.ThemeIcon("symbol-type_parameter"),symbol_unit:new n.ThemeIcon("symbol-unit"),symbol_value:new n.ThemeIcon("symbol-value"),symbol_variable:new n.ThemeIcon("symbol-variable"),sync_ignored:new n.ThemeIcon("sync-ignored"),sync:new n.ThemeIcon("sync"),table:new n.ThemeIcon("table"),tag_add:new n.ThemeIcon("tag-add"),tag_remove:new n.ThemeIcon("tag-remove"),tag:new n.ThemeIcon("tag"),tasklist:new n.ThemeIcon("tasklist"),telescope:new n.ThemeIcon("telescope"),terminal:new n.ThemeIcon("terminal"),terminal_cmd:new n.ThemeIcon("terminal-cmd"),terminal_debian:new n.ThemeIcon("terminal-debian"),terminal_linux:new n.ThemeIcon("terminal-linux"),terminal_powershell:new n.ThemeIcon("terminal-powershell"),terminal_tmux:new n.ThemeIcon("terminal-tmux"),terminal_ubuntu:new n.ThemeIcon("terminal-ubuntu"),terminal_bash:new n.ThemeIcon("terminal-bash"),text_size:new n.ThemeIcon("text-size"),three_bars:new n.ThemeIcon("three-bars"),thumbsdown:new n.ThemeIcon("thumbsdown"),thumbsup:new n.ThemeIcon("thumbsup"),tools:new n.ThemeIcon("tools"),trash:new n.ThemeIcon("trash"),trashcan:new n.ThemeIcon("trashcan"),triangle_down:new n.ThemeIcon("triangle-down"),triangle_left:new n.ThemeIcon("triangle-left"),triangle_right:new n.ThemeIcon("triangle-right"),triangle_up:new n.ThemeIcon("triangle-up"),type_hierarchy:new n.ThemeIcon("type-hierarchy"),type_hierarchy_sub:new n.ThemeIcon("type-hierarchy-sub"),type_hierarchy_super:new n.ThemeIcon("type-hierarchy-super"),twitter:new n.ThemeIcon("twitter"),unfold:new n.ThemeIcon("unfold"),ungroup_by_ref_type:new n.ThemeIcon("ungroup-by-ref-type"),unlock:new n.ThemeIcon("unlock"),unmute:new n.ThemeIcon("unmute"),unverified:new n.ThemeIcon("unverified"),variable:new n.ThemeIcon("variable"),variable_group:new n.ThemeIcon("variable-group"),verified:new n.ThemeIcon("verified"),versions:new n.ThemeIcon("versions"),vm_active:new n.ThemeIcon("vm-active"),vm_connect:new n.ThemeIcon("vm-connect"),vm_outline:new n.ThemeIcon("vm-outline"),vm_running:new n.ThemeIcon("vm-running"),vm:new n.ThemeIcon("vm"),wand:new n.ThemeIcon("wand"),warning:new n.ThemeIcon("warning"),watch:new n.ThemeIcon("watch"),whitespace:new n.ThemeIcon("whitespace"),whole_word:new n.ThemeIcon("whole-word"),window:new n.ThemeIcon("window"),workspace_trusted:new n.ThemeIcon("workspace-trusted"),workspace_untrusted:new n.ThemeIcon("workspace-untrusted"),workspace_unknown:new n.ThemeIcon("workspace-trusted"),word_wrap:new n.ThemeIcon("word-wrap"),x:new n.ThemeIcon("x"),zap:new n.ThemeIcon("symbol-event"),zoom_in:new n.ThemeIcon("zoom-in"),zoom_out:new n.ThemeIcon("zoom-out")};t.ThemeIcons=r;t.codicons={account:"$(account)",activate_breakpoints:"$(activate-breakpoints)",add:"$(add)",alert:"$(alert)",archive:"$(archive)",array:"$(array)",arrow_both:"$(arrow-both)",arrow_down:"$(arrow-down)",arrow_left:"$(arrow-left)",arrow_right:"$(arrow-right)",arrow_small_down:"$(arrow-small-down)",arrow_small_left:"$(arrow-small-left)",arrow_small_right:"$(arrow-small-right)",arrow_small_up:"$(arrow-small-up)",arrow_swap:"$(arrow-swap)",arrow_up:"$(arrow-up)",beaker:"$(beaker)",bell_dot:"$(bell-dot)",bell:"$(bell)",bold:"$(bold)",book:"$(book)",bookmark:"$(bookmark)",briefcase:"$(briefcase)",broadcast:"$(broadcast)",browser:"$(browser)",bug:"$(bug)",calendar:"$(calendar)",call_incoming:"$(call-incoming)",call_outgoing:"$(call-outgoing)",case_sensitive:"$(case-sensitive)",check:"$(check)",check_all:"$(check-all)",checklist:"$(checklist)",chevron_down:"$(chevron-down)",chevron_left:"$(chevron-left)",chevron_right:"$(chevron-right)",chevron_up:"$(chevron-up)",chrome_close:"$(chrome-close)",chrome_maximize:"$(chrome-maximize)",chrome_minimize:"$(chrome-minimize)",chrome_restore:"$(chrome-restore)",circle_filled:"$(circle-filled)",circle_outline:"$(circle-outline)",circle_slash:"$(circle-slash)",circle_large_filled:"$(circle-large-filled)",circle_large_outline:"$(circle-large-outline)",circuit_board:"$(circuit-board)",clear_all:"$(clear-all)",clippy:"$(clippy)",clock:"$(clock)",clone:"$(clone)",close_all:"$(close-all)",close_dirty:"$(close-dirty)",close:"$(close)",cloud:"$(cloud)",cloud_download:"$(cloud-download)",cloud_upload:"$(cloud-upload)",copy:"$(copy)",code:"$(code)",combine:"$(combine)",collapse_all:"$(collapse-all)",color_mode:"$(color-mode)",comment_add:"$(comment-add)",comment_discussion:"$(comment-discussion)",comment:"$(comment)",console:"$(console)",credit_card:"$(credit-card)",dash:"$(dash)",dashboard:"$(dashboard)",database:"$(database)",debug_alt:"$(debug-alt)",debug_alt_small:"$(debug-alt-small)",debug_breakpoint_conditional_unverified:"$(debug-breakpoint-conditional-unverified)",debug_breakpoint_conditional:"$(debug-breakpoint-conditional)",debug_breakpoint_data_unverified:"$(debug-breakpoint-data-unverified)",debug_breakpoint_data:"$(debug-breakpoint-data)",debug_breakpoint_disabled:"$(debug-breakpoint-disabled)",debug_breakpoint_function_unverified:"$(debug-breakpoint-function-unverified)",debug_breakpoint_function:"$(debug-breakpoint-function)",debug_breakpoint_log_unverified:"$(debug-breakpoint-log-unverified)",debug_breakpoint_log:"$(debug-breakpoint-log)",debug_breakpoint_unsupported:"$(debug-breakpoint-unsupported)",debug_breakpoint:"$(debug-breakpoint)",debug_console:"$(debug-console)",debug_continue:"$(debug-continue)",debug_disconnect:"$(debug-disconnect)",debug_hint:"$(debug-hint)",debug_line_by_line:"$(debug-line-by-line)",debug_pause:"$(debug-pause)",debug_restart_frame:"$(debug-restart-frame)",debug_restart:"$(debug-restart)",debug_reverse_continue:"$(debug-reverse-continue)",debug_rerun:"$(debug-rerun)",debug_stackframe_active:"$(debug-stackframe-active)",debug_stackframe_dot:"$(debug-stackframe-dot)",debug_stackframe:"$(debug-stackframe)",debug_start:"$(debug-start)",debug_step_back:"$(debug-step-back)",debug_step_into:"$(debug-step-into)",debug_step_out:"$(debug-step-out)",debug_step_over:"$(debug-step-over)",debug_stop:"$(debug-stop)",debug:"$(debug)",desktop_download:"$(desktop-download)",device_camera_video:"$(device-camera-video)",device_camera:"$(device-camera)",device_desktop:"$(device-desktop)",device_mobile:"$(device-mobile)",diff_added:"$(diff-added)",diff_ignored:"$(diff-ignored)",diff_modified:"$(diff-modified)",diff_removed:"$(diff-removed)",diff_renamed:"$(diff-renamed)",diff:"$(diff)",discard:"$(discard)",edit:"$(edit)",editor_layout:"$(editor-layout)",ellipsis:"$(ellipsis)",empty_window:"$(empty-window)",error:"$(error)",exclude:"$(exclude)",expand_all:"$(expand-all)",export:"$(export)",extensions:"$(extensions)",eye_closed:"$(eye-closed)",eye_unwatch:"$(eye-unwatch)",eye_watch:"$(eye-watch)",eye:"$(eye)",feedback:"$(feedback)",file_add:"$(file-add)",file_binary:"$(file-binary)",file_code:"$(file-code)",file_directory_create:"$(file-directory-create)",file_directory:"$(file-directory)",file_media:"$(file-media)",file_pdf:"$(file-pdf)",file_submodule:"$(file-submodule)",file_symlink_directory:"$(file-symlink-directory)",file_symlink_file:"$(file-symlink-file)",file_text:"$(file-text)",file_zip:"$(file-zip)",file:"$(file)",files:"$(files)",filter:"$(filter)",filter_filled:"$(filter-filled)",flame:"$(flame)",fold_down:"$(fold-down)",fold_up:"$(fold-up)",fold:"$(fold)",folder_active:"$(folder-active)",folder_opened:"$(folder-opened)",folder:"$(folder)",gather:"$(gather)",gear:"$(gear)",gift:"$(gift)",gist_fork_private:"$(gist-fork-private)",gist_fork:"$(gist-fork)",gist_new:"$(gist-new)",gist_private:"$(gist-private)",gist_secret:"$(gist-secret)",gist:"$(gist)",git_branch_create:"$(git-branch-create)",git_branch_delete:"$(git-branch-delete)",git_branch:"$(git-branch)",git_commit:"$(git-commit)",git_compare:"$(git-compare)",git_merge:"$(git-merge)",git_pull_request:"$(git-pull-request)",git_pull_request_create:"$(git-pull-request-create)",github_action:"$(github-action)",github_alt:"$(github-alt)",github_inverted:"$(github-inverted)",github:"$(github)",globe:"$(globe)",go_to_file:"$(go-to-file)",grabber:"$(grabber)",graph:"$(graph)",graph_left:"$(graph-left)",gripper:"$(gripper)",group_by_ref_type:"$(group-by-ref-type)",heart:"$(heart)",history:"$(history)",home:"$(home)",horizontal_rule:"$(horizontal-rule)",hubot:"$(hubot)",inbox:"$(inbox)",info:"$(info)",issue_closed:"$(issue-closed)",issue_opened:"$(issue-opened)",issue_reopened:"$(issue-reopened)",issues:"$(issues)",italic:"$(italic)",jersey:"$(jersey)",json:"$(json)",kebab_horizontal:"$(kebab-horizontal)",kebab_vertical:"$(kebab-vertical)",key:"$(key)",keyboard:"$(keyboard)",law:"$(law)",library:"$(library)",light_bulb:"$(light-bulb)",lightbulb_autofix:"$(lightbulb-autofix)",lightbulb:"$(lightbulb)",link_external:"$(link-external)",link:"$(link)",list_filter:"$(list-filter)",list_flat:"$(list-flat)",list_ordered:"$(list-ordered)",list_selection:"$(list-selection)",list_tree:"$(list-tree)",list_unordered:"$(list-unordered)",live_share:"$(live-share)",loading:"$(loading)",location:"$(location)",lock:"$(lock)",log_in:"$(log-in)",log_out:"$(log-out)",logo_github:"$(logo-github)",magnet:"$(magnet)",mail_read:"$(mail-read)",mail_reply:"$(mail-reply)",mail:"$(mail)",mark_github:"$(mark-github)",markdown:"$(markdown)",megaphone:"$(megaphone)",mention:"$(mention)",menu:"$(menu)",merge:"$(merge)",microscope:"$(microscope)",milestone:"$(milestone)",mirror_private:"$(mirror-private)",mirror_public:"$(mirror-public)",mirror:"$(mirror)",more:"$(more)",mortar_board:"$(mortar-board)",move:"$(move)",multiple_windows:"$(multiple-windows)",mute:"$(mute)",new_file:"$(new-file)",new_folder:"$(new-folder)",no_newline:"$(no-newline)",note:"$(note)",notebook:"$(notebook)",notebook_template:"$(notebook-template)",octoface:"$(octoface)",open_preview:"$(open-preview)",organization_filled:"$(organization-filled)",organization_outline:"$(organization-outline)",organization:"$(organization)",output:"$(output)",package:"$(package)",paintcan:"$(paintcan)",pass:"$(pass)",pass_filled:"$(pass-filled)",pencil:"$(pencil)",person_add:"$(person-add)",person_filled:"$(person-filled)",person_follow:"$(person-follow)",person_outline:"$(person-outline)",person:"$(person)",pin:"$(pin)",pinned:"$(pinned)",pinned_dirty:"$(pinned-dirty)",play_circle:"$(play-circle)",play:"$(play)",plug:"$(plug)",plus:"$(plus)",preserve_case:"$(preserve-case)",preview:"$(preview)",primitive_dot:"$(primitive-dot)",primitive_square:"$(primitive-square)",project:"$(project)",pulse:"$(pulse)",question:"$(question)",quote:"$(quote)",radio_tower:"$(radio-tower)",reactions:"$(reactions)",record_keys:"$(record-keys)",record:"$(record)",redo:"$(redo)",references:"$(references)",refresh:"$(refresh)",regex:"$(regex)",remote_explorer:"$(remote-explorer)",remote:"$(remote)",remove_close:"$(remove-close)",remove:"$(remove)",repl:"$(repl)",replace_all:"$(replace-all)",replace:"$(replace)",reply:"$(reply)",repo_clone:"$(repo-clone)",repo_create:"$(repo-create)",repo_delete:"$(repo-delete)",repo_force_push:"$(repo-force-push)",repo_forked:"$(repo-forked)",repo_pull:"$(repo-pull)",repo_push:"$(repo-push)",repo_sync:"$(repo-sync)",repo:"$(repo)",report:"$(report)",request_changes:"$(request-changes)",rocket:"$(rocket)",root_folder_opened:"$(root-folder-opened)",root_folder:"$(root-folder)",rss:"$(rss)",ruby:"$(ruby)",run_above:"$(run-above)",run_all:"$(run-all)",run_below:"$(run-below)",save_all:"$(save-all)",save_as:"$(save-as)",save:"$(save)",screen_full:"$(screen-full)",screen_normal:"$(screen-normal)",search_save:"$(search-save)",search_stop:"$(search-stop)",search:"$(search)",server_environment:"$(server-environment)",server_process:"$(server-process)",server:"$(server)",settings_gear:"$(settings-gear)",settings:"$(settings)",shield:"$(shield)",sign_in:"$(sign-in)",sign_out:"$(sign-out)",smiley:"$(smiley)",sort_precedence:"$(sort-precedence)",source_control:"$(source-control)",split_horizontal:"$(split-horizontal)",split_vertical:"$(split-vertical)",squirrel:"$(squirrel)",star_empty:"$(star-empty)",star_full:"$(star-full)",star_half:"$(star-half)",star:"$(star)",stop_circle:"$(stop-circle)",stop:"$(stop)",symbol_array:"$(symbol-array)",symbol_boolean:"$(symbol-boolean)",symbol_class:"$(symbol-class)",symbol_color:"$(symbol-color)",symbol_constant:"$(symbol-constant)",symbol_constructor:"$(symbol-constructor)",symbol_enum_member:"$(symbol-enum-member)",symbol_enum:"$(symbol-enum)",symbol_event:"$(symbol-event)",symbol_field:"$(symbol-field)",symbol_file:"$(symbol-file)",symbol_folder:"$(symbol-folder)",symbol_function:"$(symbol-function)",symbol_interface:"$(symbol-interface)",symbol_key:"$(symbol-key)",symbol_keyword:"$(symbol-keyword)",symbol_method:"$(symbol-method)",symbol_misc:"$(symbol-misc)",symbol_module:"$(symbol-module)",symbol_namespace:"$(symbol-namespace)",symbol_null:"$(symbol-null)",symbol_number:"$(symbol-number)",symbol_numeric:"$(symbol-numeric)",symbol_object:"$(symbol-object)",symbol_operator:"$(symbol-operator)",symbol_package:"$(symbol-package)",symbol_parameter:"$(symbol-parameter)",symbol_property:"$(symbol-property)",symbol_reference:"$(symbol-reference)",symbol_ruler:"$(symbol-ruler)",symbol_snippet:"$(symbol-snippet)",symbol_string:"$(symbol-string)",symbol_struct:"$(symbol-struct)",symbol_structure:"$(symbol-structure)",symbol_text:"$(symbol-text)",symbol_type_parameter:"$(symbol-type_parameter)",symbol_unit:"$(symbol-unit)",symbol_value:"$(symbol-value)",symbol_variable:"$(symbol-variable)",sync_ignored:"$(sync-ignored)",sync:"$(sync)",table:"$(table)",tag_add:"$(tag-add)",tag_remove:"$(tag-remove)",tag:"$(tag)",tasklist:"$(tasklist)",telescope:"$(telescope)",terminal:"$(terminal)",terminal_cmd:"$(terminal-cmd)",terminal_debian:"$(terminal-debian)",terminal_linux:"$(terminal-linux)",terminal_powershell:"$(terminal-powershell)",terminal_tmux:"$(terminal-tmux)",terminal_ubuntu:"$(terminal-ubuntu)",terminal_bash:"$(terminal-bash)",text_size:"$(text-size)",three_bars:"$(three-bars)",thumbsdown:"$(thumbsdown)",thumbsup:"$(thumbsup)",tools:"$(tools)",trash:"$(trash)",trashcan:"$(trashcan)",triangle_down:"$(triangle-down)",triangle_left:"$(triangle-left)",triangle_right:"$(triangle-right)",triangle_up:"$(triangle-up)",type_hierarchy:"$(type-hierarchy)",type_hierarchy_sub:"$(type-hierarchy-sub)",type_hierarchy_super:"$(type-hierarchy-super)",twitter:"$(twitter)",unfold:"$(unfold)",ungroup_by_ref_type:"$(ungroup-by-ref-type)",unlock:"$(unlock)",unmute:"$(unmute)",unverified:"$(unverified)",variable:"$(variable)",variable_group:"$(variable_group)",verified:"$(verified)",versions:"$(versions)",vm_active:"$(vm-active)",vm_connect:"$(vm-connect)",vm_outline:"$(vm-outline)",vm_running:"$(vm-running)",vm:"$(vm)",wand:"$(wand)",warning:"$(warning)",watch:"$(watch)",whitespace:"$(whitespace)",whole_word:"$(whole-word)",window:"$(window)",workspace_trusted:"$(workspace-trusted)",workspace_untrusted:"$(workspace-untrusted)",workspace_unknown:"$(workspace-trusted)",word_wrap:"$(word-wrap)",x:"$(x)",zap:"$(symbol-event)",zoom_in:"$(zoom-in)",zoom_out:"$(zoom-out)"}},function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0}),t.NODE_KIND=0,t.NODE_PROJECT=1,function(e){e[e.NODE_KIND=0]="NODE_KIND",e[e.NODE_PROJECT=1]="NODE_PROJECT"}(t.ProjectNodeKind||(t.ProjectNodeKind={})),t.NO_TAGS_DEFINED="** no tags **",function(e){e[e.VIEW_AS_LIST=0]="VIEW_AS_LIST",e[e.VIEW_AS_TAGS=1]="VIEW_AS_TAGS"}(t.ViewFavoritesAs||(t.ViewFavoritesAs={}))},function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0});const n=o(4),r=o(2),i=o(0),s=o(18),a=o(5),c=o(23);t.CustomRepositoryDetector=class{constructor(e){this.paths=e}isRepoDir(e){return n.existsSync(r.join(e,...this.paths))}decideProjectName(e){return r.basename(e)}};t.CustomProjectLocator=class{constructor(e,t,o,n){this.kind=e,this.displayName=t,this.icon=o,this.repositoryDetector=n,this.dirList=[],this.processDirectory=(e,t)=>{this.repositoryDetector.isRepoDir(e)&&this.addToList(e,this.repositoryDetector.decideProjectName(e))},this.maxDepth=-1,this.ignoredFolders=[],this.useCachedProjects=!0,this.ignoreProjectsWithinProjects=!1,this.alreadyLocated=!1,this.baseFolders=[],this.refreshConfig()}getPathDepth(e){let t=e.split(r.sep).length;return e.endsWith(r.sep)&&t--,t}isMaxDepthReached(e,t){return this.maxDepth>0&&e-t>this.maxDepth}isFolderIgnored(e){return this.ignoredFolders.filter(t=>c(e,t)).length>0}isProjectWithinProjectIgnored(e){if(!this.ignoreProjectsWithinProjects)return!1;let t=!1;return this.dirList.forEach(o=>{t=t||e.startsWith(o.fullPath)}),t}isAlreadyLocated(){return this.useCachedProjects&&this.alreadyLocated}setAlreadyLocated(e){if(this.useCachedProjects&&(this.alreadyLocated=e,this.alreadyLocated)){const e=this.getCacheFile();n.writeFileSync(e,JSON.stringify(this.dirList,null,"\t"),{encoding:"utf8"})}}clearDirList(){this.dirList=[]}initializeCfg(e){if(this.useCachedProjects){const e=this.getCacheFile();n.existsSync(e)&&(this.dirList=JSON.parse(n.readFileSync(e,"utf8")),this.setAlreadyLocated(!0))}else this.clearDirList()}locateProjects(){let e=this.baseFolders;return e=a.PathUtils.updateWithPathSeparator(e),this.baseFolders=e.slice(),new Promise((t,o)=>{if(0===e.length)return void t([]);if(this.initializeCfg(this.kind),this.isAlreadyLocated())return void t(this.dirList);const c=[];this.clearDirList(),e.forEach(e=>{const t=a.PathUtils.expandHomePath(e);if(!n.existsSync(t))return;const o=this.getPathDepth(t),i=new Promise((e,n)=>{try{s(t).filterDir((e,t)=>!(this.isFolderIgnored(r.basename(e))||this.isMaxDepthReached(this.getPathDepth(e),o)||this.isProjectWithinProjectIgnored(e))).on("dir",this.processDirectory).on("error",this.handleError).on("end",()=>{e()})}catch(e){n(e)}});c.push(i)}),Promise.all(c).then(()=>{this.setAlreadyLocated(!0),t(this.dirList)}).catch(e=>{i.window.showErrorMessage("Error while loading projects.")})})}addToList(e,t=null){this.dirList.push({fullPath:e,name:null===t?r.basename(e):t})}handleError(e){console.log("Error walker:",e)}refreshProjects(e){return new Promise((t,o)=>{if(!e&&!this.refreshConfig())return void t(!1);this.clearDirList();const r=this.getCacheFile();n.existsSync(r)&&n.unlinkSync(r),this.setAlreadyLocated(!1),this.locateProjects().then(()=>{t(!0)}).catch(e=>{o(e)})})}existsWithRootPath(e){if(this.initializeCfg(this.kind),!this.isAlreadyLocated())return null;for(const t of this.dirList)if(t.fullPath.toLocaleLowerCase()===e.toLocaleLowerCase())return{rootPath:t.fullPath,name:t.name,tags:[],paths:[],enabled:!0}}getCacheFile(){return a.PathUtils.getFilePathFromAppData("projects_cache_"+this.kind+".json")}refreshConfig(){const e=i.workspace.getConfiguration("projectManager");let t=!1,o=null;return o=e.get(this.kind+".baseFolders"),this.arraysAreEquals(this.baseFolders,o)||(this.baseFolders=o,t=!0),o=e.get(this.kind+".ignoredFolders",[]),this.arraysAreEquals(this.ignoredFolders,o)||(this.ignoredFolders=o,t=!0),o=e.get(this.kind+".maxDepthRecursion",-1),this.maxDepth!==o&&(this.maxDepth=o,t=!0),o=e.get("cacheProjectsBetweenSessions",!0),this.useCachedProjects!==o&&(this.useCachedProjects=o,t=!0),o=e.get("ignoreProjectsWithinProjects",!1),this.ignoreProjectsWithinProjects!==o&&(this.ignoreProjectsWithinProjects=o,t=!0),t}arraysAreEquals(e,t){if(!e||!t)return!1;if(e.length!==t.length)return!1;for(let o=0,n=e.length;o)?=?)";var T=s++;i[T]=i[c]+"|x|X|\\*";var $=s++;i[$]=i[a]+"|x|X|\\*";var k=s++;i[k]="[v=\\s]*("+i[$]+")(?:\\.("+i[$]+")(?:\\.("+i[$]+")(?:"+i[p]+")?"+i[f]+"?)?)?";var P=s++;i[P]="[v=\\s]*("+i[T]+")(?:\\.("+i[T]+")(?:\\.("+i[T]+")(?:"+i[g]+")?"+i[f]+"?)?)?";var j=s++;i[j]="^"+i[y]+"\\s*"+i[k]+"$";var x=s++;i[x]="^"+i[y]+"\\s*"+i[P]+"$";var C=s++;i[C]="(?:^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])";var S=s++;i[S]="(?:~>?)";var L=s++;i[L]="(\\s*)"+i[S]+"\\s+",r[L]=new RegExp(i[L],"g");var E=s++;i[E]="^"+i[S]+i[k]+"$";var M=s++;i[M]="^"+i[S]+i[P]+"$";var N=s++;i[N]="(?:\\^)";var O=s++;i[O]="(\\s*)"+i[N]+"\\s+",r[O]=new RegExp(i[O],"g");var F=s++;i[F]="^"+i[N]+i[k]+"$";var R=s++;i[R]="^"+i[N]+i[P]+"$";var D=s++;i[D]="^"+i[y]+"\\s*("+v+")$|^$";var A=s++;i[A]="^"+i[y]+"\\s*("+_+")$|^$";var V=s++;i[V]="(\\s*)"+i[y]+"\\s*("+v+"|"+i[k]+")",r[V]=new RegExp(i[V],"g");var W=s++;i[W]="^\\s*("+i[k]+")\\s+-\\s+("+i[k]+")\\s*$";var K=s++;i[K]="^\\s*("+i[P]+")\\s+-\\s+("+i[P]+")\\s*$";var z=s++;i[z]="(<|>)?=?\\s*\\*";for(var B=0;B<35;B++)o(B,i[B]),r[B]||(r[B]=new RegExp(i[B]));function U(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof q)return e;if("string"!=typeof e)return null;if(e.length>256)return null;if(!(t.loose?r[I]:r[b]).test(e))return null;try{return new q(e,t)}catch(e){return null}}function q(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof q){if(e.loose===t.loose)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>256)throw new TypeError("version is longer than 256 characters");if(!(this instanceof q))return new q(e,t);o("SemVer",e,t),this.options=t,this.loose=!!t.loose;var i=e.trim().match(t.loose?r[I]:r[b]);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>n||this.major<0)throw new TypeError("Invalid major version");if(this.minor>n||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>n||this.patch<0)throw new TypeError("Invalid patch version");i[4]?this.prerelease=i[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[o]&&(this.prerelease[o]++,o=-2);-1===o&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},t.inc=function(e,t,o,n){"string"==typeof o&&(n=o,o=void 0);try{return new q(e,o).inc(t,n).version}catch(e){return null}},t.diff=function(e,t){if(Z(e,t))return null;var o=U(e),n=U(t);if(o.prerelease.length||n.prerelease.length){for(var r in o)if(("major"===r||"minor"===r||"patch"===r)&&o[r]!==n[r])return"pre"+r;return"prerelease"}for(var r in o)if(("major"===r||"minor"===r||"patch"===r)&&o[r]!==n[r])return r},t.compareIdentifiers=G;var H=/^[0-9]+$/;function G(e,t){var o=H.test(e),n=H.test(t);return o&&n&&(e=+e,t=+t),o&&!n?-1:n&&!o?1:et?1:0}function X(e,t,o){return new q(e,o).compare(new q(t,o))}function J(e,t,o){return X(e,t,o)>0}function Y(e,t,o){return X(e,t,o)<0}function Z(e,t,o){return 0===X(e,t,o)}function Q(e,t,o){return 0!==X(e,t,o)}function ee(e,t,o){return X(e,t,o)>=0}function te(e,t,o){return X(e,t,o)<=0}function oe(e,t,o,n){var r;switch(t){case"===":"object"==typeof e&&(e=e.version),"object"==typeof o&&(o=o.version),r=e===o;break;case"!==":"object"==typeof e&&(e=e.version),"object"==typeof o&&(o=o.version),r=e!==o;break;case"":case"=":case"==":r=Z(e,o,n);break;case"!=":r=Q(e,o,n);break;case">":r=J(e,o,n);break;case">=":r=ee(e,o,n);break;case"<":r=Y(e,o,n);break;case"<=":r=te(e,o,n);break;default:throw new TypeError("Invalid operator: "+t)}return r}function ne(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof ne){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof ne))return new ne(e,t);o("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===re?this.value="":this.value=this.operator+this.semver.version,o("comp",this)}t.rcompareIdentifiers=function(e,t){return G(t,e)},t.major=function(e,t){return new q(e,t).major},t.minor=function(e,t){return new q(e,t).minor},t.patch=function(e,t){return new q(e,t).patch},t.compare=X,t.compareLoose=function(e,t){return X(e,t,!0)},t.rcompare=function(e,t,o){return X(t,e,o)},t.sort=function(e,o){return e.sort((function(e,n){return t.compare(e,n,o)}))},t.rsort=function(e,o){return e.sort((function(e,n){return t.rcompare(e,n,o)}))},t.gt=J,t.lt=Y,t.eq=Z,t.neq=Q,t.gte=ee,t.lte=te,t.cmp=oe,t.Comparator=ne;var re={};function ie(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof ie)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new ie(e.raw,t);if(e instanceof ne)return new ie(e.value,t);if(!(this instanceof ie))return new ie(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}function se(e){return!e||"x"===e.toLowerCase()||"*"===e}function ae(e,t,o,n,r,i,s,a,c,l,h,d,m){return((t=se(o)?"":se(n)?">="+o+".0.0":se(r)?">="+o+"."+n+".0":">="+t)+" "+(a=se(c)?"":se(l)?"<"+(+c+1)+".0.0":se(h)?"<"+c+"."+(+l+1)+".0":d?"<="+c+"."+l+"."+h+"-"+d:"<="+a)).trim()}function ce(e,t,n){for(var r=0;r0){var i=e[r].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0}return!1}return!0}function le(e,t,o){try{t=new ie(t,o)}catch(e){return!1}return t.test(e)}function he(e,t,o,n){var r,i,s,a,c;switch(e=new q(e,n),t=new ie(t,n),o){case">":r=J,i=te,s=Y,a=">",c=">=";break;case"<":r=Y,i=ee,s=J,a="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(le(e,t,n))return!1;for(var l=0;l=0.0.0")),d=d||e,m=m||e,r(e.semver,d.semver,n)?d=e:s(e.semver,m.semver,n)&&(m=e)})),d.operator===a||d.operator===c)return!1;if((!m.operator||m.operator===a)&&i(e,m.semver))return!1;if(m.operator===c&&s(e,m.semver))return!1}return!0}ne.prototype.parse=function(e){var t=this.options.loose?r[D]:r[A],o=e.match(t);if(!o)throw new TypeError("Invalid comparator: "+e);this.operator=o[1],"="===this.operator&&(this.operator=""),o[2]?this.semver=new q(o[2],this.options.loose):this.semver=re},ne.prototype.toString=function(){return this.value},ne.prototype.test=function(e){return o("Comparator.test",e,this.options.loose),this.semver===re||("string"==typeof e&&(e=new q(e,this.options)),oe(e,this.operator,this.semver,this.options))},ne.prototype.intersects=function(e,t){if(!(e instanceof ne))throw new TypeError("a Comparator is required");var o;if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return o=new ie(e.value,t),le(this.value,o,t);if(""===e.operator)return o=new ie(this.value,t),le(e.semver,o,t);var n=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),r=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),i=this.semver.version===e.semver.version,s=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),a=oe(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=oe(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||r||i&&s||a||c},t.Range=ie,ie.prototype.format=function(){return this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim(),this.range},ie.prototype.toString=function(){return this.range},ie.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var n=t?r[K]:r[W];e=e.replace(n,ae),o("hyphen replace",e),e=e.replace(r[V],"$1$2$3"),o("comparator trim",e,r[V]),e=(e=(e=e.replace(r[L],"$1~")).replace(r[O],"$1^")).split(/\s+/).join(" ");var i=t?r[D]:r[A],s=e.split(" ").map((function(e){return function(e,t){return o("comp",e,t),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){o("caret",e,t),t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1});var n=t.loose?r[R]:r[F];return e.replace(n,(function(t,n,r,i,s){var a;return o("caret",e,t,n,r,i,s),se(n)?a="":se(r)?a=">="+n+".0.0 <"+(+n+1)+".0.0":se(i)?a="0"===n?">="+n+"."+r+".0 <"+n+"."+(+r+1)+".0":">="+n+"."+r+".0 <"+(+n+1)+".0.0":s?(o("replaceCaret pr",s),"-"!==s.charAt(0)&&(s="-"+s),a="0"===n?"0"===r?">="+n+"."+r+"."+i+s+" <"+n+"."+r+"."+(+i+1):">="+n+"."+r+"."+i+s+" <"+n+"."+(+r+1)+".0":">="+n+"."+r+"."+i+s+" <"+(+n+1)+".0.0"):(o("no pr"),a="0"===n?"0"===r?">="+n+"."+r+"."+i+" <"+n+"."+r+"."+(+i+1):">="+n+"."+r+"."+i+" <"+n+"."+(+r+1)+".0":">="+n+"."+r+"."+i+" <"+(+n+1)+".0.0"),o("caret return",a),a}))}(e,t)})).join(" ")}(e,t),o("caret",e),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1});var n=t.loose?r[M]:r[E];return e.replace(n,(function(t,n,r,i,s){var a;return o("tilde",e,t,n,r,i,s),se(n)?a="":se(r)?a=">="+n+".0.0 <"+(+n+1)+".0.0":se(i)?a=">="+n+"."+r+".0 <"+n+"."+(+r+1)+".0":s?(o("replaceTilde pr",s),"-"!==s.charAt(0)&&(s="-"+s),a=">="+n+"."+r+"."+i+s+" <"+n+"."+(+r+1)+".0"):a=">="+n+"."+r+"."+i+" <"+n+"."+(+r+1)+".0",o("tilde return",a),a}))}(e,t)})).join(" ")}(e,t),o("tildes",e),e=function(e,t){return o("replaceXRanges",e,t),e.split(/\s+/).map((function(e){return function(e,t){e=e.trim(),t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1});var n=t.loose?r[x]:r[j];return e.replace(n,(function(t,n,r,i,s,a){o("xRange",e,t,n,r,i,s,a);var c=se(r),l=c||se(i),h=l||se(s);return"="===n&&h&&(n=""),c?t=">"===n||"<"===n?"<0.0.0":"*":n&&h?(l&&(i=0),h&&(s=0),">"===n?(n=">=",l?(r=+r+1,i=0,s=0):h&&(i=+i+1,s=0)):"<="===n&&(n="<",l?r=+r+1:i=+i+1),t=n+r+"."+i+"."+s):l?t=">="+r+".0.0 <"+(+r+1)+".0.0":h&&(t=">="+r+"."+i+".0 <"+r+"."+(+i+1)+".0"),o("xRange return",t),t}))}(e,t)})).join(" ")}(e,t),o("xrange",e),e=function(e,t){return o("replaceStars",e,t),e.trim().replace(r[z],"")}(e,t),o("stars",e),e}(e,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(s=s.filter((function(e){return!!e.match(i)}))),s=s.map((function(e){return new ne(e,this.options)}),this)},ie.prototype.intersects=function(e,t){if(!(e instanceof ie))throw new TypeError("a Range is required");return this.set.some((function(o){return o.every((function(o){return e.set.some((function(e){return e.every((function(e){return o.intersects(e,t)}))}))}))}))},t.toComparators=function(e,t){return new ie(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))},ie.prototype.test=function(e){if(!e)return!1;"string"==typeof e&&(e=new q(e,this.options));for(var t=0;t",o)},t.outside=he,t.prerelease=function(e,t){var o=U(e,t);return o&&o.prerelease.length?o.prerelease:null},t.intersects=function(e,t,o){return e=new ie(e,o),t=new ie(t,o),e.intersects(t)},t.coerce=function(e){if(e instanceof q)return e;if("string"!=typeof e)return null;var t=e.match(r[C]);return null==t?null:U((t[1]||"0")+"."+(t[2]||"0")+"."+(t[3]||"0"))}},function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.NEW="NEW",e.CHANGED="CHANGED",e.FIXED="FIXED",e.VERSION="VERSION",e.INTERNAL="INTERNAL"}(t.ChangeLogKind||(t.ChangeLogKind={})),function(e){e.Issue="Issue",e.PR="PR"}(t.IssueKind||(t.IssueKind={}))},function(e,t,o){var n=this&&this.__awaiter||function(e,t,o,n){return new(o||(o=Promise))((function(r,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const r=o(4),i=o(2),s=o(0),a=o(14),c=o(15),l=o(28),h=o(5),d=o(30),m=o(34),u=o(35),p=o(36),g=o(1),w=o(37),f=o(3),b=o(38),_=o(42),v=o(43),I=o(51),y=o(52),T=o(53),$=o(7);t.activate=function(e){f.Container.context=e,h.PathUtils.setExtensionContext(e);const t=e.globalState.get("recent",""),o=new a.Stack;o.fromString(t);const k=new l.ProjectStorage(R()),P=new c.Locators(o),j=new d.Providers(P,k);P.setProviderManager(j),I.registerRevealFileInOS(),y.registerOpenSettings(),_.registerSupportProjectManager(),v.registerHelpAndFeedbackView(e),b.registerWhatsNew(),e.subscriptions.push(s.commands.registerCommand("_projectManager.openFolderWelcome",()=>{const e=g.isWindows?"workbench.action.files.openFolder":"workbench.action.files.openFileFolder";s.commands.executeCommand(e)})),e.subscriptions.push(s.commands.registerCommand("projectManager.hideGitWelcome",()=>{e.globalState.update("hideGitWelcome",!0),j.showTreeViewFromAllProviders(),s.commands.executeCommand("setContext","projectManager.hiddenGitWelcome",!0)})),e.subscriptions.push(s.commands.registerCommand("projectManager.showGitWelcome",()=>{e.globalState.update("hideGitWelcome",!1),j.showTreeViewFromAllProviders(),s.commands.executeCommand("setContext","projectManager.hiddenGitWelcome",!1)}));const x=e.globalState.get("hideGitWelcome",!1);s.commands.executeCommand("setContext","projectManager.hiddenGitWelcome",x),s.commands.registerCommand("_projectManager.open",e=>{const t="string"==typeof e?w.buildProjectUri(e):w.buildProjectUri(e.command.arguments[0]);s.commands.executeCommand("vscode.openFolder",t,!1).then(e=>({}),e=>s.window.showInformationMessage("Could not open the project!"))}),s.commands.registerCommand("_projectManager.openInNewWindow",e=>{const t=w.buildProjectUri(e.command.arguments[0]),o=O(!0,p.CommandLocation.SideBar);s.commands.executeCommand("vscode.openFolder",t,o).then(e=>({}),e=>s.window.showInformationMessage("Could not open the project!"))}),s.commands.registerCommand("projectManager.saveProject",()=>M()),s.commands.registerCommand("projectManager.refreshProjects",()=>E(!0,!0)),P.registerCommands(),s.commands.registerCommand("projectManager.editProjects",()=>function(){if(r.existsSync(R()))s.workspace.openTextDocument(R()).then(e=>{s.window.showTextDocument(e)});else{const e={title:"Yes, edit manually"};s.window.showErrorMessage("No projects saved yet! You should open a folder and use Save Project instead. Do you really want to edit manually? ",e).then(e=>{void 0!==e&&"Yes, edit manually"===e.title&&(k.push("Project Name","Root Path"),k.save(),j.updateTreeViewStorage(),s.commands.executeCommand("projectManager.editProjects"))})}}()),s.commands.registerCommand("projectManager.listProjects",()=>N(!1)),s.commands.registerCommand("projectManager.listProjectsNewWindow",()=>N(!0)),s.commands.registerCommand("projectManager.addToWorkspace#sideBar",e=>W(e)),s.commands.registerCommand("projectManager.addToWorkspace",()=>W(void 0)),s.commands.registerCommand("_projectManager.deleteProject",e=>function(e){o.pop(e.command.arguments[1]),k.pop(e.command.arguments[1]),k.save(),j.updateTreeViewStorage(),s.window.showInformationMessage("Project successfully deleted!")}(e)),s.commands.registerCommand("_projectManager.renameProject",e=>function(e){const t=e.command.arguments[1],n={prompt:"New Project Name",placeHolder:"Type a new name for the project",value:t};s.window.showInputBox(n).then(n=>{void 0!==n&&(""!==n?k.exists(n)?s.window.showErrorMessage("Project already exists!"):(o.rename(t,n),k.rename(t,n),k.save(),s.window.showInformationMessage("Project renamed!"),m.updateStatusBar(t,e.command.arguments[0],n)):s.window.showWarningMessage("You must define a new name for the project."))})}(e)),s.commands.registerCommand("_projectManager.editTags",e=>function(e){return n(this,void 0,void 0,(function*(){const t=k.existsWithRootPath(e.command.arguments[0]);if(!t)return;const o=yield T.pickTags(k,t.tags,{useDefaultTags:!0,useNoTagsDefined:!1});o&&(k.editTags(t.name,o),k.save(),s.window.showInformationMessage("Project updated!"))}))}(e)),s.commands.registerCommand("projectManager.addToFavorites",e=>M(e)),s.commands.registerCommand("_projectManager.toggleProjectEnabled",e=>function e(t,o=!0){const n=t.command.arguments[1],r=k.toggleEnabled(n);if(void 0===r)return;if(k.save(),j.updateTreeViewStorage(),!o)return;r?s.window.showInformationMessage(`Project "${n}" enabled.`,"Undo").then(o=>{o&&e(t,!1)}):s.window.showInformationMessage(`Project "${n}" disabled.`,"Undo").then(o=>{o&&e(t,!1)})}(e));const C=f.Container.context.globalState.get("viewAsList",!0);function S(e){e===$.ViewFavoritesAs.VIEW_AS_LIST?s.commands.executeCommand("setContext","projectManager.viewAsList",!0):s.commands.executeCommand("setContext","projectManager.viewAsList",!1),f.Container.context.globalState.update("viewAsList",e===$.ViewFavoritesAs.VIEW_AS_LIST),j.refreshTreeViews()}function L(){return n(this,void 0,void 0,(function*(){const e=f.Container.context.globalState.get("filterByTags",[]),t=yield T.pickTags(k,e,{useDefaultTags:!1,useNoTagsDefined:!0,showWarningWhenHasNoTagsToPick:!0});t&&(f.Container.context.globalState.update("filterByTags",t),j.refreshStorageTreeView())}))}function E(e,t){s.window.withProgress({location:s.ProgressLocation.Notification,title:"Refreshing Projects",cancellable:!1},o=>n(this,void 0,void 0,(function*(){o.report({message:"VSCode"});const n=yield P.vscLocator.refreshProjects(t);o.report({message:"Git"});const r=yield P.gitLocator.refreshProjects(t);o.report({message:"Mercurial"});const i=yield P.mercurialLocator.refreshProjects(t);o.report({message:"SVN"});const a=yield P.svnLocator.refreshProjects(t);o.report({message:"Any"});const c=yield P.anyLocator.refreshProjects(t);(n||r||i||a||c||t)&&(o.report({message:"Activity Bar"}),(n||t)&&j.vscodeProvider.refresh(),(r||t)&&j.gitProvider.refresh(),(i||t)&&j.mercurialProvider.refresh(),(a||t)&&j.svnProvider.refresh(),(c||t)&&j.anyProvider.refresh(),j.showTreeViewFromAllProviders()),e&&s.window.showInformationMessage("The projects have been refreshed!")})))}function M(t){return n(this,void 0,void 0,(function*(){let n,r;if(t)n=t.label,r=t.command.arguments[0];else{const e=yield u.getProjectDetails();if(!e)return;r=e.path,n=e.name}const i={prompt:"Project Name",placeHolder:"Type a name for your project",value:n};s.window.showInputBox(i).then(n=>{if(void 0!==n)if(""!==n)if(k.exists(n)){const i={title:"Update"},a={title:"Cancel"};s.window.showInformationMessage("Project already exists!",i,a).then(i=>{if(void 0!==i)return"Update"===i.title?(o.push(n),e.globalState.update("recent",o.toString()),k.updateRootPath(n,r),k.save(),j.updateTreeViewStorage(),s.window.showInformationMessage("Project saved!"),void(t||m.showStatusBar(k,P,n))):void 0})}else o.push(n),e.globalState.update("recent",o.toString()),k.push(n,r),k.save(),j.updateTreeViewStorage(),s.window.showInformationMessage("Project saved!"),t||m.showStatusBar(k,P,n);else s.window.showWarningMessage("You must define a name for the project.")})}))}function N(t){return n(this,void 0,void 0,(function*(){const n=yield A(V);if(n){o.push(n.name),e.globalState.update("recent",o.toString());const r=O(t,p.CommandLocation.CommandPalette),i=w.buildProjectUri(n.rootPath);s.commands.executeCommand("vscode.openFolder",i,r).then(e=>({}),e=>s.window.showInformationMessage("Could not open the project!"))}else;}))}function O(e,t){if(!e)return!1;if(s.workspace.workspaceFolders||s.window.activeTextEditor)return e;const o=s.workspace.getConfiguration("projectManager").get("openInCurrenWindowIfEmpty");if(o===p.OpenInCurrentWindowIfEmptyMode.always)return!1;if(o===p.OpenInCurrentWindowIfEmptyMode.never)return e;switch(o){case p.OpenInCurrentWindowIfEmptyMode.always:return!1;case p.OpenInCurrentWindowIfEmptyMode.never:return e;case p.OpenInCurrentWindowIfEmptyMode.onlyUsingCommandPalette:return t!==p.CommandLocation.CommandPalette;case p.OpenInCurrentWindowIfEmptyMode.onlyUsingSideBar:return t!==p.CommandLocation.SideBar}}function F(){const e=k.load();if(""!==e){const t={title:"Open File"};return s.window.showErrorMessage("Error loading projects.json file. Message: "+e,t).then(e=>{void 0!==e&&"Open File"===e.title&&s.commands.executeCommand("projectManager.editProjects")}),null}}function R(){let e;const t=s.workspace.getConfiguration("projectManager").get("projectsLocation");return e=""!==t?i.join(h.PathUtils.expandHomePath(t),p.PROJECTS_FILE):h.PathUtils.getFilePathFromAppData(p.PROJECTS_FILE),e}function D(e){".code-workspace"!==i.extname(e)?s.workspace.updateWorkspaceFolders(s.workspace.workspaceFolders?s.workspace.workspaceFolders.length:0,null,{uri:s.Uri.file(e)}):s.window.showWarningMessage("You can't add a Workspace to another Workspace.")}function A(e){let t=[];const o=f.Container.context.globalState.get("filterByTags",[]);return t=k.getProjectsByTags(o),t=P.sortGroupedList(t),new Promise((o,n)=>{const i={matchOnDescription:s.workspace.getConfiguration("projectManager").get("filterOnFullPath",!1),matchOnDetail:!1,placeHolder:"Loading Projects (pick one...)"};var a;(a=t,new Promise((e,t)=>{e(a)})).then(e=>P.getLocatorProjects(e,P.vscLocator)).then(e=>P.getLocatorProjects(e,P.gitLocator)).then(e=>P.getLocatorProjects(e,P.mercurialLocator)).then(e=>P.getLocatorProjects(e,P.svnLocator)).then(e=>P.getLocatorProjects(e,P.anyLocator)).then(t=>{if(0===t.length)return s.window.showInformationMessage("No projects saved yet!"),o(void 0);s.workspace.getConfiguration("projectManager").get("groupList",!1)||(t=P.sortProjectList(t)),s.commands.executeCommand("setContext","inProjectManagerList",!0),s.window.showQuickPick(t,i).then(t=>(s.commands.executeCommand("setContext","inProjectManagerList",!1),t?g.isRemotePath(t.description)||r.existsSync(t.description.toString())?o({name:t.label,rootPath:h.PathUtils.normalizePath(t.description)}):"$("===t.label.substr(0,2)?(s.window.showErrorMessage("Path does not exist or is unavailable."),o(void 0)):void(e&&e(t.label,t.description)):o(void 0)),e=>(s.commands.executeCommand("setContext","inProjectManagerList",!1),o(void 0)))})})}function V(e,t){s.window.showErrorMessage("The project has an invalid path. What would you like to do?",{title:"Update Project"},{title:"Delete Project"}).then(t=>{if(void 0!==t)return"Update Project"!==t.title?(k.pop(e),void k.save()):void s.commands.executeCommand("projectManager.editProjects")})}function W(e){return n(this,void 0,void 0,(function*(){if(e)return void D(e.command.arguments[0]);const t=yield A(V);t&&D(t.rootPath)}))}s.commands.executeCommand("setContext","projectManager.viewAsList",C),s.commands.registerCommand("_projectManager.viewAsTags",()=>S($.ViewFavoritesAs.VIEW_AS_TAGS)),s.commands.registerCommand("_projectManager.viewAsList",()=>S($.ViewFavoritesAs.VIEW_AS_LIST)),s.commands.registerCommand("projectManager.filterProjectsByTag",()=>L()),s.commands.registerCommand("projectManager.filterProjectsByTag#sideBar",()=>L()),F(),j.showTreeViewFromAllProviders(),r.watchFile(R(),{interval:100},(e,t)=>{F(),j.storageProvider.refresh(),j.updateTreeViewStorage()}),e.subscriptions.push(s.workspace.onDidChangeConfiguration(e=>{(e.affectsConfiguration("projectManager.git")||e.affectsConfiguration("projectManager.hg")||e.affectsConfiguration("projectManager.vscode")||e.affectsConfiguration("projectManager.svn")||e.affectsConfiguration("projectManager.any")||e.affectsConfiguration("projectManager.ignoreProjectsWithinProjects")||e.affectsConfiguration("projectManager.cacheProjectsBetweenSessions"))&&E(),e.affectsConfiguration("workbench.iconTheme")&&j.refreshTreeViews()})),m.showStatusBar(k,P)}},function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0});t.Stack=class{constructor(){this.items=[]}fromString(e){""!==e&&(this.items=JSON.parse(e))}toString(){return JSON.stringify(this.items)}push(e){const t=this.items.indexOf(e);t>-1&&this.items.splice(t,1),this.items.push(e)}pop(e){if(!e)return this.items.pop();for(let t=0;tthis.refreshProjectsByType("VSCode",this.vscLocator,this.providerManager.vscodeProvider,!0,!0)),r.commands.registerCommand("projectManager.refreshGitProjects",()=>this.refreshProjectsByType("Git",this.gitLocator,this.providerManager.gitProvider,!0,!0)),r.commands.registerCommand("projectManager.refreshMercurialProjects",()=>this.refreshProjectsByType("Mercurial",this.mercurialLocator,this.providerManager.mercurialProvider,!0,!0)),r.commands.registerCommand("projectManager.refreshSVNProjects",()=>this.refreshProjectsByType("SVN",this.svnLocator,this.providerManager.svnProvider,!0,!0)),r.commands.registerCommand("projectManager.refreshAnyProjects",()=>this.refreshProjectsByType("Any",this.anyLocator,this.providerManager.anyProvider,!0,!0))}setProviderManager(e){this.providerManager=e}getLocatorProjects(e,t){return new Promise((o,n)=>{t.locateProjects().then(this.filterKnownDirectories.bind(this,e)).then(n=>{let r=[];r=n.map(e=>({label:t.icon+" "+e.name,description:e.fullPath})),r=this.sortGroupedList(r),o(e.concat(r))})})}sortGroupedList(e){return r.workspace.getConfiguration("projectManager").get("groupList",!1)?this.sortProjectList(e):e}sortProjectList(e){let t=i.PathUtils.expandHomePaths(e);t=this.removeRootPath(t);r.workspace.getConfiguration("projectManager").get("checkInvalidPathsBeforeListing",!0)&&(t=i.PathUtils.indicateInvalidPaths(t));const o=r.workspace.getConfiguration("projectManager").get("sortList","Name");return s.Sorter.SortItemsByCriteria(t,o,this.stack)}refreshProjectsByType(e,t,o,i,s){r.window.withProgress({location:r.ProgressLocation.Notification,title:"Refreshing Projects",cancellable:!1},r=>n(this,void 0,void 0,(function*(){r.report({increment:50,message:e});((yield t.refreshProjects(s))||s)&&(r.report({increment:50,message:e}),o.refresh(),o.showTreeView())}))).then(()=>n(this,void 0,void 0,(function*(){i&&(yield this.delay(1e3),r.window.showInformationMessage(e+" projects have been refreshed!"))})))}removeRootPath(e){return(r.workspace.workspaceFolders?r.workspace.workspaceFolders[0]:void 0)&&r.workspace.getConfiguration("projectManager").get("removeCurrentProjectFromList")?e.filter(e=>e.description.toString().toLowerCase()!==r.workspace.rootPath.toLowerCase()):e}filterKnownDirectories(e,t){return e&&(t=t.filter(t=>!e.some(e=>i.PathUtils.expandHomePath(e.description).toLowerCase()===i.PathUtils.expandHomePath(t.fullPath).toLowerCase()))),Promise.resolve(t)}delay(e){return n(this,void 0,void 0,(function*(){return new Promise(t=>setTimeout(t,e))}))}}},function(e,t){e.exports=require("os")},function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0});t.Sorter=class{static getSortedByName(e){return e.sort((e,t)=>e.label.replace(/\$\(\w*(-)*\w*\)\s/,"").toLowerCase()>t.label.replace(/\$\(\w*(-)*\w*\)\s/,"").toLowerCase()?1:e.label.replace(/\$\(\w*(-)*\w*\)\s/,"").toLowerCase()e.description>t.description?1:e.description-1){const e=o.splice(r,1);o.unshift(e[0])}}return o}static SortItemsByCriteria(e,t,o){let n=[];switch(t){case"Path":n=this.getSortedByPath(e);break;case"Saved":n=e;break;case"Recent":n=this.getSortedByRecent(e,o);break;default:n=this.getSortedByName(e)}return n}}},function(e,t,o){e.exports=c;var n=o(2),r=o(4),i=o(19),s=o(20).EventEmitter,a=o(21);function c(e){if(!(this instanceof c))return new c(e);s.call(this),this._pending=0,this._filterDir=function(){return!0},this.go(e)}i.inherits(c,s);var l=c.UnknownFileTypeError=a("UnknownFileTypeError","The type of this file could not be determined.");c.prototype.filterDir=function(e){return this._filterDir=e,this},c.prototype.go=function(e){var t=this;return this._pending++,r.lstat(e,(function(o,i){if(o)return t.emit("error",o,e,i),void t.doneOne();i.isDirectory()?t._filterDir(e,i)?r.readdir(e,(function(o,r){if(o)return t.emit("error",o,e,i),void t.doneOne();t.emit("entry",e,i),t.emit("dir",e,i),r.forEach((function(o){t.go(n.join(e,o))})),t.doneOne()})):t.doneOne():i.isSymbolicLink()?(t.emit("entry",e,i),t.emit("symlink",e,i),t.doneOne()):i.isBlockDevice()?(t.emit("entry",e,i),t.emit("blockDevice",e,i),t.doneOne()):i.isCharacterDevice()?(t.emit("entry",e,i),t.emit("characterDevice",e,i),t.doneOne()):i.isFIFO()?(t.emit("entry",e,i),t.emit("fifo",e,i),t.doneOne()):i.isSocket()?(t.emit("entry",e,i),t.emit("socket",e,i),t.doneOne()):i.isFile()?(t.emit("entry",e,i),t.emit("file",e,i),t.doneOne()):(t.emit("error",l(),e,i),t.doneOne())})),this},c.prototype.doneOne=function(){return 0==--this._pending&&this.emit("end"),this}},function(e,t){e.exports=require("util")},function(e,t){e.exports=require("events")},function(e,t,o){var n=o(22);function r(){}e.exports=function(e,t,o){if(t=n(t||""),(o=o||{}).proto&&!(o.proto instanceof r))throw new Error('The custom "proto" must be an Error created via makeError');var i=function(r,s){if(!(this instanceof i))return new i(r,s);"string"==typeof r||s||(s=r,r=null),this.name=e,this.data=s||o,this.message="string"==typeof r?n(r,this.data):t(this.data);var a=new Error;this.stack=a.stack,this.stack&&("undefined"!=typeof Components?this.stack=this.stack.substring(this.stack.indexOf("\n")+2):"undefined"==typeof chrome&&"undefined"==typeof process||(this.stack=this.stack.replace(/\n[^\n]*/,""),this.stack=this.stack.replace(/\n[^\n]*/,""),this.stack=this.name+(this.message?": "+this.message:"")+this.stack.substring(5))),"fileName"in a&&(this.fileName=a.fileName),"lineNumber"in a&&(this.lineNumber=a.lineNumber)};return i.prototype=o.proto||new r,delete o.proto,i},r.prototype=new Error,r.prototype.toString=function(){return this.message}},function(e,t){var o=/{([\s\S]+?)}/g;e.exports=function(e,t){var n="var __p=[],print=function(){__p.push.apply(__p,arguments);};with(obj||{}){__p.push('"+e.replace(/\\/g,"\\\\").replace(/'/g,"\\'").replace(o,(function(e,t){return"',"+t.replace(/\\'/g,"'")+",'"})).replace(/\r/g,"\\r").replace(/\n/g,"\\n").replace(/\t/g,"\\t")+"');}return __p.join('');",r=new Function("obj",n);return t?r(t):r}},function(e,t,o){e.exports=h,h.Minimatch=d;var n={sep:"/"};try{n=o(2)}catch(e){}var r=h.GLOBSTAR=d.GLOBSTAR={},i=o(24),s={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},a="().*{}+?[]^$\\!".split("").reduce((function(e,t){return e[t]=!0,e}),{});var c=/\/+/;function l(e,t){e=e||{},t=t||{};var o={};return Object.keys(t).forEach((function(e){o[e]=t[e]})),Object.keys(e).forEach((function(t){o[t]=e[t]})),o}function h(e,t,o){if("string"!=typeof t)throw new TypeError("glob pattern string required");return o||(o={}),!(!o.nocomment&&"#"===t.charAt(0))&&(""===t.trim()?""===e:new d(t,o).match(e))}function d(e,t){if(!(this instanceof d))return new d(e,t);if("string"!=typeof e)throw new TypeError("glob pattern string required");t||(t={}),e=e.trim(),"/"!==n.sep&&(e=e.split(n.sep).join("/")),this.options=t,this.set=[],this.pattern=e,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}function m(e,t){if(t||(t=this instanceof d?this.options:{}),void 0===(e=void 0===e?this.pattern:e))throw new TypeError("undefined pattern");return t.nobrace||!e.match(/\{.*\}/)?[e]:i(e)}h.filter=function(e,t){return t=t||{},function(o,n,r){return h(o,e,t)}},h.defaults=function(e){if(!e||!Object.keys(e).length)return h;var t=h,o=function(o,n,r){return t.minimatch(o,n,l(e,r))};return o.Minimatch=function(o,n){return new t.Minimatch(o,l(e,n))},o},d.defaults=function(e){return e&&Object.keys(e).length?h.defaults(e).Minimatch:d},d.prototype.debug=function(){},d.prototype.make=function(){if(this._made)return;var e=this.pattern,t=this.options;if(!t.nocomment&&"#"===e.charAt(0))return void(this.comment=!0);if(!e)return void(this.empty=!0);this.parseNegate();var o=this.globSet=this.braceExpand();t.debug&&(this.debug=console.error);this.debug(this.pattern,o),o=this.globParts=o.map((function(e){return e.split(c)})),this.debug(this.pattern,o),o=o.map((function(e,t,o){return e.map(this.parse,this)}),this),this.debug(this.pattern,o),o=o.filter((function(e){return-1===e.indexOf(!1)})),this.debug(this.pattern,o),this.set=o},d.prototype.parseNegate=function(){var e=this.pattern,t=!1,o=this.options,n=0;if(o.nonegate)return;for(var r=0,i=e.length;r65536)throw new TypeError("pattern is too long");var o=this.options;if(!o.noglobstar&&"**"===e)return r;if(""===e)return"";var n,i="",c=!!o.nocase,l=!1,h=[],d=[],m=!1,p=-1,g=-1,w="."===e.charAt(0)?"":o.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",f=this;function b(){if(n){switch(n){case"*":i+="[^/]*?",c=!0;break;case"?":i+="[^/]",c=!0;break;default:i+="\\"+n}f.debug("clearStateChar %j %j",n,i),n=!1}}for(var _,v=0,I=e.length;v-1;x--){var C=d[x],S=i.slice(0,C.reStart),L=i.slice(C.reStart,C.reEnd-8),E=i.slice(C.reEnd-8,C.reEnd),M=i.slice(C.reEnd);E+=M;var N=S.split("(").length-1,O=M;for(v=0;v=0&&!(r=e[i]);i--);for(i=0;i>> no match, partial?",e,m,t,u),m!==a))}if("string"==typeof h?(l=n.nocase?d.toLowerCase()===h.toLowerCase():d===h,this.debug("string match",h,d,l)):(l=d.match(h),this.debug("pattern match",h,d,l)),!l)return!1}if(i===a&&s===c)return!0;if(i===a)return o;if(s===c)return i===a-1&&""===e[i];throw new Error("wtf?")}},function(e,t,o){var n=o(25),r=o(26);e.exports=function(e){if(!e)return[];"{}"===e.substr(0,2)&&(e="\\{\\}"+e.substr(2));return function e(t,o){var i=[],s=r("{","}",t);if(!s||/\$$/.test(s.pre))return[t];var c,l=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(s.body),d=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(s.body),w=l||d,f=s.body.indexOf(",")>=0;if(!w&&!f)return s.post.match(/,.*\}/)?(t=s.pre+"{"+s.body+a+s.post,e(t)):[t];if(w)c=s.body.split(/\.\./);else{if(1===(c=function e(t){if(!t)return[""];var o=[],n=r("{","}",t);if(!n)return t.split(",");var i=n.pre,s=n.body,a=n.post,c=i.split(",");c[c.length-1]+="{"+s+"}";var l=e(a);a.length&&(c[c.length-1]+=l.shift(),c.push.apply(c,l));return o.push.apply(o,c),o}(s.body)).length)if(1===(c=e(c[0],!1).map(m)).length)return(v=s.post.length?e(s.post,!1):[""]).map((function(e){return s.pre+c[0]+e}))}var b,_=s.pre,v=s.post.length?e(s.post,!1):[""];if(w){var I=h(c[0]),y=h(c[1]),T=Math.max(c[0].length,c[1].length),$=3==c.length?Math.abs(h(c[2])):1,k=p;y0){var S=new Array(C+1).join("0");x=j<0?"-"+S+x.slice(1):S+x}}b.push(x)}}else b=n(c,(function(t){return e(t,!1)}));for(var L=0;L=t}},function(e,t){e.exports=function(e,t){for(var n=[],r=0;r=0&&l>0){for(n=[],i=o.length;h>=0&&!a;)h==c?(n.push(h),c=o.indexOf(e,h+1)):1==n.length?a=[n.pop(),l]:((r=n.pop())=0?c:l;n.length&&(a=[i,s])}return a}e.exports=n,n.range=i},function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0});const n=o(4),r=o(2),i=o(8);class s extends i.CustomRepositoryDetector{isRepoDir(e){let t;if(t=n.existsSync(r.join(e,".git","config")),t)return!0;if(t=n.existsSync(r.join(e,".git")),t){let o;try{if(o=n.readFileSync(r.join(e,".git"),"utf8"),t=0===o.indexOf("gitdir: "),t)return!0}catch(e){console.log("Error checking git-worktree: "+e)}}return!1}}t.GitRepositoryDetector=s},function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0});const n=o(4),r=o(5),i=o(1),s=o(0),a=o(29),c=o(7);t.ProjectStorage=class{constructor(e){this.filename=e,this.projects=[]}push(e,t){this.projects.push(a.createProject(e,t))}pop(e){for(let t=0;t!e.enabled)}updateRootPath(e,t){for(const o of this.projects)o.name.toLowerCase()===e.toLowerCase()&&(o.rootPath=t)}exists(e){let t=!1;for(const o of this.projects)o.name.toLocaleLowerCase()===e.toLocaleLowerCase()&&(t=!0);return t}existsWithRootPath(e){for(const t of this.projects)if(t.rootPath.toLocaleLowerCase()===e.toLocaleLowerCase()||r.PathUtils.expandHomePath(t.rootPath)===e)return t}existsRemoteWithRootPath(e){for(const t of this.projects){if(!i.isRemotePath(t.rootPath))continue;if(s.Uri.parse(t.rootPath).path===e.path)return t}}length(){return this.projects.length}load(){let e=[];if(!n.existsSync(this.filename))return"";try{if(e=JSON.parse(n.readFileSync(this.filename).toString()),e.length>0&&e[0].label){for(const t of e)this.projects.push(a.createProject(t.label,t.description));this.save()}else this.projects=e.map(e=>Object.assign({name:"",rootPath:"",paths:[],tags:[],enabled:!0},e)),this.projects=this.projects.map(e=>({name:e.name,rootPath:e.rootPath,paths:e.paths,tags:e.tags,enabled:e.enabled}));return this.updatePaths(),""}catch(e){return console.log(e),e.toString()}}save(){n.writeFileSync(this.filename,JSON.stringify(this.projects,null,"\t"))}map(){return this.projects.filter(e=>e.enabled).map(e=>({label:e.name,description:e.rootPath}))}updatePaths(){for(const e of this.projects)i.isRemotePath(e.rootPath)||(e.rootPath=r.PathUtils.updateWithPathSeparatorStr(e.rootPath))}getAvailableTags(){const e=[];for(const t of this.projects)e.push(...t.tags);return[...new Set(e)]}getProjectsByTag(e){return this.projects.filter(t=>t.enabled&&(t.tags.includes(e)||""===e&&0===t.tags.length)).map(e=>({label:e.name,description:e.rootPath}))}getProjectsByTags(e){return this.projects.filter(t=>t.enabled&&(t.tags.some(t=>e.includes(t))||0===e.length||e.includes(c.NO_TAGS_DEFINED)&&0===t.tags.length)).map(e=>({label:e.name,description:e.rootPath}))}}},function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0}),t.createProject=function(e,t){return{name:e,rootPath:t,paths:[],tags:[],enabled:!0}}},function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0});const n=o(0),r=o(31),i=o(33),s=o(3);t.Providers=class{constructor(e,t){this.locators=e,this.projectStorage=t,this.storageProvider=new i.StorageProvider(this.projectStorage),this.vscodeProvider=new r.AutodetectProvider(this.locators.vscLocator),this.gitProvider=new r.AutodetectProvider(this.locators.gitLocator),this.mercurialProvider=new r.AutodetectProvider(this.locators.mercurialLocator),this.svnProvider=new r.AutodetectProvider(this.locators.svnLocator),this.anyProvider=new r.AutodetectProvider(this.locators.anyLocator),this.storageTreeView=n.window.createTreeView("projectsExplorerFavorites",{treeDataProvider:this.storageProvider,showCollapseAll:!1}),this.vscodeTreeView=n.window.createTreeView("projectsExplorerVSCode",{treeDataProvider:this.vscodeProvider,showCollapseAll:!1}),this.gitTreeView=n.window.createTreeView("projectsExplorerGit",{treeDataProvider:this.gitProvider,showCollapseAll:!1}),this.mercurialTreeView=n.window.createTreeView("projectsExplorerMercurial",{treeDataProvider:this.mercurialProvider,showCollapseAll:!1}),this.svnTreeView=n.window.createTreeView("projectsExplorerSVN",{treeDataProvider:this.svnProvider,showCollapseAll:!1}),this.anyTreeView=n.window.createTreeView("projectsExplorerAny",{treeDataProvider:this.anyProvider,showCollapseAll:!1})}showTreeViewFromAllProviders(){this.vscodeProvider.showTreeView(),this.gitProvider.showTreeView(),this.mercurialProvider.showTreeView(),this.svnProvider.showTreeView(),this.anyProvider.showTreeView(),this.updateTreeViewDetails()}refreshTreeViews(){this.storageProvider.refresh(),this.vscodeProvider.refresh(),this.gitProvider.refresh(),this.mercurialProvider.refresh(),this.svnProvider.refresh(),this.anyProvider.refresh()}refreshStorageTreeView(){this.storageProvider.refresh(),this.updateTreeViewStorage()}updateTreeViewStorage(){var e;const t=null===(e=this.projectStorage.disabled())||void 0===e?void 0:e.length,o=t?t+" disabled":"",n=s.Container.context.globalState.get("filterByTags",[]),r=n.length>0?"filtered by tags":"",i=t&&n.length>0?"/ ":" ";this.storageTreeView.title=`Favorites (${this.projectStorage.length()-t})`,this.storageTreeView.description=`${o} ${i} ${r}`}updateTreeViewDetails(){this.updateTreeViewStorage(),this.vscodeTreeView.title=`VSCode (${this.locators.vscLocator.dirList.length})`,this.gitTreeView.title=`Git (${this.locators.gitLocator.dirList.length})`,this.mercurialTreeView.title=`Mercurial (${this.locators.mercurialLocator.dirList.length})`,this.svnTreeView.title=`SVN (${this.locators.svnLocator.dirList.length})`,this.anyTreeView.title=`Any (${this.locators.anyLocator.dirList.length})`}}},function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0});const n=o(0),r=o(9),i=o(3);t.AutodetectProvider=class{constructor(e){this.internalOnDidChangeTreeData=new n.EventEmitter,this.projectSource=e,this.onDidChangeTreeData=this.internalOnDidChangeTreeData.event}refresh(){this.internalOnDidChangeTreeData.fire()}getTreeItem(e){return e}getChildren(e){return new Promise(t=>{if(e){const o=[];o.push(new r.ProjectNode(e.label,n.TreeItemCollapsibleState.None,"git",e.preview,{command:"_projectManager.open",title:"",arguments:[e.preview.path]})),t(o)}else{const e=[];if(this.projectSource.initializeCfg(this.projectSource.kind),this.projectSource.dirList.length>0){this.projectSource.dirList.sort((e,t)=>e.name.toLowerCase()>t.name.toLowerCase()?1:e.name.toLowerCase()0||!e)}else n.commands.executeCommand("setContext","projectManager.canShowTreeView"+this.projectSource.displayName,this.projectSource.dirList.length>0)}}},function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0}),t.codicons=t.ThemeIcons=void 0;var n=o(0),r={account:new n.ThemeIcon("account"),activate_breakpoints:new n.ThemeIcon("activate-breakpoints"),add:new n.ThemeIcon("add"),alert:new n.ThemeIcon("alert"),archive:new n.ThemeIcon("archive"),array:new n.ThemeIcon("array"),arrow_both:new n.ThemeIcon("arrow-both"),arrow_down:new n.ThemeIcon("arrow-down"),arrow_left:new n.ThemeIcon("arrow-left"),arrow_right:new n.ThemeIcon("arrow-right"),arrow_small_down:new n.ThemeIcon("arrow-small-down"),arrow_small_left:new n.ThemeIcon("arrow-small-left"),arrow_small_right:new n.ThemeIcon("arrow-small-right"),arrow_small_up:new n.ThemeIcon("arrow-small-up"),arrow_swap:new n.ThemeIcon("arrow-swap"),arrow_up:new n.ThemeIcon("arrow-up"),beaker:new n.ThemeIcon("beaker"),bell_dot:new n.ThemeIcon("bell-dot"),bell:new n.ThemeIcon("bell"),bold:new n.ThemeIcon("bold"),book:new n.ThemeIcon("book"),bookmark:new n.ThemeIcon("bookmark"),briefcase:new n.ThemeIcon("briefcase"),broadcast:new n.ThemeIcon("broadcast"),browser:new n.ThemeIcon("browser"),bug:new n.ThemeIcon("bug"),calendar:new n.ThemeIcon("calendar"),call_incoming:new n.ThemeIcon("call-incoming"),call_outgoing:new n.ThemeIcon("call-outgoing"),case_sensitive:new n.ThemeIcon("case-sensitive"),check:new n.ThemeIcon("check"),check_all:new n.ThemeIcon("check-all"),checklist:new n.ThemeIcon("checklist"),chevron_down:new n.ThemeIcon("chevron-down"),chevron_left:new n.ThemeIcon("chevron-left"),chevron_right:new n.ThemeIcon("chevron-right"),chevron_up:new n.ThemeIcon("chevron-up"),chrome_close:new n.ThemeIcon("chrome-close"),chrome_maximize:new n.ThemeIcon("chrome-maximize"),chrome_minimize:new n.ThemeIcon("chrome-minimize"),chrome_restore:new n.ThemeIcon("chrome-restore"),circle_filled:new n.ThemeIcon("circle-filled"),circle_outline:new n.ThemeIcon("circle-outline"),circle_slash:new n.ThemeIcon("circle-slash"),circle_large_filled:new n.ThemeIcon("circle-large-filled"),circle_large_outline:new n.ThemeIcon("circle-large-outline"),circuit_board:new n.ThemeIcon("circuit-board"),clear_all:new n.ThemeIcon("clear-all"),clippy:new n.ThemeIcon("clippy"),clock:new n.ThemeIcon("clock"),clone:new n.ThemeIcon("clone"),close_all:new n.ThemeIcon("close-all"),close_dirty:new n.ThemeIcon("close-dirty"),close:new n.ThemeIcon("close"),cloud:new n.ThemeIcon("cloud"),cloud_download:new n.ThemeIcon("cloud-download"),cloud_upload:new n.ThemeIcon("cloud-upload"),copy:new n.ThemeIcon("copy"),code:new n.ThemeIcon("code"),combine:new n.ThemeIcon("combine"),collapse_all:new n.ThemeIcon("collapse-all"),color_mode:new n.ThemeIcon("color-mode"),comment_add:new n.ThemeIcon("comment-add"),comment_discussion:new n.ThemeIcon("comment-discussion"),comment:new n.ThemeIcon("comment"),console:new n.ThemeIcon("console"),credit_card:new n.ThemeIcon("credit-card"),dash:new n.ThemeIcon("dash"),dashboard:new n.ThemeIcon("dashboard"),database:new n.ThemeIcon("database"),debug_alt:new n.ThemeIcon("debug-alt"),debug_alt_small:new n.ThemeIcon("debug-alt-small"),debug_breakpoint_conditional_unverified:new n.ThemeIcon("debug-breakpoint-conditional-unverified"),debug_breakpoint_conditional:new n.ThemeIcon("debug-breakpoint-conditional"),debug_breakpoint_data_unverified:new n.ThemeIcon("debug-breakpoint-data-unverified"),debug_breakpoint_data:new n.ThemeIcon("debug-breakpoint-data"),debug_breakpoint_disabled:new n.ThemeIcon("debug-breakpoint-disabled"),debug_breakpoint_function_unverified:new n.ThemeIcon("debug-breakpoint-function-unverified"),debug_breakpoint_function:new n.ThemeIcon("debug-breakpoint-function"),debug_breakpoint_log_unverified:new n.ThemeIcon("debug-breakpoint-log-unverified"),debug_breakpoint_log:new n.ThemeIcon("debug-breakpoint-log"),debug_breakpoint_unsupported:new n.ThemeIcon("debug-breakpoint-unsupported"),debug_breakpoint:new n.ThemeIcon("debug-breakpoint"),debug_console:new n.ThemeIcon("debug-console"),debug_continue:new n.ThemeIcon("debug-continue"),debug_disconnect:new n.ThemeIcon("debug-disconnect"),debug_hint:new n.ThemeIcon("debug-hint"),debug_line_by_line:new n.ThemeIcon("debug-line-by-line"),debug_pause:new n.ThemeIcon("debug-pause"),debug_restart_frame:new n.ThemeIcon("debug-restart-frame"),debug_restart:new n.ThemeIcon("debug-restart"),debug_reverse_continue:new n.ThemeIcon("debug-reverse-continue"),debug_rerun:new n.ThemeIcon("debug-rerun"),debug_stackframe_active:new n.ThemeIcon("debug-stackframe-active"),debug_stackframe_dot:new n.ThemeIcon("debug-stackframe-dot"),debug_stackframe:new n.ThemeIcon("debug-stackframe"),debug_start:new n.ThemeIcon("debug-start"),debug_step_back:new n.ThemeIcon("debug-step-back"),debug_step_into:new n.ThemeIcon("debug-step-into"),debug_step_out:new n.ThemeIcon("debug-step-out"),debug_step_over:new n.ThemeIcon("debug-step-over"),debug_stop:new n.ThemeIcon("debug-stop"),debug:new n.ThemeIcon("debug"),desktop_download:new n.ThemeIcon("desktop-download"),device_camera_video:new n.ThemeIcon("device-camera-video"),device_camera:new n.ThemeIcon("device-camera"),device_desktop:new n.ThemeIcon("device-desktop"),device_mobile:new n.ThemeIcon("device-mobile"),diff_added:new n.ThemeIcon("diff-added"),diff_ignored:new n.ThemeIcon("diff-ignored"),diff_modified:new n.ThemeIcon("diff-modified"),diff_removed:new n.ThemeIcon("diff-removed"),diff_renamed:new n.ThemeIcon("diff-renamed"),diff:new n.ThemeIcon("diff"),discard:new n.ThemeIcon("discard"),edit:new n.ThemeIcon("edit"),editor_layout:new n.ThemeIcon("editor-layout"),ellipsis:new n.ThemeIcon("ellipsis"),empty_window:new n.ThemeIcon("empty-window"),error:new n.ThemeIcon("error"),exclude:new n.ThemeIcon("exclude"),expand_all:new n.ThemeIcon("expand-all"),export:new n.ThemeIcon("export"),extensions:new n.ThemeIcon("extensions"),eye_closed:new n.ThemeIcon("eye-closed"),eye_unwatch:new n.ThemeIcon("eye-unwatch"),eye_watch:new n.ThemeIcon("eye-watch"),eye:new n.ThemeIcon("eye"),feedback:new n.ThemeIcon("feedback"),file_add:new n.ThemeIcon("file-add"),file_binary:new n.ThemeIcon("file-binary"),file_code:new n.ThemeIcon("file-code"),file_directory_create:new n.ThemeIcon("file-directory-create"),file_directory:new n.ThemeIcon("file-directory"),file_media:new n.ThemeIcon("file-media"),file_pdf:new n.ThemeIcon("file-pdf"),file_submodule:new n.ThemeIcon("file-submodule"),file_symlink_directory:new n.ThemeIcon("file-symlink-directory"),file_symlink_file:new n.ThemeIcon("file-symlink-file"),file_text:new n.ThemeIcon("file-text"),file_zip:new n.ThemeIcon("file-zip"),file:new n.ThemeIcon("file"),files:new n.ThemeIcon("files"),filter:new n.ThemeIcon("filter"),filter_filled:new n.ThemeIcon("filter-filled"),flame:new n.ThemeIcon("flame"),fold_down:new n.ThemeIcon("fold-down"),fold_up:new n.ThemeIcon("fold-up"),fold:new n.ThemeIcon("fold"),folder_active:new n.ThemeIcon("folder-active"),folder_opened:new n.ThemeIcon("folder-opened"),folder:new n.ThemeIcon("folder"),gather:new n.ThemeIcon("gather"),gear:new n.ThemeIcon("gear"),gift:new n.ThemeIcon("gift"),gist_fork_private:new n.ThemeIcon("gist-fork-private"),gist_fork:new n.ThemeIcon("gist-fork"),gist_new:new n.ThemeIcon("gist-new"),gist_private:new n.ThemeIcon("gist-private"),gist_secret:new n.ThemeIcon("gist-secret"),gist:new n.ThemeIcon("gist"),git_branch_create:new n.ThemeIcon("git-branch-create"),git_branch_delete:new n.ThemeIcon("git-branch-delete"),git_branch:new n.ThemeIcon("git-branch"),git_commit:new n.ThemeIcon("git-commit"),git_compare:new n.ThemeIcon("git-compare"),git_merge:new n.ThemeIcon("git-merge"),git_pull_request:new n.ThemeIcon("git-pull-request"),git_pull_request_create:new n.ThemeIcon("git-pull-request-create"),github_action:new n.ThemeIcon("github-action"),github_alt:new n.ThemeIcon("github-alt"),github_inverted:new n.ThemeIcon("github-inverted"),github:new n.ThemeIcon("github"),globe:new n.ThemeIcon("globe"),go_to_file:new n.ThemeIcon("go-to-file"),grabber:new n.ThemeIcon("grabber"),graph:new n.ThemeIcon("graph"),graph_left:new n.ThemeIcon("graph-left"),gripper:new n.ThemeIcon("gripper"),group_by_ref_type:new n.ThemeIcon("group-by-ref-type"),heart:new n.ThemeIcon("heart"),history:new n.ThemeIcon("history"),home:new n.ThemeIcon("home"),horizontal_rule:new n.ThemeIcon("horizontal-rule"),hubot:new n.ThemeIcon("hubot"),inbox:new n.ThemeIcon("inbox"),info:new n.ThemeIcon("info"),issue_closed:new n.ThemeIcon("issue-closed"),issue_opened:new n.ThemeIcon("issue-opened"),issue_reopened:new n.ThemeIcon("issue-reopened"),issues:new n.ThemeIcon("issues"),italic:new n.ThemeIcon("italic"),jersey:new n.ThemeIcon("jersey"),json:new n.ThemeIcon("json"),kebab_horizontal:new n.ThemeIcon("kebab-horizontal"),kebab_vertical:new n.ThemeIcon("kebab-vertical"),key:new n.ThemeIcon("key"),keyboard:new n.ThemeIcon("keyboard"),law:new n.ThemeIcon("law"),library:new n.ThemeIcon("library"),light_bulb:new n.ThemeIcon("light-bulb"),lightbulb_autofix:new n.ThemeIcon("lightbulb-autofix"),lightbulb:new n.ThemeIcon("lightbulb"),link_external:new n.ThemeIcon("link-external"),link:new n.ThemeIcon("link"),list_filter:new n.ThemeIcon("list-filter"),list_flat:new n.ThemeIcon("list-flat"),list_ordered:new n.ThemeIcon("list-ordered"),list_selection:new n.ThemeIcon("list-selection"),list_tree:new n.ThemeIcon("list-tree"),list_unordered:new n.ThemeIcon("list-unordered"),live_share:new n.ThemeIcon("live-share"),loading:new n.ThemeIcon("loading"),location:new n.ThemeIcon("location"),lock:new n.ThemeIcon("lock"),log_in:new n.ThemeIcon("log-in"),log_out:new n.ThemeIcon("log-out"),logo_github:new n.ThemeIcon("logo-github"),magnet:new n.ThemeIcon("magnet"),mail_read:new n.ThemeIcon("mail-read"),mail_reply:new n.ThemeIcon("mail-reply"),mail:new n.ThemeIcon("mail"),mark_github:new n.ThemeIcon("mark-github"),markdown:new n.ThemeIcon("markdown"),megaphone:new n.ThemeIcon("megaphone"),mention:new n.ThemeIcon("mention"),menu:new n.ThemeIcon("menu"),merge:new n.ThemeIcon("merge"),microscope:new n.ThemeIcon("microscope"),milestone:new n.ThemeIcon("milestone"),mirror_private:new n.ThemeIcon("mirror-private"),mirror_public:new n.ThemeIcon("mirror-public"),mirror:new n.ThemeIcon("mirror"),more:new n.ThemeIcon("more"),mortar_board:new n.ThemeIcon("mortar-board"),move:new n.ThemeIcon("move"),multiple_windows:new n.ThemeIcon("multiple-windows"),mute:new n.ThemeIcon("mute"),new_file:new n.ThemeIcon("new-file"),new_folder:new n.ThemeIcon("new-folder"),no_newline:new n.ThemeIcon("no-newline"),note:new n.ThemeIcon("note"),notebook:new n.ThemeIcon("notebook"),notebook_template:new n.ThemeIcon("notebook-template"),octoface:new n.ThemeIcon("octoface"),open_preview:new n.ThemeIcon("open-preview"),organization_filled:new n.ThemeIcon("organization-filled"),organization_outline:new n.ThemeIcon("organization-outline"),organization:new n.ThemeIcon("organization"),output:new n.ThemeIcon("output"),package:new n.ThemeIcon("package"),paintcan:new n.ThemeIcon("paintcan"),pass:new n.ThemeIcon("pass"),pass_filled:new n.ThemeIcon("pass-filled"),pencil:new n.ThemeIcon("pencil"),person_add:new n.ThemeIcon("person-add"),person_filled:new n.ThemeIcon("person-filled"),person_follow:new n.ThemeIcon("person-follow"),person_outline:new n.ThemeIcon("person-outline"),person:new n.ThemeIcon("person"),pin:new n.ThemeIcon("pin"),pinned:new n.ThemeIcon("pinned"),pinned_dirty:new n.ThemeIcon("pinned-dirty"),play_circle:new n.ThemeIcon("play-circle"),play:new n.ThemeIcon("play"),plug:new n.ThemeIcon("plug"),plus:new n.ThemeIcon("plus"),preserve_case:new n.ThemeIcon("preserve-case"),preview:new n.ThemeIcon("preview"),primitive_dot:new n.ThemeIcon("primitive-dot"),primitive_square:new n.ThemeIcon("primitive-square"),project:new n.ThemeIcon("project"),pulse:new n.ThemeIcon("pulse"),question:new n.ThemeIcon("question"),quote:new n.ThemeIcon("quote"),radio_tower:new n.ThemeIcon("radio-tower"),reactions:new n.ThemeIcon("reactions"),record_keys:new n.ThemeIcon("record-keys"),record:new n.ThemeIcon("record"),redo:new n.ThemeIcon("redo"),references:new n.ThemeIcon("references"),refresh:new n.ThemeIcon("refresh"),regex:new n.ThemeIcon("regex"),remote_explorer:new n.ThemeIcon("remote-explorer"),remote:new n.ThemeIcon("remote"),remove_close:new n.ThemeIcon("remove-close"),remove:new n.ThemeIcon("remove"),repl:new n.ThemeIcon("repl"),replace_all:new n.ThemeIcon("replace-all"),replace:new n.ThemeIcon("replace"),reply:new n.ThemeIcon("reply"),repo_clone:new n.ThemeIcon("repo-clone"),repo_create:new n.ThemeIcon("repo-create"),repo_delete:new n.ThemeIcon("repo-delete"),repo_force_push:new n.ThemeIcon("repo-force-push"),repo_forked:new n.ThemeIcon("repo-forked"),repo_pull:new n.ThemeIcon("repo-pull"),repo_push:new n.ThemeIcon("repo-push"),repo_sync:new n.ThemeIcon("repo-sync"),repo:new n.ThemeIcon("repo"),report:new n.ThemeIcon("report"),request_changes:new n.ThemeIcon("request-changes"),rocket:new n.ThemeIcon("rocket"),root_folder_opened:new n.ThemeIcon("root-folder-opened"),root_folder:new n.ThemeIcon("root-folder"),rss:new n.ThemeIcon("rss"),ruby:new n.ThemeIcon("ruby"),run_above:new n.ThemeIcon("run-above"),run_all:new n.ThemeIcon("run-all"),run_below:new n.ThemeIcon("run-below"),save_all:new n.ThemeIcon("save-all"),save_as:new n.ThemeIcon("save-as"),save:new n.ThemeIcon("save"),screen_full:new n.ThemeIcon("screen-full"),screen_normal:new n.ThemeIcon("screen-normal"),search_save:new n.ThemeIcon("search-save"),search_stop:new n.ThemeIcon("search-stop"),search:new n.ThemeIcon("search"),server_environment:new n.ThemeIcon("server-environment"),server_process:new n.ThemeIcon("server-process"),server:new n.ThemeIcon("server"),settings_gear:new n.ThemeIcon("settings-gear"),settings:new n.ThemeIcon("settings"),shield:new n.ThemeIcon("shield"),sign_in:new n.ThemeIcon("sign-in"),sign_out:new n.ThemeIcon("sign-out"),smiley:new n.ThemeIcon("smiley"),sort_precedence:new n.ThemeIcon("sort-precedence"),source_control:new n.ThemeIcon("source-control"),split_horizontal:new n.ThemeIcon("split-horizontal"),split_vertical:new n.ThemeIcon("split-vertical"),squirrel:new n.ThemeIcon("squirrel"),star_empty:new n.ThemeIcon("star-empty"),star_full:new n.ThemeIcon("star-full"),star_half:new n.ThemeIcon("star-half"),star:new n.ThemeIcon("star"),stop_circle:new n.ThemeIcon("stop-circle"),stop:new n.ThemeIcon("stop"),symbol_array:new n.ThemeIcon("symbol-array"),symbol_boolean:new n.ThemeIcon("symbol-boolean"),symbol_class:new n.ThemeIcon("symbol-class"),symbol_color:new n.ThemeIcon("symbol-color"),symbol_constant:new n.ThemeIcon("symbol-constant"),symbol_constructor:new n.ThemeIcon("symbol-constructor"),symbol_enum_member:new n.ThemeIcon("symbol-enum-member"),symbol_enum:new n.ThemeIcon("symbol-enum"),symbol_event:new n.ThemeIcon("symbol-event"),symbol_field:new n.ThemeIcon("symbol-field"),symbol_file:new n.ThemeIcon("symbol-file"),symbol_folder:new n.ThemeIcon("symbol-folder"),symbol_function:new n.ThemeIcon("symbol-function"),symbol_interface:new n.ThemeIcon("symbol-interface"),symbol_key:new n.ThemeIcon("symbol-key"),symbol_keyword:new n.ThemeIcon("symbol-keyword"),symbol_method:new n.ThemeIcon("symbol-method"),symbol_misc:new n.ThemeIcon("symbol-misc"),symbol_module:new n.ThemeIcon("symbol-module"),symbol_namespace:new n.ThemeIcon("symbol-namespace"),symbol_null:new n.ThemeIcon("symbol-null"),symbol_number:new n.ThemeIcon("symbol-number"),symbol_numeric:new n.ThemeIcon("symbol-numeric"),symbol_object:new n.ThemeIcon("symbol-object"),symbol_operator:new n.ThemeIcon("symbol-operator"),symbol_package:new n.ThemeIcon("symbol-package"),symbol_parameter:new n.ThemeIcon("symbol-parameter"),symbol_property:new n.ThemeIcon("symbol-property"),symbol_reference:new n.ThemeIcon("symbol-reference"),symbol_ruler:new n.ThemeIcon("symbol-ruler"),symbol_snippet:new n.ThemeIcon("symbol-snippet"),symbol_string:new n.ThemeIcon("symbol-string"),symbol_struct:new n.ThemeIcon("symbol-struct"),symbol_structure:new n.ThemeIcon("symbol-structure"),symbol_text:new n.ThemeIcon("symbol-text"),symbol_type_parameter:new n.ThemeIcon("symbol-type_parameter"),symbol_unit:new n.ThemeIcon("symbol-unit"),symbol_value:new n.ThemeIcon("symbol-value"),symbol_variable:new n.ThemeIcon("symbol-variable"),sync_ignored:new n.ThemeIcon("sync-ignored"),sync:new n.ThemeIcon("sync"),table:new n.ThemeIcon("table"),tag_add:new n.ThemeIcon("tag-add"),tag_remove:new n.ThemeIcon("tag-remove"),tag:new n.ThemeIcon("tag"),tasklist:new n.ThemeIcon("tasklist"),telescope:new n.ThemeIcon("telescope"),terminal:new n.ThemeIcon("terminal"),terminal_cmd:new n.ThemeIcon("terminal-cmd"),terminal_debian:new n.ThemeIcon("terminal-debian"),terminal_linux:new n.ThemeIcon("terminal-linux"),terminal_powershell:new n.ThemeIcon("terminal-powershell"),terminal_tmux:new n.ThemeIcon("terminal-tmux"),terminal_ubuntu:new n.ThemeIcon("terminal-ubuntu"),terminal_bash:new n.ThemeIcon("terminal-bash"),text_size:new n.ThemeIcon("text-size"),three_bars:new n.ThemeIcon("three-bars"),thumbsdown:new n.ThemeIcon("thumbsdown"),thumbsup:new n.ThemeIcon("thumbsup"),tools:new n.ThemeIcon("tools"),trash:new n.ThemeIcon("trash"),trashcan:new n.ThemeIcon("trashcan"),triangle_down:new n.ThemeIcon("triangle-down"),triangle_left:new n.ThemeIcon("triangle-left"),triangle_right:new n.ThemeIcon("triangle-right"),triangle_up:new n.ThemeIcon("triangle-up"),type_hierarchy:new n.ThemeIcon("type-hierarchy"),type_hierarchy_sub:new n.ThemeIcon("type-hierarchy-sub"),type_hierarchy_super:new n.ThemeIcon("type-hierarchy-super"),twitter:new n.ThemeIcon("twitter"),unfold:new n.ThemeIcon("unfold"),ungroup_by_ref_type:new n.ThemeIcon("ungroup-by-ref-type"),unlock:new n.ThemeIcon("unlock"),unmute:new n.ThemeIcon("unmute"),unverified:new n.ThemeIcon("unverified"),variable:new n.ThemeIcon("variable"),variable_group:new n.ThemeIcon("variable-group"),verified:new n.ThemeIcon("verified"),versions:new n.ThemeIcon("versions"),vm_active:new n.ThemeIcon("vm-active"),vm_connect:new n.ThemeIcon("vm-connect"),vm_outline:new n.ThemeIcon("vm-outline"),vm_running:new n.ThemeIcon("vm-running"),vm:new n.ThemeIcon("vm"),wand:new n.ThemeIcon("wand"),warning:new n.ThemeIcon("warning"),watch:new n.ThemeIcon("watch"),whitespace:new n.ThemeIcon("whitespace"),whole_word:new n.ThemeIcon("whole-word"),window:new n.ThemeIcon("window"),workspace_trusted:new n.ThemeIcon("workspace-trusted"),workspace_untrusted:new n.ThemeIcon("workspace-untrusted"),workspace_unknown:new n.ThemeIcon("workspace-trusted"),word_wrap:new n.ThemeIcon("word-wrap"),x:new n.ThemeIcon("x"),zap:new n.ThemeIcon("symbol-event"),zoom_in:new n.ThemeIcon("zoom-in"),zoom_out:new n.ThemeIcon("zoom-out")};t.ThemeIcons=r;t.codicons={account:"$(account)",activate_breakpoints:"$(activate-breakpoints)",add:"$(add)",alert:"$(alert)",archive:"$(archive)",array:"$(array)",arrow_both:"$(arrow-both)",arrow_down:"$(arrow-down)",arrow_left:"$(arrow-left)",arrow_right:"$(arrow-right)",arrow_small_down:"$(arrow-small-down)",arrow_small_left:"$(arrow-small-left)",arrow_small_right:"$(arrow-small-right)",arrow_small_up:"$(arrow-small-up)",arrow_swap:"$(arrow-swap)",arrow_up:"$(arrow-up)",beaker:"$(beaker)",bell_dot:"$(bell-dot)",bell:"$(bell)",bold:"$(bold)",book:"$(book)",bookmark:"$(bookmark)",briefcase:"$(briefcase)",broadcast:"$(broadcast)",browser:"$(browser)",bug:"$(bug)",calendar:"$(calendar)",call_incoming:"$(call-incoming)",call_outgoing:"$(call-outgoing)",case_sensitive:"$(case-sensitive)",check:"$(check)",check_all:"$(check-all)",checklist:"$(checklist)",chevron_down:"$(chevron-down)",chevron_left:"$(chevron-left)",chevron_right:"$(chevron-right)",chevron_up:"$(chevron-up)",chrome_close:"$(chrome-close)",chrome_maximize:"$(chrome-maximize)",chrome_minimize:"$(chrome-minimize)",chrome_restore:"$(chrome-restore)",circle_filled:"$(circle-filled)",circle_outline:"$(circle-outline)",circle_slash:"$(circle-slash)",circle_large_filled:"$(circle-large-filled)",circle_large_outline:"$(circle-large-outline)",circuit_board:"$(circuit-board)",clear_all:"$(clear-all)",clippy:"$(clippy)",clock:"$(clock)",clone:"$(clone)",close_all:"$(close-all)",close_dirty:"$(close-dirty)",close:"$(close)",cloud:"$(cloud)",cloud_download:"$(cloud-download)",cloud_upload:"$(cloud-upload)",copy:"$(copy)",code:"$(code)",combine:"$(combine)",collapse_all:"$(collapse-all)",color_mode:"$(color-mode)",comment_add:"$(comment-add)",comment_discussion:"$(comment-discussion)",comment:"$(comment)",console:"$(console)",credit_card:"$(credit-card)",dash:"$(dash)",dashboard:"$(dashboard)",database:"$(database)",debug_alt:"$(debug-alt)",debug_alt_small:"$(debug-alt-small)",debug_breakpoint_conditional_unverified:"$(debug-breakpoint-conditional-unverified)",debug_breakpoint_conditional:"$(debug-breakpoint-conditional)",debug_breakpoint_data_unverified:"$(debug-breakpoint-data-unverified)",debug_breakpoint_data:"$(debug-breakpoint-data)",debug_breakpoint_disabled:"$(debug-breakpoint-disabled)",debug_breakpoint_function_unverified:"$(debug-breakpoint-function-unverified)",debug_breakpoint_function:"$(debug-breakpoint-function)",debug_breakpoint_log_unverified:"$(debug-breakpoint-log-unverified)",debug_breakpoint_log:"$(debug-breakpoint-log)",debug_breakpoint_unsupported:"$(debug-breakpoint-unsupported)",debug_breakpoint:"$(debug-breakpoint)",debug_console:"$(debug-console)",debug_continue:"$(debug-continue)",debug_disconnect:"$(debug-disconnect)",debug_hint:"$(debug-hint)",debug_line_by_line:"$(debug-line-by-line)",debug_pause:"$(debug-pause)",debug_restart_frame:"$(debug-restart-frame)",debug_restart:"$(debug-restart)",debug_reverse_continue:"$(debug-reverse-continue)",debug_rerun:"$(debug-rerun)",debug_stackframe_active:"$(debug-stackframe-active)",debug_stackframe_dot:"$(debug-stackframe-dot)",debug_stackframe:"$(debug-stackframe)",debug_start:"$(debug-start)",debug_step_back:"$(debug-step-back)",debug_step_into:"$(debug-step-into)",debug_step_out:"$(debug-step-out)",debug_step_over:"$(debug-step-over)",debug_stop:"$(debug-stop)",debug:"$(debug)",desktop_download:"$(desktop-download)",device_camera_video:"$(device-camera-video)",device_camera:"$(device-camera)",device_desktop:"$(device-desktop)",device_mobile:"$(device-mobile)",diff_added:"$(diff-added)",diff_ignored:"$(diff-ignored)",diff_modified:"$(diff-modified)",diff_removed:"$(diff-removed)",diff_renamed:"$(diff-renamed)",diff:"$(diff)",discard:"$(discard)",edit:"$(edit)",editor_layout:"$(editor-layout)",ellipsis:"$(ellipsis)",empty_window:"$(empty-window)",error:"$(error)",exclude:"$(exclude)",expand_all:"$(expand-all)",export:"$(export)",extensions:"$(extensions)",eye_closed:"$(eye-closed)",eye_unwatch:"$(eye-unwatch)",eye_watch:"$(eye-watch)",eye:"$(eye)",feedback:"$(feedback)",file_add:"$(file-add)",file_binary:"$(file-binary)",file_code:"$(file-code)",file_directory_create:"$(file-directory-create)",file_directory:"$(file-directory)",file_media:"$(file-media)",file_pdf:"$(file-pdf)",file_submodule:"$(file-submodule)",file_symlink_directory:"$(file-symlink-directory)",file_symlink_file:"$(file-symlink-file)",file_text:"$(file-text)",file_zip:"$(file-zip)",file:"$(file)",files:"$(files)",filter:"$(filter)",filter_filled:"$(filter-filled)",flame:"$(flame)",fold_down:"$(fold-down)",fold_up:"$(fold-up)",fold:"$(fold)",folder_active:"$(folder-active)",folder_opened:"$(folder-opened)",folder:"$(folder)",gather:"$(gather)",gear:"$(gear)",gift:"$(gift)",gist_fork_private:"$(gist-fork-private)",gist_fork:"$(gist-fork)",gist_new:"$(gist-new)",gist_private:"$(gist-private)",gist_secret:"$(gist-secret)",gist:"$(gist)",git_branch_create:"$(git-branch-create)",git_branch_delete:"$(git-branch-delete)",git_branch:"$(git-branch)",git_commit:"$(git-commit)",git_compare:"$(git-compare)",git_merge:"$(git-merge)",git_pull_request:"$(git-pull-request)",git_pull_request_create:"$(git-pull-request-create)",github_action:"$(github-action)",github_alt:"$(github-alt)",github_inverted:"$(github-inverted)",github:"$(github)",globe:"$(globe)",go_to_file:"$(go-to-file)",grabber:"$(grabber)",graph:"$(graph)",graph_left:"$(graph-left)",gripper:"$(gripper)",group_by_ref_type:"$(group-by-ref-type)",heart:"$(heart)",history:"$(history)",home:"$(home)",horizontal_rule:"$(horizontal-rule)",hubot:"$(hubot)",inbox:"$(inbox)",info:"$(info)",issue_closed:"$(issue-closed)",issue_opened:"$(issue-opened)",issue_reopened:"$(issue-reopened)",issues:"$(issues)",italic:"$(italic)",jersey:"$(jersey)",json:"$(json)",kebab_horizontal:"$(kebab-horizontal)",kebab_vertical:"$(kebab-vertical)",key:"$(key)",keyboard:"$(keyboard)",law:"$(law)",library:"$(library)",light_bulb:"$(light-bulb)",lightbulb_autofix:"$(lightbulb-autofix)",lightbulb:"$(lightbulb)",link_external:"$(link-external)",link:"$(link)",list_filter:"$(list-filter)",list_flat:"$(list-flat)",list_ordered:"$(list-ordered)",list_selection:"$(list-selection)",list_tree:"$(list-tree)",list_unordered:"$(list-unordered)",live_share:"$(live-share)",loading:"$(loading)",location:"$(location)",lock:"$(lock)",log_in:"$(log-in)",log_out:"$(log-out)",logo_github:"$(logo-github)",magnet:"$(magnet)",mail_read:"$(mail-read)",mail_reply:"$(mail-reply)",mail:"$(mail)",mark_github:"$(mark-github)",markdown:"$(markdown)",megaphone:"$(megaphone)",mention:"$(mention)",menu:"$(menu)",merge:"$(merge)",microscope:"$(microscope)",milestone:"$(milestone)",mirror_private:"$(mirror-private)",mirror_public:"$(mirror-public)",mirror:"$(mirror)",more:"$(more)",mortar_board:"$(mortar-board)",move:"$(move)",multiple_windows:"$(multiple-windows)",mute:"$(mute)",new_file:"$(new-file)",new_folder:"$(new-folder)",no_newline:"$(no-newline)",note:"$(note)",notebook:"$(notebook)",notebook_template:"$(notebook-template)",octoface:"$(octoface)",open_preview:"$(open-preview)",organization_filled:"$(organization-filled)",organization_outline:"$(organization-outline)",organization:"$(organization)",output:"$(output)",package:"$(package)",paintcan:"$(paintcan)",pass:"$(pass)",pass_filled:"$(pass-filled)",pencil:"$(pencil)",person_add:"$(person-add)",person_filled:"$(person-filled)",person_follow:"$(person-follow)",person_outline:"$(person-outline)",person:"$(person)",pin:"$(pin)",pinned:"$(pinned)",pinned_dirty:"$(pinned-dirty)",play_circle:"$(play-circle)",play:"$(play)",plug:"$(plug)",plus:"$(plus)",preserve_case:"$(preserve-case)",preview:"$(preview)",primitive_dot:"$(primitive-dot)",primitive_square:"$(primitive-square)",project:"$(project)",pulse:"$(pulse)",question:"$(question)",quote:"$(quote)",radio_tower:"$(radio-tower)",reactions:"$(reactions)",record_keys:"$(record-keys)",record:"$(record)",redo:"$(redo)",references:"$(references)",refresh:"$(refresh)",regex:"$(regex)",remote_explorer:"$(remote-explorer)",remote:"$(remote)",remove_close:"$(remove-close)",remove:"$(remove)",repl:"$(repl)",replace_all:"$(replace-all)",replace:"$(replace)",reply:"$(reply)",repo_clone:"$(repo-clone)",repo_create:"$(repo-create)",repo_delete:"$(repo-delete)",repo_force_push:"$(repo-force-push)",repo_forked:"$(repo-forked)",repo_pull:"$(repo-pull)",repo_push:"$(repo-push)",repo_sync:"$(repo-sync)",repo:"$(repo)",report:"$(report)",request_changes:"$(request-changes)",rocket:"$(rocket)",root_folder_opened:"$(root-folder-opened)",root_folder:"$(root-folder)",rss:"$(rss)",ruby:"$(ruby)",run_above:"$(run-above)",run_all:"$(run-all)",run_below:"$(run-below)",save_all:"$(save-all)",save_as:"$(save-as)",save:"$(save)",screen_full:"$(screen-full)",screen_normal:"$(screen-normal)",search_save:"$(search-save)",search_stop:"$(search-stop)",search:"$(search)",server_environment:"$(server-environment)",server_process:"$(server-process)",server:"$(server)",settings_gear:"$(settings-gear)",settings:"$(settings)",shield:"$(shield)",sign_in:"$(sign-in)",sign_out:"$(sign-out)",smiley:"$(smiley)",sort_precedence:"$(sort-precedence)",source_control:"$(source-control)",split_horizontal:"$(split-horizontal)",split_vertical:"$(split-vertical)",squirrel:"$(squirrel)",star_empty:"$(star-empty)",star_full:"$(star-full)",star_half:"$(star-half)",star:"$(star)",stop_circle:"$(stop-circle)",stop:"$(stop)",symbol_array:"$(symbol-array)",symbol_boolean:"$(symbol-boolean)",symbol_class:"$(symbol-class)",symbol_color:"$(symbol-color)",symbol_constant:"$(symbol-constant)",symbol_constructor:"$(symbol-constructor)",symbol_enum_member:"$(symbol-enum-member)",symbol_enum:"$(symbol-enum)",symbol_event:"$(symbol-event)",symbol_field:"$(symbol-field)",symbol_file:"$(symbol-file)",symbol_folder:"$(symbol-folder)",symbol_function:"$(symbol-function)",symbol_interface:"$(symbol-interface)",symbol_key:"$(symbol-key)",symbol_keyword:"$(symbol-keyword)",symbol_method:"$(symbol-method)",symbol_misc:"$(symbol-misc)",symbol_module:"$(symbol-module)",symbol_namespace:"$(symbol-namespace)",symbol_null:"$(symbol-null)",symbol_number:"$(symbol-number)",symbol_numeric:"$(symbol-numeric)",symbol_object:"$(symbol-object)",symbol_operator:"$(symbol-operator)",symbol_package:"$(symbol-package)",symbol_parameter:"$(symbol-parameter)",symbol_property:"$(symbol-property)",symbol_reference:"$(symbol-reference)",symbol_ruler:"$(symbol-ruler)",symbol_snippet:"$(symbol-snippet)",symbol_string:"$(symbol-string)",symbol_struct:"$(symbol-struct)",symbol_structure:"$(symbol-structure)",symbol_text:"$(symbol-text)",symbol_type_parameter:"$(symbol-type_parameter)",symbol_unit:"$(symbol-unit)",symbol_value:"$(symbol-value)",symbol_variable:"$(symbol-variable)",sync_ignored:"$(sync-ignored)",sync:"$(sync)",table:"$(table)",tag_add:"$(tag-add)",tag_remove:"$(tag-remove)",tag:"$(tag)",tasklist:"$(tasklist)",telescope:"$(telescope)",terminal:"$(terminal)",terminal_cmd:"$(terminal-cmd)",terminal_debian:"$(terminal-debian)",terminal_linux:"$(terminal-linux)",terminal_powershell:"$(terminal-powershell)",terminal_tmux:"$(terminal-tmux)",terminal_ubuntu:"$(terminal-ubuntu)",terminal_bash:"$(terminal-bash)",text_size:"$(text-size)",three_bars:"$(three-bars)",thumbsdown:"$(thumbsdown)",thumbsup:"$(thumbsup)",tools:"$(tools)",trash:"$(trash)",trashcan:"$(trashcan)",triangle_down:"$(triangle-down)",triangle_left:"$(triangle-left)",triangle_right:"$(triangle-right)",triangle_up:"$(triangle-up)",type_hierarchy:"$(type-hierarchy)",type_hierarchy_sub:"$(type-hierarchy-sub)",type_hierarchy_super:"$(type-hierarchy-super)",twitter:"$(twitter)",unfold:"$(unfold)",ungroup_by_ref_type:"$(ungroup-by-ref-type)",unlock:"$(unlock)",unmute:"$(unmute)",unverified:"$(unverified)",variable:"$(variable)",variable_group:"$(variable_group)",verified:"$(verified)",versions:"$(versions)",vm_active:"$(vm-active)",vm_connect:"$(vm-connect)",vm_outline:"$(vm-outline)",vm_running:"$(vm-running)",vm:"$(vm)",wand:"$(wand)",warning:"$(warning)",watch:"$(watch)",whitespace:"$(whitespace)",whole_word:"$(whole-word)",window:"$(window)",workspace_trusted:"$(workspace-trusted)",workspace_untrusted:"$(workspace-untrusted)",workspace_unknown:"$(workspace-trusted)",word_wrap:"$(word-wrap)",x:"$(x)",zap:"$(symbol-event)",zoom_in:"$(zoom-in)",zoom_out:"$(zoom-out)"}},function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0});const n=o(2),r=o(0),i=o(3),s=o(5),a=o(1),c=o(7),l=o(9);t.StorageProvider=class{constructor(e){this.internalOnDidChangeTreeData=new r.EventEmitter,this.projectSource=e,this.onDidChangeTreeData=this.internalOnDidChangeTreeData.event}refresh(){this.internalOnDidChangeTreeData.fire()}getTreeItem(e){return e}getChildren(e){return new Promise(t=>{if(e){const o=[],i=this.projectSource.getProjectsByTag(e.label);0===i.length&&t(o),i.sort((e,t)=>e.label.toLowerCase()>t.label.toLowerCase()?1:e.label.toLowerCase()0){e.push(new l.NoTagNode(c.NO_TAGS_DEFINED,r.TreeItemCollapsibleState.Expanded));const o=i.Container.context.globalState.get("filterByTags",[]);return o.length>0&&(e=e.filter(e=>o.includes(e.label)||o.includes(c.NO_TAGS_DEFINED)&&""===e.label)),void t(e)}}const e=[];let o=this.projectSource.map();const h=i.Container.context.globalState.get("filterByTags",[]);o=h.length>0?this.projectSource.getProjectsByTags(h):this.projectSource.map(),o.sort((e,t)=>e.label.toLowerCase()>t.label.toLowerCase()?1:e.label.toLowerCase()t.showPage())),r.Container.context.subscriptions.push(n.commands.registerCommand("_projectManager.whatsNewContextMenu",()=>t.showPage()))}},function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0});const n=o(2),r=o(11),i=o(0),s=o(40);t.WhatsNewManager=class{constructor(e){this.context=e}isRunningOnCodespaces(){var e;return"codespaces"===(null===(e=i.env.remoteName)||void 0===e?void 0:e.toLocaleLowerCase())}registerContentProvider(e,t,o){return this.publisher=e,this.extensionName=t,this.contentProvider=o,this.versionKey=this.extensionName+".version",this.context.globalState.setKeysForSync([this.versionKey]),this}registerSocialMediaProvider(e){return this.socialMediaProvider=e,this}registerSponsorProvider(e){return this.sponsorProvider=e,this}showPageInActivation(){this.extension=i.extensions.getExtension(`${this.publisher}.${this.extensionName}`);const e=this.context.globalState.get(this.versionKey);this.showPageIfVersionDiffers(this.extension.packageJSON.version,e)}showPage(){const e=i.window.createWebviewPanel(this.extensionName+".whatsNew","What's New in "+this.extension.packageJSON.displayName,i.ViewColumn.One,{enableScripts:!0}),t=i.Uri.file(n.join(this.context.extensionPath,"vscode-whats-new","ui","whats-new.html")).with({scheme:"vscode-resource"}),o=i.Uri.file(n.join(this.context.extensionPath,"vscode-whats-new","ui","main.css")).with({scheme:"vscode-resource"}),r=i.Uri.file(n.join(this.context.extensionPath,"images",`vscode-${this.extensionName.toLowerCase()}-logo-readme.png`)).with({scheme:"vscode-resource"});e.webview.html=this.getWebviewContentLocal(t.fsPath,o.toString(),r.toString())}showPageIfVersionDiffers(e,t){if(t){const o=r.diff(e,t);if(!o||"patch"===o)return}this.context.globalState.update(this.versionKey,e),this.isRunningOnCodespaces()||this.showPage()}getWebviewContentLocal(e,t,o){var n,r;return s.WhatsNewPageBuilder.newBuilder(e).updateExtensionPublisher(this.publisher).updateExtensionDisplayName(this.extension.packageJSON.displayName).updateExtensionName(this.extensionName).updateExtensionVersion(this.extension.packageJSON.version).updateRepositoryUrl(this.extension.packageJSON.repository.url.slice(0,this.extension.packageJSON.repository.url.length-4)).updateRepositoryIssues(this.extension.packageJSON.bugs.url).updateRepositoryHomepage(this.extension.packageJSON.homepage).updateCSS(t).updateHeader(this.contentProvider.provideHeader(o)).updateChangeLog(this.contentProvider.provideChangeLog()).updateSponsors(null===(n=this.sponsorProvider)||void 0===n?void 0:n.provideSponsors()).updateSupportChannels(this.contentProvider.provideSupportChannels()).updateSocialMedias(null===(r=this.socialMediaProvider)||void 0===r?void 0:r.provideSocialMedias()).build()}}},function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0});const n=o(4),r=o(11),i=o(12);class s{constructor(e){this.htmlFile=n.readFileSync(e).toString()}static newBuilder(e){return new s(e)}updateExtensionPublisher(e){return this.htmlFile=this.htmlFile.replace(/\$\{publisher\}/g,e),this}updateExtensionDisplayName(e){return this.htmlFile=this.htmlFile.replace(/\$\{extensionDisplayName\}/g,e),this}updateExtensionName(e){return this.htmlFile=this.htmlFile.replace(/\$\{extensionName\}/g,e),this}updateExtensionVersion(e){return this.htmlFile=this.htmlFile.replace("${extensionVersion}",`${r.major(e)}.${r.minor(e)}`),this}updateRepositoryUrl(e){return this.htmlFile=this.htmlFile.replace(/\$\{repositoryUrl\}/g,e),this.repositoryUrl=e,this}updateRepositoryIssues(e){return this.htmlFile=this.htmlFile.replace("${repositoryIssues}",e),this}updateRepositoryHomepage(e){return this.htmlFile=this.htmlFile.replace("${repositoryHomepage}",e),this}updateCSS(e){return this.htmlFile=this.htmlFile.replace("${cssUrl}",e),this}updateHeader(e){return this.htmlFile=this.htmlFile.replace("${headerLogo}",e.logo.src),this.htmlFile=this.htmlFile.replace("${headerWidth}",e.logo.width.toString()),this.htmlFile=this.htmlFile.replace("${headerHeight}",e.logo.height.toString()),this.htmlFile=this.htmlFile.replace("${headerMessage}",e.message),this}updateChangeLog(e){let t="";for(const o of e)if(o.kind===i.ChangeLogKind.VERSION){const e=o.detail,n=""===t?"":"changelog__version__borders__top";t=t.concat(`\n ${e.releaseNumber}\n ${e.releaseDate}\n `)}else{const e=this.getBadgeFromChangeLogKind(o.kind);let n;if("string"==typeof o.detail)n=o.detail;else{const e=o.detail;n=e.kind===i.IssueKind.Issue?`${e.message}\n (Issue #${e.id})`:`${e.message}\n (Thanks to ${e.kudos} - PR #${e.id})`}t=t.concat(`${o.kind}\n ${n}\n `)}return this.htmlFile=this.htmlFile.replace("${changeLog}",t),this}updateSponsors(e){if(!e||0===e.length)return this.htmlFile=this.htmlFile.replace("${sponsors}",""),this;let t="\n
Sponsors
";for(const o of e)t=o.message?t.concat(`\n \n \n \n ${o.message} \n ${o.extra}
`):t.concat(`
`);return t=t.concat("
"),this.htmlFile=this.htmlFile.replace("${sponsors}",t),this}updateSupportChannels(e){if(0===e.length)return this.htmlFile=this.htmlFile.replace("${supportChannels}",""),this;let t='"),this.htmlFile=this.htmlFile.replace("${supportChannels}",t),this}updateSocialMedias(e){if(!e||0===e.length)return this.htmlFile=this.htmlFile.replace("${socialMedias}",""),this;let t="";for(const o of e)t=t.concat(`${o.title}`);return this.htmlFile=this.htmlFile.replace("${socialMedias}",t),this}build(){return this.htmlFile.toString()}getBadgeFromChangeLogKind(e){switch(e){case i.ChangeLogKind.NEW:return"added";case i.ChangeLogKind.CHANGED:return"changed";case i.ChangeLogKind.FIXED:return"fixed";case i.ChangeLogKind.INTERNAL:default:return"internal"}}}t.WhatsNewPageBuilder=s},function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0});const n=o(12);t.ProjectManagerContentProvider=class{provideHeader(e){return{logo:{src:e,height:50,width:50},message:"Project Manager helps you to easily access your projects,\n no matter where they are located. Don't miss those important projects anymore.\n
You can define your own Projects (also called Favorites), or choose \n for auto-detect Git, Mercurial or SVN repositories, VSCode \n folders or any other folder."}}provideChangeLog(){const e=[];return e.push({kind:n.ChangeLogKind.VERSION,detail:{releaseNumber:"12.3.0",releaseDate:"June 2021"}}),e.push({kind:n.ChangeLogKind.NEW,detail:{message:"Organize your projects with Tags",id:50,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.NEW,detail:{message:"Documentation about how to use the extension on Remote Development",id:477,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.NEW,detail:{message:"Use specific icons for each kind of remote project",id:483,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.VERSION,detail:{releaseNumber:"12.2.0",releaseDate:"May 2021"}}),e.push({kind:n.ChangeLogKind.NEW,detail:{message:"Support Virtual Workspaces",id:500,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.NEW,detail:{message:"Support Workspace Trust",id:499,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.NEW,detail:{message:"Support .code-workspace projects located on remotes",id:486,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.FIXED,detail:{message:"Favorite projects missing icons for Folders when using None or Seti Icon Theme",id:496,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.INTERNAL,detail:{message:"Security Alert: lodash",id:503,kind:n.IssueKind.PR,kudos:"dependabot"}}),e.push({kind:n.ChangeLogKind.INTERNAL,detail:{message:"Security Alert: ssri",id:495,kind:n.IssueKind.PR,kudos:"dependabot"}}),e.push({kind:n.ChangeLogKind.VERSION,detail:{releaseNumber:"12.1.0",releaseDate:"March 2021"}}),e.push({kind:n.ChangeLogKind.NEW,detail:{message:'Save GitHub Codespaces projects always as "remote project"',id:479,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.CHANGED,detail:{message:"Do not show welcome message if installed by Settings Sync",id:459,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.FIXED,detail:{message:"Mercurial projects not found",id:438,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.INTERNAL,detail:{message:"Update whats-new submodule API",id:456,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.INTERNAL,detail:{message:"Add badages to Readme",id:359,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.INTERNAL,detail:{message:"Security Alert: y18n",id:482,kind:n.IssueKind.PR,kudos:"dependabot"}}),e.push({kind:n.ChangeLogKind.INTERNAL,detail:{message:"Security Alert: elliptic",id:472,kind:n.IssueKind.PR,kudos:"dependabot"}}),e.push({kind:n.ChangeLogKind.VERSION,detail:{releaseNumber:"12.0.0",releaseDate:"November 2020"}}),e.push({kind:n.ChangeLogKind.NEW,detail:{message:"Adds Open Settings command to the Side Bar",id:434,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.NEW,detail:{message:'Concatenates the "Number of Projects" on each Panel in the Side Bar',id:267,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.NEW,detail:{message:"Adds Reveal in Finder/Explorer command in the Side Bar's context menu",id:322,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.NEW,detail:{message:"Adds setting to decide if auto-detected projects should ignore projects found inside other projects",id:189,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.INTERNAL,detail:{message:"Use vscode-ext-help-and-feedback package",id:432,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.VERSION,detail:{releaseNumber:"11.3.0",releaseDate:"September 2020"}}),e.push({kind:n.ChangeLogKind.NEW,detail:{message:'Support $home and "~" (tilde) symbol on projectLocation setting',id:384,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.NEW,detail:{message:"Support ~ (tilde) symbol on any path related setting",id:414,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.NEW,detail:{message:"Support glob patterns in ignoredFolders settings",id:278,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.NEW,detail:{message:"Czech - Simplified Chinese",id:412,kind:n.IssueKind.PR,kudos:"@Amereyeu"}}),e.push({kind:n.ChangeLogKind.VERSION,detail:{releaseNumber:"11.2.0",releaseDate:"August 2020"}}),e.push({kind:n.ChangeLogKind.NEW,detail:{message:"Support string array in Settings UI",id:410,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.NEW,detail:{message:"Use new remote codicon",id:396,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.FIXED,detail:{message:"Weird icon behaviour when no ThemeIcon is selected",id:392,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.FIXED,detail:{message:"maxDepthRecursion worried about extra trailing path separator",id:404,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.FIXED,detail:{message:"Localization - Simplified Chinese",id:403,kind:n.IssueKind.PR,kudos:"@loniceras"}}),e.push({kind:n.ChangeLogKind.FIXED,detail:{message:"Typo in What's New",id:390,kind:n.IssueKind.PR,kudos:"@geauxtigers"}}),e.push({kind:n.ChangeLogKind.VERSION,detail:{releaseNumber:"11.1.0",releaseDate:"June 2020"}}),e.push({kind:n.ChangeLogKind.CHANGED,detail:{message:"Internal commands can't be customisable",id:388,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.FIXED,detail:{message:"Status bar not working on remotes",id:379,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.FIXED,detail:{message:"Command Palette showing ”Path does not exists” for remote projects",id:380,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.FIXED,detail:{message:"Open Folder command in Welcome view not working on Windows",id:387,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.INTERNAL,detail:{message:"Migrate from TSLint to ESLint",id:360,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.INTERNAL,detail:{message:"Use vscode-ext-codicons package",id:386,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.VERSION,detail:{releaseNumber:"11.0.1",releaseDate:"May 2020"}}),e.push({kind:n.ChangeLogKind.FIXED,detail:{message:"Path does not exists for SSH remote project",id:375,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.FIXED,detail:{message:"Open command in Side Bar's context menu does not work",id:376,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.FIXED,detail:{message:"Path does not exists for Docker remote project on Windows",id:377,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.VERSION,detail:{releaseNumber:"11.0.0",releaseDate:"May 2020"}}),e.push({kind:n.ChangeLogKind.NEW,detail:{message:"Support open Remote Projects",id:345,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.NEW,detail:{message:"Side bar welcome message",id:353,kind:n.IssueKind.Issue}}),e.push({kind:n.ChangeLogKind.INTERNAL,detail:{message:"Remove vscode module dependency",id:369,kind:n.IssueKind.Issue}}),e}provideSupportChannels(){const e=[];return e.push({title:"Become a sponsor on Patreon",link:"https://www.patreon.com/alefragnani",message:"Become a Sponsor"}),e.push({title:"Donate via PayPal",link:"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=EP57F3B6FXKTU&lc=US&item_name=Alessandro%20Fragnani&item_number=vscode%20extensions¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted",message:"Donate via PayPal"}),e}};t.ProjectManagerSponsorProvider=class{provideSponsors(){const e=[],t={title:"Learn more about CodeStream",link:"https://sponsorlink.codestream.com/?utm_source=vscmarket&utm_campaign=projectmanager&utm_medium=banner",image:{dark:"https://alt-images.codestream.com/codestream_logo_projectmanager.png",light:"https://alt-images.codestream.com/codestream_logo_projectmanager.png"},width:35,message:"Eliminate context switching and costly distractions. \n Create and merge PRs and perform code reviews from inside your \n IDE while using jump-to-definition, your keybindings, and other IDE favorites.
",extra:'\n Learn more'};return e.push(t),e}};t.ProjectManagerSocialMediaProvider=class{provideSocialMedias(){return[{title:"Follow me on Twitter",link:"https://www.twitter.com/alefragnani"}]}}},function(e,t,o){var n=this&&this.__awaiter||function(e,t,o,n){return new(o||(o=Promise))((function(r,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const r=o(0),i=o(3);t.registerSupportProjectManager=function(){i.Container.context.subscriptions.push(r.commands.registerCommand("projectManager.supportProjectManager",()=>n(this,void 0,void 0,(function*(){const e=[{title:"Become a Sponsor"},{title:"Donate via PayPal"}],t=yield r.window.showInformationMessage("While Project Manager is offered for free, if you \n find it useful, please consider supporting it. Thank you!",...e);let o;t===e[0]&&(o=r.Uri.parse("https://www.patreon.com/alefragnani")),t===e[1]&&(o=r.Uri.parse("https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=EP57F3B6FXKTU&lc=US&item_name=Alessandro%20Fragnani&item_number=vscode%20extensions¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted")),o&&(yield r.env.openExternal(o))}))))}},function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0});const n=o(44);t.registerHelpAndFeedbackView=function(e){const t=new Array,o=new n.StandardLinksProvider("alefragnani.project-manager");t.push(o.getGetStartedLink()),t.push(new n.ProvideFeedbackLink("project-manager")),t.push(o.getReviewIssuesLink()),t.push(o.getReportIssueLink()),t.push({icon:"heart",title:"Support",command:"projectManager.supportProjectManager"}),new n.HelpAndFeedbackView(e,"projectManagerHelpAndFeedback",t)}},function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0});var n=o(45);Object.defineProperty(t,"HelpAndFeedbackView",{enumerable:!0,get:function(){return n.HelpAndFeedbackView}});var r=o(50);Object.defineProperty(t,"GetStartedLink",{enumerable:!0,get:function(){return r.GetStartedLink}}),Object.defineProperty(t,"ReadDocumentationLink",{enumerable:!0,get:function(){return r.ReadDocumentationLink}}),Object.defineProperty(t,"ProvideFeedbackLink",{enumerable:!0,get:function(){return r.ProvideFeedbackLink}}),Object.defineProperty(t,"ReviewIssuesLink",{enumerable:!0,get:function(){return r.ReviewIssuesLink}}),Object.defineProperty(t,"ReportIssueLink",{enumerable:!0,get:function(){return r.ReportIssueLink}}),Object.defineProperty(t,"SupportLink",{enumerable:!0,get:function(){return r.SupportLink}}),Object.defineProperty(t,"StandardLinksProvider",{enumerable:!0,get:function(){return r.StandardLinksProvider}})},function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0}),t.HelpAndFeedbackView=void 0;var n=o(0),r=o(46),i=o(47),s=function(){function e(e,t,o){r.registerOpenUrlCommand(t),this.treeDataProvider=new i.DataProvider(e,t,o),this.helpViewer=n.window.createTreeView(t,{treeDataProvider:this.treeDataProvider,showCollapseAll:!1})}return e.prototype.getProvider=function(){return this.treeDataProvider},e}();t.HelpAndFeedbackView=s},function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0}),t.registerOpenUrlCommand=void 0;var n=o(0);t.registerOpenUrlCommand=function(e){n.commands.registerCommand(e+".openHelpLink",(function(e){n.env.openExternal(n.Uri.parse(e))}))}},function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0}),t.DataProvider=void 0;var n=o(0),r=o(48),i=o(49),s=function(){function e(e,t,o){this._onDidChangeTreeData=new n.EventEmitter,this.onDidChangeTreeData=this._onDidChangeTreeData.event,this.context=e,this.viewId=t,this.items=o}return e.prototype.getTreeItem=function(e){return e},e.prototype.getChildren=function(e){var t=this;return new Promise((function(e){var o=[];t.items.forEach((function(e){r.isLink(e)?o.push(new i.Node(e.title,e.icon,{title:e.title,command:t.viewId+".openHelpLink",arguments:[e.url]})):o.push(new i.Node(e.title,e.icon,{title:e.title,command:e.command}))})),e(o)}))},e.prototype.refresh=function(){this._onDidChangeTreeData.fire(void 0)},e}();t.DataProvider=s},function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0}),t.isLink=void 0,t.isLink=function(e){return void 0!==e.url}},function(e,t,o){var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0}),t.Node=void 0;var i=o(0),s=function(e){function t(t,o,n){var r=e.call(this,t)||this;return r.label=t,r.icon=o,r.command=n,r.command=n,r.iconPath=new i.ThemeIcon(o),r}return r(t,e),t}(i.TreeItem);t.Node=s},function(e,t,o){var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0}),t.StandardLinksProvider=t.SupportLink=t.ReportIssueLink=t.ReviewIssuesLink=t.ProvideFeedbackLink=t.ReadDocumentationLink=t.GetStartedLink=void 0;var i=o(0),s=function(e,t,o){this.icon=e,this.title=t,this.url=o},a=function(e){function t(t){return e.call(this,"star","Get Started",t)||this}return r(t,e),t}(s);t.GetStartedLink=a;var c=function(e){function t(t){return e.call(this,"book","Read Documentation",t)||this}return r(t,e),t}(s);t.ReadDocumentationLink=c;var l=function(e){function t(t){return e.call(this,"twitter","Provide Feedback","https://twitter.com/intent/tweet?hashtags="+t+"&text=%40code")||this}return r(t,e),t}(s);t.ProvideFeedbackLink=l;var h=function(e){function t(t){return e.call(this,"info","Review Issues",t)||this}return r(t,e),t}(s);t.ReviewIssuesLink=h;var d=function(e){function t(t){var o=e.call(this,"comment","Report Issue",t)||this;return o.url=t,o}return r(t,e),t}(s);t.ReportIssueLink=d;var m=function(e){function t(t){var o=e.call(this,"heart","Support",t)||this;return o.url=t,o}return r(t,e),t}(s);t.SupportLink=m;var u=function(){function e(e){this.extensionId=e,this.extension=i.extensions.getExtension(this.extensionId)}return e.prototype.getGetStartedLink=function(){return new a(this.extension.packageJSON.homepage)},e.prototype.getReadDocumentation=function(){return new c(this.extension.packageJSON.homepage)},e.prototype.getReviewIssuesLink=function(){return new h(this.extension.packageJSON.bugs.url)},e.prototype.getReportIssueLink=function(){return new d(this.extension.packageJSON.bugs.url+"/new/choose")},e}();t.StandardLinksProvider=u},function(e,t,o){var n=this&&this.__awaiter||function(e,t,o,n){return new(o||(o=Promise))((function(r,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const r=o(0),i=o(3),s=o(1);function a(e){return n(this,void 0,void 0,(function*(){if(e){if(s.isRemotePath(e.command.arguments[0])){const e=s.isWindows?"Explorer":"Finder";r.window.showErrorMessage("Remote projects can't be revealed in "+e)}r.commands.executeCommand("revealFileInOS",r.Uri.file(e.command.arguments[0]))}}))}t.registerRevealFileInOS=function(){r.commands.executeCommand("setContext","isWindows",s.isWindows),i.Container.context.subscriptions.push(r.commands.registerCommand("_projectManager.revealInFinder#sideBar",e=>a(e))),i.Container.context.subscriptions.push(r.commands.registerCommand("_projectManager.revealInExplorer#sideBar",e=>a(e)))}},function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0});const n=o(0),r=o(3);function i(e){n.commands.executeCommand("workbench.action.openSettings",e?"projectManager."+e:"projectManager")}t.registerOpenSettings=function(){r.Container.context.subscriptions.push(n.commands.registerCommand("projectManager.openSettings#sideBarFavorites",()=>i())),r.Container.context.subscriptions.push(n.commands.registerCommand("projectManager.openSettings#sideBarVSCode",()=>i("vscode"))),r.Container.context.subscriptions.push(n.commands.registerCommand("projectManager.openSettings#sideBarSVN",()=>i("svn"))),r.Container.context.subscriptions.push(n.commands.registerCommand("projectManager.openSettings#sideBarGit",()=>i("git"))),r.Container.context.subscriptions.push(n.commands.registerCommand("projectManager.openSettings#sideBarAny",()=>i("any"))),r.Container.context.subscriptions.push(n.commands.registerCommand("projectManager.openSettings#sideBarMercurial",()=>i("hg")))}},function(e,t,o){var n=this&&this.__awaiter||function(e,t,o,n){return new(o||(o=Promise))((function(r,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const r=o(0),i=o(7);t.pickTags=function(e,t,o){return n(this,void 0,void 0,(function*(){const n=r.workspace.getConfiguration("projectManager").get("tags");let s=e.getAvailableTags();if((null==o?void 0:o.useDefaultTags)&&n.forEach(e=>{s.includes(e)||s.push(e)}),0===s.length)return void((null==o?void 0:o.showWarningWhenHasNoTagsToPick)&&r.window.showWarningMessage("No tags available/defined."));s=s.sort(),(null==o?void 0:o.useNoTagsDefined)&&s.push(i.NO_TAGS_DEFINED);const a=s.map(e=>({label:e,picked:t.includes(e)})),c=yield r.window.showQuickPick(a,{placeHolder:"Select the tags",canPickMany:!0});if(void 0===c)return;return c.map(e=>e.label)}))}}]);
//# sourceMappingURL=extension.js.map