@emailmaker/emailmaker 1.0.36 → 1.0.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/README.md +1 -1
  2. package/asset-manifest.json +80 -80
  3. package/emailmaker-esm.js +1 -1
  4. package/emailmaker.d.ts +1 -0
  5. package/emailmaker.js +1 -1
  6. package/iframe/429.js +1 -1
  7. package/iframe/css/sandbox.css +12 -6
  8. package/iframe/{iframe-eblock.603d533b4efe6f5579a6.html → iframe-eblock.06d3786ea0462c884b7e.html} +1 -1
  9. package/iframe/{iframe.603d533b4efe6f5579a6.html → iframe.06d3786ea0462c884b7e.html} +1 -1
  10. package/iframe/js/cssbeautify.js +1 -1
  11. package/iframe/sandbox-eblock.js +1 -1
  12. package/iframe/sandbox.js +1 -1
  13. package/package.json +1 -1
  14. package/plugin.html +1 -1
  15. package/plugin_blocks_test.html +1 -1
  16. package/plugin_default.html +1 -1
  17. package/plugin_s.html +1 -1
  18. package/static/css/2208.56ea0abb.css +1 -0
  19. package/static/css/{5571.e9720eda.css → 5571.504f05c9.css} +1 -1
  20. package/static/css/6677.6f28a0c0.css +1 -0
  21. package/static/css/8458.31d6cfe0.css +0 -0
  22. package/static/js/1399.f981f0f4.js +1 -0
  23. package/static/js/160.c2020dc9.js +1 -0
  24. package/static/js/18.7d3e3257.js +1 -0
  25. package/static/js/2059.6f21f841.js +2 -0
  26. package/static/js/2208.cb758bc6.js +1 -0
  27. package/static/js/2299.afe87d63.chunk.js +1 -0
  28. package/static/js/2587.4ec88069.js +2 -0
  29. package/static/js/2896.ce4941ab.js +2 -0
  30. package/static/js/3447.63d0aafa.js +1 -0
  31. package/static/js/{3682.d155b110.js → 3682.4db8ba34.js} +2 -2
  32. package/static/js/3710.193d2d5a.chunk.js +1 -0
  33. package/static/js/4035.1e8d8ad5.js +1 -0
  34. package/static/js/4877.5b496b72.js +1 -0
  35. package/static/js/5552.9e96baf9.js +1 -0
  36. package/static/js/5571.30a43d6b.js +1 -0
  37. package/static/js/723.e748d062.js +2 -0
  38. package/static/js/7291.e2615c74.js +1 -0
  39. package/static/js/78.8f294da6.js +1 -0
  40. package/static/js/8458.657f471c.js +1 -0
  41. package/static/js/8689.63fa1dc3.chunk.js +1 -0
  42. package/static/js/9154.7ebae9e2.js +1 -0
  43. package/static/js/9335.20ecdadf.js +1 -0
  44. package/static/js/9560.50289051.js +2 -0
  45. package/static/js/9593.8a0e7a2e.js +2 -0
  46. package/static/js/{2582.d77da683.js.LICENSE.txt → 9593.8a0e7a2e.js.LICENSE.txt} +16 -0
  47. package/static/js/emailmaker_core.24103916.js +1 -0
  48. package/static/js/mergeTags/locale1.490fa827.chunk.js +1 -0
  49. package/static/media/fb.png +0 -0
  50. package/static/media/ig.png +0 -0
  51. package/static/media/tg.png +0 -0
  52. package/static/media/tw.png +0 -0
  53. package/static/media/vk.png +0 -0
  54. package/static/media/yd.png +0 -0
  55. package/static/media/yt.png +0 -0
  56. package/translations.pot +256 -212
  57. package/static/css/2256.d0db3199.css +0 -1
  58. package/static/css/6677.3a2b7cfe.css +0 -1
  59. package/static/css/698.9a48c3be.css +0 -1
  60. package/static/js/1399.cb6eb2fa.js +0 -1
  61. package/static/js/1792.81307cce.js +0 -1
  62. package/static/js/1795.8ada4a9a.js +0 -1
  63. package/static/js/197.a135382e.js +0 -1
  64. package/static/js/2223.17806e9a.js +0 -2
  65. package/static/js/2256.ade5bf3a.js +0 -1
  66. package/static/js/2464.2c009f8c.js +0 -2
  67. package/static/js/2582.d77da683.js +0 -2
  68. package/static/js/2896.fac80e3c.js +0 -2
  69. package/static/js/3959.42824ee0.js +0 -1
  70. package/static/js/4877.b90d1691.js +0 -1
  71. package/static/js/515.16219a24.js +0 -2
  72. package/static/js/515.16219a24.js.LICENSE.txt +0 -6
  73. package/static/js/5571.383ce8ce.js +0 -1
  74. package/static/js/5606.a93f532c.js +0 -1
  75. package/static/js/5927.d93485f1.chunk.js +0 -1
  76. package/static/js/5957.d2ad88af.js +0 -2
  77. package/static/js/6567.e70469eb.js +0 -1
  78. package/static/js/698.6e8cee9e.js +0 -1
  79. package/static/js/7471.ae85b39d.js +0 -1
  80. package/static/js/8179.acf16a1a.chunk.js +0 -1
  81. package/static/js/8236.bdefaa6b.js +0 -2
  82. package/static/js/8689.e2d021af.chunk.js +0 -1
  83. package/static/js/8738.3ba7b2e7.js +0 -2
  84. package/static/js/8738.3ba7b2e7.js.LICENSE.txt +0 -87
  85. package/static/js/9019.7efd13af.js +0 -2
  86. package/static/js/9019.7efd13af.js.LICENSE.txt +0 -96
  87. package/static/js/9328.74394e00.js +0 -1
  88. package/static/js/9649.b9c16408.js +0 -1
  89. package/static/js/9907.0d22d89d.js +0 -1
  90. package/static/js/emailmaker_core.ea017ac4.js +0 -1
  91. package/static/js/mergeTags/locale1.3448e6cb.chunk.js +0 -1
  92. /package/static/css/{1795.3b54559d.css → 5552.3b54559d.css} +0 -0
  93. /package/static/js/{8236.bdefaa6b.js.LICENSE.txt → 2059.6f21f841.js.LICENSE.txt} +0 -0
  94. /package/static/js/{2223.17806e9a.js.LICENSE.txt → 2587.4ec88069.js.LICENSE.txt} +0 -0
  95. /package/static/js/{2896.fac80e3c.js.LICENSE.txt → 2896.ce4941ab.js.LICENSE.txt} +0 -0
  96. /package/static/js/{3682.d155b110.js.LICENSE.txt → 3682.4db8ba34.js.LICENSE.txt} +0 -0
  97. /package/static/js/{5957.d2ad88af.js.LICENSE.txt → 723.e748d062.js.LICENSE.txt} +0 -0
  98. /package/static/js/{2464.2c009f8c.js.LICENSE.txt → 9560.50289051.js.LICENSE.txt} +0 -0
  99. /package/static/media/{ai-image.7c42c2e1.png → ai-image.png} +0 -0
  100. /package/static/media/{codicon.f13d28f3.ttf → codicon.ttf} +0 -0
  101. /package/static/media/{empty-image.1827d656.png → empty-image.png} +0 -0
  102. /package/static/media/{frame_dark.318d7ed5.png → frame_dark.png} +0 -0
  103. /package/static/media/{frame_light.22a9b4ec.png → frame_light.png} +0 -0
  104. /package/static/media/{frame_template_gallery.85693b39.png → frame_template_gallery.png} +0 -0
  105. /package/static/media/{sign_up_01.33327158.png → sign_up_01.png} +0 -0
  106. /package/static/media/{sign_up_01_blocks.5538cfdb.png → sign_up_01_blocks.png} +0 -0
  107. /package/static/media/{sign_up_02.d99d2aa6.png → sign_up_02.png} +0 -0
  108. /package/static/media/{sign_up_02_blocks.837fc2c9.png → sign_up_02_blocks.png} +0 -0
  109. /package/static/media/{sign_up_03.5545ffad.png → sign_up_03.png} +0 -0
  110. /package/static/media/{sign_up_03_blocks.126601f7.png → sign_up_03_blocks.png} +0 -0
  111. /package/static/media/{sign_up_04.398a4ca5.png → sign_up_04.png} +0 -0
  112. /package/static/media/{sign_up_04_blocks.255c5c07.png → sign_up_04_blocks.png} +0 -0
  113. /package/static/media/{sign_up_05.4c58df1b.png → sign_up_05.png} +0 -0
  114. /package/static/media/{sign_up_05_blocks.431b6844.png → sign_up_05_blocks.png} +0 -0
  115. /package/static/media/{video.854adea5.png → video.png} +0 -0
@@ -1 +0,0 @@
1
- (globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[5606],{17583:(e,t,i)=>{var r={"./ar_EG.js":[98941,4695],"./az_AZ.js":[23689,302],"./bg_BG.js":[22012,7493],"./bn_BD.js":[45302,4684],"./by_BY.js":[84906,5523],"./ca_ES.js":[70578,1290],"./context.js":[21471],"./cs_CZ.js":[53539,5672],"./da_DK.js":[91148,1279],"./de_DE.js":[408,8470],"./el_GR.js":[38210,3690],"./en_GB.js":[41882,7923],"./en_US.js":[95776],"./es_ES.js":[37507,881],"./et_EE.js":[64067,4286],"./eu_ES.js":[65241,7095],"./fa_IR.js":[51,732],"./fi_FI.js":[98610,3541],"./fr_BE.js":[36977,5506],"./fr_CA.js":[51903,8315],"./fr_FR.js":[84664,6031],"./ga_IE.js":[34194,3222],"./gl_ES.js":[17759,4221],"./he_IL.js":[80501,9828],"./hi_IN.js":[81646,7019],"./hr_HR.js":[62346,4210],"./hu_HU.js":[29644,1401],"./hy_AM.js":[482,7008],"./id_ID.js":[41648,9447],"./index.js":[92860],"./is_IS.js":[73777,2180],"./it_IT.js":[74127,4989],"./ja_JP.js":[74729,5574],"./ka_GE.js":[42563,8383],"./kk_KZ.js":[7543,9360],"./km_KH.js":[18420,2169],"./kmr_IQ.js":[17455,6562],"./kn_IN.js":[98926,9371],"./ko_KR.js":[47446,1788],"./ku_IQ.js":[17655,4597],"./lt_LT.js":[80175,4521],"./lv_LV.js":[64006,1712],"./mk_MK.js":[44311,1723],"./ml_IN.js":[51717,7330],"./mn_MN.js":[9166,7341],"./ms_MY.js":[33245,4532],"./my_MM.js":[4030,735],"./nb_NO.js":[98566,7926],"./ne_NP.js":[88376,6353],"./nl_BE.js":[2753,3544],"./nl_NL.js":[22553,3614],"./pl_PL.js":[42801,8007],"./pt_BR.js":[11881,7996],"./pt_PT.js":[96136,805],"./ro_RO.js":[60241,4602],"./ru_RU.js":[80341,5187],"./si_LK.js":[4927,8984],"./sk_SK.js":[15711,1793],"./sl_SI.js":[91625,1782],"./sr_RS.js":[23241,4591],"./sv_SE.js":[31277,5955],"./ta_IN.js":[98444,6954],"./th_TH.js":[6039,4145],"./tk_TK.js":[41214,9752],"./tr_TR.js":[46366,8775],"./uk_UA.js":[26444,5966],"./ur_PK.js":[15920,3157],"./useLocale.js":[81365],"./vi_VN.js":[83506,7931],"./zh_CN.js":[98056,5122],"./zh_HK.js":[76734,2104],"./zh_TW.js":[26054,4913]};function o(e){if(!i.o(r,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],o=t[0];return Promise.all(t.slice(1).map(i.e)).then((()=>i(o)))}o.keys=()=>Object.keys(r),o.id=17583,e.exports=o},3780:(e,t,i)=>{"use strict";i.d(t,{X:()=>r});const r=(0,i(3660).u1)("dialogService")},49841:(e,t,i)=>{"use strict";i.d(t,{sV:()=>c,zF:()=>l});var r=i(13354),o=i(61535),n=i(34235),s=i(49172),a=i(97980);const c={EDITORS:"CodeEditors",FILES:"CodeFiles"};function l(e){var t;const i=[];if(e.dataTransfer&&e.dataTransfer.types.length>0){const h=e.dataTransfer.getData(c.EDITORS);if(h)try{i.push(...(0,o.q)(h))}catch(l){}else try{const t=e.dataTransfer.getData(r.t.RESOURCES);i.push(...function(e){const t=[];if(e){const i=JSON.parse(e);for(const e of i)if(e.indexOf(":")>0){const{selection:i,uri:r}=(0,s.ew)(n.r.parse(e));t.push({resource:r,options:{selection:i}})}}return t}(t))}catch(l){}if(null===(t=e.dataTransfer)||void 0===t?void 0:t.files)for(let t=0;t<e.dataTransfer.files.length;t++){const r=e.dataTransfer.files[t];if(r&&r.path)try{i.push({resource:n.r.file(r.path),isExternal:!0,allowWorkspaceOpen:!0})}catch(l){}}const u=e.dataTransfer.getData(c.FILES);if(u)try{const e=JSON.parse(u);for(const t of e)i.push({resource:n.r.file(t),isExternal:!0,allowWorkspaceOpen:!0})}catch(l){}const g=a.O.as(d.DragAndDropContribution).getAll();for(const t of g){const r=e.dataTransfer.getData(t.dataFormatKey);if(r)try{i.push(...t.getEditorInputs(r))}catch(l){}}}return i}const d={DragAndDropContribution:"workbench.contributions.dragAndDrop"};a.O.add(d.DragAndDropContribution,new class{constructor(){this._contributions=new Map}getAll(){return this._contributions.values()}})},67676:(e,t,i)=>{"use strict";var r;i.d(t,{$:()=>r}),function(e){e[e.API=0]="API",e[e.USER=1]="USER"}(r||(r={}))},32956:(e,t,i)=>{"use strict";i.d(t,{H:()=>r});class r{constructor(e){this.value=e,this._lower=e.toLowerCase()}static toKey(e){return"string"===typeof e?e.toLowerCase():e._lower}}},50348:(e,t,i)=>{"use strict";var r;i.d(t,{p:()=>r}),function(e){e[e.FILE=0]="FILE",e[e.FOLDER=1]="FOLDER",e[e.ROOT_FOLDER=2]="ROOT_FOLDER"}(r||(r={}))},4720:(e,t,i)=>{"use strict";i.d(t,{_Q:()=>b,dg:()=>h,pG:()=>v});var r=i(13300),o=i(83145),n=i(75664),s=i(7492),a=i(84978),c=i(33793),l=function(e,t,i,r){var o,n=arguments.length,s=n<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(n<3?o(s):n>3?o(t,i,s):o(t,i))||s);return n>3&&s&&Object.defineProperty(t,i,s),s},d=function(e,t){return function(i,r){t(i,r,e)}};const h=new n.N1("suggestWidgetVisible",!1,(0,a.kg)("suggestWidgetVisible","Whether suggestion are visible")),u="historyNavigationWidgetFocus",g="historyNavigationForwardsEnabled",f="historyNavigationBackwardsEnabled";let p;const k=[];function m(e,t){if(k.includes(t))throw new Error("Cannot register the same widget multiple times");k.push(t);const i=new c.Cm,r=i.add(e.createScoped(t.element)),o=new n.N1(u,!1).bindTo(r),s=new n.N1(g,!0).bindTo(r),a=new n.N1(f,!0).bindTo(r),l=()=>{o.set(!0),p=t},d=()=>{o.set(!1),p===t&&(p=void 0)};return t.element===document.activeElement&&l(),i.add(t.onDidFocus((()=>l()))),i.add(t.onDidBlur((()=>d()))),i.add((0,c.s)((()=>{k.splice(k.indexOf(t),1),d()}))),{scopedContextKeyService:r,historyNavigationForwardsEnablement:s,historyNavigationBackwardsEnablement:a,dispose(){i.dispose()}}}let v=class extends r.c{constructor(e,t,i,r,o=!1){super(e,t,o,i),this._register(m(r,this.inputBox))}};v=l([d(3,n.fN)],v);let b=class extends o.P{constructor(e,t,i,r,o=!1){super(e,t,o,i),this._register(m(r,this.inputBox))}};b=l([d(3,n.fN)],b),s.f.registerCommandAndKeybindingRule({id:"history.showPrevious",weight:200,when:n.M$.and(n.M$.has(u),n.M$.equals(f,!0),h.isEqualTo(!1)),primary:16,secondary:[528],handler:e=>{p&&p.showPreviousValue()}}),s.f.registerCommandAndKeybindingRule({id:"history.showNext",weight:200,when:n.M$.and(n.M$.has(u),n.M$.equals(g,!0),h.isEqualTo(!1)),primary:18,secondary:[530],handler:e=>{p&&p.showNextValue()}})},8360:(e,t,i)=>{"use strict";function r(e){var t,i;return"Up"===(null===(t=e.lookupKeybinding("history.showPrevious"))||void 0===t?void 0:t.getElectronAccelerator())&&"Down"===(null===(i=e.lookupKeybinding("history.showNext"))||void 0===i?void 0:i.getElectronAccelerator())}i.d(t,{z:()=>r})},97363:(e,t,i)=>{"use strict";i.d(t,{d:()=>r});class r{constructor(e,t=[],i=!1){this.ctor=e,this.staticArguments=t,this.supportsDelayedInstantiation=i}}},22967:(e,t,i)=>{"use strict";i.d(t,{N:()=>s,v:()=>n});var r=i(97363);const o=[];function n(e,t,i){t instanceof r.d||(t=new r.d(t,[],i)),o.push([e,t])}function s(){return o}},3660:(e,t,i)=>{"use strict";var r;i.d(t,{_$:()=>r,_Y:()=>o,u1:()=>n}),function(e){e.serviceIds=new Map,e.DI_TARGET="$di$target",e.DI_DEPENDENCIES="$di$dependencies",e.getServiceDependencies=function(t){return t[e.DI_DEPENDENCIES]||[]}}(r||(r={}));const o=n("instantiationService");function n(e){if(r.serviceIds.has(e))return r.serviceIds.get(e);const t=function(e,i,o){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");!function(e,t,i){t[r.DI_TARGET]===t?t[r.DI_DEPENDENCIES].push({id:e,index:i}):(t[r.DI_DEPENDENCIES]=[{id:e,index:i}],t[r.DI_TARGET]=t)}(t,e,o)};return t.toString=()=>e,r.serviceIds.set(e,t),t}},46171:(e,t,i)=>{"use strict";i.d(t,{n:()=>h});var r=i(85345),o=i(79734),n=i(97363);class s{constructor(e){this.incoming=new Map,this.outgoing=new Map,this.data=e}}class a{constructor(e){this._hashFn=e,this._nodes=new Map}roots(){const e=[];for(const t of this._nodes.values())0===t.outgoing.size&&e.push(t);return e}insertEdge(e,t){const i=this.lookupOrInsertNode(e),r=this.lookupOrInsertNode(t);i.outgoing.set(this._hashFn(t),r),r.incoming.set(this._hashFn(e),i)}removeNode(e){const t=this._hashFn(e);this._nodes.delete(t);for(const i of this._nodes.values())i.outgoing.delete(t),i.incoming.delete(t)}lookupOrInsertNode(e){const t=this._hashFn(e);let i=this._nodes.get(t);return i||(i=new s(e),this._nodes.set(t,i)),i}isEmpty(){return 0===this._nodes.size}toString(){const e=[];for(const[t,i]of this._nodes)e.push(`${t}, (incoming)[${[...i.incoming.keys()].join(", ")}], (outgoing)[${[...i.outgoing.keys()].join(",")}]`);return e.join("\n")}findCycleSlow(){for(const[e,t]of this._nodes){const i=new Set([e]),r=this._findCycle(t,i);if(r)return r}}_findCycle(e,t){for(const[i,r]of e.outgoing){if(t.has(i))return[...t,i].join(" -> ");t.add(i);const e=this._findCycle(r,t);if(e)return e;t.delete(i)}}}var c=i(3660),l=i(65566);class d extends Error{constructor(e){var t;super("cyclic dependency between services"),this.message=null!==(t=e.findCycleSlow())&&void 0!==t?t:`UNABLE to detect cycle, dumping graph: \n${e.toString()}`}}class h{constructor(e=new l.a,t=!1,i){this._activeInstantiations=new Set,this._services=e,this._strict=t,this._parent=i,this._services.set(c._Y,this)}createChild(e){return new h(e,this._strict,this)}invokeFunction(e,...t){const i=u.traceInvocation(e);let r=!1;try{return e({get:e=>{if(r)throw(0,o.iH)("service accessor is only valid during the invocation of its target method");const t=this._getOrCreateServiceInstance(e,i);if(!t)throw new Error(`[invokeFunction] unknown service '${e}'`);return t}},...t)}finally{r=!0,i.stop()}}createInstance(e,...t){let i,r;return e instanceof n.d?(i=u.traceCreation(e.ctor),r=this._createInstance(e.ctor,e.staticArguments.concat(t),i)):(i=u.traceCreation(e),r=this._createInstance(e,t,i)),i.stop(),r}_createInstance(e,t=[],i){const r=c._$.getServiceDependencies(e).sort(((e,t)=>e.index-t.index)),o=[];for(const s of r){const t=this._getOrCreateServiceInstance(s.id,i);t||this._throwIfStrict(`[createInstance] ${e.name} depends on UNKNOWN service ${s.id}.`,!1),o.push(t)}const n=r.length>0?r[0].index:t.length;if(t.length!==n){console.trace(`[createInstance] First service dependency of ${e.name} at position ${n+1} conflicts with ${t.length} static arguments`);const i=n-t.length;t=i>0?t.concat(new Array(i)):t.slice(0,n)}return new e(...[...t,...o])}_setServiceInstance(e,t){if(this._services.get(e)instanceof n.d)this._services.set(e,t);else{if(!this._parent)throw new Error("illegalState - setting UNKNOWN service instance");this._parent._setServiceInstance(e,t)}}_getServiceInstanceOrDescriptor(e){const t=this._services.get(e);return!t&&this._parent?this._parent._getServiceInstanceOrDescriptor(e):t}_getOrCreateServiceInstance(e,t){const i=this._getServiceInstanceOrDescriptor(e);return i instanceof n.d?this._safeCreateAndCacheServiceInstance(e,i,t.branch(e,!0)):(t.branch(e,!1),i)}_safeCreateAndCacheServiceInstance(e,t,i){if(this._activeInstantiations.has(e))throw new Error(`illegal state - RECURSIVELY instantiating service '${e}'`);this._activeInstantiations.add(e);try{return this._createAndCacheServiceInstance(e,t,i)}finally{this._activeInstantiations.delete(e)}}_createAndCacheServiceInstance(e,t,i){const r=new a((e=>e.id.toString()));let o=0;const s=[{id:e,desc:t,_trace:i}];for(;s.length;){const t=s.pop();if(r.lookupOrInsertNode(t),o++>1e3)throw new d(r);for(const i of c._$.getServiceDependencies(t.desc.ctor)){const o=this._getServiceInstanceOrDescriptor(i.id);if(o||this._throwIfStrict(`[createInstance] ${e} depends on ${i.id} which is NOT registered.`,!0),o instanceof n.d){const e={id:i.id,desc:o,_trace:t._trace.branch(i.id,!0)};r.insertEdge(t,e),s.push(e)}}}for(;;){const e=r.roots();if(0===e.length){if(!r.isEmpty())throw new d(r);break}for(const{data:t}of e){if(this._getServiceInstanceOrDescriptor(t.id)instanceof n.d){const e=this._createServiceInstanceWithOwner(t.id,t.desc.ctor,t.desc.staticArguments,t.desc.supportsDelayedInstantiation,t._trace);this._setServiceInstance(t.id,e)}r.removeNode(t)}}return this._getServiceInstanceOrDescriptor(e)}_createServiceInstanceWithOwner(e,t,i=[],r,o){if(this._services.get(e)instanceof n.d)return this._createServiceInstance(t,i,r,o);if(this._parent)return this._parent._createServiceInstanceWithOwner(e,t,i,r,o);throw new Error(`illegalState - creating UNKNOWN service instance ${t.name}`)}_createServiceInstance(e,t=[],i,o){if(i){const i=new r.kb((()=>this._createInstance(e,t,o)));return new Proxy(Object.create(null),{get(e,t){if(t in e)return e[t];const r=i.value;let o=r[t];return"function"!==typeof o||(o=o.bind(r),e[t]=o),o},set:(e,t,r)=>(i.value[t]=r,!0)})}return this._createInstance(e,t,o)}_throwIfStrict(e,t){if(t&&console.warn(e),this._strict)throw new Error(e)}}class u{constructor(e,t){this.type=e,this.name=t,this._start=Date.now(),this._dep=[]}static traceInvocation(e){return u._None}static traceCreation(e){return u._None}branch(e,t){const i=new u(2,e.toString());return this._dep.push([e,t,i]),i}stop(){const e=Date.now()-this._start;u._totals+=e;let t=!1;const i=[`${0===this.type?"CREATE":"CALL"} ${this.name}`,`${function e(i,r){const o=[],n=new Array(i+1).join("\t");for(const[s,a,c]of r._dep)if(a&&c){t=!0,o.push(`${n}CREATES -> ${s}`);const r=e(i+1,c);r&&o.push(r)}else o.push(`${n}uses -> ${s}`);return o.join("\n")}(1,this)}`,`DONE, took ${e.toFixed(2)}ms (grand total ${u._totals.toFixed(2)}ms)`];(e>2||t)&&console.log(i.join("\n"))}}u._None=new class extends u{constructor(){super(-1,null)}stop(){}branch(){return this}},u._totals=0},65566:(e,t,i)=>{"use strict";i.d(t,{a:()=>r});class r{constructor(...e){this._entries=new Map;for(const[t,i]of e)this.set(t,i)}set(e,t){const i=this._entries.get(e);return this._entries.set(e,t),i}get(e){return this._entries.get(e)}}},60197:(e,t,i)=>{"use strict";i.d(t,{F:()=>n});var r=i(16201),o=i(97980);const n={JSONContribution:"base.contributions.json"};const s=new class{constructor(){this._onDidChangeSchema=new r.vl,this.schemasById={}}registerSchema(e,t){var i;this.schemasById[(i=e,i.length>0&&"#"===i.charAt(i.length-1)?i.substring(0,i.length-1):i)]=t,this._onDidChangeSchema.fire(e)}notifySchemaChanged(e){this._onDidChangeSchema.fire(e)}};o.O.add(n.JSONContribution,s)},51155:(e,t,i)=>{"use strict";i.d(t,{E:()=>c});var r=i(85345),o=i(16201),n=i(33793),s=i(84978);const a=/^(cursor|delete)/;class c extends n.jG{constructor(e,t,i,n,s){super(),this._contextKeyService=e,this._commandService=t,this._telemetryService=i,this._notificationService=n,this._logService=s,this._onDidUpdateKeybindings=this._register(new o.vl),this._currentChord=null,this._currentChordChecker=new r.vb,this._currentChordStatusMessage=null,this._ignoreSingleModifiers=l.EMPTY,this._currentSingleModifier=null,this._currentSingleModifierClearTimeout=new r.pc,this._logging=!1}get onDidUpdateKeybindings(){return this._onDidUpdateKeybindings?this._onDidUpdateKeybindings.event:o.Jh.None}dispose(){super.dispose()}_log(e){this._logging&&this._logService.info(`[KeybindingService]: ${e}`)}getKeybindings(){return this._getResolver().getKeybindings()}lookupKeybinding(e,t){const i=this._getResolver().lookupPrimaryKeybinding(e,t||this._contextKeyService);if(i)return i.resolvedKeybinding}dispatchEvent(e,t){return this._dispatch(e,t)}softDispatch(e,t){this._log("/ Soft dispatching keyboard event");const i=this.resolveKeyboardEvent(e);if(i.isChord())return console.warn("Unexpected keyboard event mapped to a chord"),null;const[r]=i.getDispatchParts();if(null===r)return this._log("\\ Keyboard event cannot be dispatched"),null;const o=this._contextKeyService.getContext(t),n=this._currentChord?this._currentChord.keypress:null;return this._getResolver().resolve(o,n,r)}_enterChordMode(e,t){this._currentChord={keypress:e,label:t},this._currentChordStatusMessage=this._notificationService.status(s.kg("first.chord","({0}) was pressed. Waiting for second key of chord...",t));const i=Date.now();this._currentChordChecker.cancelAndSet((()=>{this._documentHasFocus()?Date.now()-i>5e3&&this._leaveChordMode():this._leaveChordMode()}),500)}_leaveChordMode(){this._currentChordStatusMessage&&(this._currentChordStatusMessage.dispose(),this._currentChordStatusMessage=null),this._currentChordChecker.cancel(),this._currentChord=null}_dispatch(e,t){return this._doDispatch(this.resolveKeyboardEvent(e),t,!1)}_singleModifierDispatch(e,t){const i=this.resolveKeyboardEvent(e),[r]=i.getSingleModifierDispatchParts();if(r)return this._ignoreSingleModifiers.has(r)?(this._log(`+ Ignoring single modifier ${r} due to it being pressed together with other keys.`),this._ignoreSingleModifiers=l.EMPTY,this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,!1):(this._ignoreSingleModifiers=l.EMPTY,null===this._currentSingleModifier?(this._log(`+ Storing single modifier for possible chord ${r}.`),this._currentSingleModifier=r,this._currentSingleModifierClearTimeout.cancelAndSet((()=>{this._log("+ Clearing single modifier due to 300ms elapsed."),this._currentSingleModifier=null}),300),!1):r===this._currentSingleModifier?(this._log(`/ Dispatching single modifier chord ${r} ${r}`),this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,this._doDispatch(i,t,!0)):(this._log(`+ Clearing single modifier due to modifier mismatch: ${this._currentSingleModifier} ${r}`),this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,!1));const[o]=i.getParts();return this._ignoreSingleModifiers=new l(o),null!==this._currentSingleModifier&&this._log("+ Clearing single modifier due to other key up."),this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,!1}_doDispatch(e,t,i=!1){let r=!1;if(e.isChord())return console.warn("Unexpected keyboard event mapped to a chord"),!1;let o=null,n=null;if(i){const[t]=e.getSingleModifierDispatchParts();o=t,n=t}else[o]=e.getDispatchParts(),n=this._currentChord?this._currentChord.keypress:null;if(null===o)return this._log("\\ Keyboard event cannot be dispatched in keydown phase."),r;const c=this._contextKeyService.getContext(t),l=e.getLabel(),d=this._getResolver().resolve(c,n,o);return this._logService.trace("KeybindingService#dispatch",l,null===d||void 0===d?void 0:d.commandId),d&&d.enterChord?(r=!0,this._enterChordMode(o,l),this._log("+ Entering chord mode..."),r):(this._currentChord&&(d&&d.commandId||(this._log(`+ Leaving chord mode: Nothing bound to "${this._currentChord.label} ${l}".`),this._notificationService.status(s.kg("missing.chord","The key combination ({0}, {1}) is not a command.",this._currentChord.label,l),{hideAfter:1e4}),r=!0)),this._leaveChordMode(),d&&d.commandId&&(d.bubble||(r=!0),this._log(`+ Invoking command ${d.commandId}.`),"undefined"===typeof d.commandArgs?this._commandService.executeCommand(d.commandId).then(void 0,(e=>this._notificationService.warn(e))):this._commandService.executeCommand(d.commandId,d.commandArgs).then(void 0,(e=>this._notificationService.warn(e))),a.test(d.commandId)||this._telemetryService.publicLog2("workbenchActionExecuted",{id:d.commandId,from:"keybinding"})),r)}mightProducePrintableCharacter(e){return!e.ctrlKey&&!e.metaKey&&(e.keyCode>=31&&e.keyCode<=56||e.keyCode>=21&&e.keyCode<=30)}}class l{constructor(e){this._ctrlKey=!!e&&e.ctrlKey,this._shiftKey=!!e&&e.shiftKey,this._altKey=!!e&&e.altKey,this._metaKey=!!e&&e.metaKey}has(e){switch(e){case"ctrl":return this._ctrlKey;case"shift":return this._shiftKey;case"alt":return this._altKey;case"meta":return this._metaKey}}}l.EMPTY=new l(null)},3960:(e,t,i)=>{"use strict";i.d(t,{b:()=>r});const r=(0,i(3660).u1)("keybindingService")},93350:(e,t,i)=>{"use strict";i.d(t,{f:()=>o});var r=i(75664);class o{constructor(e,t,i){this._log=i,this._defaultKeybindings=e,this._defaultBoundCommands=new Map;for(const r of e){const e=r.command;e&&"-"!==e.charAt(0)&&this._defaultBoundCommands.set(e,!0)}this._map=new Map,this._lookupMap=new Map,this._keybindings=o.handleRemovals([].concat(e).concat(t));for(let r=0,o=this._keybindings.length;r<o;r++){const e=this._keybindings[r];0!==e.keypressParts.length&&(e.when&&0===e.when.type||this._addKeyPress(e.keypressParts[0],e))}}static _isTargetedForRemoval(e,t,i,o){if(t&&e.keypressParts[0]!==t)return!1;if(i&&e.keypressParts[1]!==i)return!1;if(o){if(!e.when)return!1;if(!(0,r.jQ)(o,e.when))return!1}return!0}static handleRemovals(e){const t=new Map;for(let r=0,o=e.length;r<o;r++){const i=e[r];if(i.command&&"-"===i.command.charAt(0)){const e=i.command.substring(1);t.has(e)?t.get(e).push(i):t.set(e,[i])}}if(0===t.size)return e;const i=[];for(let r=0,o=e.length;r<o;r++){const o=e[r];if(!o.command||0===o.command.length){i.push(o);continue}if("-"===o.command.charAt(0))continue;const n=t.get(o.command);if(!n||!o.isDefault){i.push(o);continue}let s=!1;for(const e of n){const t=e.keypressParts[0],i=e.keypressParts[1],r=e.when;if(this._isTargetedForRemoval(o,t,i,r)){s=!0;break}}s||i.push(o)}return i}_addKeyPress(e,t){const i=this._map.get(e);if("undefined"===typeof i)return this._map.set(e,[t]),void this._addToLookupMap(t);for(let r=i.length-1;r>=0;r--){const e=i[r];if(e.command===t.command)continue;const n=e.keypressParts.length>1,s=t.keypressParts.length>1;n&&s&&e.keypressParts[1]!==t.keypressParts[1]||o.whenIsEntirelyIncluded(e.when,t.when)&&this._removeFromLookupMap(e)}i.push(t),this._addToLookupMap(t)}_addToLookupMap(e){if(!e.command)return;let t=this._lookupMap.get(e.command);"undefined"===typeof t?(t=[e],this._lookupMap.set(e.command,t)):t.push(e)}_removeFromLookupMap(e){if(!e.command)return;const t=this._lookupMap.get(e.command);if("undefined"!==typeof t)for(let i=0,r=t.length;i<r;i++)if(t[i]===e)return void t.splice(i,1)}static whenIsEntirelyIncluded(e,t){return!t||1===t.type||!(!e||1===e.type)&&(0,r.M0)(e,t)}getKeybindings(){return this._keybindings}lookupPrimaryKeybinding(e,t){const i=this._lookupMap.get(e);if("undefined"===typeof i||0===i.length)return null;if(1===i.length)return i[0];for(let r=i.length-1;r>=0;r--){const e=i[r];if(t.contextMatchesRules(e.when))return e}return i[i.length-1]}resolve(e,t,i){this._log(`| Resolving ${i}${t?` chorded from ${t}`:""}`);let r=null;if(null!==t){const e=this._map.get(t);if("undefined"===typeof e)return this._log("\\ No keybinding entries."),null;r=[];for(let t=0,o=e.length;t<o;t++){const o=e[t];o.keypressParts[1]===i&&r.push(o)}}else{const e=this._map.get(i);if("undefined"===typeof e)return this._log("\\ No keybinding entries."),null;r=e}const o=this._findCommand(e,r);return o?null===t&&o.keypressParts.length>1&&null!==o.keypressParts[1]?(this._log(`\\ From ${r.length} keybinding entries, matched chord, when: ${n(o.when)}, source: ${s(o)}.`),{enterChord:!0,leaveChord:!1,commandId:null,commandArgs:null,bubble:!1}):(this._log(`\\ From ${r.length} keybinding entries, matched ${o.command}, when: ${n(o.when)}, source: ${s(o)}.`),{enterChord:!1,leaveChord:o.keypressParts.length>1,commandId:o.command,commandArgs:o.commandArgs,bubble:o.bubble}):(this._log(`\\ From ${r.length} keybinding entries, no when clauses matched the context.`),null)}_findCommand(e,t){for(let i=t.length-1;i>=0;i--){const r=t[i];if(o._contextMatchesRules(e,r.when))return r}return null}static _contextMatchesRules(e,t){return!t||t.evaluate(e)}}function n(e){return e?`${e.serialize()}`:"no when condition"}function s(e){return e.extensionId?e.isBuiltinExtension?`built-in extension ${e.extensionId}`:`user extension ${e.extensionId}`:e.isDefault?"built-in":"user"}},7492:(e,t,i)=>{"use strict";i.d(t,{f:()=>c});var r=i(98580),o=i(76394),n=i(93308),s=i(97980);class a{constructor(){this._coreKeybindings=[],this._extensionKeybindings=[],this._cachedMergedKeybindings=null}static bindToCurrentPlatform(e){if(1===o.OS){if(e&&e.win)return e.win}else if(2===o.OS){if(e&&e.mac)return e.mac}else if(e&&e.linux)return e.linux;return e}registerKeybindingRule(e){const t=a.bindToCurrentPlatform(e);if(t&&t.primary){const i=(0,r.ZU)(t.primary,o.OS);i&&this._registerDefaultKeybinding(i,e.id,e.args,e.weight,0,e.when)}if(t&&Array.isArray(t.secondary))for(let i=0,n=t.secondary.length;i<n;i++){const n=t.secondary[i],s=(0,r.ZU)(n,o.OS);s&&this._registerDefaultKeybinding(s,e.id,e.args,e.weight,-i-1,e.when)}}registerCommandAndKeybindingRule(e){this.registerKeybindingRule(e),n.wb.registerCommand(e)}static _mightProduceChar(e){return e>=21&&e<=30||(e>=31&&e<=56||(80===e||81===e||82===e||83===e||84===e||85===e||86===e||110===e||111===e||87===e||88===e||89===e||90===e||91===e||92===e))}_assertNoCtrlAlt(e,t){e.ctrlKey&&e.altKey&&!e.metaKey&&a._mightProduceChar(e.keyCode)&&console.warn("Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: ",e," for ",t)}_registerDefaultKeybinding(e,t,i,r,n,s){1===o.OS&&this._assertNoCtrlAlt(e.parts[0],t),this._coreKeybindings.push({keybinding:e.parts,command:t,commandArgs:i,when:s,weight1:r,weight2:n,extensionId:null,isBuiltinExtension:!1}),this._cachedMergedKeybindings=null}getDefaultKeybindings(){return this._cachedMergedKeybindings||(this._cachedMergedKeybindings=[].concat(this._coreKeybindings).concat(this._extensionKeybindings),this._cachedMergedKeybindings.sort(l)),this._cachedMergedKeybindings.slice(0)}}const c=new a;function l(e,t){return e.weight1!==t.weight1?e.weight1-t.weight1:e.command<t.command?-1:e.command>t.command?1:e.weight2-t.weight2}s.O.add("platform.keybindingsRegistry",c)},10763:(e,t,i)=>{"use strict";i.d(t,{K:()=>o,u:()=>r});class r{constructor(e,t,i,r,n,s,a){this._resolvedKeybindingItemBrand=void 0,this.resolvedKeybinding=e,this.keypressParts=e?o(e.getDispatchParts()):[],e&&0===this.keypressParts.length&&(this.keypressParts=o(e.getSingleModifierDispatchParts())),this.bubble=!!t&&94===t.charCodeAt(0),this.command=this.bubble?t.substr(1):t,this.commandArgs=i,this.when=r,this.isDefault=n,this.extensionId=s,this.isBuiltinExtension=a}}function o(e){const t=[];for(let i=0,r=e.length;i<r;i++){const r=e[i];if(!r)return t;t.push(r)}return t}},14255:(e,t,i)=>{"use strict";i.d(t,{j:()=>l});var r=i(55746),o=i(98580),n=i(79734),s=i(64486);class a extends o.z5{constructor(e,t){if(super(),0===t.length)throw(0,n.Qg)("parts");this._os=e,this._parts=t}getLabel(){return s.Of.toLabel(this._os,this._parts,(e=>this._getLabel(e)))}getAriaLabel(){return s.r0.toLabel(this._os,this._parts,(e=>this._getAriaLabel(e)))}getElectronAccelerator(){return this._parts.length>1||this._parts[0].isDuplicateModifierCase()?null:s.rr.toLabel(this._os,this._parts,(e=>this._getElectronAccelerator(e)))}isChord(){return this._parts.length>1}getParts(){return this._parts.map((e=>this._getPart(e)))}_getPart(e){return new o.QB(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,this._getLabel(e),this._getAriaLabel(e))}getDispatchParts(){return this._parts.map((e=>this._getDispatchPart(e)))}getSingleModifierDispatchParts(){return this._parts.map((e=>this._getSingleModifierDispatchPart(e)))}}var c=i(10763);class l extends a{constructor(e,t){super(t,e.parts)}_keyCodeToUILabel(e){if(2===this._os)switch(e){case 15:return"\u2190";case 16:return"\u2191";case 17:return"\u2192";case 18:return"\u2193"}return r.YM.toString(e)}_getLabel(e){return e.isDuplicateModifierCase()?"":this._keyCodeToUILabel(e.keyCode)}_getAriaLabel(e){return e.isDuplicateModifierCase()?"":r.YM.toString(e.keyCode)}_getElectronAccelerator(e){return r.YM.toElectronAccelerator(e.keyCode)}_getDispatchPart(e){return l.getDispatchStr(e)}static getDispatchStr(e){if(e.isModifierKey())return null;let t="";return e.ctrlKey&&(t+="ctrl+"),e.shiftKey&&(t+="shift+"),e.altKey&&(t+="alt+"),e.metaKey&&(t+="meta+"),t+=r.YM.toString(e.keyCode),t}_getSingleModifierDispatchPart(e){return 5!==e.keyCode||e.shiftKey||e.altKey||e.metaKey?4!==e.keyCode||e.ctrlKey||e.altKey||e.metaKey?6!==e.keyCode||e.ctrlKey||e.shiftKey||e.metaKey?57!==e.keyCode||e.ctrlKey||e.shiftKey||e.altKey?null:"meta":"alt":"shift":"ctrl"}static _scanCodeToKeyCode(e){const t=r.Fo[e];if(-1!==t)return t;switch(e){case 10:return 31;case 11:return 32;case 12:return 33;case 13:return 34;case 14:return 35;case 15:return 36;case 16:return 37;case 17:return 38;case 18:return 39;case 19:return 40;case 20:return 41;case 21:return 42;case 22:return 43;case 23:return 44;case 24:return 45;case 25:return 46;case 26:return 47;case 27:return 48;case 28:return 49;case 29:return 50;case 30:return 51;case 31:return 52;case 32:return 53;case 33:return 54;case 34:return 55;case 35:return 56;case 36:return 22;case 37:return 23;case 38:return 24;case 39:return 25;case 40:return 26;case 41:return 27;case 42:return 28;case 43:return 29;case 44:return 30;case 45:return 21;case 51:return 83;case 52:return 81;case 53:return 87;case 54:return 89;case 55:return 88;case 56:return 0;case 57:return 80;case 58:return 90;case 59:return 86;case 60:return 82;case 61:return 84;case 62:return 85;case 106:return 92}return 0}static _resolveSimpleUserBinding(e){if(!e)return null;if(e instanceof o.h$)return e;const t=this._scanCodeToKeyCode(e.scanCode);return 0===t?null:new o.h$(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,t)}static resolveUserBinding(e,t){const i=(0,c.K)(e.map((e=>this._resolveSimpleUserBinding(e))));return i.length>0?[new l(new o.p(i),t)]:[]}}},8530:(e,t,i)=>{"use strict";i.d(t,{L:()=>r});const r=(0,i(3660).u1)("labelService")},81714:(e,t,i)=>{"use strict";i.d(t,{x:()=>r});const r=(0,i(3660).u1)("layoutService")},40126:(e,t,i)=>{"use strict";i.d(t,{Ei:()=>re,Nf:()=>R,PE:()=>F,YD:()=>B,aG:()=>L,cH:()=>M,er:()=>fe});var r=i(69848),o=i(99962),n=i(72772),s=i(93369),a=i(69194),c=i(13492),l=i(76618),d=i(99929),h=i(16201),u=i(33793),g=i(84978),f=i(17030),p=i(24673),k=i(75664),m=i(51407),v=i(70497),b=i(3660),y=i(3960),_=i(97980),S=i(52040),C=i(87357),w=function(e,t,i,r){var o,n=arguments.length,s=n<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(n<3?o(s):n>3?o(t,i,s):o(t,i))||s);return n>3&&s&&Object.defineProperty(t,i,s),s},D=function(e,t){return function(i,r){t(i,r,e)}};const F=(0,b.u1)("listService");let L=class{constructor(e){this._themeService=e,this.disposables=new u.Cm,this.lists=[],this._lastFocusedWidget=void 0,this._hasCreatedStyleController=!1}get lastFocusedList(){return this._lastFocusedWidget}setLastFocusedList(e){var t,i;e!==this._lastFocusedWidget&&(null===(t=this._lastFocusedWidget)||void 0===t||t.getHTMLElement().classList.remove("last-focused"),this._lastFocusedWidget=e,null===(i=this._lastFocusedWidget)||void 0===i||i.getHTMLElement().classList.add("last-focused"))}register(e,t){if(!this._hasCreatedStyleController){this._hasCreatedStyleController=!0;const e=new n.hb((0,r.li)(),"");this.disposables.add((0,S.DD)(e,this._themeService))}if(this.lists.some((t=>t.widget===e)))throw new Error("Cannot register the same widget multiple times");const i={widget:e,extraContextKeys:t};return this.lists.push(i),e.getHTMLElement()===document.activeElement&&this.setLastFocusedList(e),(0,u.qE)(e.onDidFocus((()=>this.setLastFocusedList(e))),(0,u.s)((()=>this.lists.splice(this.lists.indexOf(i),1))),e.onDidDispose((()=>{this.lists=this.lists.filter((e=>e!==i)),this._lastFocusedWidget===e&&this.setLastFocusedList(void 0)})))}dispose(){this.disposables.dispose()}};L=w([D(0,C.Gy)],L);const I=new k.N1("listFocus",!0),E=new k.N1("listSupportsMultiselect",!0),B=k.M$.and(I,k.M$.not(m.aV)),O=new k.N1("listHasSelectionOrFocus",!1),T=new k.N1("listDoubleSelection",!1),A=new k.N1("listMultiSelection",!1),x=new k.N1("listSelectionNavigation",!1),R=new k.N1("treeElementCanCollapse",!1),K=new k.N1("treeElementHasParent",!1),M=new k.N1("treeElementCanExpand",!1),j=new k.N1("treeElementHasChild",!1),P=new k.N1("treeFindOpen",!1),N="listTypeNavigationMode",H="listAutomaticKeyboardNavigation";function W(e,t){const i=e.createScoped(t.getHTMLElement());return I.bindTo(i),i}const V="workbench.list.multiSelectModifier",$="workbench.list.openMode",U="workbench.list.horizontalScrolling",Q="workbench.list.defaultFindMode",G="workbench.list.keyboardNavigation",q="workbench.tree.indent",z="workbench.tree.renderIndentGuides",Y="workbench.list.smoothScrolling",J="workbench.list.mouseWheelScrollSensitivity",X="workbench.list.fastScrollSensitivity",Z="workbench.tree.expandMode";function ee(e){return"alt"===e.getValue(V)}class te extends u.jG{constructor(e){super(),this.configurationService=e,this.useAltAsMultipleSelectionModifier=ee(e),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration((e=>{e.affectsConfiguration(V)&&(this.useAltAsMultipleSelectionModifier=ee(this.configurationService))})))}isSelectionSingleChangeEvent(e){return this.useAltAsMultipleSelectionModifier?e.browserEvent.altKey:(0,n.tX)(e)}isSelectionRangeChangeEvent(e){return(0,n.mh)(e)}}function ie(e,t,i){var r;const o=e.get(f.pG),n=e.get(y.b),s=new u.Cm;return[Object.assign(Object.assign({},i),{keyboardNavigationDelegate:{mightProducePrintableCharacter:e=>n.mightProducePrintableCharacter(e)},smoothScrolling:Boolean(o.getValue(Y)),mouseWheelScrollSensitivity:o.getValue(J),fastScrollSensitivity:o.getValue(X),multipleSelectionController:null!==(r=i.multipleSelectionController)&&void 0!==r?r:s.add(new te(o)),keyboardNavigationEventFilter:de(t,n)}),s]}let re=class extends n.B8{constructor(e,t,i,r,o,n,s,a,c,l){const d="undefined"!==typeof o.horizontalScrolling?o.horizontalScrolling:Boolean(c.getValue(U)),[h,u]=l.invokeFunction(ie,t,o);super(e,t,i,r,Object.assign(Object.assign(Object.assign({keyboardSupport:!1},(0,S.KC)(a.getColorTheme(),S.IN)),h),{horizontalScrolling:d})),this.disposables.add(u),this.contextKeyService=W(n,this),this.themeService=a,this.listSupportsMultiSelect=E.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==o.multipleSelectionSupport);x.bindTo(this.contextKeyService).set(Boolean(o.selectionNavigation)),this.listHasSelectionOrFocus=O.bindTo(this.contextKeyService),this.listDoubleSelection=T.bindTo(this.contextKeyService),this.listMultiSelection=A.bindTo(this.contextKeyService),this.horizontalScrolling=o.horizontalScrolling,this._useAltAsMultipleSelectionModifier=ee(c),this.disposables.add(this.contextKeyService),this.disposables.add(s.register(this)),o.overrideStyles&&this.updateStyles(o.overrideStyles),this.disposables.add(this.onDidChangeSelection((()=>{const e=this.getSelection(),t=this.getFocus();this.contextKeyService.bufferChangeEvents((()=>{this.listHasSelectionOrFocus.set(e.length>0||t.length>0),this.listMultiSelection.set(e.length>1),this.listDoubleSelection.set(2===e.length)}))}))),this.disposables.add(this.onDidChangeFocus((()=>{const e=this.getSelection(),t=this.getFocus();this.listHasSelectionOrFocus.set(e.length>0||t.length>0)}))),this.disposables.add(c.onDidChangeConfiguration((e=>{e.affectsConfiguration(V)&&(this._useAltAsMultipleSelectionModifier=ee(c));let t={};if(e.affectsConfiguration(U)&&void 0===this.horizontalScrolling){const e=Boolean(c.getValue(U));t=Object.assign(Object.assign({},t),{horizontalScrolling:e})}if(e.affectsConfiguration(Y)){const e=Boolean(c.getValue(Y));t=Object.assign(Object.assign({},t),{smoothScrolling:e})}if(e.affectsConfiguration(J)){const e=c.getValue(J);t=Object.assign(Object.assign({},t),{mouseWheelScrollSensitivity:e})}if(e.affectsConfiguration(X)){const e=c.getValue(X);t=Object.assign(Object.assign({},t),{fastScrollSensitivity:e})}Object.keys(t).length>0&&this.updateOptions(t)}))),this.navigator=new ae(this,Object.assign({configurationService:c},o)),this.disposables.add(this.navigator)}updateOptions(e){super.updateOptions(e),e.overrideStyles&&this.updateStyles(e.overrideStyles),void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyles(e){var t;null===(t=this._styler)||void 0===t||t.dispose(),this._styler=(0,S.DD)(this,this.themeService,e)}dispose(){var e;null===(e=this._styler)||void 0===e||e.dispose(),super.dispose()}};re=w([D(5,k.fN),D(6,F),D(7,C.Gy),D(8,f.pG),D(9,b._Y)],re);let oe=class extends o.Y{constructor(e,t,i,r,o,n,s,a,c,l){const d="undefined"!==typeof o.horizontalScrolling?o.horizontalScrolling:Boolean(c.getValue(U)),[h,g]=l.invokeFunction(ie,t,o);super(e,t,i,r,Object.assign(Object.assign(Object.assign({keyboardSupport:!1},(0,S.KC)(a.getColorTheme(),S.IN)),h),{horizontalScrolling:d})),this.disposables=new u.Cm,this.disposables.add(g),this.contextKeyService=W(n,this),this.themeService=a,this.horizontalScrolling=o.horizontalScrolling,this.listSupportsMultiSelect=E.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==o.multipleSelectionSupport);x.bindTo(this.contextKeyService).set(Boolean(o.selectionNavigation)),this._useAltAsMultipleSelectionModifier=ee(c),this.disposables.add(this.contextKeyService),this.disposables.add(s.register(this)),o.overrideStyles&&this.updateStyles(o.overrideStyles),o.overrideStyles&&this.disposables.add((0,S.DD)(this,a,o.overrideStyles)),this.disposables.add(c.onDidChangeConfiguration((e=>{e.affectsConfiguration(V)&&(this._useAltAsMultipleSelectionModifier=ee(c));let t={};if(e.affectsConfiguration(U)&&void 0===this.horizontalScrolling){const e=Boolean(c.getValue(U));t=Object.assign(Object.assign({},t),{horizontalScrolling:e})}if(e.affectsConfiguration(Y)){const e=Boolean(c.getValue(Y));t=Object.assign(Object.assign({},t),{smoothScrolling:e})}if(e.affectsConfiguration(J)){const e=c.getValue(J);t=Object.assign(Object.assign({},t),{mouseWheelScrollSensitivity:e})}if(e.affectsConfiguration(X)){const e=c.getValue(X);t=Object.assign(Object.assign({},t),{fastScrollSensitivity:e})}Object.keys(t).length>0&&this.updateOptions(t)}))),this.navigator=new ae(this,Object.assign({configurationService:c},o)),this.disposables.add(this.navigator)}updateOptions(e){super.updateOptions(e),e.overrideStyles&&this.updateStyles(e.overrideStyles),void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyles(e){var t;null===(t=this._styler)||void 0===t||t.dispose(),this._styler=(0,S.DD)(this,this.themeService,e)}dispose(){var e;null===(e=this._styler)||void 0===e||e.dispose(),this.disposables.dispose(),super.dispose()}};oe=w([D(5,k.fN),D(6,F),D(7,C.Gy),D(8,f.pG),D(9,b._Y)],oe);let ne=class extends s.X{constructor(e,t,i,r,o,n,s,a,c,l,d){const h="undefined"!==typeof n.horizontalScrolling?n.horizontalScrolling:Boolean(l.getValue(U)),[u,g]=d.invokeFunction(ie,t,n);super(e,t,i,r,o,Object.assign(Object.assign(Object.assign({keyboardSupport:!1},(0,S.KC)(c.getColorTheme(),S.IN)),u),{horizontalScrolling:h})),this.disposables.add(g),this.contextKeyService=W(s,this),this.themeService=c,this.listSupportsMultiSelect=E.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==n.multipleSelectionSupport);x.bindTo(this.contextKeyService).set(Boolean(n.selectionNavigation)),this.listHasSelectionOrFocus=O.bindTo(this.contextKeyService),this.listDoubleSelection=T.bindTo(this.contextKeyService),this.listMultiSelection=A.bindTo(this.contextKeyService),this.horizontalScrolling=n.horizontalScrolling,this._useAltAsMultipleSelectionModifier=ee(l),this.disposables.add(this.contextKeyService),this.disposables.add(a.register(this)),n.overrideStyles&&this.updateStyles(n.overrideStyles),this.disposables.add(this.onDidChangeSelection((()=>{const e=this.getSelection(),t=this.getFocus();this.contextKeyService.bufferChangeEvents((()=>{this.listHasSelectionOrFocus.set(e.length>0||t.length>0),this.listMultiSelection.set(e.length>1),this.listDoubleSelection.set(2===e.length)}))}))),this.disposables.add(this.onDidChangeFocus((()=>{const e=this.getSelection(),t=this.getFocus();this.listHasSelectionOrFocus.set(e.length>0||t.length>0)}))),this.disposables.add(l.onDidChangeConfiguration((e=>{e.affectsConfiguration(V)&&(this._useAltAsMultipleSelectionModifier=ee(l));let t={};if(e.affectsConfiguration(U)&&void 0===this.horizontalScrolling){const e=Boolean(l.getValue(U));t=Object.assign(Object.assign({},t),{horizontalScrolling:e})}if(e.affectsConfiguration(Y)){const e=Boolean(l.getValue(Y));t=Object.assign(Object.assign({},t),{smoothScrolling:e})}if(e.affectsConfiguration(J)){const e=l.getValue(J);t=Object.assign(Object.assign({},t),{mouseWheelScrollSensitivity:e})}if(e.affectsConfiguration(X)){const e=l.getValue(X);t=Object.assign(Object.assign({},t),{fastScrollSensitivity:e})}Object.keys(t).length>0&&this.updateOptions(t)}))),this.navigator=new ce(this,Object.assign({configurationService:l},n)),this.disposables.add(this.navigator)}updateOptions(e){super.updateOptions(e),e.overrideStyles&&this.updateStyles(e.overrideStyles),void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyles(e){var t;null===(t=this._styler)||void 0===t||t.dispose(),this._styler=(0,S.DD)(this,this.themeService,e)}dispose(){var e;null===(e=this._styler)||void 0===e||e.dispose(),this.disposables.dispose(),super.dispose()}};ne=w([D(6,k.fN),D(7,F),D(8,C.Gy),D(9,f.pG),D(10,b._Y)],ne);class se extends u.jG{constructor(e,t){var i;super(),this.widget=e,this._onDidOpen=this._register(new h.vl),this.onDidOpen=this._onDidOpen.event,this._register(h.Jh.filter(this.widget.onDidChangeSelection,(e=>e.browserEvent instanceof KeyboardEvent))((e=>this.onSelectionFromKeyboard(e)))),this._register(this.widget.onPointer((e=>this.onPointer(e.element,e.browserEvent)))),this._register(this.widget.onMouseDblClick((e=>this.onMouseDblClick(e.element,e.browserEvent)))),"boolean"!==typeof(null===t||void 0===t?void 0:t.openOnSingleClick)&&(null===t||void 0===t?void 0:t.configurationService)?(this.openOnSingleClick="doubleClick"!==(null===t||void 0===t?void 0:t.configurationService.getValue($)),this._register(null===t||void 0===t?void 0:t.configurationService.onDidChangeConfiguration((()=>{this.openOnSingleClick="doubleClick"!==(null===t||void 0===t?void 0:t.configurationService.getValue($))})))):this.openOnSingleClick=null===(i=null===t||void 0===t?void 0:t.openOnSingleClick)||void 0===i||i}onSelectionFromKeyboard(e){if(1!==e.elements.length)return;const t=e.browserEvent,i="boolean"!==typeof t.preserveFocus||t.preserveFocus,r="boolean"===typeof t.pinned?t.pinned:!i;this._open(this.getSelectedElement(),i,r,!1,e.browserEvent)}onPointer(e,t){if(!this.openOnSingleClick)return;if(2===t.detail)return;const i=1===t.button,r=t.ctrlKey||t.metaKey||t.altKey;this._open(e,!0,i,r,t)}onMouseDblClick(e,t){if(!t)return;const i=t.target;if(i.classList.contains("monaco-tl-twistie")||i.classList.contains("monaco-icon-label")&&i.classList.contains("folder-icon")&&t.offsetX<16)return;const r=t.ctrlKey||t.metaKey||t.altKey;this._open(e,!1,!0,r,t)}_open(e,t,i,r,o){e&&this._onDidOpen.fire({editorOptions:{preserveFocus:t,pinned:i,revealIfVisible:!0},sideBySide:r,element:e,browserEvent:o})}}class ae extends se{constructor(e,t){super(e,t),this.widget=e}getSelectedElement(){return this.widget.getSelectedElements()[0]}}class ce extends se{constructor(e,t){super(e,t)}getSelectedElement(){return this.widget.getSelectedElements()[0]}}class le extends se{constructor(e,t){super(e,t)}getSelectedElement(){var e;return null!==(e=this.widget.getSelection()[0])&&void 0!==e?e:void 0}}function de(e,t){let i=!1;return r=>{if(r.toKeybinding().isModifierKey())return!1;if(i)return i=!1,!1;const o=t.softDispatch(r,e);return(null===o||void 0===o?void 0:o.enterChord)?(i=!0,!1):(i=!1,!o)}}let he=class extends d.u{constructor(e,t,i,r,o,n,s,a,c,l){const{options:d,getTypeNavigationMode:h,disposable:u}=n.invokeFunction(me,t,o);super(e,t,i,r,d),this.disposables.add(u),this.internals=new ve(this,o,h,o.overrideStyles,s,a,c,l),this.disposables.add(this.internals)}updateOptions(e){super.updateOptions(e),this.internals.updateOptions(e)}};he=w([D(5,b._Y),D(6,k.fN),D(7,F),D(8,C.Gy),D(9,f.pG)],he);let ue=class extends d._{constructor(e,t,i,r,o,n,s,a,c,l){const{options:d,getTypeNavigationMode:h,disposable:u}=n.invokeFunction(me,t,o);super(e,t,i,r,d),this.disposables.add(u),this.internals=new ve(this,o,h,o.overrideStyles,s,a,c,l),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}};ue=w([D(5,b._Y),D(6,k.fN),D(7,F),D(8,C.Gy),D(9,f.pG)],ue);let ge=class extends l.f{constructor(e,t,i,r,o,n,s,a,c,l,d){const{options:h,getTypeNavigationMode:u,disposable:g}=s.invokeFunction(me,t,n);super(e,t,i,r,o,h),this.disposables.add(g),this.internals=new ve(this,n,u,n.overrideStyles,a,c,l,d),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}};ge=w([D(6,b._Y),D(7,k.fN),D(8,F),D(9,C.Gy),D(10,f.pG)],ge);let fe=class extends c.t{constructor(e,t,i,r,o,n,s,a,c,l,d){const{options:h,getTypeNavigationMode:u,disposable:g}=s.invokeFunction(me,t,n);super(e,t,i,r,o,h),this.disposables.add(g),this.internals=new ve(this,n,u,n.overrideStyles,a,c,l,d),this.disposables.add(this.internals)}get onDidOpen(){return this.internals.onDidOpen}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}};fe=w([D(6,b._Y),D(7,k.fN),D(8,F),D(9,C.Gy),D(10,f.pG)],fe);let pe=class extends c.d{constructor(e,t,i,r,o,n,s,a,c,l,d,h){const{options:u,getTypeNavigationMode:g,disposable:f}=a.invokeFunction(me,t,s);super(e,t,i,r,o,n,u),this.disposables.add(f),this.internals=new ve(this,s,g,s.overrideStyles,c,l,d,h),this.disposables.add(this.internals)}updateOptions(e){super.updateOptions(e),this.internals.updateOptions(e)}};function ke(e){const t=e.getValue(Q);if("highlight"===t)return a.vD.Highlight;if("filter"===t)return a.vD.Filter;const i=e.getValue(G);return"simple"===i||"highlight"===i?a.vD.Highlight:"filter"===i?a.vD.Filter:void 0}function me(e,t,i){var r;const o=e.get(f.pG),s=e.get(y.b),a=e.get(v.l),c=e.get(k.fN),l=e.get(b._Y),d=void 0!==i.horizontalScrolling?i.horizontalScrolling:Boolean(o.getValue(U)),[h,u]=l.invokeFunction(ie,t,i),g=i.additionalScrollHeight;return{getTypeNavigationMode:()=>{const e=c.getContextKeyValue(N);if("automatic"===e)return n._C.Automatic;if("trigger"===e)return n._C.Trigger;return!1===c.getContextKeyValue(H)?n._C.Trigger:void 0},disposable:u,options:Object.assign(Object.assign({keyboardSupport:!1},h),{indent:"number"===typeof o.getValue(q)?o.getValue(q):void 0,renderIndentGuides:o.getValue(z),smoothScrolling:Boolean(o.getValue(Y)),defaultFindMode:ke(o),horizontalScrolling:d,keyboardNavigationEventFilter:de(t,s),additionalScrollHeight:g,hideTwistiesOfChildlessElements:i.hideTwistiesOfChildlessElements,expandOnlyOnTwistieClick:null!==(r=i.expandOnlyOnTwistieClick)&&void 0!==r?r:"doubleClick"===o.getValue(Z),contextViewProvider:a})}}pe=w([D(7,b._Y),D(8,k.fN),D(9,F),D(10,C.Gy),D(11,f.pG)],pe);let ve=class{constructor(e,t,i,r,o,n,s,a){this.tree=e,this.themeService=s,this.disposables=[],this.contextKeyService=W(o,e),this.listSupportsMultiSelect=E.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==t.multipleSelectionSupport);x.bindTo(this.contextKeyService).set(Boolean(t.selectionNavigation)),this.hasSelectionOrFocus=O.bindTo(this.contextKeyService),this.hasDoubleSelection=T.bindTo(this.contextKeyService),this.hasMultiSelection=A.bindTo(this.contextKeyService),this.treeElementCanCollapse=R.bindTo(this.contextKeyService),this.treeElementHasParent=K.bindTo(this.contextKeyService),this.treeElementCanExpand=M.bindTo(this.contextKeyService),this.treeElementHasChild=j.bindTo(this.contextKeyService),this.treeFindOpen=P.bindTo(this.contextKeyService),this._useAltAsMultipleSelectionModifier=ee(a),this.updateStyleOverrides(r);const c=()=>{const t=e.getFocus()[0];if(!t)return;const i=e.getNode(t);this.treeElementCanCollapse.set(i.collapsible&&!i.collapsed),this.treeElementHasParent.set(!!e.getParentElement(t)),this.treeElementCanExpand.set(i.collapsible&&i.collapsed),this.treeElementHasChild.set(!!e.getFirstElementChild(t))},l=new Set;l.add(N),l.add(H),this.disposables.push(this.contextKeyService,n.register(e),e.onDidChangeSelection((()=>{const t=e.getSelection(),i=e.getFocus();this.contextKeyService.bufferChangeEvents((()=>{this.hasSelectionOrFocus.set(t.length>0||i.length>0),this.hasMultiSelection.set(t.length>1),this.hasDoubleSelection.set(2===t.length)}))})),e.onDidChangeFocus((()=>{const t=e.getSelection(),i=e.getFocus();this.hasSelectionOrFocus.set(t.length>0||i.length>0),c()})),e.onDidChangeCollapseState(c),e.onDidChangeModel(c),e.onDidChangeFindOpenState((e=>this.treeFindOpen.set(e))),a.onDidChangeConfiguration((i=>{let r={};if(i.affectsConfiguration(V)&&(this._useAltAsMultipleSelectionModifier=ee(a)),i.affectsConfiguration(q)){const e=a.getValue(q);r=Object.assign(Object.assign({},r),{indent:e})}if(i.affectsConfiguration(z)){const e=a.getValue(z);r=Object.assign(Object.assign({},r),{renderIndentGuides:e})}if(i.affectsConfiguration(Y)){const e=Boolean(a.getValue(Y));r=Object.assign(Object.assign({},r),{smoothScrolling:e})}if((i.affectsConfiguration(Q)||i.affectsConfiguration(G))&&e.updateOptions({defaultFindMode:ke(a)}),i.affectsConfiguration(U)&&void 0===t.horizontalScrolling){const e=Boolean(a.getValue(U));r=Object.assign(Object.assign({},r),{horizontalScrolling:e})}if(i.affectsConfiguration(Z)&&void 0===t.expandOnlyOnTwistieClick&&(r=Object.assign(Object.assign({},r),{expandOnlyOnTwistieClick:"doubleClick"===a.getValue(Z)})),i.affectsConfiguration(J)){const e=a.getValue(J);r=Object.assign(Object.assign({},r),{mouseWheelScrollSensitivity:e})}if(i.affectsConfiguration(X)){const e=a.getValue(X);r=Object.assign(Object.assign({},r),{fastScrollSensitivity:e})}Object.keys(r).length>0&&e.updateOptions(r)})),this.contextKeyService.onDidChangeContext((t=>{t.affectsSome(l)&&e.updateOptions({typeNavigationMode:i()})}))),this.navigator=new le(e,Object.assign({configurationService:a},t)),this.disposables.push(this.navigator)}get onDidOpen(){return this.navigator.onDidOpen}updateOptions(e){void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyleOverrides(e){(0,u.AS)(this.styler),this.styler=e?(0,S.DD)(this.tree,this.themeService,e):u.jG.None}dispose(){this.disposables=(0,u.AS)(this.disposables),(0,u.AS)(this.styler),this.styler=void 0}};ve=w([D(4,k.fN),D(5,F),D(6,C.Gy),D(7,f.pG)],ve);_.O.as(p.Fd.Configuration).registerConfiguration({id:"workbench",order:7,title:(0,g.kg)("workbenchConfigurationTitle","Workbench"),type:"object",properties:{[V]:{type:"string",enum:["ctrlCmd","alt"],markdownEnumDescriptions:[(0,g.kg)("multiSelectModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),(0,g.kg)("multiSelectModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],default:"ctrlCmd",description:(0,g.kg)({key:"multiSelectModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")},[$]:{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:(0,g.kg)({key:"openModeModifier",comment:["`singleClick` and `doubleClick` refers to a value the setting can take and should not be localized."]},"Controls how to open items in trees and lists using the mouse (if supported). Note that some trees and lists might choose to ignore this setting if it is not applicable.")},[U]:{type:"boolean",default:!1,description:(0,g.kg)("horizontalScrolling setting","Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication.")},[q]:{type:"number",default:8,minimum:4,maximum:40,description:(0,g.kg)("tree indent setting","Controls tree indentation in pixels.")},[z]:{type:"string",enum:["none","onHover","always"],default:"onHover",description:(0,g.kg)("render tree indent guides","Controls whether the tree should render indent guides.")},[Y]:{type:"boolean",default:!1,description:(0,g.kg)("list smoothScrolling setting","Controls whether lists and trees have smooth scrolling.")},[J]:{type:"number",default:1,markdownDescription:(0,g.kg)("Mouse Wheel Scroll Sensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")},[X]:{type:"number",default:5,description:(0,g.kg)("Fast Scroll Sensitivity","Scrolling speed multiplier when pressing `Alt`.")},[Q]:{type:"string",enum:["highlight","filter"],enumDescriptions:[(0,g.kg)("defaultFindModeSettingKey.highlight","Highlight elements when searching. Further up and down navigation will traverse only the highlighted elements."),(0,g.kg)("defaultFindModeSettingKey.filter","Filter elements when searching.")],default:"highlight",description:(0,g.kg)("defaultFindModeSettingKey","Controls the default find mode for lists and trees in the workbench.")},[G]:{type:"string",enum:["simple","highlight","filter"],enumDescriptions:[(0,g.kg)("keyboardNavigationSettingKey.simple","Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),(0,g.kg)("keyboardNavigationSettingKey.highlight","Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),(0,g.kg)("keyboardNavigationSettingKey.filter","Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")],default:"highlight",description:(0,g.kg)("keyboardNavigationSettingKey","Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter."),deprecated:!0,deprecationMessage:(0,g.kg)("keyboardNavigationSettingKeyDeprecated","Please use 'workbench.list.defaultFindMode' instead.")},[Z]:{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:(0,g.kg)("expand mode","Controls how tree folders are expanded when clicking the folder names. Note that some trees and lists might choose to ignore this setting if it is not applicable.")}}})},92798:(e,t,i)=>{"use strict";i.d(t,{$b:()=>s,Cr:()=>l,Kc:()=>d,rr:()=>n});var r=i(16201),o=i(33793);const n=(0,i(3660).u1)("logService");var s;!function(e){e[e.Trace=0]="Trace",e[e.Debug=1]="Debug",e[e.Info=2]="Info",e[e.Warning=3]="Warning",e[e.Error=4]="Error",e[e.Critical=5]="Critical",e[e.Off=6]="Off"}(s||(s={}));const a=s.Info;class c extends o.jG{constructor(){super(...arguments),this.level=a,this._onDidChangeLogLevel=this._register(new r.vl)}setLevel(e){this.level!==e&&(this.level=e,this._onDidChangeLogLevel.fire(this.level))}getLevel(){return this.level}}class l extends c{constructor(e=a){super(),this.setLevel(e)}trace(e,...t){this.getLevel()<=s.Trace&&console.log("%cTRACE","color: #888",e,...t)}debug(e,...t){this.getLevel()<=s.Debug&&console.log("%cDEBUG","background: #eee; color: #888",e,...t)}info(e,...t){this.getLevel()<=s.Info&&console.log("%c INFO","color: #33f",e,...t)}error(e,...t){this.getLevel()<=s.Error&&console.log("%c ERR","color: #f33",e,...t)}dispose(){}}class d extends o.jG{constructor(e){super(),this.logger=e,this._register(e)}getLevel(){return this.logger.getLevel()}trace(e,...t){this.logger.trace(e,...t)}debug(e,...t){this.logger.debug(e,...t)}info(e,...t){this.logger.info(e,...t)}error(e,...t){this.logger.error(e,...t)}}},88078:(e,t,i)=>{"use strict";i.d(t,{m:()=>u});var r=i(8415),o=i(16201),n=i(39319),s=i(19459),a=i(15263),c=i(34235),l=i(30276);class d{constructor(){this._byResource=new s.fT,this._byOwner=new Map}set(e,t,i){let r=this._byResource.get(e);r||(r=new Map,this._byResource.set(e,r)),r.set(t,i);let o=this._byOwner.get(t);o||(o=new s.fT,this._byOwner.set(t,o)),o.set(e,i)}get(e,t){const i=this._byResource.get(e);return null===i||void 0===i?void 0:i.get(t)}delete(e,t){let i=!1,r=!1;const o=this._byResource.get(e);o&&(i=o.delete(t));const n=this._byOwner.get(t);if(n&&(r=n.delete(e)),i!==r)throw new Error("illegal state");return i&&r}values(e){var t,i,r,o;return"string"===typeof e?null!==(i=null===(t=this._byOwner.get(e))||void 0===t?void 0:t.values())&&void 0!==i?i:n.f.empty():c.r.isUri(e)?null!==(o=null===(r=this._byResource.get(e))||void 0===r?void 0:r.values())&&void 0!==o?o:n.f.empty():n.f.map(n.f.concat(...this._byOwner.values()),(e=>e[1]))}}class h{constructor(e){this.errors=0,this.infos=0,this.warnings=0,this.unknowns=0,this._data=new s.fT,this._service=e,this._subscription=e.onMarkerChanged(this._update,this)}dispose(){this._subscription.dispose()}_update(e){for(const t of e){const e=this._data.get(t);e&&this._substract(e);const i=this._resourceStats(t);this._add(i),this._data.set(t,i)}}_resourceStats(e){const t={errors:0,warnings:0,infos:0,unknowns:0};if(e.scheme===a.ny.inMemory||e.scheme===a.ny.walkThrough||e.scheme===a.ny.walkThroughSnippet)return t;for(const{severity:i}of this._service.read({resource:e}))i===l.cj.Error?t.errors+=1:i===l.cj.Warning?t.warnings+=1:i===l.cj.Info?t.infos+=1:t.unknowns+=1;return t}_substract(e){this.errors-=e.errors,this.warnings-=e.warnings,this.infos-=e.infos,this.unknowns-=e.unknowns}_add(e){this.errors+=e.errors,this.warnings+=e.warnings,this.infos+=e.infos,this.unknowns+=e.unknowns}}class u{constructor(){this._onMarkerChanged=new o.uI({delay:0,merge:u._merge}),this.onMarkerChanged=this._onMarkerChanged.event,this._data=new d,this._stats=new h(this)}dispose(){this._stats.dispose(),this._onMarkerChanged.dispose()}remove(e,t){for(const i of t||[])this.changeOne(e,i,[])}changeOne(e,t,i){if((0,r.Ct)(i)){this._data.delete(t,e)&&this._onMarkerChanged.fire([t])}else{const r=[];for(const o of i){const i=u._toMarker(e,t,o);i&&r.push(i)}this._data.set(t,e,r),this._onMarkerChanged.fire([t])}}static _toMarker(e,t,i){let{code:r,severity:o,message:n,source:s,startLineNumber:a,startColumn:c,endLineNumber:l,endColumn:d,relatedInformation:h,tags:u}=i;if(n)return a=a>0?a:1,c=c>0?c:1,l=l>=a?l:a,d=d>0?d:c,{resource:t,owner:e,code:r,severity:o,message:n,source:s,startLineNumber:a,startColumn:c,endLineNumber:l,endColumn:d,relatedInformation:h,tags:u}}changeAll(e,t){const i=[],o=this._data.values(e);if(o)for(const r of o){const t=n.f.first(r);t&&(i.push(t.resource),this._data.delete(t.resource,e))}if((0,r.EI)(t)){const r=new s.fT;for(const{resource:o,marker:n}of t){const t=u._toMarker(e,o,n);if(!t)continue;const s=r.get(o);s?s.push(t):(r.set(o,[t]),i.push(o))}for(const[t,i]of r)this._data.set(t,e,i)}i.length>0&&this._onMarkerChanged.fire(i)}read(e=Object.create(null)){let{owner:t,resource:i,severities:r,take:o}=e;if((!o||o<0)&&(o=-1),t&&i){const e=this._data.get(i,t);if(e){const t=[];for(const i of e)if(u._accept(i,r)){const e=t.push(i);if(o>0&&e===o)break}return t}return[]}if(t||i){const e=this._data.values(null!==i&&void 0!==i?i:t),n=[];for(const t of e)for(const e of t)if(u._accept(e,r)){const t=n.push(e);if(o>0&&t===o)return n}return n}{const e=[];for(const t of this._data.values())for(const i of t)if(u._accept(i,r)){const t=e.push(i);if(o>0&&t===o)return e}return e}}static _accept(e,t){return void 0===t||(t&e.severity)===e.severity}static _merge(e){const t=new s.fT;for(const i of e)for(const e of i)t.set(e,!0);return Array.from(t.keys())}}},30276:(e,t,i)=>{"use strict";i.d(t,{DR:()=>c,cj:()=>r,oc:()=>o});var r,o,n=i(24414),s=i(84978),a=i(3660);!function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(r||(r={})),function(e){e.compare=function(e,t){return t-e};const t=Object.create(null);t[e.Error]=(0,s.kg)("sev.error","Error"),t[e.Warning]=(0,s.kg)("sev.warning","Warning"),t[e.Info]=(0,s.kg)("sev.info","Info"),e.toString=function(e){return t[e]||""},e.fromSeverity=function(t){switch(t){case n.A.Error:return e.Error;case n.A.Warning:return e.Warning;case n.A.Info:return e.Info;case n.A.Ignore:return e.Hint}},e.toSeverity=function(t){switch(t){case e.Error:return n.A.Error;case e.Warning:return n.A.Warning;case e.Info:return n.A.Info;case e.Hint:return n.A.Ignore}}}(r||(r={})),function(e){const t="";function i(e,i){const o=[t];return e.source?o.push(e.source.replace("\xa6","\\\xa6")):o.push(t),e.code?"string"===typeof e.code?o.push(e.code.replace("\xa6","\\\xa6")):o.push(e.code.value.replace("\xa6","\\\xa6")):o.push(t),void 0!==e.severity&&null!==e.severity?o.push(r.toString(e.severity)):o.push(t),e.message&&i?o.push(e.message.replace("\xa6","\\\xa6")):o.push(t),void 0!==e.startLineNumber&&null!==e.startLineNumber?o.push(e.startLineNumber.toString()):o.push(t),void 0!==e.startColumn&&null!==e.startColumn?o.push(e.startColumn.toString()):o.push(t),void 0!==e.endLineNumber&&null!==e.endLineNumber?o.push(e.endLineNumber.toString()):o.push(t),void 0!==e.endColumn&&null!==e.endColumn?o.push(e.endColumn.toString()):o.push(t),o.push(t),o.join("\xa6")}e.makeKey=function(e){return i(e,!0)},e.makeKeyOptionalMessage=i}(o||(o={}));const c=(0,a.u1)("markerService")},24096:(e,t,i)=>{"use strict";i.d(t,{AI:()=>n,Kz:()=>a,Ot:()=>s});var r=i(24414),o=i(3660),n=r.A;const s=(0,o.u1)("notificationService");class a{}},10096:(e,t,i)=>{"use strict";i.d(t,{N:()=>f});var r=i(69848),o=i(84980),n=i(44691),s=i(69247),a=i(16201),c=i(33793),l=i(49172),d=i(64709),h=i(87357),u=function(e,t,i,r){var o,n=arguments.length,s=n<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(n<3?o(s):n>3?o(t,i,s):o(t,i))||s);return n>3&&s&&Object.defineProperty(t,i,s),s},g=function(e,t){return function(i,r){t(i,r,e)}};let f=class extends c.jG{constructor(e,t,i={},c){var l;super(),this._link=t,this._enabled=!0,this.el=(0,r.BC)(e,(0,r.$)("a.monaco-link",{tabIndex:null!==(l=t.tabIndex)&&void 0!==l?l:0,href:t.href,title:t.title},t.label)),this.el.setAttribute("role","button");const d=this._register(new o.f(this.el,"click")),h=this._register(new o.f(this.el,"keypress")),u=a.Jh.chain(h.event).map((e=>new n.Z(e))).filter((e=>3===e.keyCode)).event,g=this._register(new o.f(this.el,s.B.Tap)).event;this._register(s.q.addTarget(this.el));const f=a.Jh.any(d.event,u,g);this._register(f((e=>{this.enabled&&(r.fs.stop(e,!0),(null===i||void 0===i?void 0:i.opener)?i.opener(this._link.href):c.open(this._link.href,{allowCommands:!0}))}))),this.enabled=!0}get enabled(){return this._enabled}set enabled(e){e?(this.el.setAttribute("aria-disabled","false"),this.el.tabIndex=0,this.el.style.pointerEvents="auto",this.el.style.opacity="1",this.el.style.cursor="pointer",this._enabled=!1):(this.el.setAttribute("aria-disabled","true"),this.el.tabIndex=-1,this.el.style.pointerEvents="none",this.el.style.opacity="0.4",this.el.style.cursor="default",this._enabled=!0),this._enabled=e}};f=u([g(3,l.Cr)],f),(0,h.zy)(((e,t)=>{const i=e.getColor(d.vwp);i&&t.addRule(`.monaco-link { color: ${i}; }`);const r=e.getColor(d.FEE);r&&t.addRule(`.monaco-link:hover { color: ${r}; }`)}))},49172:(e,t,i)=>{"use strict";i.d(t,{Cr:()=>c,ew:()=>u,fV:()=>h,m5:()=>l,v$:()=>d});var r=i(33793),o=i(22231),n=i(34235),s=i(3660),a=function(e,t,i,r){return new(i||(i=Promise))((function(o,n){function s(e){try{c(r.next(e))}catch(t){n(t)}}function a(e){try{c(r.throw(e))}catch(t){n(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(s,a)}c((r=r.apply(e,t||[])).next())}))};const c=(0,s.u1)("openerService"),l=Object.freeze({_serviceBrand:void 0,registerOpener:()=>r.jG.None,registerValidator:()=>r.jG.None,registerExternalUriResolver:()=>r.jG.None,setDefaultExternalOpener(){},registerExternalOpener:()=>r.jG.None,open(){return a(this,void 0,void 0,(function*(){return!1}))},resolveExternalUri(e){return a(this,void 0,void 0,(function*(){return{resolved:e,dispose(){}}}))}});function d(e,t){return n.r.isUri(e)?(0,o.Q_)(e.scheme,t):(0,o.ns)(e,t+":")}function h(e,...t){return t.some((t=>d(e,t)))}function u(e){let t;const i=/^L?(\d+)(?:,(\d+))?(-L?(\d+)(?:,(\d+))?)?/.exec(e.fragment);return i&&(t={startLineNumber:parseInt(i[1]),startColumn:i[2]?parseInt(i[2]):1,endLineNumber:i[4]?parseInt(i[4]):void 0,endColumn:i[4]?i[5]?parseInt(i[5]):1:void 0},e=e.with({fragment:""})),{selection:t,uri:e}}},86480:(e,t,i)=>{"use strict";i.d(t,{G5:()=>o,N8:()=>s,ke:()=>n});var r=i(3660);const o=(0,r.u1)("progressService");Object.freeze({total(){},worked(){},done(){}});class n{constructor(e){this.callback=e}report(e){this._value=e,this.callback(this._value)}}n.None=Object.freeze({report(){}});const s=(0,r.u1)("editorProgressService")},33023:(e,t,i)=>{"use strict";i.d(t,{l:()=>L});var r,o=i(23307),n=i(79734),s=i(74790),a=i(33793),c=i(19459),l=i(24414),d=i(86448),h=i(84978),u=i(93308),g=i(17030),f=i(3780),p=i(3660),k=i(3960),m=i(85345),v=i(99826),b=function(e,t,i,r){return new(i||(i=Promise))((function(o,n){function s(e){try{c(r.next(e))}catch(t){n(t)}}function a(e){try{c(r.throw(e))}catch(t){n(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(s,a)}c((r=r.apply(e,t||[])).next())}))};function y(e){const t=e;return Array.isArray(t.items)}!function(e){e[e.NO_ACTION=0]="NO_ACTION",e[e.CLOSE_PICKER=1]="CLOSE_PICKER",e[e.REFRESH_PICKER=2]="REFRESH_PICKER",e[e.REMOVE_ITEM=3]="REMOVE_ITEM"}(r||(r={}));class _ extends a.jG{constructor(e,t){super(),this.prefix=e,this.options=t}provide(e,t){var i;const o=new a.Cm;let n;e.canAcceptInBackground=!!(null===(i=this.options)||void 0===i?void 0:i.canAcceptInBackground),e.matchOnLabel=e.matchOnDescription=e.matchOnDetail=e.sortByLabel=!1;const s=o.add(new a.HE),c=()=>b(this,void 0,void 0,(function*(){const i=s.value=new a.Cm;null===n||void 0===n||n.dispose(!0),e.busy=!1,n=new v.Q(t);const r=n.token,o=e.value.substr(this.prefix.length).trim(),c=this._getPicks(o,i,r),l=(t,i)=>{var r;let n,s;if(y(t)?(n=t.items,s=t.active):n=t,0===n.length){if(i)return!1;o.length>0&&(null===(r=this.options)||void 0===r?void 0:r.noResultsPick)&&(n=[this.options.noResultsPick])}return e.items=n,s&&(e.activeItems=[s]),!0};if(null===c);else if(function(e){const t=e;return!!t.picks&&t.additionalPicks instanceof Promise}(c)){let t=!1,i=!1;yield Promise.all([(()=>b(this,void 0,void 0,(function*(){yield(0,m.wR)(_.FAST_PICKS_RACE_DELAY),r.isCancellationRequested||i||(t=l(c.picks,!0))})))(),(()=>b(this,void 0,void 0,(function*(){e.busy=!0;try{const i=yield c.additionalPicks;if(r.isCancellationRequested)return;let o,n,s,a;if(y(c.picks)?(o=c.picks.items,n=c.picks.active):o=c.picks,y(i)?(s=i.items,a=i.active):s=i,s.length>0||!t){let t;if(!n&&!a){const i=e.activeItems[0];i&&-1!==o.indexOf(i)&&(t=i)}l({items:[...o,...s],active:n||a||t})}}finally{r.isCancellationRequested||(e.busy=!1),i=!0}})))()])}else if(c instanceof Promise){e.busy=!0;try{const e=yield c;if(r.isCancellationRequested)return;l(e)}finally{r.isCancellationRequested||(e.busy=!1)}}else l(c)}));return o.add(e.onDidChangeValue((()=>c()))),c(),o.add(e.onDidAccept((t=>{const[i]=e.selectedItems;"function"===typeof(null===i||void 0===i?void 0:i.accept)&&(t.inBackground||e.hide(),i.accept(e.keyMods,t))}))),o.add(e.onDidTriggerItemButton((({button:i,item:o})=>b(this,void 0,void 0,(function*(){var n,s;if("function"===typeof o.trigger){const a=null!==(s=null===(n=o.buttons)||void 0===n?void 0:n.indexOf(i))&&void 0!==s?s:-1;if(a>=0){const i=o.trigger(a,e.keyMods),n="number"===typeof i?i:yield i;if(t.isCancellationRequested)return;switch(n){case r.NO_ACTION:break;case r.CLOSE_PICKER:e.hide();break;case r.REFRESH_PICKER:c();break;case r.REMOVE_ITEM:{const t=e.items.indexOf(o);if(-1!==t){const i=e.items.slice(),r=i.splice(t,1),o=e.activeItems.filter((e=>e!==r[0])),n=e.keepScrollPosition;e.keepScrollPosition=!0,e.items=i,o&&(e.activeItems=o),e.keepScrollPosition=n}break}}}}}))))),o}}_.FAST_PICKS_RACE_DELAY=200;var S=i(51756),C=i(35152),w=function(e,t,i,r){var o,n=arguments.length,s=n<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(n<3?o(s):n>3?o(t,i,s):o(t,i))||s);return n>3&&s&&Object.defineProperty(t,i,s),s},D=function(e,t){return function(i,r){t(i,r,e)}},F=function(e,t,i,r){return new(i||(i=Promise))((function(o,n){function s(e){try{c(r.next(e))}catch(t){n(t)}}function a(e){try{c(r.throw(e))}catch(t){n(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(s,a)}c((r=r.apply(e,t||[])).next())}))};let L=class e extends _{constructor(t,i,r,o,n,s){super(e.PREFIX,t),this.instantiationService=i,this.keybindingService=r,this.commandService=o,this.telemetryService=n,this.dialogService=s,this.commandsHistory=this._register(this.instantiationService.createInstance(I)),this.options=t}_getPicks(t,i,r){return F(this,void 0,void 0,(function*(){const s=yield this.getCommandPicks(i,r);if(r.isCancellationRequested)return[];const a=[];for(const i of s){const r=(0,d.UH)(e.WORD_FILTER(t,i.label)),o=i.commandAlias?(0,d.UH)(e.WORD_FILTER(t,i.commandAlias)):void 0;r||o?(i.highlights={label:r,detail:this.options.showAlias?o:void 0},a.push(i)):t===i.commandId&&a.push(i)}const c=new Map;for(const e of a){const t=c.get(e.label);t?(e.description=e.commandId,t.description=t.commandId):c.set(e.label,e)}a.sort(((e,t)=>{const i=this.commandsHistory.peek(e.commandId),r=this.commandsHistory.peek(t.commandId);return i&&r?i>r?-1:1:i?-1:r?1:e.label.localeCompare(t.label)}));const u=[];let g=!1;for(let e=0;e<a.length;e++){const t=a[e],i=this.keybindingService.lookupKeybinding(t.commandId),r=i?(0,h.kg)("commandPickAriaLabelWithKeybinding","{0}, {1}",t.label,i.getAriaLabel()):t.label;0===e&&this.commandsHistory.peek(t.commandId)&&(u.push({type:"separator",label:(0,h.kg)("recentlyUsed","recently used")}),g=!0),0!==e&&g&&!this.commandsHistory.peek(t.commandId)&&(u.push({type:"separator",label:(0,h.kg)("morecCommands","other commands")}),g=!1),u.push(Object.assign(Object.assign({},t),{ariaLabel:r,detail:this.options.showAlias&&t.commandAlias!==t.label?t.commandAlias:void 0,keybinding:i,accept:()=>F(this,void 0,void 0,(function*(){this.commandsHistory.push(t.commandId),this.telemetryService.publicLog2("workbenchActionExecuted",{id:t.commandId,from:"quick open"});try{yield this.commandService.executeCommand(t.commandId)}catch(e){(0,n.MB)(e)||this.dialogService.show(l.A.Error,(0,h.kg)("canNotRun","Command '{0}' resulted in an error ({1})",t.label,(0,o.r)(e)))}}))}))}return u}))}};L.PREFIX=">",L.WORD_FILTER=(0,s.or)(s.WP,s.J1,s.Tt),L=w([D(1,p._Y),D(2,k.b),D(3,u.wT),D(4,C.k),D(5,f.X)],L);let I=class e extends a.jG{constructor(e,t){super(),this.storageService=e,this.configurationService=t,this.configuredCommandsHistoryLength=0,this.updateConfiguration(),this.load(),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration((()=>this.updateConfiguration())))}updateConfiguration(){this.configuredCommandsHistoryLength=e.getConfiguredCommandHistoryLength(this.configurationService),e.cache&&e.cache.limit!==this.configuredCommandsHistoryLength&&(e.cache.limit=this.configuredCommandsHistoryLength,e.saveState(this.storageService))}load(){const t=this.storageService.get(e.PREF_KEY_CACHE,0);let i;if(t)try{i=JSON.parse(t)}catch(o){}const r=e.cache=new c.qK(this.configuredCommandsHistoryLength,1);if(i){let e;e=i.usesLRU?i.entries:i.entries.sort(((e,t)=>e.value-t.value)),e.forEach((e=>r.set(e.key,e.value)))}e.counter=this.storageService.getNumber(e.PREF_KEY_COUNTER,0,e.counter)}push(t){e.cache&&(e.cache.set(t,e.counter++),e.saveState(this.storageService))}peek(t){var i;return null===(i=e.cache)||void 0===i?void 0:i.peek(t)}static saveState(t){if(!e.cache)return;const i={usesLRU:!0,entries:[]};e.cache.forEach(((e,t)=>i.entries.push({key:t,value:e}))),t.store(e.PREF_KEY_CACHE,JSON.stringify(i),0,0),t.store(e.PREF_KEY_COUNTER,e.counter,0,0)}static getConfiguredCommandHistoryLength(t){var i,r;const o=null===(r=null===(i=t.getValue().workbench)||void 0===i?void 0:i.commandPalette)||void 0===r?void 0:r.history;return"number"===typeof o?o:e.DEFAULT_COMMANDS_HISTORY_LENGTH}};I.DEFAULT_COMMANDS_HISTORY_LENGTH=50,I.PREF_KEY_CACHE="commandPalette.mru.cache",I.PREF_KEY_COUNTER="commandPalette.mru.counter",I.counter=1,I=w([D(0,S.CS),D(1,g.pG)],I)},26420:(e,t,i)=>{"use strict";i.d(t,{y:()=>h});var r=i(84978),o=i(97980),n=i(33793),s=i(3960),a=i(972),c=i(956),l=function(e,t,i,r){var o,n=arguments.length,s=n<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(n<3?o(s):n>3?o(t,i,s):o(t,i))||s);return n>3&&s&&Object.defineProperty(t,i,s),s},d=function(e,t){return function(i,r){t(i,r,e)}};let h=class e{constructor(e,t){this.quickInputService=e,this.keybindingService=t,this.registry=o.O.as(a.Fd.Quickaccess)}provide(t){const i=new n.Cm;return i.add(t.onDidAccept((()=>{const[e]=t.selectedItems;e&&this.quickInputService.quickAccess.show(e.prefix,{preserveValue:!0})}))),i.add(t.onDidChangeValue((t=>{const i=this.registry.getQuickAccessProvider(t.substr(e.PREFIX.length));i&&i.prefix&&i.prefix!==e.PREFIX&&this.quickInputService.quickAccess.show(i.prefix,{preserveValue:!0})}))),t.items=this.getQuickAccessProviders(),i}getQuickAccessProviders(){const t=[];for(const i of this.registry.getQuickAccessProviders().sort(((e,t)=>e.prefix.localeCompare(t.prefix))))if(i.prefix!==e.PREFIX)for(const e of i.helpEntries){const o=e.prefix||i.prefix,n=o||"\u2026";t.push({prefix:o,label:n,keybinding:e.commandId?this.keybindingService.lookupKeybinding(e.commandId):void 0,ariaLabel:(0,r.kg)("helpPickAriaLabel","{0}, {1}",n,e.description),description:e.description})}return t}};h.PREFIX="?",h=l([d(0,c.GK),d(1,s.b)],h)},4082:(e,t,i)=>{"use strict";i.d(t,{V:()=>w});var r=i(99826),o=i(81374),n=i(84142),s=i(75664),a=i(3660),c=i(81714),l=i(40126),d=i(85345),h=i(72664),u=i(33793),g=i(972),f=i(956),p=i(97980),k=function(e,t,i,r){var o,n=arguments.length,s=n<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(n<3?o(s):n>3?o(t,i,s):o(t,i))||s);return n>3&&s&&Object.defineProperty(t,i,s),s},m=function(e,t){return function(i,r){t(i,r,e)}};let v=class extends u.jG{constructor(e,t){super(),this.quickInputService=e,this.instantiationService=t,this.registry=p.O.as(g.Fd.Quickaccess),this.mapProviderToDescriptor=new Map,this.lastAcceptedPickerValues=new Map,this.visibleQuickAccess=void 0}show(e="",t){this.doShowOrPick(e,!1,t)}doShowOrPick(e,t,i){var o;const[n,s]=this.getOrInstantiateProvider(e),a=this.visibleQuickAccess,c=null===a||void 0===a?void 0:a.descriptor;if(a&&s&&c===s)return e===s.prefix||(null===i||void 0===i?void 0:i.preserveValue)||(a.picker.value=e),void this.adjustValueSelection(a.picker,s,i);if(s&&!(null===i||void 0===i?void 0:i.preserveValue)){let t;if(a&&c&&c!==s){const e=a.value.substr(c.prefix.length);e&&(t=`${s.prefix}${e}`)}if(!t){const e=null===n||void 0===n?void 0:n.defaultFilterValue;e===g.aJ.LAST?t=this.lastAcceptedPickerValues.get(s):"string"===typeof e&&(t=`${s.prefix}${e}`)}"string"===typeof t&&(e=t)}const l=new u.Cm,p=l.add(this.quickInputService.createQuickPick());let k;p.value=e,this.adjustValueSelection(p,s,i),p.placeholder=null===s||void 0===s?void 0:s.placeholder,p.quickNavigate=null===i||void 0===i?void 0:i.quickNavigateConfiguration,p.hideInput=!!p.quickNavigate&&!a,("number"===typeof(null===i||void 0===i?void 0:i.itemActivation)||(null===i||void 0===i?void 0:i.quickNavigateConfiguration))&&(p.itemActivation=null!==(o=null===i||void 0===i?void 0:i.itemActivation)&&void 0!==o?o:f.C1.SECOND),p.contextKey=null===s||void 0===s?void 0:s.contextKey,p.filterValue=e=>e.substring(s?s.prefix.length:0),(null===s||void 0===s?void 0:s.placeholder)&&(p.ariaLabel=null===s||void 0===s?void 0:s.placeholder),t&&(k=new d.Zv,l.add((0,h.O)(p.onWillAccept)((e=>{e.veto(),p.hide()})))),l.add(this.registerPickerListeners(p,n,s,e));const m=l.add(new r.Q);return n&&l.add(n.provide(p,m.token)),(0,h.O)(p.onDidHide)((()=>{0===p.selectedItems.length&&m.cancel(),l.dispose(),null===k||void 0===k||k.complete(p.selectedItems.slice(0))})),p.show(),t?null===k||void 0===k?void 0:k.p:void 0}adjustValueSelection(e,t,i){var r;let o;o=(null===i||void 0===i?void 0:i.preserveValue)?[e.value.length,e.value.length]:[null!==(r=null===t||void 0===t?void 0:t.prefix.length)&&void 0!==r?r:0,e.value.length],e.valueSelection=o}registerPickerListeners(e,t,i,r){const o=new u.Cm,n=this.visibleQuickAccess={picker:e,descriptor:i,value:r};return o.add((0,u.s)((()=>{n===this.visibleQuickAccess&&(this.visibleQuickAccess=void 0)}))),o.add(e.onDidChangeValue((e=>{const[i]=this.getOrInstantiateProvider(e);i!==t?this.show(e,{preserveValue:!0}):n.value=e}))),i&&o.add(e.onDidAccept((()=>{this.lastAcceptedPickerValues.set(i,e.value)}))),o}getOrInstantiateProvider(e){const t=this.registry.getQuickAccessProvider(e);if(!t)return[void 0,void 0];let i=this.mapProviderToDescriptor.get(t);return i||(i=this.instantiationService.createInstance(t.ctor),this.mapProviderToDescriptor.set(t,i)),[i,t]}};v=k([m(0,f.GK),m(1,a._Y)],v);var b=i(64709),y=i(52040),_=i(87357),S=function(e,t,i,r){var o,n=arguments.length,s=n<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(n<3?o(s):n>3?o(t,i,s):o(t,i))||s);return n>3&&s&&Object.defineProperty(t,i,s),s},C=function(e,t){return function(i,r){t(i,r,e)}};let w=class extends _.lR{constructor(e,t,i,r,o){super(i),this.instantiationService=e,this.contextKeyService=t,this.accessibilityService=r,this.layoutService=o,this.contexts=new Map}get controller(){return this._controller||(this._controller=this._register(this.createController())),this._controller}get quickAccess(){return this._quickAccess||(this._quickAccess=this._register(this.instantiationService.createInstance(v))),this._quickAccess}createController(e=this.layoutService,t){const i={idPrefix:"quickInput_",container:e.container,ignoreFocusOut:()=>!1,isScreenReaderOptimized:()=>this.accessibilityService.isScreenReaderOptimized(),backKeybindingLabel:()=>{},setContextKey:e=>this.setContextKey(e),returnFocus:()=>e.focus(),createList:(e,t,i,r,o)=>this.instantiationService.createInstance(l.Ei,e,t,i,r,o),styles:this.computeStyles()},r=this._register(new o.W(Object.assign(Object.assign({},i),t)));return r.layout(e.dimension,e.offset.quickPickTop),this._register(e.onDidLayout((t=>r.layout(t,e.offset.quickPickTop)))),this._register(r.onShow((()=>this.resetContextKeys()))),this._register(r.onHide((()=>this.resetContextKeys()))),r}setContextKey(e){let t;e&&(t=this.contexts.get(e),t||(t=new s.N1(e,!1).bindTo(this.contextKeyService),this.contexts.set(e,t))),t&&t.get()||(this.resetContextKeys(),null===t||void 0===t||t.set(!0))}resetContextKeys(){this.contexts.forEach((e=>{e.get()&&e.reset()}))}pick(e,t={},i=r.X.None){return this.controller.pick(e,t,i)}createQuickPick(){return this.controller.createQuickPick()}updateStyles(){this.controller.applyStyles(this.computeStyles())}computeStyles(){return{widget:Object.assign({},(0,y.KC)(this.theme,{quickInputBackground:b.ELA,quickInputForeground:b.HJZ,quickInputTitleBackground:b.er1,contrastBorder:b.b1q,widgetShadow:b.f9l})),inputBox:(0,y.KC)(this.theme,{inputForeground:b.cws,inputBackground:b.L4c,inputBorder:b.Zgs,inputValidationInfoBackground:b.I$A,inputValidationInfoForeground:b.L9Z,inputValidationInfoBorder:b.YSW,inputValidationWarningBackground:b.ULt,inputValidationWarningForeground:b.T5N,inputValidationWarningBorder:b.C1n,inputValidationErrorBackground:b._$n,inputValidationErrorForeground:b.h9z,inputValidationErrorBorder:b.eYZ}),countBadge:(0,y.KC)(this.theme,{badgeBackground:b.WMx,badgeForeground:b.zRE,badgeBorder:b.b1q}),button:(0,y.KC)(this.theme,{buttonForeground:b.G_h,buttonBackground:b.XJc,buttonHoverBackground:b.T9h,buttonBorder:b.b1q}),progressBar:(0,y.KC)(this.theme,{progressBarBackground:b.BTi}),keybindingLabel:(0,y.KC)(this.theme,{keybindingLabelBackground:b.HDX,keybindingLabelForeground:b.eUu,keybindingLabelBorder:b.zUX,keybindingLabelBottomBorder:b.Qfh,keybindingLabelShadow:b.f9l}),list:(0,y.KC)(this.theme,{listBackground:b.ELA,listInactiveFocusForeground:b.nH,listInactiveSelectionIconForeground:b.c7i,listInactiveFocusBackground:b.AlL,listFocusOutline:b.buw,listInactiveFocusOutline:b.buw,pickerGroupBorder:b.iwL,pickerGroupForeground:b.NBf})}}};w=S([C(0,a._Y),C(1,s.fN),C(2,_.Gy),C(3,n.j),C(4,c.x)],w)},972:(e,t,i)=>{"use strict";i.d(t,{Fd:()=>a,aJ:()=>r});var r,o=i(8415),n=i(33793),s=i(97980);!function(e){e[e.PRESERVE=0]="PRESERVE",e[e.LAST=1]="LAST"}(r||(r={}));const a={Quickaccess:"workbench.contributions.quickaccess"};s.O.add(a.Quickaccess,new class{constructor(){this.providers=[],this.defaultProvider=void 0}registerQuickAccessProvider(e){return 0===e.prefix.length?this.defaultProvider=e:this.providers.push(e),this.providers.sort(((e,t)=>t.prefix.length-e.prefix.length)),(0,n.s)((()=>{this.providers.splice(this.providers.indexOf(e),1),this.defaultProvider===e&&(this.defaultProvider=void 0)}))}getQuickAccessProviders(){return(0,o.Yc)([this.defaultProvider,...this.providers])}getQuickAccessProvider(e){return e&&this.providers.find((t=>e.startsWith(t.prefix)))||void 0||this.defaultProvider}})},956:(e,t,i)=>{"use strict";i.d(t,{C1:()=>o.C1,GK:()=>n});var r=i(3660),o=i(11145);const n=(0,r.u1)("quickInputService")},97980:(e,t,i)=>{"use strict";i.d(t,{O:()=>n});var r=i(92759),o=i(86448);const n=new class{constructor(){this.data=new Map}add(e,t){r.ok(o.Kg(e)),r.ok(o.Gv(t)),r.ok(!this.data.has(e),"There is already an extension with this id"),this.data.set(e,t)}as(e){return this.data.get(e)||null}}},87936:(e,t,i)=>{"use strict";i.d(t,{z:()=>r});var r,o=i(15441),n=i(24414),s=i(64709),a=i(87357);!function(e){e.className=function(e){switch(e){case n.A.Ignore:return"severity-ignore "+o.W6.info.classNames;case n.A.Info:return o.W6.info.classNames;case n.A.Warning:return o.W6.warning.classNames;case n.A.Error:return o.W6.error.classNames;default:return""}}}(r||(r={})),(0,a.zy)(((e,t)=>{const i=e.getColor(s.tYX);if(i){const e=o.W6.error.cssSelector;t.addRule(`\n\t\t\t.monaco-editor .zone-widget ${e},\n\t\t\t.markers-panel .marker-icon${e},\n\t\t\t.text-search-provider-messages .providerMessage ${e},\n\t\t\t.extensions-viewlet > .extensions ${e} {\n\t\t\t\tcolor: ${i};\n\t\t\t}\n\t\t`)}const r=e.getColor(s.JPj);if(r){const e=o.W6.warning.cssSelector;t.addRule(`\n\t\t\t.monaco-editor .zone-widget ${e},\n\t\t\t.markers-panel .marker-icon${e},\n\t\t\t.extensions-viewlet > .extensions ${e},\n\t\t\t.extension-editor ${e},\n\t\t\t.text-search-provider-messages .providerMessage ${e},\n\t\t\t.preferences-editor ${e} {\n\t\t\t\tcolor: ${r};\n\t\t\t}\n\t\t`)}const n=e.getColor(s.bNw);if(n){const e=o.W6.info.cssSelector;t.addRule(`\n\t\t\t.monaco-editor .zone-widget ${e},\n\t\t\t.markers-panel .marker-icon${e},\n\t\t\t.extensions-viewlet > .extensions ${e},\n\t\t\t.text-search-provider-messages .providerMessage ${e},\n\t\t\t.extension-editor ${e} {\n\t\t\t\tcolor: ${n};\n\t\t\t}\n\t\t`)}}))},51756:(e,t,i)=>{"use strict";i.d(t,{CS:()=>l,LP:()=>d,pc:()=>u});var r=i(16201),o=i(33793),n=i(86448),s=i(98937),a=i(3660);const c="__$__targetStorageMarker",l=(0,a.u1)("storageService");var d;!function(e){e[e.NONE=0]="NONE",e[e.SHUTDOWN=1]="SHUTDOWN"}(d||(d={}));class h extends o.jG{constructor(e={flushInterval:h.DEFAULT_FLUSH_INTERVAL}){super(),this.options=e,this._onDidChangeValue=this._register(new r.fV),this.onDidChangeValue=this._onDidChangeValue.event,this._onDidChangeTarget=this._register(new r.fV),this._onWillSaveState=this._register(new r.vl),this.onWillSaveState=this._onWillSaveState.event,this._workspaceKeyTargets=void 0,this._profileKeyTargets=void 0,this._applicationKeyTargets=void 0}emitDidChangeValue(e,t){if(t===c){switch(e){case-1:this._applicationKeyTargets=void 0;break;case 0:this._profileKeyTargets=void 0;break;case 1:this._workspaceKeyTargets=void 0}this._onDidChangeTarget.fire({scope:e})}else this._onDidChangeValue.fire({scope:e,key:t,target:this.getKeyTargets(e)[t]})}get(e,t,i){var r;return null===(r=this.getStorage(t))||void 0===r?void 0:r.get(e,i)}getBoolean(e,t,i){var r;return null===(r=this.getStorage(t))||void 0===r?void 0:r.getBoolean(e,i)}getNumber(e,t,i){var r;return null===(r=this.getStorage(t))||void 0===r?void 0:r.getNumber(e,i)}store(e,t,i,r){(0,n.z)(t)?this.remove(e,i):this.withPausedEmitters((()=>{var o;this.updateKeyTarget(e,i,r),null===(o=this.getStorage(i))||void 0===o||o.set(e,t)}))}remove(e,t){this.withPausedEmitters((()=>{var i;this.updateKeyTarget(e,t,void 0),null===(i=this.getStorage(t))||void 0===i||i.delete(e)}))}withPausedEmitters(e){this._onDidChangeValue.pause(),this._onDidChangeTarget.pause();try{e()}finally{this._onDidChangeValue.resume(),this._onDidChangeTarget.resume()}}updateKeyTarget(e,t,i){var r,o;const n=this.getKeyTargets(t);"number"===typeof i?n[e]!==i&&(n[e]=i,null===(r=this.getStorage(t))||void 0===r||r.set(c,JSON.stringify(n))):"number"===typeof n[e]&&(delete n[e],null===(o=this.getStorage(t))||void 0===o||o.set(c,JSON.stringify(n)))}get workspaceKeyTargets(){return this._workspaceKeyTargets||(this._workspaceKeyTargets=this.loadKeyTargets(1)),this._workspaceKeyTargets}get profileKeyTargets(){return this._profileKeyTargets||(this._profileKeyTargets=this.loadKeyTargets(0)),this._profileKeyTargets}get applicationKeyTargets(){return this._applicationKeyTargets||(this._applicationKeyTargets=this.loadKeyTargets(-1)),this._applicationKeyTargets}getKeyTargets(e){switch(e){case-1:return this.applicationKeyTargets;case 0:return this.profileKeyTargets;default:return this.workspaceKeyTargets}}loadKeyTargets(e){const t=this.get(c,e);if(t)try{return JSON.parse(t)}catch(i){}return Object.create(null)}}h.DEFAULT_FLUSH_INTERVAL=6e4;class u extends h{constructor(){super(),this.applicationStorage=this._register(new s.wc(new s.f8)),this.profileStorage=this._register(new s.wc(new s.f8)),this.workspaceStorage=this._register(new s.wc(new s.f8)),this._register(this.workspaceStorage.onDidChangeStorage((e=>this.emitDidChangeValue(1,e)))),this._register(this.profileStorage.onDidChangeStorage((e=>this.emitDidChangeValue(0,e)))),this._register(this.applicationStorage.onDidChangeStorage((e=>this.emitDidChangeValue(-1,e))))}getStorage(e){switch(e){case-1:return this.applicationStorage;case 0:return this.profileStorage;default:return this.workspaceStorage}}}},35152:(e,t,i)=>{"use strict";i.d(t,{k:()=>r});const r=(0,i(3660).u1)("telemetryService")},28962:(e,t,i)=>{"use strict";i.d(t,{r:()=>a,s:()=>c});var r=i(69848),o=i(16201),n=i(13587),s=i(87357);function a(e){const t=new o.vl,i=(0,n.HT)();return i.onDidChange((()=>t.fire())),null===e||void 0===e||e.onDidProductIconThemeChange((()=>t.fire())),{onDidChange:t.event,getCSS(){const t=e?e.getProductIconTheme():new c,o={},n=e=>{const i=t.getIcon(e);if(!i)return;const n=i.font;return n?(o[n.id]=n.definition,`.codicon-${e.id}:before { content: '${i.fontCharacter}'; font-family: ${(0,r.yt)(n.id)}; }`):`.codicon-${e.id}:before { content: '${i.fontCharacter}'; }`},s=[];for(const e of i.getIcons()){const t=n(e);t&&s.push(t)}for(const e in o){const t=o[e],i=t.weight?`font-weight: ${t.weight};`:"",n=t.style?`font-style: ${t.style};`:"",a=t.src.map((e=>`${(0,r.Tf)(e.location)} format('${e.format}')`)).join(", ");s.push(`@font-face { src: ${a}; font-family: ${(0,r.yt)(e)};${i}${n} font-display: block; }`)}return s.join("\n")}}}class c{getIcon(e){const t=(0,n.HT)();let i=e.defaults;for(;s.L0.isThemeIcon(i);){const e=t.getIcon(i.id);if(!e)return;i=e.defaults}return i}}},64709:(e,t,i)=>{"use strict";i.d(t,{$$0:()=>E,$BZ:()=>nt,$Qy:()=>rt,AN$:()=>te,AjU:()=>ni,AlL:()=>Nt,B2L:()=>Ge,BTi:()=>X,Bbc:()=>d,By2:()=>he,C1n:()=>R,C9U:()=>bt,CMg:()=>Ee,CQ3:()=>yt,CU6:()=>f,CgL:()=>ue,D7X:()=>Gt,ECk:()=>xe,ELA:()=>ke,EY1:()=>Ye,FEE:()=>_,FdG:()=>h,FiB:()=>ge,GNm:()=>Ze,GVV:()=>pt,G_h:()=>W,Gj6:()=>Xe,H8q:()=>At,HDX:()=>_e,HJZ:()=>me,HWC:()=>le,Hng:()=>re,HwT:()=>$e,I$A:()=>B,IIb:()=>ae,ILr:()=>di,JO0:()=>yi,JPj:()=>ki,JVY:()=>fi,K1Z:()=>hi,L4c:()=>w,L9Z:()=>O,MHP:()=>tt,NBf:()=>be,NXK:()=>it,ObF:()=>qt,P6i:()=>We,P9Z:()=>Tt,Q96:()=>Te,QI5:()=>Dt,QRv:()=>Ct,Qfh:()=>we,QwA:()=>Ie,Rbi:()=>ee,Rig:()=>gi,Rjz:()=>ft,S5J:()=>Re,S6W:()=>S,SNb:()=>Qt,Sj:()=>Z,Stt:()=>oe,Syz:()=>Be,T5N:()=>x,T9h:()=>$,U4U:()=>xt,ULt:()=>A,UPX:()=>p,US:()=>pe,Ubg:()=>Oe,Ux$:()=>Ut,VFX:()=>dt,WL6:()=>Ve,WMx:()=>Q,WfR:()=>Me,WmU:()=>lt,XJc:()=>V,Xo2:()=>je,Xp1:()=>si,YSW:()=>T,YZM:()=>st,YtV:()=>de,ZEf:()=>Je,Zgs:()=>F,Ztu:()=>He,_$n:()=>K,_NC:()=>Ae,_pU:()=>Ue,b1q:()=>v,bNw:()=>mi,bXl:()=>q,buw:()=>b,c1f:()=>I,c6Y:()=>Vt,c7i:()=>Pt,cI_:()=>Y,cws:()=>D,dd_:()=>Wt,eMz:()=>Ft,eUu:()=>Se,eYZ:()=>j,efJ:()=>ht,er1:()=>ve,f4y:()=>vt,f9l:()=>C,fAP:()=>ri,fED:()=>kt,fiM:()=>Ot,g$2:()=>Ht,gnV:()=>z,gtq:()=>gt,h9z:()=>M,i61:()=>ce,iAJ:()=>wt,ijf:()=>_t,iwL:()=>ye,k5u:()=>Rt,lO1:()=>St,ld8:()=>ot,mH6:()=>Ke,mhZ:()=>J,nH:()=>jt,n__:()=>Ci,oZ8:()=>Pe,p7Y:()=>ut,pOz:()=>se,pmr:()=>$t,pnl:()=>Bt,qTN:()=>ze,qaw:()=>at,rB3:()=>ui,rRi:()=>Ne,rm4:()=>Fe,sDQ:()=>ne,sIe:()=>fe,sbQ:()=>Kt,seu:()=>De,sjA:()=>Qe,t4B:()=>k,tAP:()=>m,tYX:()=>pi,tan:()=>Le,uMG:()=>li,uNK:()=>L,uNx:()=>mt,vwp:()=>y,w3C:()=>ct,w3w:()=>et,whs:()=>ie,x1A:()=>g,yHf:()=>qe,yLC:()=>ci,yLr:()=>_i,yr0:()=>ai,z5H:()=>oi,zRE:()=>G,zUX:()=>Ce});var r=i(85345),o=i(59638),n=i(16201),s=i(86448),a=i(84978),c=i(60197),l=i(97980);function d(e){return`--vscode-${e.replace(/\./g,"-")}`}const h={ColorContribution:"base.contributions.colors"};const u=new class{constructor(){this._onDidChangeSchema=new n.vl,this.onDidChangeSchema=this._onDidChangeSchema.event,this.colorSchema={type:"object",properties:{}},this.colorReferenceSchema={type:"string",enum:[],enumDescriptions:[]},this.colorsById={}}registerColor(e,t,i,r=!1,o){const n={id:e,description:i,defaults:t,needsTransparency:r,deprecationMessage:o};this.colorsById[e]=n;const s={type:"string",description:i,format:"color-hex",defaultSnippets:[{body:"${1:#ff0000}"}]};return o&&(s.deprecationMessage=o),this.colorSchema.properties[e]=s,this.colorReferenceSchema.enum.push(e),this.colorReferenceSchema.enumDescriptions.push(i),this._onDidChangeSchema.fire(),e}getColors(){return Object.keys(this.colorsById).map((e=>this.colorsById[e]))}resolveDefaultColor(e,t){const i=this.colorsById[e];if(i&&i.defaults){return Ci(i.defaults[t.type],t)}}getColorSchema(){return this.colorSchema}toString(){return Object.keys(this.colorsById).sort(((e,t)=>{const i=-1===e.indexOf(".")?0:1,r=-1===t.indexOf(".")?0:1;return i!==r?i-r:e.localeCompare(t)})).map((e=>`- \`${e}\`: ${this.colorsById[e].description}`)).join("\n")}};function g(e,t,i,r,o){return u.registerColor(e,(null===(n=t)||"undefined"===typeof n.hcLight&&(null===n.hcDark||"string"===typeof n.hcDark?n.hcLight=n.hcDark:n.hcLight=n.light),n),i,r,o);var n}l.O.add(h.ColorContribution,u);const f=g("foreground",{dark:"#CCCCCC",light:"#616161",hcDark:"#FFFFFF",hcLight:"#292929"},a.kg("foreground","Overall foreground color. This color is only used if not overridden by a component.")),p=(g("disabledForeground",{dark:"#CCCCCC80",light:"#61616180",hcDark:"#A5A5A5",hcLight:"#7F7F7F"},a.kg("disabledForeground","Overall foreground for disabled elements. This color is only used if not overridden by a component.")),g("errorForeground",{dark:"#F48771",light:"#A1260D",hcDark:"#F48771",hcLight:"#B5200D"},a.kg("errorForeground","Overall foreground color for error messages. This color is only used if not overridden by a component."))),k=(g("descriptionForeground",{light:"#717171",dark:yi(f,.7),hcDark:yi(f,.7),hcLight:yi(f,.7)},a.kg("descriptionForeground","Foreground color for description text providing additional information, for example for a label.")),g("icon.foreground",{dark:"#C5C5C5",light:"#424242",hcDark:"#FFFFFF",hcLight:"#292929"},a.kg("iconForeground","The default color for icons in the workbench."))),m=g("focusBorder",{dark:"#007FD4",light:"#0090F1",hcDark:"#F38518",hcLight:"#0F4A85"},a.kg("focusBorder","Overall border color for focused elements. This color is only used if not overridden by a component.")),v=g("contrastBorder",{light:null,dark:null,hcDark:"#6FC3DF",hcLight:"#0F4A85"},a.kg("contrastBorder","An extra border around elements to separate them from others for greater contrast.")),b=g("contrastActiveBorder",{light:null,dark:null,hcDark:m,hcLight:m},a.kg("activeContrastBorder","An extra border around active elements to separate them from others for greater contrast.")),y=(g("selection.background",{light:null,dark:null,hcDark:null,hcLight:null},a.kg("selectionBackground","The background color of text selections in the workbench (e.g. for input fields or text areas). Note that this does not apply to selections within the editor.")),g("textSeparator.foreground",{light:"#0000002e",dark:"#ffffff2e",hcDark:o.Q1.black,hcLight:"#292929"},a.kg("textSeparatorForeground","Color for text separators.")),g("textLink.foreground",{light:"#006AB1",dark:"#3794FF",hcDark:"#3794FF",hcLight:"#0F4A85"},a.kg("textLinkForeground","Foreground color for links in text."))),_=g("textLink.activeForeground",{light:"#006AB1",dark:"#3794FF",hcDark:"#3794FF",hcLight:"#0F4A85"},a.kg("textLinkActiveForeground","Foreground color for links in text when clicked on and on mouse hover.")),S=(g("textPreformat.foreground",{light:"#A31515",dark:"#D7BA7D",hcDark:"#D7BA7D",hcLight:"#292929"},a.kg("textPreformatForeground","Foreground color for preformatted text segments.")),g("textBlockQuote.background",{light:"#7f7f7f1a",dark:"#7f7f7f1a",hcDark:null,hcLight:"#F2F2F2"},a.kg("textBlockQuoteBackground","Background color for block quotes in text.")),g("textBlockQuote.border",{light:"#007acc80",dark:"#007acc80",hcDark:o.Q1.white,hcLight:"#292929"},a.kg("textBlockQuoteBorder","Border color for block quotes in text.")),g("textCodeBlock.background",{light:"#dcdcdc66",dark:"#0a0a0a66",hcDark:o.Q1.black,hcLight:"#F2F2F2"},a.kg("textCodeBlockBackground","Background color for code blocks in text."))),C=g("widget.shadow",{dark:yi(o.Q1.black,.36),light:yi(o.Q1.black,.16),hcDark:null,hcLight:null},a.kg("widgetShadow","Shadow color of widgets such as find/replace inside the editor.")),w=g("input.background",{dark:"#3C3C3C",light:o.Q1.white,hcDark:o.Q1.black,hcLight:o.Q1.white},a.kg("inputBoxBackground","Input box background.")),D=g("input.foreground",{dark:f,light:f,hcDark:f,hcLight:f},a.kg("inputBoxForeground","Input box foreground.")),F=g("input.border",{dark:null,light:null,hcDark:v,hcLight:v},a.kg("inputBoxBorder","Input box border.")),L=g("inputOption.activeBorder",{dark:"#007ACC00",light:"#007ACC00",hcDark:v,hcLight:v},a.kg("inputBoxActiveOptionBorder","Border color of activated options in input fields.")),I=(g("inputOption.hoverBackground",{dark:"#5a5d5e80",light:"#b8b8b850",hcDark:null,hcLight:null},a.kg("inputOption.hoverBackground","Background color of activated options in input fields.")),g("inputOption.activeBackground",{dark:yi(m,.4),light:yi(m,.2),hcDark:o.Q1.transparent,hcLight:o.Q1.transparent},a.kg("inputOption.activeBackground","Background hover color of options in input fields."))),E=g("inputOption.activeForeground",{dark:o.Q1.white,light:o.Q1.black,hcDark:null,hcLight:f},a.kg("inputOption.activeForeground","Foreground color of activated options in input fields.")),B=(g("input.placeholderForeground",{light:yi(f,.5),dark:yi(f,.5),hcDark:yi(f,.7),hcLight:yi(f,.7)},a.kg("inputPlaceholderForeground","Input box foreground color for placeholder text.")),g("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hcDark:o.Q1.black,hcLight:o.Q1.white},a.kg("inputValidationInfoBackground","Input validation background color for information severity."))),O=g("inputValidation.infoForeground",{dark:null,light:null,hcDark:null,hcLight:f},a.kg("inputValidationInfoForeground","Input validation foreground color for information severity.")),T=g("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hcDark:v,hcLight:v},a.kg("inputValidationInfoBorder","Input validation border color for information severity.")),A=g("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hcDark:o.Q1.black,hcLight:o.Q1.white},a.kg("inputValidationWarningBackground","Input validation background color for warning severity.")),x=g("inputValidation.warningForeground",{dark:null,light:null,hcDark:null,hcLight:f},a.kg("inputValidationWarningForeground","Input validation foreground color for warning severity.")),R=g("inputValidation.warningBorder",{dark:"#B89500",light:"#B89500",hcDark:v,hcLight:v},a.kg("inputValidationWarningBorder","Input validation border color for warning severity.")),K=g("inputValidation.errorBackground",{dark:"#5A1D1D",light:"#F2DEDE",hcDark:o.Q1.black,hcLight:o.Q1.white},a.kg("inputValidationErrorBackground","Input validation background color for error severity.")),M=g("inputValidation.errorForeground",{dark:null,light:null,hcDark:null,hcLight:f},a.kg("inputValidationErrorForeground","Input validation foreground color for error severity.")),j=g("inputValidation.errorBorder",{dark:"#BE1100",light:"#BE1100",hcDark:v,hcLight:v},a.kg("inputValidationErrorBorder","Input validation border color for error severity.")),P=g("dropdown.background",{dark:"#3C3C3C",light:o.Q1.white,hcDark:o.Q1.black,hcLight:o.Q1.white},a.kg("dropdownBackground","Dropdown background.")),N=(g("dropdown.listBackground",{dark:null,light:null,hcDark:o.Q1.black,hcLight:o.Q1.white},a.kg("dropdownListBackground","Dropdown list background.")),g("dropdown.foreground",{dark:"#F0F0F0",light:null,hcDark:o.Q1.white,hcLight:f},a.kg("dropdownForeground","Dropdown foreground."))),H=g("dropdown.border",{dark:P,light:"#CECECE",hcDark:v,hcLight:v},a.kg("dropdownBorder","Dropdown border.")),W=(g("checkbox.background",{dark:P,light:P,hcDark:P,hcLight:P},a.kg("checkbox.background","Background color of checkbox widget.")),g("checkbox.foreground",{dark:N,light:N,hcDark:N,hcLight:N},a.kg("checkbox.foreground","Foreground color of checkbox widget.")),g("checkbox.border",{dark:H,light:H,hcDark:H,hcLight:H},a.kg("checkbox.border","Border color of checkbox widget.")),g("button.foreground",{dark:o.Q1.white,light:o.Q1.white,hcDark:o.Q1.white,hcLight:o.Q1.white},a.kg("buttonForeground","Button foreground color."))),V=(g("button.separator",{dark:yi(W,.4),light:yi(W,.4),hcDark:null,hcLight:yi(W,.4)},a.kg("buttonSeparator","Button separator color.")),g("button.background",{dark:"#0E639C",light:"#007ACC",hcDark:null,hcLight:"#0F4A85"},a.kg("buttonBackground","Button background color."))),$=g("button.hoverBackground",{dark:bi(V,.2),light:vi(V,.2),hcDark:null,hcLight:null},a.kg("buttonHoverBackground","Button background color when hovering.")),U=(g("button.border",{dark:v,light:v,hcDark:v,hcLight:v},a.kg("buttonBorder","Button border color.")),g("button.secondaryForeground",{dark:o.Q1.white,light:o.Q1.white,hcDark:o.Q1.white,hcLight:f},a.kg("buttonSecondaryForeground","Secondary button foreground color.")),g("button.secondaryBackground",{dark:"#3A3D41",light:"#5F6A79",hcDark:null,hcLight:o.Q1.white},a.kg("buttonSecondaryBackground","Secondary button background color."))),Q=(g("button.secondaryHoverBackground",{dark:bi(U,.2),light:vi(U,.2),hcDark:null,hcLight:null},a.kg("buttonSecondaryHoverBackground","Secondary button background color when hovering.")),g("badge.background",{dark:"#4D4D4D",light:"#C4C4C4",hcDark:o.Q1.black,hcLight:"#0F4A85"},a.kg("badgeBackground","Badge background color. Badges are small information labels, e.g. for search results count."))),G=g("badge.foreground",{dark:o.Q1.white,light:"#333",hcDark:o.Q1.white,hcLight:o.Q1.white},a.kg("badgeForeground","Badge foreground color. Badges are small information labels, e.g. for search results count.")),q=g("scrollbar.shadow",{dark:"#000000",light:"#DDDDDD",hcDark:null,hcLight:null},a.kg("scrollbarShadow","Scrollbar shadow to indicate that the view is scrolled.")),z=g("scrollbarSlider.background",{dark:o.Q1.fromHex("#797979").transparent(.4),light:o.Q1.fromHex("#646464").transparent(.4),hcDark:yi(v,.6),hcLight:yi(v,.4)},a.kg("scrollbarSliderBackground","Scrollbar slider background color.")),Y=g("scrollbarSlider.hoverBackground",{dark:o.Q1.fromHex("#646464").transparent(.7),light:o.Q1.fromHex("#646464").transparent(.7),hcDark:yi(v,.8),hcLight:yi(v,.8)},a.kg("scrollbarSliderHoverBackground","Scrollbar slider background color when hovering.")),J=g("scrollbarSlider.activeBackground",{dark:o.Q1.fromHex("#BFBFBF").transparent(.4),light:o.Q1.fromHex("#000000").transparent(.6),hcDark:v,hcLight:v},a.kg("scrollbarSliderActiveBackground","Scrollbar slider background color when clicked on.")),X=g("progressBar.background",{dark:o.Q1.fromHex("#0E70C0"),light:o.Q1.fromHex("#0E70C0"),hcDark:v,hcLight:v},a.kg("progressBarBackground","Background color of the progress bar that can show for long running operations.")),Z=g("editorError.background",{dark:null,light:null,hcDark:null,hcLight:null},a.kg("editorError.background","Background color of error text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0),ee=g("editorError.foreground",{dark:"#F14C4C",light:"#E51400",hcDark:"#F48771",hcLight:"#B5200D"},a.kg("editorError.foreground","Foreground color of error squigglies in the editor.")),te=g("editorError.border",{dark:null,light:null,hcDark:o.Q1.fromHex("#E47777").transparent(.8),hcLight:"#B5200D"},a.kg("errorBorder","Border color of error boxes in the editor.")),ie=g("editorWarning.background",{dark:null,light:null,hcDark:null,hcLight:null},a.kg("editorWarning.background","Background color of warning text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0),re=g("editorWarning.foreground",{dark:"#CCA700",light:"#BF8803",hcDark:"#FFD37",hcLight:"#895503"},a.kg("editorWarning.foreground","Foreground color of warning squigglies in the editor.")),oe=g("editorWarning.border",{dark:null,light:null,hcDark:o.Q1.fromHex("#FFCC00").transparent(.8),hcLight:"#"},a.kg("warningBorder","Border color of warning boxes in the editor.")),ne=g("editorInfo.background",{dark:null,light:null,hcDark:null,hcLight:null},a.kg("editorInfo.background","Background color of info text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0),se=g("editorInfo.foreground",{dark:"#3794FF",light:"#1a85ff",hcDark:"#3794FF",hcLight:"#1a85ff"},a.kg("editorInfo.foreground","Foreground color of info squigglies in the editor.")),ae=g("editorInfo.border",{dark:null,light:null,hcDark:o.Q1.fromHex("#3794FF").transparent(.8),hcLight:"#292929"},a.kg("infoBorder","Border color of info boxes in the editor.")),ce=g("editorHint.foreground",{dark:o.Q1.fromHex("#eeeeee").transparent(.7),light:"#6c6c6c",hcDark:null,hcLight:null},a.kg("editorHint.foreground","Foreground color of hint squigglies in the editor.")),le=g("editorHint.border",{dark:null,light:null,hcDark:o.Q1.fromHex("#eeeeee").transparent(.8),hcLight:"#292929"},a.kg("hintBorder","Border color of hint boxes in the editor.")),de=(g("sash.hoverBorder",{dark:m,light:m,hcDark:m,hcLight:m},a.kg("sashActiveBorder","Border color of active sashes.")),g("editor.background",{light:"#fffffe",dark:"#1E1E1E",hcDark:o.Q1.black,hcLight:o.Q1.white},a.kg("editorBackground","Editor background color."))),he=g("editor.foreground",{light:"#333333",dark:"#BBBBBB",hcDark:o.Q1.white,hcLight:f},a.kg("editorForeground","Editor default foreground color.")),ue=g("editorWidget.background",{dark:"#252526",light:"#F3F3F3",hcDark:"#0C141F",hcLight:o.Q1.white},a.kg("editorWidgetBackground","Background color of editor widgets, such as find/replace.")),ge=g("editorWidget.foreground",{dark:f,light:f,hcDark:f,hcLight:f},a.kg("editorWidgetForeground","Foreground color of editor widgets, such as find/replace.")),fe=g("editorWidget.border",{dark:"#454545",light:"#C8C8C8",hcDark:v,hcLight:v},a.kg("editorWidgetBorder","Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget.")),pe=g("editorWidget.resizeBorder",{light:null,dark:null,hcDark:null,hcLight:null},a.kg("editorWidgetResizeBorder","Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget.")),ke=g("quickInput.background",{dark:ue,light:ue,hcDark:ue,hcLight:ue},a.kg("pickerBackground","Quick picker background color. The quick picker widget is the container for pickers like the command palette.")),me=g("quickInput.foreground",{dark:ge,light:ge,hcDark:ge,hcLight:ge},a.kg("pickerForeground","Quick picker foreground color. The quick picker widget is the container for pickers like the command palette.")),ve=g("quickInputTitle.background",{dark:new o.Q1(new o.bU(255,255,255,.105)),light:new o.Q1(new o.bU(0,0,0,.06)),hcDark:"#000000",hcLight:o.Q1.white},a.kg("pickerTitleBackground","Quick picker title background color. The quick picker widget is the container for pickers like the command palette.")),be=g("pickerGroup.foreground",{dark:"#3794FF",light:"#0066BF",hcDark:o.Q1.white,hcLight:"#0F4A85"},a.kg("pickerGroupForeground","Quick picker color for grouping labels.")),ye=g("pickerGroup.border",{dark:"#3F3F46",light:"#CCCEDB",hcDark:o.Q1.white,hcLight:"#0F4A85"},a.kg("pickerGroupBorder","Quick picker color for grouping borders.")),_e=g("keybindingLabel.background",{dark:new o.Q1(new o.bU(128,128,128,.17)),light:new o.Q1(new o.bU(221,221,221,.4)),hcDark:o.Q1.transparent,hcLight:o.Q1.transparent},a.kg("keybindingLabelBackground","Keybinding label background color. The keybinding label is used to represent a keyboard shortcut.")),Se=g("keybindingLabel.foreground",{dark:o.Q1.fromHex("#CCCCCC"),light:o.Q1.fromHex("#555555"),hcDark:o.Q1.white,hcLight:f},a.kg("keybindingLabelForeground","Keybinding label foreground color. The keybinding label is used to represent a keyboard shortcut.")),Ce=g("keybindingLabel.border",{dark:new o.Q1(new o.bU(51,51,51,.6)),light:new o.Q1(new o.bU(204,204,204,.4)),hcDark:new o.Q1(new o.bU(111,195,223)),hcLight:v},a.kg("keybindingLabelBorder","Keybinding label border color. The keybinding label is used to represent a keyboard shortcut.")),we=g("keybindingLabel.bottomBorder",{dark:new o.Q1(new o.bU(68,68,68,.6)),light:new o.Q1(new o.bU(187,187,187,.4)),hcDark:new o.Q1(new o.bU(111,195,223)),hcLight:f},a.kg("keybindingLabelBottomBorder","Keybinding label border bottom color. The keybinding label is used to represent a keyboard shortcut.")),De=g("editor.selectionBackground",{light:"#ADD6FF",dark:"#264F78",hcDark:"#f3f518",hcLight:"#0F4A85"},a.kg("editorSelectionBackground","Color of the editor selection.")),Fe=g("editor.selectionForeground",{light:null,dark:null,hcDark:"#000000",hcLight:o.Q1.white},a.kg("editorSelectionForeground","Color of the selected text for high contrast.")),Le=g("editor.inactiveSelectionBackground",{light:yi(De,.5),dark:yi(De,.5),hcDark:yi(De,.7),hcLight:yi(De,.5)},a.kg("editorInactiveSelection","Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."),!0),Ie=g("editor.selectionHighlightBackground",{light:Si(De,de,.3,.6),dark:Si(De,de,.3,.6),hcDark:null,hcLight:null},a.kg("editorSelectionHighlight","Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations."),!0),Ee=g("editor.selectionHighlightBorder",{light:null,dark:null,hcDark:b,hcLight:b},a.kg("editorSelectionHighlightBorder","Border color for regions with the same content as the selection.")),Be=g("editor.findMatchBackground",{light:"#A8AC94",dark:"#515C6A",hcDark:null,hcLight:null},a.kg("editorFindMatch","Color of the current search match.")),Oe=g("editor.findMatchHighlightBackground",{light:"#EA5C0055",dark:"#EA5C0055",hcDark:null,hcLight:null},a.kg("findMatchHighlight","Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."),!0),Te=g("editor.findRangeHighlightBackground",{dark:"#3a3d4166",light:"#b4b4b44d",hcDark:null,hcLight:null},a.kg("findRangeHighlight","Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),Ae=g("editor.findMatchBorder",{light:null,dark:null,hcDark:b,hcLight:b},a.kg("editorFindMatchBorder","Border color of the current search match.")),xe=g("editor.findMatchHighlightBorder",{light:null,dark:null,hcDark:b,hcLight:b},a.kg("findMatchHighlightBorder","Border color of the other search matches.")),Re=g("editor.findRangeHighlightBorder",{dark:null,light:null,hcDark:yi(b,.4),hcLight:yi(b,.4)},a.kg("findRangeHighlightBorder","Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),Ke=(g("searchEditor.findMatchBackground",{light:yi(Oe,.66),dark:yi(Oe,.66),hcDark:Oe,hcLight:Oe},a.kg("searchEditor.queryMatch","Color of the Search Editor query matches.")),g("searchEditor.findMatchBorder",{light:yi(xe,.66),dark:yi(xe,.66),hcDark:xe,hcLight:xe},a.kg("searchEditor.editorFindMatchBorder","Border color of the Search Editor query matches.")),g("editor.hoverHighlightBackground",{light:"#ADD6FF26",dark:"#264f7840",hcDark:"#ADD6FF26",hcLight:null},a.kg("hoverHighlight","Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations."),!0)),Me=g("editorHoverWidget.background",{light:ue,dark:ue,hcDark:ue,hcLight:ue},a.kg("hoverBackground","Background color of the editor hover.")),je=g("editorHoverWidget.foreground",{light:ge,dark:ge,hcDark:ge,hcLight:ge},a.kg("hoverForeground","Foreground color of the editor hover.")),Pe=g("editorHoverWidget.border",{light:fe,dark:fe,hcDark:fe,hcLight:fe},a.kg("hoverBorder","Border color of the editor hover.")),Ne=g("editorHoverWidget.statusBarBackground",{dark:bi(Me,.2),light:vi(Me,.05),hcDark:ue,hcLight:ue},a.kg("statusBarBackground","Background color of the editor hover status bar.")),He=g("editorLink.activeForeground",{dark:"#4E94CE",light:o.Q1.blue,hcDark:o.Q1.cyan,hcLight:"#292929"},a.kg("activeLinkForeground","Color of active links.")),We=g("editorInlayHint.foreground",{dark:yi(G,.8),light:yi(G,.8),hcDark:G,hcLight:G},a.kg("editorInlayHintForeground","Foreground color of inline hints")),Ve=g("editorInlayHint.background",{dark:yi(Q,.6),light:yi(Q,.3),hcDark:Q,hcLight:Q},a.kg("editorInlayHintBackground","Background color of inline hints")),$e=g("editorInlayHint.typeForeground",{dark:We,light:We,hcDark:We,hcLight:We},a.kg("editorInlayHintForegroundTypes","Foreground color of inline hints for types")),Ue=g("editorInlayHint.typeBackground",{dark:Ve,light:Ve,hcDark:Ve,hcLight:Ve},a.kg("editorInlayHintBackgroundTypes","Background color of inline hints for types")),Qe=g("editorInlayHint.parameterForeground",{dark:We,light:We,hcDark:We,hcLight:We},a.kg("editorInlayHintForegroundParameter","Foreground color of inline hints for parameters")),Ge=g("editorInlayHint.parameterBackground",{dark:Ve,light:Ve,hcDark:Ve,hcLight:Ve},a.kg("editorInlayHintBackgroundParameter","Background color of inline hints for parameters")),qe=g("editorLightBulb.foreground",{dark:"#FFCC00",light:"#DDB100",hcDark:"#FFCC00",hcLight:"#007ACC"},a.kg("editorLightBulbForeground","The color used for the lightbulb actions icon.")),ze=g("editorLightBulbAutoFix.foreground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},a.kg("editorLightBulbAutoFixForeground","The color used for the lightbulb auto fix actions icon.")),Ye=new o.Q1(new o.bU(155,185,85,.2)),Je=new o.Q1(new o.bU(255,0,0,.2)),Xe=g("diffEditor.insertedTextBackground",{dark:"#9ccc2c33",light:"#9ccc2c66",hcDark:null,hcLight:null},a.kg("diffEditorInserted","Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations."),!0),Ze=g("diffEditor.removedTextBackground",{dark:"#ff000066",light:"#ff00004d",hcDark:null,hcLight:null},a.kg("diffEditorRemoved","Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations."),!0),et=g("diffEditor.insertedLineBackground",{dark:Ye,light:Ye,hcDark:null,hcLight:null},a.kg("diffEditorInsertedLines","Background color for lines that got inserted. The color must not be opaque so as not to hide underlying decorations."),!0),tt=g("diffEditor.removedLineBackground",{dark:Je,light:Je,hcDark:null,hcLight:null},a.kg("diffEditorRemovedLines","Background color for lines that got removed. The color must not be opaque so as not to hide underlying decorations."),!0),it=g("diffEditorGutter.insertedLineBackground",{dark:null,light:null,hcDark:null,hcLight:null},a.kg("diffEditorInsertedLineGutter","Background color for the margin where lines got inserted.")),rt=g("diffEditorGutter.removedLineBackground",{dark:null,light:null,hcDark:null,hcLight:null},a.kg("diffEditorRemovedLineGutter","Background color for the margin where lines got removed.")),ot=g("diffEditorOverview.insertedForeground",{dark:null,light:null,hcDark:null,hcLight:null},a.kg("diffEditorOverviewInserted","Diff overview ruler foreground for inserted content.")),nt=g("diffEditorOverview.removedForeground",{dark:null,light:null,hcDark:null,hcLight:null},a.kg("diffEditorOverviewRemoved","Diff overview ruler foreground for removed content.")),st=g("diffEditor.insertedTextBorder",{dark:null,light:null,hcDark:"#33ff2eff",hcLight:"#374E06"},a.kg("diffEditorInsertedOutline","Outline color for the text that got inserted.")),at=g("diffEditor.removedTextBorder",{dark:null,light:null,hcDark:"#FF008F",hcLight:"#AD0707"},a.kg("diffEditorRemovedOutline","Outline color for text that got removed.")),ct=g("diffEditor.border",{dark:null,light:null,hcDark:v,hcLight:v},a.kg("diffEditorBorder","Border color between the two text editors.")),lt=g("diffEditor.diagonalFill",{dark:"#cccccc33",light:"#22222233",hcDark:null,hcLight:null},a.kg("diffDiagonalFill","Color of the diff editor's diagonal fill. The diagonal fill is used in side-by-side diff views.")),dt=g("list.focusBackground",{dark:null,light:null,hcDark:null,hcLight:null},a.kg("listFocusBackground","List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),ht=g("list.focusForeground",{dark:null,light:null,hcDark:null,hcLight:null},a.kg("listFocusForeground","List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),ut=g("list.focusOutline",{dark:m,light:m,hcDark:b,hcLight:b},a.kg("listFocusOutline","List/Tree outline color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),gt=g("list.focusAndSelectionOutline",{dark:null,light:null,hcDark:null,hcLight:null},a.kg("listFocusAndSelectionOutline","List/Tree outline color for the focused item when the list/tree is active and selected. An active list/tree has keyboard focus, an inactive does not.")),ft=g("list.activeSelectionBackground",{dark:"#04395E",light:"#0060C0",hcDark:null,hcLight:o.Q1.fromHex("#0F4A85").transparent(.1)},a.kg("listActiveSelectionBackground","List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),pt=g("list.activeSelectionForeground",{dark:o.Q1.white,light:o.Q1.white,hcDark:null,hcLight:null},a.kg("listActiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),kt=g("list.activeSelectionIconForeground",{dark:null,light:null,hcDark:null,hcLight:null},a.kg("listActiveSelectionIconForeground","List/Tree icon foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),mt=g("list.inactiveSelectionBackground",{dark:"#37373D",light:"#E4E6F1",hcDark:null,hcLight:o.Q1.fromHex("#0F4A85").transparent(.1)},a.kg("listInactiveSelectionBackground","List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),vt=g("list.inactiveSelectionForeground",{dark:null,light:null,hcDark:null,hcLight:null},a.kg("listInactiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),bt=g("list.inactiveSelectionIconForeground",{dark:null,light:null,hcDark:null,hcLight:null},a.kg("listInactiveSelectionIconForeground","List/Tree icon foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),yt=g("list.inactiveFocusBackground",{dark:null,light:null,hcDark:null,hcLight:null},a.kg("listInactiveFocusBackground","List/Tree background color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),_t=g("list.inactiveFocusOutline",{dark:null,light:null,hcDark:null,hcLight:null},a.kg("listInactiveFocusOutline","List/Tree outline color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),St=g("list.hoverBackground",{dark:"#2A2D2E",light:"#F0F0F0",hcDark:null,hcLight:o.Q1.fromHex("#0F4A85").transparent(.1)},a.kg("listHoverBackground","List/Tree background when hovering over items using the mouse.")),Ct=g("list.hoverForeground",{dark:null,light:null,hcDark:null,hcLight:null},a.kg("listHoverForeground","List/Tree foreground when hovering over items using the mouse.")),wt=g("list.dropBackground",{dark:"#062F4A",light:"#D6EBFF",hcDark:null,hcLight:null},a.kg("listDropBackground","List/Tree drag and drop background when moving items around using the mouse.")),Dt=g("list.highlightForeground",{dark:"#2AAAFF",light:"#0066BF",hcDark:m,hcLight:m},a.kg("highlight","List/Tree foreground color of the match highlights when searching inside the list/tree.")),Ft=g("list.focusHighlightForeground",{dark:Dt,light:(Lt=ft,It=Dt,Et="#BBE7FF",{op:5,if:Lt,then:It,else:Et}),hcDark:Dt,hcLight:Dt},a.kg("listFocusHighlightForeground","List/Tree foreground color of the match highlights on actively focused items when searching inside the list/tree."));var Lt,It,Et;g("list.invalidItemForeground",{dark:"#B89500",light:"#B89500",hcDark:"#B89500",hcLight:"#B5200D"},a.kg("invalidItemForeground","List/Tree foreground color for invalid items, for example an unresolved root in explorer.")),g("list.errorForeground",{dark:"#F88070",light:"#B01011",hcDark:null,hcLight:null},a.kg("listErrorForeground","Foreground color of list items containing errors.")),g("list.warningForeground",{dark:"#CCA700",light:"#855F00",hcDark:null,hcLight:null},a.kg("listWarningForeground","Foreground color of list items containing warnings."));const Bt=g("listFilterWidget.background",{light:vi(ue,0),dark:bi(ue,0),hcDark:ue,hcLight:ue},a.kg("listFilterWidgetBackground","Background color of the type filter widget in lists and trees.")),Ot=g("listFilterWidget.outline",{dark:o.Q1.transparent,light:o.Q1.transparent,hcDark:"#f38518",hcLight:"#007ACC"},a.kg("listFilterWidgetOutline","Outline color of the type filter widget in lists and trees.")),Tt=g("listFilterWidget.noMatchesOutline",{dark:"#BE1100",light:"#BE1100",hcDark:v,hcLight:v},a.kg("listFilterWidgetNoMatchesOutline","Outline color of the type filter widget in lists and trees, when there are no matches.")),At=g("listFilterWidget.shadow",{dark:C,light:C,hcDark:C,hcLight:C},a.kg("listFilterWidgetShadow","Shadown color of the type filter widget in lists and trees.")),xt=(g("list.filterMatchBackground",{dark:Oe,light:Oe,hcDark:null,hcLight:null},a.kg("listFilterMatchHighlight","Background color of the filtered match.")),g("list.filterMatchBorder",{dark:xe,light:xe,hcDark:v,hcLight:b},a.kg("listFilterMatchHighlightBorder","Border color of the filtered match.")),g("tree.indentGuidesStroke",{dark:"#585858",light:"#a9a9a9",hcDark:"#a9a9a9",hcLight:"#a5a5a5"},a.kg("treeIndentGuidesStroke","Tree stroke color for the indentation guides."))),Rt=g("tree.tableColumnsBorder",{dark:"#CCCCCC20",light:"#61616120",hcDark:null,hcLight:null},a.kg("tableColumnsBorder","Table border color between columns.")),Kt=g("tree.tableOddRowsBackground",{dark:yi(f,.04),light:yi(f,.04),hcDark:null,hcLight:null},a.kg("tableOddRowsBackgroundColor","Background color for odd table rows.")),Mt=(g("list.deemphasizedForeground",{dark:"#8C8C8C",light:"#8E8E90",hcDark:"#A7A8A9",hcLight:"#666666"},a.kg("listDeemphasizedForeground","List/Tree foreground color for items that are deemphasized. ")),g("quickInput.list.focusBackground",{dark:null,light:null,hcDark:null,hcLight:null},"",void 0,a.kg("quickInput.list.focusBackground deprecation","Please use quickInputList.focusBackground instead"))),jt=g("quickInputList.focusForeground",{dark:pt,light:pt,hcDark:pt,hcLight:pt},a.kg("quickInput.listFocusForeground","Quick picker foreground color for the focused item.")),Pt=g("quickInputList.focusIconForeground",{dark:kt,light:kt,hcDark:kt,hcLight:kt},a.kg("quickInput.listFocusIconForeground","Quick picker icon foreground color for the focused item.")),Nt=g("quickInputList.focusBackground",{dark:_i(Mt,ft),light:_i(Mt,ft),hcDark:null,hcLight:null},a.kg("quickInput.listFocusBackground","Quick picker background color for the focused item.")),Ht=g("menu.border",{dark:null,light:null,hcDark:v,hcLight:v},a.kg("menuBorder","Border color of menus.")),Wt=g("menu.foreground",{dark:N,light:f,hcDark:N,hcLight:N},a.kg("menuForeground","Foreground color of menu items.")),Vt=g("menu.background",{dark:P,light:P,hcDark:P,hcLight:P},a.kg("menuBackground","Background color of menu items.")),$t=g("menu.selectionForeground",{dark:pt,light:pt,hcDark:pt,hcLight:pt},a.kg("menuSelectionForeground","Foreground color of the selected menu item in menus.")),Ut=g("menu.selectionBackground",{dark:ft,light:ft,hcDark:ft,hcLight:ft},a.kg("menuSelectionBackground","Background color of the selected menu item in menus.")),Qt=g("menu.selectionBorder",{dark:null,light:null,hcDark:b,hcLight:b},a.kg("menuSelectionBorder","Border color of the selected menu item in menus.")),Gt=g("menu.separatorBackground",{dark:"#606060",light:"#D4D4D4",hcDark:v,hcLight:v},a.kg("menuSeparatorBackground","Color of a separator menu item in menus.")),qt=g("toolbar.hoverBackground",{dark:"#5a5d5e50",light:"#b8b8b850",hcDark:null,hcLight:null},a.kg("toolbarHoverBackground","Toolbar background when hovering over actions using the mouse")),zt=(g("toolbar.hoverOutline",{dark:null,light:null,hcDark:b,hcLight:b},a.kg("toolbarHoverOutline","Toolbar outline when hovering over actions using the mouse")),g("toolbar.activeBackground",{dark:bi(qt,.1),light:vi(qt,.1),hcDark:null,hcLight:null},a.kg("toolbarActiveBackground","Toolbar background when holding the mouse over actions")),g("editor.snippetTabstopHighlightBackground",{dark:new o.Q1(new o.bU(124,124,124,.3)),light:new o.Q1(new o.bU(10,50,100,.2)),hcDark:new o.Q1(new o.bU(124,124,124,.3)),hcLight:new o.Q1(new o.bU(10,50,100,.2))},a.kg("snippetTabstopHighlightBackground","Highlight background color of a snippet tabstop.")),g("editor.snippetTabstopHighlightBorder",{dark:null,light:null,hcDark:null,hcLight:null},a.kg("snippetTabstopHighlightBorder","Highlight border color of a snippet tabstop.")),g("editor.snippetFinalTabstopHighlightBackground",{dark:null,light:null,hcDark:null,hcLight:null},a.kg("snippetFinalTabstopHighlightBackground","Highlight background color of the final tabstop of a snippet.")),g("editor.snippetFinalTabstopHighlightBorder",{dark:"#525252",light:new o.Q1(new o.bU(10,50,100,.5)),hcDark:"#525252",hcLight:"#292929"},a.kg("snippetFinalTabstopHighlightBorder","Highlight border color of the final tabstop of a snippet.")),g("breadcrumb.foreground",{light:yi(f,.8),dark:yi(f,.8),hcDark:yi(f,.8),hcLight:yi(f,.8)},a.kg("breadcrumbsFocusForeground","Color of focused breadcrumb items.")),g("breadcrumb.background",{light:de,dark:de,hcDark:de,hcLight:de},a.kg("breadcrumbsBackground","Background color of breadcrumb items.")),g("breadcrumb.focusForeground",{light:vi(f,.2),dark:bi(f,.1),hcDark:bi(f,.1),hcLight:bi(f,.1)},a.kg("breadcrumbsFocusForeground","Color of focused breadcrumb items.")),g("breadcrumb.activeSelectionForeground",{light:vi(f,.2),dark:bi(f,.1),hcDark:bi(f,.1),hcLight:bi(f,.1)},a.kg("breadcrumbsSelectedForeground","Color of selected breadcrumb items.")),g("breadcrumbPicker.background",{light:ue,dark:ue,hcDark:ue,hcLight:ue},a.kg("breadcrumbsSelectedBackground","Background color of breadcrumb item picker.")),o.Q1.fromHex("#40C8AE").transparent(.5)),Yt=o.Q1.fromHex("#40A6FF").transparent(.5),Jt=o.Q1.fromHex("#606060").transparent(.4),Xt=.4,Zt=g("merge.currentHeaderBackground",{dark:zt,light:zt,hcDark:null,hcLight:null},a.kg("mergeCurrentHeaderBackground","Current header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0),ei=(g("merge.currentContentBackground",{dark:yi(Zt,Xt),light:yi(Zt,Xt),hcDark:yi(Zt,Xt),hcLight:yi(Zt,Xt)},a.kg("mergeCurrentContentBackground","Current content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0),g("merge.incomingHeaderBackground",{dark:Yt,light:Yt,hcDark:null,hcLight:null},a.kg("mergeIncomingHeaderBackground","Incoming header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0)),ti=(g("merge.incomingContentBackground",{dark:yi(ei,Xt),light:yi(ei,Xt),hcDark:yi(ei,Xt),hcLight:yi(ei,Xt)},a.kg("mergeIncomingContentBackground","Incoming content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0),g("merge.commonHeaderBackground",{dark:Jt,light:Jt,hcDark:null,hcLight:null},a.kg("mergeCommonHeaderBackground","Common ancestor header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0)),ii=(g("merge.commonContentBackground",{dark:yi(ti,Xt),light:yi(ti,Xt),hcDark:yi(ti,Xt),hcLight:yi(ti,Xt)},a.kg("mergeCommonContentBackground","Common ancestor content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0),g("merge.border",{dark:null,light:null,hcDark:"#C3DF6F",hcLight:"#007ACC"},a.kg("mergeBorder","Border color on headers and the splitter in inline merge-conflicts."))),ri=(g("editorOverviewRuler.currentContentForeground",{dark:yi(Zt,1),light:yi(Zt,1),hcDark:ii,hcLight:ii},a.kg("overviewRulerCurrentContentForeground","Current overview ruler foreground for inline merge-conflicts.")),g("editorOverviewRuler.incomingContentForeground",{dark:yi(ei,1),light:yi(ei,1),hcDark:ii,hcLight:ii},a.kg("overviewRulerIncomingContentForeground","Incoming overview ruler foreground for inline merge-conflicts.")),g("editorOverviewRuler.commonContentForeground",{dark:yi(ti,1),light:yi(ti,1),hcDark:ii,hcLight:ii},a.kg("overviewRulerCommonContentForeground","Common ancestor overview ruler foreground for inline merge-conflicts.")),g("editorOverviewRuler.findMatchForeground",{dark:"#d186167e",light:"#d186167e",hcDark:"#AB5A00",hcLight:""},a.kg("overviewRulerFindMatchForeground","Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations."),!0)),oi=g("editorOverviewRuler.selectionHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hcDark:"#A0A0A0CC",hcLight:"#A0A0A0CC"},a.kg("overviewRulerSelectionHighlightForeground","Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."),!0),ni=g("minimap.findMatchHighlight",{light:"#d18616",dark:"#d18616",hcDark:"#AB5A00",hcLight:"#0F4A85"},a.kg("minimapFindMatchHighlight","Minimap marker color for find matches."),!0),si=g("minimap.selectionOccurrenceHighlight",{light:"#c9c9c9",dark:"#676767",hcDark:"#ffffff",hcLight:"#0F4A85"},a.kg("minimapSelectionOccurrenceHighlight","Minimap marker color for repeating editor selections."),!0),ai=g("minimap.selectionHighlight",{light:"#ADD6FF",dark:"#264F78",hcDark:"#ffffff",hcLight:"#0F4A85"},a.kg("minimapSelectionHighlight","Minimap marker color for the editor selection."),!0),ci=g("minimap.errorHighlight",{dark:new o.Q1(new o.bU(255,18,18,.7)),light:new o.Q1(new o.bU(255,18,18,.7)),hcDark:new o.Q1(new o.bU(255,50,50,1)),hcLight:"#B5200D"},a.kg("minimapError","Minimap marker color for errors.")),li=g("minimap.warningHighlight",{dark:re,light:re,hcDark:oe,hcLight:oe},a.kg("overviewRuleWarning","Minimap marker color for warnings.")),di=g("minimap.background",{dark:null,light:null,hcDark:null,hcLight:null},a.kg("minimapBackground","Minimap background color.")),hi=g("minimap.foregroundOpacity",{dark:o.Q1.fromHex("#000f"),light:o.Q1.fromHex("#000f"),hcDark:o.Q1.fromHex("#000f"),hcLight:o.Q1.fromHex("#000f")},a.kg("minimapForegroundOpacity",'Opacity of foreground elements rendered in the minimap. For example, "#000000c0" will render the elements with 75% opacity.')),ui=g("minimapSlider.background",{light:yi(z,.5),dark:yi(z,.5),hcDark:yi(z,.5),hcLight:yi(z,.5)},a.kg("minimapSliderBackground","Minimap slider background color.")),gi=g("minimapSlider.hoverBackground",{light:yi(Y,.5),dark:yi(Y,.5),hcDark:yi(Y,.5),hcLight:yi(Y,.5)},a.kg("minimapSliderHoverBackground","Minimap slider background color when hovering.")),fi=g("minimapSlider.activeBackground",{light:yi(J,.5),dark:yi(J,.5),hcDark:yi(J,.5),hcLight:yi(J,.5)},a.kg("minimapSliderActiveBackground","Minimap slider background color when clicked on.")),pi=g("problemsErrorIcon.foreground",{dark:ee,light:ee,hcDark:ee,hcLight:ee},a.kg("problemsErrorIconForeground","The color used for the problems error icon.")),ki=g("problemsWarningIcon.foreground",{dark:re,light:re,hcDark:re,hcLight:re},a.kg("problemsWarningIconForeground","The color used for the problems warning icon.")),mi=g("problemsInfoIcon.foreground",{dark:se,light:se,hcDark:se,hcLight:se},a.kg("problemsInfoIconForeground","The color used for the problems info icon."));g("charts.foreground",{dark:f,light:f,hcDark:f,hcLight:f},a.kg("chartsForeground","The foreground color used in charts.")),g("charts.lines",{dark:yi(f,.5),light:yi(f,.5),hcDark:yi(f,.5),hcLight:yi(f,.5)},a.kg("chartsLines","The color used for horizontal lines in charts.")),g("charts.red",{dark:ee,light:ee,hcDark:ee,hcLight:ee},a.kg("chartsRed","The red color used in chart visualizations.")),g("charts.blue",{dark:se,light:se,hcDark:se,hcLight:se},a.kg("chartsBlue","The blue color used in chart visualizations.")),g("charts.yellow",{dark:re,light:re,hcDark:re,hcLight:re},a.kg("chartsYellow","The yellow color used in chart visualizations.")),g("charts.orange",{dark:ni,light:ni,hcDark:ni,hcLight:ni},a.kg("chartsOrange","The orange color used in chart visualizations.")),g("charts.green",{dark:"#89D185",light:"#388A34",hcDark:"#89D185",hcLight:"#374e06"},a.kg("chartsGreen","The green color used in chart visualizations.")),g("charts.purple",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},a.kg("chartsPurple","The purple color used in chart visualizations."));function vi(e,t){return{op:0,value:e,factor:t}}function bi(e,t){return{op:1,value:e,factor:t}}function yi(e,t){return{op:2,value:e,factor:t}}function _i(...e){return{op:3,values:e}}function Si(e,t,i,r){return{op:4,value:e,background:t,factor:i,transparency:r}}function Ci(e,t){if(null!==e)return"string"===typeof e?"#"===e[0]?o.Q1.fromHex(e):t.getColor(e):e instanceof o.Q1?e:"object"===typeof e?function(e,t){var i,r,n;switch(e.op){case 0:return null===(i=Ci(e.value,t))||void 0===i?void 0:i.darken(e.factor);case 1:return null===(r=Ci(e.value,t))||void 0===r?void 0:r.lighten(e.factor);case 2:return null===(n=Ci(e.value,t))||void 0===n?void 0:n.transparent(e.factor);case 3:for(const i of e.values){const e=Ci(i,t);if(e)return e}return;case 5:return Ci(t.defines(e.if)?e.then:e.else,t);case 4:{const i=Ci(e.value,t);if(!i)return;const r=Ci(e.background,t);return r?i.isDarkerThan(r)?o.Q1.getLighterColor(i,r,e.factor).transparent(e.transparency):o.Q1.getDarkerColor(i,r,e.factor).transparent(e.transparency):i.transparent(e.factor*e.transparency)}default:throw(0,s.xb)(e)}}(e,t):void 0}const wi="vscode://schemas/workbench-colors",Di=l.O.as(c.F.JSONContribution);Di.registerSchema(wi,u.getColorSchema());const Fi=new r.uC((()=>Di.notifySchemaChanged(wi)),200);u.onDidChangeSchema((()=>{Fi.isScheduled()||Fi.schedule()}))},13587:(e,t,i)=>{"use strict";i.d(t,{$_:()=>y,HT:()=>k,pU:()=>p});var r=i(85345),o=i(15441),n=i(16201),s=i(86448),a=i(34235),c=i(84978),l=i(60197),d=i(97980),h=i(87357);var u,g;!function(e){e.getDefinition=function(e,t){let i=e.defaults;for(;h.L0.isThemeIcon(i);){const e=f.getIcon(i.id);if(!e)return;i=e.defaults}return i}}(u||(u={})),function(e){e.toJSONObject=function(e){return{weight:e.weight,style:e.style,src:e.src.map((e=>({format:e.format,location:e.location.toString()})))}},e.fromJSONObject=function(e){const t=e=>(0,s.Kg)(e)?e:void 0;if(e&&Array.isArray(e.src)&&e.src.every((e=>(0,s.Kg)(e.format)&&(0,s.Kg)(e.location))))return{weight:t(e.weight),style:t(e.style),src:e.src.map((e=>({format:e.format,location:a.r.parse(e.location)})))}}}(g||(g={}));const f=new class{constructor(){this._onDidChange=new n.vl,this.onDidChange=this._onDidChange.event,this.iconSchema={definitions:{icons:{type:"object",properties:{fontId:{type:"string",description:(0,c.kg)("iconDefinition.fontId","The id of the font to use. If not set, the font that is defined first is used.")},fontCharacter:{type:"string",description:(0,c.kg)("iconDefinition.fontCharacter","The font character associated with the icon definition.")}},additionalProperties:!1,defaultSnippets:[{body:{fontCharacter:"\\\\e030"}}]}},type:"object",properties:{}},this.iconReferenceSchema={type:"string",pattern:`^${o.j3.iconNameExpression}$`,enum:[],enumDescriptions:[]},this.iconsById={},this.iconFontsById={}}registerIcon(e,t,i,r){const o=this.iconsById[e];if(o){if(i&&!o.description){o.description=i,this.iconSchema.properties[e].markdownDescription=`${i} $(${e})`;const t=this.iconReferenceSchema.enum.indexOf(e);-1!==t&&(this.iconReferenceSchema.enumDescriptions[t]=i),this._onDidChange.fire()}return o}const n={id:e,description:i,defaults:t,deprecationMessage:r};this.iconsById[e]=n;const s={$ref:"#/definitions/icons"};return r&&(s.deprecationMessage=r),i&&(s.markdownDescription=`${i}: $(${e})`),this.iconSchema.properties[e]=s,this.iconReferenceSchema.enum.push(e),this.iconReferenceSchema.enumDescriptions.push(i||""),this._onDidChange.fire(),{id:e}}getIcons(){return Object.keys(this.iconsById).map((e=>this.iconsById[e]))}getIcon(e){return this.iconsById[e]}getIconSchema(){return this.iconSchema}toString(){const e=(e,t)=>e.id.localeCompare(t.id),t=e=>{for(;h.L0.isThemeIcon(e.defaults);)e=this.iconsById[e.defaults.id];return`codicon codicon-${e?e.id:""}`},i=[];i.push("| preview | identifier | default codicon ID | description"),i.push("| ----------- | --------------------------------- | --------------------------------- | --------------------------------- |");const r=Object.keys(this.iconsById).map((e=>this.iconsById[e]));for(const o of r.filter((e=>!!e.description)).sort(e))i.push(`|<i class="${t(o)}"></i>|${o.id}|${h.L0.isThemeIcon(o.defaults)?o.defaults.id:o.id}|${o.description||""}|`);i.push("| preview | identifier "),i.push("| ----------- | --------------------------------- |");for(const o of r.filter((e=>!h.L0.isThemeIcon(e.defaults))).sort(e))i.push(`|<i class="${t(o)}"></i>|${o.id}|`);return i.join("\n")}};function p(e,t,i,r){return f.registerIcon(e,t,i,r)}function k(){return f}d.O.add("base.contributions.icons",f),function(){for(const e of o.W6.getAll())f.registerIcon(e.id,e.definition,e.description)}();const m="vscode://schemas/icons",v=d.O.as(l.F.JSONContribution);v.registerSchema(m,f.getIconSchema());const b=new r.uC((()=>v.notifySchemaChanged(m)),200);f.onDidChange((()=>{b.isScheduled()||b.schedule()}));const y=p("widget-close",o.W6.close,(0,c.kg)("widgetClose","Icon for the close action in widgets."));p("goto-previous-location",o.W6.arrowUp,(0,c.kg)("previousChangeIcon","Icon for goto previous editor location.")),p("goto-next-location",o.W6.arrowDown,(0,c.kg)("nextChangeIcon","Icon for goto next editor location.")),h.L0.modify(o.W6.sync,"spin"),h.L0.modify(o.W6.loading,"spin")},52040:(e,t,i)=>{"use strict";i.d(t,{DD:()=>a,Gd:()=>s,IN:()=>c,KC:()=>o,kg:()=>d});var r=i(64709);function o(e,t){const i=Object.create(null);for(const o in t){const n=t[o];n&&(i[o]=(0,r.n__)(n,e))}return i}function n(e,t,i){function r(){const r=o(e.getColorTheme(),t);"function"===typeof i?i(r):i.style(r)}return r(),e.onDidColorThemeChange(r)}function s(e,t,i){return n(t,{badgeBackground:(null===i||void 0===i?void 0:i.badgeBackground)||r.WMx,badgeForeground:(null===i||void 0===i?void 0:i.badgeForeground)||r.zRE,badgeBorder:r.b1q},e)}function a(e,t,i){return n(t,Object.assign(Object.assign({},c),i||{}),e)}const c={listFocusBackground:r.VFX,listFocusForeground:r.efJ,listFocusOutline:r.p7Y,listActiveSelectionBackground:r.Rjz,listActiveSelectionForeground:r.GVV,listActiveSelectionIconForeground:r.fED,listFocusAndSelectionOutline:r.gtq,listFocusAndSelectionBackground:r.Rjz,listFocusAndSelectionForeground:r.GVV,listInactiveSelectionBackground:r.uNx,listInactiveSelectionIconForeground:r.C9U,listInactiveSelectionForeground:r.f4y,listInactiveFocusBackground:r.CQ3,listInactiveFocusOutline:r.ijf,listHoverBackground:r.lO1,listHoverForeground:r.QRv,listDropBackground:r.iAJ,listSelectionOutline:r.buw,listHoverOutline:r.buw,listFilterWidgetBackground:r.pnl,listFilterWidgetOutline:r.fiM,listFilterWidgetNoMatchesOutline:r.P9Z,listFilterWidgetShadow:r.H8q,treeIndentGuidesStroke:r.U4U,tableColumnsBorder:r.k5u,tableOddRowsBackgroundColor:r.sbQ,inputActiveOptionBorder:r.uNK,inputActiveOptionForeground:r.$$0,inputActiveOptionBackground:r.c1f,inputBackground:r.L4c,inputForeground:r.cws,inputBorder:r.Zgs,inputValidationInfoBackground:r.I$A,inputValidationInfoForeground:r.L9Z,inputValidationInfoBorder:r.YSW,inputValidationWarningBackground:r.ULt,inputValidationWarningForeground:r.T5N,inputValidationWarningBorder:r.C1n,inputValidationErrorBackground:r._$n,inputValidationErrorForeground:r.h9z,inputValidationErrorBorder:r.eYZ},l={shadowColor:r.f9l,borderColor:r.g$2,foregroundColor:r.dd_,backgroundColor:r.c6Y,selectionForegroundColor:r.pmr,selectionBackgroundColor:r.Ux$,selectionBorderColor:r.SNb,separatorColor:r.D7X,scrollbarShadow:r.bXl,scrollbarSliderBackground:r.gnV,scrollbarSliderHoverBackground:r.cI_,scrollbarSliderActiveBackground:r.mhZ};function d(e,t,i){return n(t,Object.assign(Object.assign({},l),i),e)}},80708:(e,t,i)=>{"use strict";var r;function o(e){return e===r.HIGH_CONTRAST_DARK||e===r.HIGH_CONTRAST_LIGHT}function n(e){return e===r.DARK||e===r.HIGH_CONTRAST_DARK}i.d(t,{Bb:()=>o,HD:()=>n,zM:()=>r}),function(e){e.DARK="dark",e.LIGHT="light",e.HIGH_CONTRAST_DARK="hcDark",e.HIGH_CONTRAST_LIGHT="hcLight"}(r||(r={}))},87357:(e,t,i)=>{"use strict";i.d(t,{Fd:()=>f,Gy:()=>l,L0:()=>h,Pz:()=>g,Yf:()=>u,lR:()=>m,zy:()=>k});var r=i(15441),o=i(16201),n=i(33793),s=i(3660),a=i(97980),c=i(80708);const l=(0,s.u1)("themeService");var d,h;function u(e){return{id:e}}function g(e){switch(e){case c.zM.DARK:return"vs-dark";case c.zM.HIGH_CONTRAST_DARK:return"hc-black";case c.zM.HIGH_CONTRAST_LIGHT:return"hc-light";default:return"vs"}}!function(e){e.isThemeColor=function(e){return e&&"object"===typeof e&&"string"===typeof e.id}}(d||(d={})),function(e){e.isThemeIcon=function(e){return e&&"object"===typeof e&&"string"===typeof e.id&&("undefined"===typeof e.color||d.isThemeColor(e.color))};const t=new RegExp(`^\\$\\((${r.j3.iconNameExpression}(?:${r.j3.iconModifierExpression})?)\\)$`);e.fromString=function(e){const i=t.exec(e);if(!i)return;const[,r]=i;return{id:r}},e.fromId=function(e){return{id:e}},e.modify=function(e,t){let i=e.id;const r=i.lastIndexOf("~");return-1!==r&&(i=i.substring(0,r)),t&&(i=`${i}~${t}`),{id:i}},e.getModifier=function(e){const t=e.id.lastIndexOf("~");if(-1!==t)return e.id.substring(t+1)},e.isEqual=function(e,t){var i,r;return e.id===t.id&&(null===(i=e.color)||void 0===i?void 0:i.id)===(null===(r=t.color)||void 0===r?void 0:r.id)},e.asThemeIcon=function(e,t){return{id:e.id,color:t?u(t):void 0}},e.asClassNameArray=r.j3.asClassNameArray,e.asClassName=r.j3.asClassName,e.asCSSSelector=r.j3.asCSSSelector}(h||(h={}));const f={ThemingContribution:"base.contributions.theming"};const p=new class{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new o.vl}onColorThemeChange(e){return this.themingParticipants.push(e),this.onThemingParticipantAddedEmitter.fire(e),(0,n.s)((()=>{const t=this.themingParticipants.indexOf(e);this.themingParticipants.splice(t,1)}))}getThemingParticipants(){return this.themingParticipants}};function k(e){return p.onColorThemeChange(e)}a.O.add(f.ThemingContribution,p);class m extends n.jG{constructor(e){super(),this.themeService=e,this.theme=e.getColorTheme(),this._register(this.themeService.onDidColorThemeChange((e=>this.onThemeChange(e))))}onThemeChange(e){this.theme=e,this.updateStyles()}updateStyles(){}}},60332:(e,t,i)=>{"use strict";i.d(t,{$D:()=>r,I_:()=>n,To:()=>o,Ym:()=>s});const r=(0,i(3660).u1)("undoRedoService");class o{constructor(e,t){this.resource=e,this.elements=t}}class n{constructor(){this.id=n._ID++,this.order=1}nextOrder(){return 0===this.id?0:this.order++}}n._ID=0,n.None=new n;class s{constructor(){this.id=s._ID++,this.order=1}nextOrder(){return 0===this.id?0:this.order++}}s._ID=0,s.None=new s},23205:(e,t,i)=>{"use strict";var r=i(79734),o=i(33793),n=i(15263),s=i(24414),a=i(84978),c=i(3780),l=i(22967),d=i(24096),h=i(60332),u=function(e,t,i,r){var o,n=arguments.length,s=n<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(n<3?o(s):n>3?o(t,i,s):o(t,i))||s);return n>3&&s&&Object.defineProperty(t,i,s),s},g=function(e,t){return function(i,r){t(i,r,e)}},f=function(e,t,i,r){return new(i||(i=Promise))((function(o,n){function s(e){try{c(r.next(e))}catch(t){n(t)}}function a(e){try{c(r.throw(e))}catch(t){n(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(s,a)}c((r=r.apply(e,t||[])).next())}))};const p=!1;function k(e){return e.scheme===n.ny.file?e.fsPath:e.path}let m=0;class v{constructor(e,t,i,r,o,n,s){this.id=++m,this.type=0,this.actual=e,this.label=e.label,this.confirmBeforeUndo=e.confirmBeforeUndo||!1,this.resourceLabel=t,this.strResource=i,this.resourceLabels=[this.resourceLabel],this.strResources=[this.strResource],this.groupId=r,this.groupOrder=o,this.sourceId=n,this.sourceOrder=s,this.isValid=!0}setValid(e){this.isValid=e}toString(){return`[id:${this.id}] [group:${this.groupId}] [${this.isValid?" VALID":"INVALID"}] ${this.actual.constructor.name} - ${this.actual}`}}class b{constructor(e,t){this.resourceLabel=e,this.reason=t}}class y{constructor(){this.elements=new Map}createMessage(){const e=[],t=[];for(const[,r]of this.elements){(0===r.reason?e:t).push(r.resourceLabel)}const i=[];return e.length>0&&i.push(a.kg({key:"externalRemoval",comment:["{0} is a list of filenames"]},"The following files have been closed and modified on disk: {0}.",e.join(", "))),t.length>0&&i.push(a.kg({key:"noParallelUniverses",comment:["{0} is a list of filenames"]},"The following files have been modified in an incompatible way: {0}.",t.join(", "))),i.join("\n")}get size(){return this.elements.size}has(e){return this.elements.has(e)}set(e,t){this.elements.set(e,t)}delete(e){return this.elements.delete(e)}}class _{constructor(e,t,i,r,o,n,s){this.id=++m,this.type=1,this.actual=e,this.label=e.label,this.confirmBeforeUndo=e.confirmBeforeUndo||!1,this.resourceLabels=t,this.strResources=i,this.groupId=r,this.groupOrder=o,this.sourceId=n,this.sourceOrder=s,this.removedResources=null,this.invalidatedResources=null}canSplit(){return"function"===typeof this.actual.split}removeResource(e,t,i){this.removedResources||(this.removedResources=new y),this.removedResources.has(t)||this.removedResources.set(t,new b(e,i))}setValid(e,t,i){i?this.invalidatedResources&&(this.invalidatedResources.delete(t),0===this.invalidatedResources.size&&(this.invalidatedResources=null)):(this.invalidatedResources||(this.invalidatedResources=new y),this.invalidatedResources.has(t)||this.invalidatedResources.set(t,new b(e,0)))}toString(){return`[id:${this.id}] [group:${this.groupId}] [${this.invalidatedResources?"INVALID":" VALID"}] ${this.actual.constructor.name} - ${this.actual}`}}class S{constructor(e,t){this.resourceLabel=e,this.strResource=t,this._past=[],this._future=[],this.locked=!1,this.versionId=1}dispose(){for(const e of this._past)1===e.type&&e.removeResource(this.resourceLabel,this.strResource,0);for(const e of this._future)1===e.type&&e.removeResource(this.resourceLabel,this.strResource,0);this.versionId++}toString(){const e=[];e.push(`* ${this.strResource}:`);for(let t=0;t<this._past.length;t++)e.push(` * [UNDO] ${this._past[t]}`);for(let t=this._future.length-1;t>=0;t--)e.push(` * [REDO] ${this._future[t]}`);return e.join("\n")}flushAllElements(){this._past=[],this._future=[],this.versionId++}_setElementValidFlag(e,t){1===e.type?e.setValid(this.resourceLabel,this.strResource,t):e.setValid(t)}setElementsValidFlag(e,t){for(const i of this._past)t(i.actual)&&this._setElementValidFlag(i,e);for(const i of this._future)t(i.actual)&&this._setElementValidFlag(i,e)}pushElement(e){for(const t of this._future)1===t.type&&t.removeResource(this.resourceLabel,this.strResource,1);this._future=[],this._past.push(e),this.versionId++}createSnapshot(e){const t=[];for(let i=0,r=this._past.length;i<r;i++)t.push(this._past[i].id);for(let i=this._future.length-1;i>=0;i--)t.push(this._future[i].id);return new h.To(e,t)}restoreSnapshot(e){const t=e.elements.length;let i=!0,r=0,o=-1;for(let s=0,a=this._past.length;s<a;s++,r++){const n=this._past[s];i&&(r>=t||n.id!==e.elements[r])&&(i=!1,o=0),i||1!==n.type||n.removeResource(this.resourceLabel,this.strResource,0)}let n=-1;for(let s=this._future.length-1;s>=0;s--,r++){const o=this._future[s];i&&(r>=t||o.id!==e.elements[r])&&(i=!1,n=s),i||1!==o.type||o.removeResource(this.resourceLabel,this.strResource,0)}-1!==o&&(this._past=this._past.slice(0,o)),-1!==n&&(this._future=this._future.slice(n+1)),this.versionId++}getElements(){const e=[],t=[];for(const i of this._past)e.push(i.actual);for(const i of this._future)t.push(i.actual);return{past:e,future:t}}getClosestPastElement(){return 0===this._past.length?null:this._past[this._past.length-1]}getSecondClosestPastElement(){return this._past.length<2?null:this._past[this._past.length-2]}getClosestFutureElement(){return 0===this._future.length?null:this._future[this._future.length-1]}hasPastElements(){return this._past.length>0}hasFutureElements(){return this._future.length>0}splitPastWorkspaceElement(e,t){for(let i=this._past.length-1;i>=0;i--)if(this._past[i]===e){t.has(this.strResource)?this._past[i]=t.get(this.strResource):this._past.splice(i,1);break}this.versionId++}splitFutureWorkspaceElement(e,t){for(let i=this._future.length-1;i>=0;i--)if(this._future[i]===e){t.has(this.strResource)?this._future[i]=t.get(this.strResource):this._future.splice(i,1);break}this.versionId++}moveBackward(e){this._past.pop(),this._future.push(e),this.versionId++}moveForward(e){this._future.pop(),this._past.push(e),this.versionId++}}class C{constructor(e){this.editStacks=e,this._versionIds=[];for(let t=0,i=this.editStacks.length;t<i;t++)this._versionIds[t]=this.editStacks[t].versionId}isValid(){for(let e=0,t=this.editStacks.length;e<t;e++)if(this._versionIds[e]!==this.editStacks[e].versionId)return!1;return!0}}const w=new S("","");w.locked=!0;let D=class{constructor(e,t){this._dialogService=e,this._notificationService=t,this._editStacks=new Map,this._uriComparisonKeyComputers=[]}getUriComparisonKey(e){for(const t of this._uriComparisonKeyComputers)if(t[0]===e.scheme)return t[1].getComparisonKey(e);return e.toString()}_print(e){console.log("------------------------------------"),console.log(`AFTER ${e}: `);const t=[];for(const i of this._editStacks)t.push(i[1].toString());console.log(t.join("\n"))}pushElement(e,t=h.I_.None,i=h.Ym.None){if(0===e.type){const r=k(e.resource),o=this.getUriComparisonKey(e.resource);this._pushElement(new v(e,r,o,t.id,t.nextOrder(),i.id,i.nextOrder()))}else{const r=new Set,o=[],n=[];for(const t of e.resources){const e=k(t),i=this.getUriComparisonKey(t);r.has(i)||(r.add(i),o.push(e),n.push(i))}1===o.length?this._pushElement(new v(e,o[0],n[0],t.id,t.nextOrder(),i.id,i.nextOrder())):this._pushElement(new _(e,o,n,t.id,t.nextOrder(),i.id,i.nextOrder()))}}_pushElement(e){for(let t=0,i=e.strResources.length;t<i;t++){const i=e.resourceLabels[t],r=e.strResources[t];let o;this._editStacks.has(r)?o=this._editStacks.get(r):(o=new S(i,r),this._editStacks.set(r,o)),o.pushElement(e)}}getLastElement(e){const t=this.getUriComparisonKey(e);if(this._editStacks.has(t)){const e=this._editStacks.get(t);if(e.hasFutureElements())return null;const i=e.getClosestPastElement();return i?i.actual:null}return null}_splitPastWorkspaceElement(e,t){const i=e.actual.split(),r=new Map;for(const o of i){const e=k(o.resource),t=this.getUriComparisonKey(o.resource),i=new v(o,e,t,0,0,0,0);r.set(i.strResource,i)}for(const o of e.strResources){if(t&&t.has(o))continue;this._editStacks.get(o).splitPastWorkspaceElement(e,r)}}_splitFutureWorkspaceElement(e,t){const i=e.actual.split(),r=new Map;for(const o of i){const e=k(o.resource),t=this.getUriComparisonKey(o.resource),i=new v(o,e,t,0,0,0,0);r.set(i.strResource,i)}for(const o of e.strResources){if(t&&t.has(o))continue;this._editStacks.get(o).splitFutureWorkspaceElement(e,r)}}removeElements(e){const t="string"===typeof e?e:this.getUriComparisonKey(e);if(this._editStacks.has(t)){this._editStacks.get(t).dispose(),this._editStacks.delete(t)}}setElementsValidFlag(e,t,i){const r=this.getUriComparisonKey(e);if(this._editStacks.has(r)){this._editStacks.get(r).setElementsValidFlag(t,i)}}createSnapshot(e){const t=this.getUriComparisonKey(e);if(this._editStacks.has(t)){return this._editStacks.get(t).createSnapshot(e)}return new h.To(e,[])}restoreSnapshot(e){const t=this.getUriComparisonKey(e.resource);if(this._editStacks.has(t)){const i=this._editStacks.get(t);i.restoreSnapshot(e),i.hasPastElements()||i.hasFutureElements()||(i.dispose(),this._editStacks.delete(t))}}getElements(e){const t=this.getUriComparisonKey(e);if(this._editStacks.has(t)){return this._editStacks.get(t).getElements()}return{past:[],future:[]}}_findClosestUndoElementWithSource(e){if(!e)return[null,null];let t=null,i=null;for(const[r,o]of this._editStacks){const n=o.getClosestPastElement();n&&(n.sourceId===e&&(!t||n.sourceOrder>t.sourceOrder)&&(t=n,i=r))}return[t,i]}canUndo(e){if(e instanceof h.Ym){const[,t]=this._findClosestUndoElementWithSource(e.id);return!!t}const t=this.getUriComparisonKey(e);if(this._editStacks.has(t)){return this._editStacks.get(t).hasPastElements()}return!1}_onError(e,t){(0,r.dz)(e);for(const i of t.strResources)this.removeElements(i);this._notificationService.error(e)}_acquireLocks(e){for(const t of e.editStacks)if(t.locked)throw new Error("Cannot acquire edit stack lock");for(const t of e.editStacks)t.locked=!0;return()=>{for(const t of e.editStacks)t.locked=!1}}_safeInvokeWithLocks(e,t,i,r,o){const n=this._acquireLocks(i);let s;try{s=t()}catch(a){return n(),r.dispose(),this._onError(a,e)}return s?s.then((()=>(n(),r.dispose(),o())),(t=>(n(),r.dispose(),this._onError(t,e)))):(n(),r.dispose(),o())}_invokeWorkspacePrepare(e){return f(this,void 0,void 0,(function*(){if("undefined"===typeof e.actual.prepareUndoRedo)return o.jG.None;const t=e.actual.prepareUndoRedo();return"undefined"===typeof t?o.jG.None:t}))}_invokeResourcePrepare(e,t){if(1!==e.actual.type||"undefined"===typeof e.actual.prepareUndoRedo)return t(o.jG.None);const i=e.actual.prepareUndoRedo();return i?(0,o.Xm)(i)?t(i):i.then((e=>t(e))):t(o.jG.None)}_getAffectedEditStacks(e){const t=[];for(const i of e.strResources)t.push(this._editStacks.get(i)||w);return new C(t)}_tryToSplitAndUndo(e,t,i,r){if(t.canSplit())return this._splitPastWorkspaceElement(t,i),this._notificationService.warn(r),new F(this._undo(e,0,!0));for(const o of t.strResources)this.removeElements(o);return this._notificationService.warn(r),new F}_checkWorkspaceUndo(e,t,i,r){if(t.removedResources)return this._tryToSplitAndUndo(e,t,t.removedResources,a.kg({key:"cannotWorkspaceUndo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not undo '{0}' across all files. {1}",t.label,t.removedResources.createMessage()));if(r&&t.invalidatedResources)return this._tryToSplitAndUndo(e,t,t.invalidatedResources,a.kg({key:"cannotWorkspaceUndo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not undo '{0}' across all files. {1}",t.label,t.invalidatedResources.createMessage()));const o=[];for(const s of i.editStacks)s.getClosestPastElement()!==t&&o.push(s.resourceLabel);if(o.length>0)return this._tryToSplitAndUndo(e,t,null,a.kg({key:"cannotWorkspaceUndoDueToChanges",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because changes were made to {1}",t.label,o.join(", ")));const n=[];for(const s of i.editStacks)s.locked&&n.push(s.resourceLabel);return n.length>0?this._tryToSplitAndUndo(e,t,null,a.kg({key:"cannotWorkspaceUndoDueToInProgressUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because there is already an undo or redo operation running on {1}",t.label,n.join(", "))):i.isValid()?null:this._tryToSplitAndUndo(e,t,null,a.kg({key:"cannotWorkspaceUndoDueToInMeantimeUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because an undo or redo operation occurred in the meantime",t.label))}_workspaceUndo(e,t,i){const r=this._getAffectedEditStacks(t),o=this._checkWorkspaceUndo(e,t,r,!1);return o?o.returnValue:this._confirmAndExecuteWorkspaceUndo(e,t,r,i)}_isPartOfUndoGroup(e){if(!e.groupId)return!1;for(const[,t]of this._editStacks){const i=t.getClosestPastElement();if(i){if(i===e){const i=t.getSecondClosestPastElement();if(i&&i.groupId===e.groupId)return!0}if(i.groupId===e.groupId)return!0}}return!1}_confirmAndExecuteWorkspaceUndo(e,t,i,r){return f(this,void 0,void 0,(function*(){if(t.canSplit()&&!this._isPartOfUndoGroup(t)){const o=yield this._dialogService.show(s.A.Info,a.kg("confirmWorkspace","Would you like to undo '{0}' across all files?",t.label),[a.kg({key:"ok",comment:["{0} denotes a number that is > 1"]},"Undo in {0} Files",i.editStacks.length),a.kg("nok","Undo this File"),a.kg("cancel","Cancel")],{cancelId:2});if(2===o.choice)return;if(1===o.choice)return this._splitPastWorkspaceElement(t,null),this._undo(e,0,!0);const n=this._checkWorkspaceUndo(e,t,i,!1);if(n)return n.returnValue;r=!0}let o;try{o=yield this._invokeWorkspacePrepare(t)}catch(c){return this._onError(c,t)}const n=this._checkWorkspaceUndo(e,t,i,!0);if(n)return o.dispose(),n.returnValue;for(const e of i.editStacks)e.moveBackward(t);return this._safeInvokeWithLocks(t,(()=>t.actual.undo()),i,o,(()=>this._continueUndoInGroup(t.groupId,r)))}))}_resourceUndo(e,t,i){if(t.isValid){if(!e.locked)return this._invokeResourcePrepare(t,(r=>(e.moveBackward(t),this._safeInvokeWithLocks(t,(()=>t.actual.undo()),new C([e]),r,(()=>this._continueUndoInGroup(t.groupId,i))))));{const e=a.kg({key:"cannotResourceUndoDueToInProgressUndoRedo",comment:["{0} is a label for an operation."]},"Could not undo '{0}' because there is already an undo or redo operation running.",t.label);this._notificationService.warn(e)}}else e.flushAllElements()}_findClosestUndoElementInGroup(e){if(!e)return[null,null];let t=null,i=null;for(const[r,o]of this._editStacks){const n=o.getClosestPastElement();n&&(n.groupId===e&&(!t||n.groupOrder>t.groupOrder)&&(t=n,i=r))}return[t,i]}_continueUndoInGroup(e,t){if(!e)return;const[,i]=this._findClosestUndoElementInGroup(e);return i?this._undo(i,0,t):void 0}undo(e){if(e instanceof h.Ym){const[,t]=this._findClosestUndoElementWithSource(e.id);return t?this._undo(t,e.id,!1):void 0}return"string"===typeof e?this._undo(e,0,!1):this._undo(this.getUriComparisonKey(e),0,!1)}_undo(e,t=0,i){if(!this._editStacks.has(e))return;const r=this._editStacks.get(e),o=r.getClosestPastElement();if(!o)return;if(o.groupId){const[e,r]=this._findClosestUndoElementInGroup(o.groupId);if(o!==e&&r)return this._undo(r,t,i)}if((o.sourceId!==t||o.confirmBeforeUndo)&&!i)return this._confirmAndContinueUndo(e,t,o);try{return 1===o.type?this._workspaceUndo(e,o,i):this._resourceUndo(r,o,i)}finally{p}}_confirmAndContinueUndo(e,t,i){return f(this,void 0,void 0,(function*(){if(1!==(yield this._dialogService.show(s.A.Info,a.kg("confirmDifferentSource","Would you like to undo '{0}'?",i.label),[a.kg("confirmDifferentSource.yes","Yes"),a.kg("confirmDifferentSource.no","No")],{cancelId:1})).choice)return this._undo(e,t,!0)}))}_findClosestRedoElementWithSource(e){if(!e)return[null,null];let t=null,i=null;for(const[r,o]of this._editStacks){const n=o.getClosestFutureElement();n&&(n.sourceId===e&&(!t||n.sourceOrder<t.sourceOrder)&&(t=n,i=r))}return[t,i]}canRedo(e){if(e instanceof h.Ym){const[,t]=this._findClosestRedoElementWithSource(e.id);return!!t}const t=this.getUriComparisonKey(e);if(this._editStacks.has(t)){return this._editStacks.get(t).hasFutureElements()}return!1}_tryToSplitAndRedo(e,t,i,r){if(t.canSplit())return this._splitFutureWorkspaceElement(t,i),this._notificationService.warn(r),new F(this._redo(e));for(const o of t.strResources)this.removeElements(o);return this._notificationService.warn(r),new F}_checkWorkspaceRedo(e,t,i,r){if(t.removedResources)return this._tryToSplitAndRedo(e,t,t.removedResources,a.kg({key:"cannotWorkspaceRedo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not redo '{0}' across all files. {1}",t.label,t.removedResources.createMessage()));if(r&&t.invalidatedResources)return this._tryToSplitAndRedo(e,t,t.invalidatedResources,a.kg({key:"cannotWorkspaceRedo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not redo '{0}' across all files. {1}",t.label,t.invalidatedResources.createMessage()));const o=[];for(const s of i.editStacks)s.getClosestFutureElement()!==t&&o.push(s.resourceLabel);if(o.length>0)return this._tryToSplitAndRedo(e,t,null,a.kg({key:"cannotWorkspaceRedoDueToChanges",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because changes were made to {1}",t.label,o.join(", ")));const n=[];for(const s of i.editStacks)s.locked&&n.push(s.resourceLabel);return n.length>0?this._tryToSplitAndRedo(e,t,null,a.kg({key:"cannotWorkspaceRedoDueToInProgressUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because there is already an undo or redo operation running on {1}",t.label,n.join(", "))):i.isValid()?null:this._tryToSplitAndRedo(e,t,null,a.kg({key:"cannotWorkspaceRedoDueToInMeantimeUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because an undo or redo operation occurred in the meantime",t.label))}_workspaceRedo(e,t){const i=this._getAffectedEditStacks(t),r=this._checkWorkspaceRedo(e,t,i,!1);return r?r.returnValue:this._executeWorkspaceRedo(e,t,i)}_executeWorkspaceRedo(e,t,i){return f(this,void 0,void 0,(function*(){let r;try{r=yield this._invokeWorkspacePrepare(t)}catch(n){return this._onError(n,t)}const o=this._checkWorkspaceRedo(e,t,i,!0);if(o)return r.dispose(),o.returnValue;for(const e of i.editStacks)e.moveForward(t);return this._safeInvokeWithLocks(t,(()=>t.actual.redo()),i,r,(()=>this._continueRedoInGroup(t.groupId)))}))}_resourceRedo(e,t){if(t.isValid){if(!e.locked)return this._invokeResourcePrepare(t,(i=>(e.moveForward(t),this._safeInvokeWithLocks(t,(()=>t.actual.redo()),new C([e]),i,(()=>this._continueRedoInGroup(t.groupId))))));{const e=a.kg({key:"cannotResourceRedoDueToInProgressUndoRedo",comment:["{0} is a label for an operation."]},"Could not redo '{0}' because there is already an undo or redo operation running.",t.label);this._notificationService.warn(e)}}else e.flushAllElements()}_findClosestRedoElementInGroup(e){if(!e)return[null,null];let t=null,i=null;for(const[r,o]of this._editStacks){const n=o.getClosestFutureElement();n&&(n.groupId===e&&(!t||n.groupOrder<t.groupOrder)&&(t=n,i=r))}return[t,i]}_continueRedoInGroup(e){if(!e)return;const[,t]=this._findClosestRedoElementInGroup(e);return t?this._redo(t):void 0}redo(e){if(e instanceof h.Ym){const[,t]=this._findClosestRedoElementWithSource(e.id);return t?this._redo(t):void 0}return"string"===typeof e?this._redo(e):this._redo(this.getUriComparisonKey(e))}_redo(e){if(!this._editStacks.has(e))return;const t=this._editStacks.get(e),i=t.getClosestFutureElement();if(i){if(i.groupId){const[e,t]=this._findClosestRedoElementInGroup(i.groupId);if(i!==e&&t)return this._redo(t)}try{return 1===i.type?this._workspaceRedo(e,i):this._resourceRedo(t,i)}finally{p}}}};D=u([g(0,c.X),g(1,d.Ot)],D);class F{constructor(e){this.returnValue=e}}(0,l.v)(h.$D,D)},36764:(e,t,i)=>{"use strict";i.d(t,{Q_:()=>a,VR:()=>n,jB:()=>s,kF:()=>l,mX:()=>c});var r=i(84978),o=(i(19459),i(34235));const n=(0,i(3660).u1)("contextService");function s(e){const t=e;return"string"===typeof(null===t||void 0===t?void 0:t.id)&&o.r.isUri(t.uri)}function a(e){return e.configuration?{id:e.id,configPath:e.configuration}:1===e.folders.length?{id:e.id,uri:e.folders[0].uri}:void 0}class c{constructor(e,t){this.raw=t,this.uri=e.uri,this.index=e.index,this.name=e.name}toJSON(){return{uri:this.uri,name:this.name,index:this.index}}}const l="code-workspace";(0,r.kg)("codeWorkspace","Code Workspace")},42856:(e,t,i)=>{"use strict";i.d(t,{L:()=>r});const r=(0,i(3660).u1)("workspaceTrustManagementService")}}]);
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[5927],{7205:(e,t,r)=>{r.d(t,{A:()=>o});const n=(e,t)=>t.some((t=>t instanceof RegExp?t.test(e):t===e)),a=new Set(["https:","http:","file:"]),s=e=>{try{const{protocol:t}=new URL(e);return t.endsWith(":")&&!t.includes(".")&&!a.has(t)}catch{return!1}},c=(e,{stripHash:t})=>{var r,n;const a=/^data:(?<type>[^,]*?),(?<data>[^#]*?)(?:#(?<hash>.*))?$/.exec(e);if(!a)throw new Error(`Invalid URL: ${e}`);let{type:s,data:c,hash:o}=a.groups;const i=s.split(";");o=t?"":o;let d=!1;"base64"===i[i.length-1]&&(i.pop(),d=!0);const u=null!==(r=null===(n=i.shift())||void 0===n?void 0:n.toLowerCase())&&void 0!==r?r:"",l=[...i.map((e=>{let[t,r=""]=e.split("=").map((e=>e.trim()));return"charset"===t&&(r=r.toLowerCase(),"us-ascii"===r)?"":`${t}${r?`=${r}`:""}`})).filter(Boolean)];return d&&l.push("base64"),(l.length>0||u&&"text/plain"!==u)&&l.unshift(u),`data:${l.join(";")},${d?c.trim():c}${o?`#${o}`:""}`};function o(e,t){if("string"!==typeof(t={defaultProtocol:"http",normalizeProtocol:!0,forceHttp:!1,forceHttps:!1,stripAuthentication:!0,stripHash:!1,stripTextFragment:!0,stripWWW:!0,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:!0,removeSingleSlash:!0,removeDirectoryIndex:!1,removeExplicitPort:!1,sortQueryParameters:!0,...t}).defaultProtocol||t.defaultProtocol.endsWith(":")||(t.defaultProtocol=`${t.defaultProtocol}:`),e=e.trim(),/^data:/i.test(e))return c(e,t);if(s(e))return e;const r=e.startsWith("//");!r&&/^\.*\//.test(e)||(e=e.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,t.defaultProtocol));const a=new URL(e);if(t.forceHttp&&t.forceHttps)throw new Error("The `forceHttp` and `forceHttps` options cannot be used together");if(t.forceHttp&&"https:"===a.protocol&&(a.protocol="http:"),t.forceHttps&&"http:"===a.protocol&&(a.protocol="https:"),t.stripAuthentication&&(a.username="",a.password=""),t.stripHash?a.hash="":t.stripTextFragment&&(a.hash=a.hash.replace(/#?:~:text.*?$/i,"")),a.pathname){const e=/\b[a-z][a-z\d+\-.]{1,50}:\/\//g;let t=0,r="";for(;;){const n=e.exec(a.pathname);if(!n)break;const s=n[0],c=n.index;r+=a.pathname.slice(t,c).replace(/\/{2,}/g,"/"),r+=s,t=c+s.length}r+=a.pathname.slice(t,a.pathname.length).replace(/\/{2,}/g,"/"),a.pathname=r}if(a.pathname)try{a.pathname=decodeURI(a.pathname)}catch{}if(!0===t.removeDirectoryIndex&&(t.removeDirectoryIndex=[/^index\.[a-z]+$/]),Array.isArray(t.removeDirectoryIndex)&&t.removeDirectoryIndex.length>0){let e=a.pathname.split("/");const r=e[e.length-1];n(r,t.removeDirectoryIndex)&&(e=e.slice(0,-1),a.pathname=e.slice(1).join("/")+"/")}if(a.hostname&&(a.hostname=a.hostname.replace(/\.$/,""),t.stripWWW&&/^www\.(?!www\.)[a-z\-\d]{1,63}\.[a-z.\-\d]{2,63}$/.test(a.hostname)&&(a.hostname=a.hostname.replace(/^www\./,""))),Array.isArray(t.removeQueryParameters))for(const s of[...a.searchParams.keys()])n(s,t.removeQueryParameters)&&a.searchParams.delete(s);if(Array.isArray(t.keepQueryParameters)||!0!==t.removeQueryParameters||(a.search=""),Array.isArray(t.keepQueryParameters)&&t.keepQueryParameters.length>0)for(const s of[...a.searchParams.keys()])n(s,t.keepQueryParameters)||a.searchParams.delete(s);if(t.sortQueryParameters){a.searchParams.sort();try{a.search=decodeURIComponent(a.search)}catch{}}t.removeTrailingSlash&&(a.pathname=a.pathname.replace(/\/$/,"")),t.removeExplicitPort&&a.port&&(a.port="");const o=e;return e=a.toString(),t.removeSingleSlash||"/"!==a.pathname||o.endsWith("/")||""!==a.hash||(e=e.replace(/\/$/,"")),(t.removeTrailingSlash||"/"===a.pathname)&&""===a.hash&&t.removeSingleSlash&&(e=e.replace(/\/$/,"")),r&&!t.normalizeProtocol&&(e=e.replace(/^http:\/\//,"//")),t.stripProtocol&&(e=e.replace(/^(?:https?:)?\/\//,"")),e}},44141:(e,t,r)=>{r.d(t,{KU:()=>d,Pz:()=>o,hI:()=>l,u$:()=>u});var n=r(93278),a=r(33288),s=r(39217),c=r(67421);const o=a.di.createIdentifier("client"),i=a.di.createIdentifier("ai_client"),d=e=>a.di.getInstance(e,o),u=e=>a.di.getOrCreateInstance(e,i,(()=>new c.LA({baseUrl:"https://ai-mail.emcdn.ru"})));function l(e){return(t,r,c)=>{const o=a.di.getInstance(r,s.no);return(0,n.fetchBaseQuery)({...e,fetchFn:(null===o||void 0===o?void 0:o.execute)||fetch})(t,r,c)}}},53369:(e,t,r)=>{r.d(t,{A:()=>K});var n=r(40342),a=r(39990),s=r(83351),c=r(1779),o=r(141),i=r(65119),d=r(84568),u=r(93563),l=r(17581),h=r(21981),p=r(63531),m=r(53200),f=r(47036),y=r(40869),g=r(56920),P=r(76793),v=r(843),A=r(35317),w=r(62677),x=r(64936),j=r(94925),S=r(34524),I=r(65983),C=r(47358),b=r(7760),E=r(8493),$=r(87790),k=r(86286),Q=r(53204),O=r(39738),H=r(55701),R=r(94381),T=r(18777),L=r(62689),D=r(46312),W=r(84612),z=r(58819),M=r(15865),F=r(95679),U=r(88528),q=r(77532),N=r(36404),Z=r(18398),B=r(33288),J=r(23580);const _=(0,n.HY)({[B.di.reducerPath]:B.di.reducer,[D.Z8.reducerPath]:D.Z8.reducer,[R.Ad.reducerPath]:R.Ad.reducer,[a.Q2.reducerPath]:a.Q2.reducer,[c.S.reducerPath]:c.S.reducer,[o.k.reducerPath]:o.k.reducer,[s.OV.reducerPath]:s.OV.reducer,[i.yR.reducerPath]:i.yR.reducer,[d.Nq.reducerPath]:d.Nq.reducer,[u.kE.reducerPath]:u.kE.reducer,[l.GY.reducerPath]:l.GY.reducer,[H.VM.reducerPath]:H.VM.reducer,[h.m4.reducerPath]:h.m4.reducer,[p.yH.reducerPath]:p.yH.reducer,[m.B.reducerPath]:m.B.reducer,[f.f.reducerPath]:f.f.reducer,[T.Jg.reducerPath]:T.Jg.reducer,[F.CL.reducerPath]:F.CL.reducer,[U.tO.reducerPath]:U.tO.reducer,[L.vx.reducerPath]:L.vx.reducer,[y.M.reducerPath]:y.M.reducer,[g.F.reducerPath]:g.F.reducer,[P.KA.reducerPath]:P.KA.reducer,[v.Sd.reducerPath]:v.Sd.reducer,[A.y.reducerPath]:A.y.reducer,[x.Ay.name]:x.Ay.reducer,[j.Ay.name]:j.Ay.reducer,[S.Ay.name]:S.Ay.reducer,[I.Ay.name]:I.Ay.reducer,[C.Ay.name]:C.Ay.reducer,[b.Ay.name]:b.Ay.reducer,[E.Ay.name]:E.Ay.reducer,[$.Ay.name]:$.Ay.reducer,[k.Ay.name]:k.Ay.reducer,[Q.Ay.name]:Q.Ay.reducer,[q.Ay.name]:q.Ay.reducer,[O.Ay.name]:O.Ay.reducer,[W.Zs.reducerPath]:W.Zs.reducer,[z.Uu.reducerPath]:z.Uu.reducer,[N.Ay.name]:N.Ay.reducer,[M.So.reducerPath]:M.So.reducer,[Z.Ay.name]:Z.Ay.reducer,[w.C.reducerPath]:w.C.reducer}),K=(e,t)=>"authorizationApi/resetApiState"===t.type?_({[J.if]:e[J.if],[R.Ad.reducerPath]:e[R.Ad.reducerPath]},t):_(e,t)},37444:(e,t,r)=>{r.d(t,{F:()=>R,y:()=>T});var n=r(90536),a=r(31052),s=r(53369),c=r(39990),o=r(83351),i=r(65119),d=r(84568),u=r(93563),l=r(17581),h=r(21981),p=r(53200),m=r(63531),f=r(55701),y=r(47036),g=r(94381),P=r(18777),v=r(141),A=r(1779),w=r(40869),x=r(56920),j=r(76793),S=r(843),I=r(35317),C=r(95679),b=r(88528),E=r(62689),$=r(46312),k=r(84612),Q=r(58819),O=r(15865),H=r(62677);const R=[c.Q2,o.OV,A.S,v.k,i.yR,d.Nq,u.kE,l.GY,h.m4,p.B,f.VM,y.f,g.Ad,P.Jg,w.M,x.F,j.KA,S.Sd,I.y,C.CL,b.tO,E.vx,$.Z8,m.yH,k.Zs,Q.Uu,O.So,H.C];function T(){const e=(0,n.configureStore)({reducer:s.A,middleware:e=>e({serializableCheck:!1}).concat(R.map((e=>e.middleware)))});return(0,a.$k)(e.dispatch),e}},90070:(e,t,r)=>{r.d(t,{W0:()=>o,p6:()=>s});var n=r(33288);const a=n.di.createIdentifier(),s=()=>n.di.useInstance(a);class c{constructor(){this._storage=Object.create(null)}get(e){const t=this._storage[e];return t&&(!t.expires||t.expires<Date.now())?t.value:""}set(e,t,r){this._storage[e]={value:t,expires:r.expires?1e3*r.expires+Date.now():void 0}}remove(e){delete this._storage[e]}}const o=e=>n.di.inject(e,a,new c)},23580:(e,t,r)=>{r.d(t,{A$:()=>m,Ff:()=>d,IP:()=>i,My:()=>u,Nj:()=>h,if:()=>o,lg:()=>l,rl:()=>p});var n=r(92810),a=r(45934),s=r(82375),c=r(41664);const o="INJECTION",i=o,d=(e,t)=>{if(!e){const e=s.Q.createChild(),t=(0,c.Q)();return s.Q.inject(t,e),t}return e};function u(e){const t=e.getState()[o];return t&&s.Q.getInstance(t)}function l(){const e=u((0,a.Pj)());return function(t,r){e.inject(t,r)}}function h(e){return u((0,a.Pj)()).getInstance(e)}function p(e){const[t,r]=(0,n.useState)(),s=(0,a.Pj)(),c=(0,n.useRef)(Promise.resolve()),o=u(s);return(0,n.useEffect)((()=>{const t=c.current=c.current.then((()=>o.getInstanceAsync(e))).then((e=>{t===c.current&&r(e)}),(e=>console.log(e)))}),[r,e,s,o]),t}function m(e){return u((0,a.Pj)()).getServices(e)}},39217:(e,t,r)=>{r.d(t,{CJ:()=>f,eT:()=>i,ft:()=>m,jY:()=>l,mg:()=>u,no:()=>p,qT:()=>c});var n=r(14315),a=r(44141),s=r(33288);function c(e){for(;e.endsWith("/");)e=e.slice(0,e.length-1);return`${e}/wp-json`}const o={baseUrl:"https://app.emailmaker.ru/api//wp-json",baseApiParams:{secure:!0,credentials:"same-origin",format:"json"},securityWorker:()=>({credentials:"same-origin"})};o.baseUrl=c("https://app.emailmaker.ru/api/");const i=s.di.createIdentifier();function d(e){return s.di.getOrCreateInstance(e,i,(()=>function(e=o){const t=new Map;return{create(r){const a=new n.RQ({...e,...r});return t.set(a,r),a},getOptions:()=>e,setOptions(r){e=r;for(const[n,a]of t)Object.assign(n,{...e,...a})}}}()))}function u(e,t={}){return d(e).create(t)}const l=s.di.createIdentifier(),h=s.di.createIdentifier(),p=s.di.createIdentifier(),m=e=>{var t;t=e,s.di.inject(t,p,{execute:async(e,r={})=>{const n=s.di.getServices(t,l),a=new Request(e,r);for(const t of n)await t.execute(a);let c=await fetch(a);const o=s.di.getServices(t,h);for(const t of o)c=await t.execute(c);return c}});const r=s.di.getInstance(e,p);s.di.inject(e,a.Pz,u(e,{customFetch:(null===r||void 0===r?void 0:r.execute)||fetch}))};let f;!function(e){const t="https://racs.rest/v3";e.post=function(e,r){const n={method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(r)};return fetch(`${t}?resource=${e}&dataset=${document.location.hostname}`,n)},e.getAll=async function(e,r=0){const n={method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:`{"filter":{},"limit":${r}}`},a=await fetch(`${t}/get?resource=${e}&dataset=${document.location.hostname}`,n);return await a.json()}}(f||(f={}))},15230:(e,t,r)=>{r.d(t,{Cd:()=>o,Lz:()=>c,ax:()=>i,f5:()=>a,sZ:()=>s});var n=r(41664);const a="Not implemented in plugin",s=(0,n.Q)(),c=(0,n.Q)(),o=(0,n.Q)(),i=(0,n.Q)();(0,n.Q)(),(0,n.Q)()},12299:(e,t,r)=>{r.r(t),r.d(t,{init:()=>w});var n=r(39217),a=r(90070),s=r(37444),c=r(77509),o=r(33288),i=r(15230),d=r(14386),u=r(8671),l=r(55853),h=r(19209),p=r(33746),m=r(25565),f=r(62410),y=r(63772),g=r(37e3),P=r(91514),v=r(1281);r(85163).EW.isPlugin=!0;const A=(0,d.E)([u.e,l.E,h.F,P.h,p.F,v.Z,m.i,f.r,y.Z,g.JR]);async function w(e){const t=(0,s.y)(),r=new c.j,d=await(0,g.qF)(e.element,r),u=g.sC.get(d);if(u){const t=await u;if(t.getElement()===d)return await t.reset(e)}const l=async function(){o.di.inject(t,i.ax,t),e.standaloneKey&&o.di.inject(t,m.E,e.standaloneKey),o.di.inject(t,i.Lz,r),(0,a.W0)(t),(0,n.ft)(t);const s=await A(t);return await s.setOptions(e),o.di.inject(t,i.Cd,s),s.instance}();return d&&g.sC.set(d,l),l}},37e3:(e,t,r)=>{r.d(t,{JR:()=>g,qF:()=>P,sC:()=>v});r(57650),r(57964);var n=r(26254),a=r(89949),s=r(92810),c=r(97716),o=r(45934),i=r(64617),d=r(82212),u=r(32269),l=r(14386),h=r(893),p=r(33288),m=r(15230),f=r(17126),y=r(70082);const g=(0,l.l)((e=>{let t=null;const r=p.di.getInstance(e,m.Lz);let l;return{instance:{getElement:()=>t},async setOptions(g){let A=await P(g.element,r);const{instance:w}=p.di.getInstance(e,m.Cd)||{};if(t!==A){if(t&&v.delete(t),!(A&&v.has(A)&&w)){if(l&&l.dispose(),t=A,l=r.addDisposable(new u.jG),A)v.set(A,w);else{const e=document.createElement("div");e.style.position="absolute",e.style.left="-10000px",document.body.appendChild(e);const t=()=>{e.isConnected&&document.body.removeChild(e)};l.addDispose(t),A=e}return(t=>new Promise(((r,u)=>{var p;if(null!==(p=l)&&void 0!==p&&p.isDisposed())r();else{const u=(0,c.H)(t);u.render((0,y.jsx)(s.StrictMode,{children:(0,y.jsx)(o.Kq,{store:e,children:(0,y.jsx)(a.R,{onLoad:r,children:(0,y.jsx)(f.or.Provider,{value:{element:t},children:(0,y.jsx)(i.fS,{children:(0,y.jsx)(d.Y,{children:(0,y.jsx)(h.m,{children:(0,y.jsx)(n.A,{})})})})})})})})),l.addDispose(r),l.addDispose((()=>u.unmount()))}})))(A)}console.log("multiple init call on single HTMLELEMENT")}},dispose(){var e;null===(e=l)||void 0===e||e.dispose()}}}));function P(e,t){return"undefined"!==typeof e&&"string"===typeof e?(e=document.querySelector(e))||new Promise(((r,n)=>{const a=new MutationObserver((()=>{(e=document.querySelector(e))&&(t.dispose(),r(e))}));a.observe(document.body,{attributes:!0,childList:!0,subtree:!0}),t.addDisposable({dispose:()=>a.disconnect()})})):e}const v=new Map},25565:(e,t,r)=>{r.d(t,{E:()=>u,i:()=>l});var n=r(20116),a=r(14999),s=r(14386),c=r(97001),o=r(44376),i=r(91738),d=r(33288);const u=d.di.createIdentifier(),l=(0,s.l)((async e=>{const t=d.di.getInstance(e,u);if(t){const n=(await r.e(9640).then(r.bind(r,76794))).injectStandaloneMocks;await n(e,t)}(0,n.BD)(e,a.A);const s=new c.P(e),l=new o.y(e);return{async setOptions(e){l.setOptions(e),await s.show(e.content)},instance:{...l.get(),show:e=>s.show(e),save:()=>s.save(),getEmail:()=>s.getEmail(),getBlocks:()=>s.getBlocks(),getEmailRevisions:()=>s.getEmailRevisions(),getComments:()=>s.getComments(),compileEmail:async e=>e?(0,i.AU)(e):await s.compileEmail(),getCodeErrors:()=>s.getCodeErrors()}}}))}}]);