@emailmaker/emailmaker 1.0.96 → 1.0.98

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 (185) hide show
  1. package/README.md +1 -1
  2. package/iframe/429.js +1 -1
  3. package/iframe/766.js +1 -1
  4. package/iframe/iframe-eblock.441a4dbc4384f20fcf1e.html +1 -0
  5. package/iframe/iframe.441a4dbc4384f20fcf1e.html +1 -0
  6. package/iframe/js/330.378aec42.js +1 -0
  7. package/iframe/js/{826.0e4820c1.js.LICENSE.txt → 330.378aec42.js.LICENSE.txt} +1 -1
  8. package/iframe/sandbox-eblock.js +1 -1
  9. package/iframe/sandbox.js +1 -1
  10. package/package.json +1 -1
  11. package/react/index.js +1 -1
  12. package/react/index.mjs +1 -1
  13. package/translations.pot +322 -305
  14. package/asset-manifest.json +0 -165
  15. package/css.worker.js +0 -2
  16. package/css.worker.js.LICENSE.txt +0 -6
  17. package/editor.worker.js +0 -1
  18. package/emailmaker-esm.js +0 -1
  19. package/emailmaker.d.ts +0 -1826
  20. package/emailmaker.js +0 -1
  21. package/html.worker.js +0 -2
  22. package/html.worker.js.LICENSE.txt +0 -14
  23. package/iframe/iframe-eblock.e8d51b90ab45966000c9.html +0 -1
  24. package/iframe/iframe.e8d51b90ab45966000c9.html +0 -1
  25. package/iframe/js/826.0e4820c1.js +0 -1
  26. package/plugin.html +0 -294
  27. package/plugin_blocks_test.html +0 -144
  28. package/plugin_default.html +0 -56
  29. package/plugin_idigital.html +0 -254
  30. package/plugin_nota.html +0 -861
  31. package/plugin_s.html +0 -31
  32. package/static/css/57.3f9e7de8.chunk.css +0 -1
  33. package/static/css/578.fe5765dd.chunk.css +0 -1
  34. package/static/css/6501.e131603e.chunk.css +0 -1
  35. package/static/css/6798.94b6a519.chunk.css +0 -1
  36. package/static/css/8084.15f07f40.chunk.css +0 -1
  37. package/static/js/1303.f6ad7f62.js +0 -2
  38. package/static/js/1303.f6ad7f62.js.LICENSE.txt +0 -11
  39. package/static/js/1538.97b965ba.chunk.js +0 -2
  40. package/static/js/1538.97b965ba.chunk.js.LICENSE.txt +0 -23
  41. package/static/js/1654.d922b07e.js +0 -2
  42. package/static/js/1654.d922b07e.js.LICENSE.txt +0 -38
  43. package/static/js/1729.a0be903e.chunk.js +0 -1
  44. package/static/js/1880.a21db601.chunk.js +0 -1
  45. package/static/js/2642.b60a63f6.chunk.js +0 -1
  46. package/static/js/2715.c21845e3.js +0 -2
  47. package/static/js/2715.c21845e3.js.LICENSE.txt +0 -59
  48. package/static/js/3017.6335b77e.chunk.js +0 -1
  49. package/static/js/3019.aaa6d087.chunk.js +0 -2
  50. package/static/js/3019.aaa6d087.chunk.js.LICENSE.txt +0 -6
  51. package/static/js/3085.b9d27236.chunk.js +0 -2
  52. package/static/js/3085.b9d27236.chunk.js.LICENSE.txt +0 -54
  53. package/static/js/3220.db24c24f.js +0 -2
  54. package/static/js/3220.db24c24f.js.LICENSE.txt +0 -39
  55. package/static/js/4309.ae8e4ad0.chunk.js +0 -1
  56. package/static/js/4972.264e4569.js +0 -1
  57. package/static/js/5346.4aaf9222.chunk.js +0 -2
  58. package/static/js/5346.4aaf9222.chunk.js.LICENSE.txt +0 -6
  59. package/static/js/542.c5e7e839.js +0 -2
  60. package/static/js/542.c5e7e839.js.LICENSE.txt +0 -21
  61. package/static/js/57.4cd2b40e.chunk.js +0 -1
  62. package/static/js/578.068dd4e8.chunk.js +0 -2
  63. package/static/js/578.068dd4e8.chunk.js.LICENSE.txt +0 -6
  64. package/static/js/6144.a3bf0881.chunk.js +0 -2
  65. package/static/js/6144.a3bf0881.chunk.js.LICENSE.txt +0 -6
  66. package/static/js/6419.e52a6158.js +0 -2
  67. package/static/js/6419.e52a6158.js.LICENSE.txt +0 -1
  68. package/static/js/6501.7570e270.chunk.js +0 -1
  69. package/static/js/6798.ae85cbf9.chunk.js +0 -2
  70. package/static/js/6798.ae85cbf9.chunk.js.LICENSE.txt +0 -39
  71. package/static/js/6819.85c72c79.chunk.js +0 -2
  72. package/static/js/6819.85c72c79.chunk.js.LICENSE.txt +0 -6
  73. package/static/js/6957.5082b810.chunk.js +0 -1
  74. package/static/js/7463.69864ff5.chunk.js +0 -2
  75. package/static/js/7463.69864ff5.chunk.js.LICENSE.txt +0 -6
  76. package/static/js/8084.5458cfaf.chunk.js +0 -1
  77. package/static/js/8473.54e12d36.chunk.js +0 -2
  78. package/static/js/8473.54e12d36.chunk.js.LICENSE.txt +0 -101
  79. package/static/js/8521.a1623fc2.chunk.js +0 -2
  80. package/static/js/8521.a1623fc2.chunk.js.LICENSE.txt +0 -6
  81. package/static/js/9644.1ae95bb7.chunk.js +0 -2
  82. package/static/js/9644.1ae95bb7.chunk.js.LICENSE.txt +0 -6
  83. package/static/js/9960.218c70ae.chunk.js +0 -2
  84. package/static/js/9960.218c70ae.chunk.js.LICENSE.txt +0 -30
  85. package/static/js/9981.6c41ee44.js +0 -1
  86. package/static/js/ant-locale/locale-ar_EG-js.a1f4a2ee.chunk.js +0 -1
  87. package/static/js/ant-locale/locale-az_AZ-js.1b3f2ec6.chunk.js +0 -1
  88. package/static/js/ant-locale/locale-bg_BG-js.2f68d816.chunk.js +0 -1
  89. package/static/js/ant-locale/locale-bn_BD-js.38ca14cb.chunk.js +0 -1
  90. package/static/js/ant-locale/locale-by_BY-js.927570db.chunk.js +0 -1
  91. package/static/js/ant-locale/locale-ca_ES-js.e4bdfa2b.chunk.js +0 -1
  92. package/static/js/ant-locale/locale-cs_CZ-js.f1151015.chunk.js +0 -1
  93. package/static/js/ant-locale/locale-da_DK-js.33e12cfb.chunk.js +0 -1
  94. package/static/js/ant-locale/locale-de_DE-js.42497042.chunk.js +0 -1
  95. package/static/js/ant-locale/locale-el_GR-js.007d40b4.chunk.js +0 -1
  96. package/static/js/ant-locale/locale-en_GB-js.6756ba01.chunk.js +0 -1
  97. package/static/js/ant-locale/locale-es_ES-js.43424efe.chunk.js +0 -1
  98. package/static/js/ant-locale/locale-et_EE-js.3694348e.chunk.js +0 -1
  99. package/static/js/ant-locale/locale-eu_ES-js.e2678a29.chunk.js +0 -1
  100. package/static/js/ant-locale/locale-fa_IR-js.3b6bfddc.chunk.js +0 -1
  101. package/static/js/ant-locale/locale-fi_FI-js.8e749864.chunk.js +0 -1
  102. package/static/js/ant-locale/locale-fr_BE-js.2aec36ca.chunk.js +0 -1
  103. package/static/js/ant-locale/locale-fr_CA-js.ba00ca3a.chunk.js +0 -1
  104. package/static/js/ant-locale/locale-fr_FR-js.1e6d0a10.chunk.js +0 -1
  105. package/static/js/ant-locale/locale-ga_IE-js.cc1f0f56.chunk.js +0 -1
  106. package/static/js/ant-locale/locale-gl_ES-js.c1588dec.chunk.js +0 -1
  107. package/static/js/ant-locale/locale-he_IL-js.1be3257a.chunk.js +0 -1
  108. package/static/js/ant-locale/locale-hi_IN-js.8e3ea1dc.chunk.js +0 -1
  109. package/static/js/ant-locale/locale-hr_HR-js.94001d08.chunk.js +0 -1
  110. package/static/js/ant-locale/locale-hu_HU-js.50a3ffc6.chunk.js +0 -1
  111. package/static/js/ant-locale/locale-hy_AM-js.6b20bceb.chunk.js +0 -1
  112. package/static/js/ant-locale/locale-id_ID-js.b380cc8b.chunk.js +0 -1
  113. package/static/js/ant-locale/locale-is_IS-js.995979c0.chunk.js +0 -1
  114. package/static/js/ant-locale/locale-it_IT-js.46a8ce6d.chunk.js +0 -1
  115. package/static/js/ant-locale/locale-ja_JP-js.69f9da33.chunk.js +0 -1
  116. package/static/js/ant-locale/locale-ka_GE-js.8b08646c.chunk.js +0 -1
  117. package/static/js/ant-locale/locale-kk_KZ-js.a1cc2ddc.chunk.js +0 -1
  118. package/static/js/ant-locale/locale-km_KH-js.09c630f9.chunk.js +0 -1
  119. package/static/js/ant-locale/locale-kmr_IQ-js.c25f3afa.chunk.js +0 -1
  120. package/static/js/ant-locale/locale-kn_IN-js.40066823.chunk.js +0 -1
  121. package/static/js/ant-locale/locale-ko_KR-js.68047848.chunk.js +0 -1
  122. package/static/js/ant-locale/locale-ku_IQ-js.594553b1.chunk.js +0 -1
  123. package/static/js/ant-locale/locale-lt_LT-js.08ac662b.chunk.js +0 -1
  124. package/static/js/ant-locale/locale-lv_LV-js.2a33af61.chunk.js +0 -1
  125. package/static/js/ant-locale/locale-mk_MK-js.caa088c9.chunk.js +0 -1
  126. package/static/js/ant-locale/locale-ml_IN-js.3aa233eb.chunk.js +0 -1
  127. package/static/js/ant-locale/locale-mn_MN-js.2550caa5.chunk.js +0 -1
  128. package/static/js/ant-locale/locale-ms_MY-js.924bfbf0.chunk.js +0 -1
  129. package/static/js/ant-locale/locale-my_MM-js.bc3805ae.chunk.js +0 -1
  130. package/static/js/ant-locale/locale-nb_NO-js.471cc88a.chunk.js +0 -1
  131. package/static/js/ant-locale/locale-ne_NP-js.52b65a1a.chunk.js +0 -1
  132. package/static/js/ant-locale/locale-nl_BE-js.2af0a7fe.chunk.js +0 -1
  133. package/static/js/ant-locale/locale-nl_NL-js.453457a0.chunk.js +0 -1
  134. package/static/js/ant-locale/locale-pl_PL-js.1e4b27da.chunk.js +0 -1
  135. package/static/js/ant-locale/locale-pt_BR-js.75dc6403.chunk.js +0 -1
  136. package/static/js/ant-locale/locale-pt_PT-js.b07438c3.chunk.js +0 -1
  137. package/static/js/ant-locale/locale-ro_RO-js.4a05dc9d.chunk.js +0 -1
  138. package/static/js/ant-locale/locale-si_LK-js.3b54f4c4.chunk.js +0 -1
  139. package/static/js/ant-locale/locale-sk_SK-js.cd76b6b1.chunk.js +0 -1
  140. package/static/js/ant-locale/locale-sl_SI-js.8afbce30.chunk.js +0 -1
  141. package/static/js/ant-locale/locale-sr_RS-js.0708405f.chunk.js +0 -1
  142. package/static/js/ant-locale/locale-sv_SE-js.9f47a065.chunk.js +0 -1
  143. package/static/js/ant-locale/locale-ta_IN-js.3b46361c.chunk.js +0 -1
  144. package/static/js/ant-locale/locale-th_TH-js.83e732d3.chunk.js +0 -1
  145. package/static/js/ant-locale/locale-tk_TK-js.63d0b187.chunk.js +0 -1
  146. package/static/js/ant-locale/locale-tr_TR-js.b5e42917.chunk.js +0 -1
  147. package/static/js/ant-locale/locale-uk_UA-js.ef0d8c8e.chunk.js +0 -1
  148. package/static/js/ant-locale/locale-ur_PK-js.904c3e1c.chunk.js +0 -1
  149. package/static/js/ant-locale/locale-vi_VN-js.f0324229.chunk.js +0 -1
  150. package/static/js/ant-locale/locale-zh_CN-js.428a6bc7.chunk.js +0 -1
  151. package/static/js/ant-locale/locale-zh_HK-js.0feb368f.chunk.js +0 -1
  152. package/static/js/ant-locale/locale-zh_TW-js.163140fa.chunk.js +0 -1
  153. package/static/js/emailmaker_core.f495f35b.js +0 -2
  154. package/static/js/emailmaker_core.f495f35b.js.LICENSE.txt +0 -23
  155. package/static/js/mergeTags/locale0.594765fd.chunk.js +0 -1
  156. package/static/js/mergeTags/locale1.7a79e21e.chunk.js +0 -1
  157. package/static/media/ai-image.7c42c2e12001ebf31881.png +0 -0
  158. package/static/media/codicon.f13d28f3e470ec5c0896.ttf +0 -0
  159. package/static/media/empty-image.1827d6561f3c4042dfb3.png +0 -0
  160. package/static/media/fb.ff10384394f8044ec889.png +0 -0
  161. package/static/media/frame_dark.318d7ed53535d80662dc.png +0 -0
  162. package/static/media/frame_light.22a9b4ec728365d8193f.png +0 -0
  163. package/static/media/frame_template_gallery.85693b3950e7689fb3a5.png +0 -0
  164. package/static/media/icon-border-radius.2a56b93a7711558098a622296b7ae2e1.svg +0 -1
  165. package/static/media/icon-create-block.0b077f4000bf7907b9ea871d28c7fb1e.svg +0 -1
  166. package/static/media/icon-menu-block-welcome.1c534a003522feadd2e7.png +0 -0
  167. package/static/media/ig.47a89992b4bec92d4364.png +0 -0
  168. package/static/media/project-email-back-dark.9916625a9a714830b770.svg +0 -29
  169. package/static/media/project-email-back.0ce470def19ce7c063e0.svg +0 -29
  170. package/static/media/sign_up_01.333271584216122b89ba.png +0 -0
  171. package/static/media/sign_up_01_blocks.5538cfdb90d4869794dc.png +0 -0
  172. package/static/media/sign_up_02.d99d2aa6bf1ea74f01fa.png +0 -0
  173. package/static/media/sign_up_02_blocks.837fc2c9a9461fda13be.png +0 -0
  174. package/static/media/sign_up_03.5545ffad60a2cb5e0336.png +0 -0
  175. package/static/media/sign_up_03_blocks.126601f7a6fbea4b6c54.png +0 -0
  176. package/static/media/sign_up_04.398a4ca50d5f5b3cd837.png +0 -0
  177. package/static/media/sign_up_04_blocks.255c5c07b23cbcc256fd.png +0 -0
  178. package/static/media/sign_up_05.4c58df1be2edaa79d52b.png +0 -0
  179. package/static/media/sign_up_05_blocks.431b6844fdf3e14642c2.png +0 -0
  180. package/static/media/tg.10f004529a98df9732b9.png +0 -0
  181. package/static/media/tw.823a7736ac2d82815c71.png +0 -0
  182. package/static/media/video.854adea50295d0a3f7ae.png +0 -0
  183. package/static/media/vk.fe41df919f4e8718e0b3.png +0 -0
  184. package/static/media/yd.c40d05dde64ef695fdf2.png +0 -0
  185. package/static/media/yt.4ac57e55d158b40c7fc1.png +0 -0
@@ -1,2 +0,0 @@
1
- /*! For license information please see 6419.e52a6158.js.LICENSE.txt */
2
- "use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[6419],{2522:()=>{},36478:()=>{},496:()=>{},58159:(e,t,i)=>{i.r(t),i.d(t,{PixelRatio:()=>h,addMatchMediaChangeListener:()=>a,getZoomFactor:()=>d,isAndroid:()=>b,isChrome:()=>m,isElectron:()=>v,isFirefox:()=>u,isSafari:()=>g,isStandalone:()=>y,isWebKit:()=>p,isWebkitWebView:()=>f});var s=i(42464),n=i(55808);class o{constructor(){this._zoomFactor=1}getZoomFactor(){return this._zoomFactor}}o.INSTANCE=new o;class r extends n.jG{constructor(){super(),this._onDidChange=this._register(new s.vl),this.onDidChange=this._onDidChange.event,this._listener=()=>this._handleChange(!0),this._mediaQueryList=null,this._handleChange(!1)}_handleChange(e){var t;null===(t=this._mediaQueryList)||void 0===t||t.removeEventListener("change",this._listener),this._mediaQueryList=matchMedia(`(resolution: ${window.devicePixelRatio}dppx)`),this._mediaQueryList.addEventListener("change",this._listener),e&&this._onDidChange.fire()}}class l extends n.jG{constructor(){super(),this._onDidChange=this._register(new s.vl),this.onDidChange=this._onDidChange.event,this._value=this._getPixelRatio();const e=this._register(new r);this._register(e.onDidChange((()=>{this._value=this._getPixelRatio(),this._onDidChange.fire(this._value)})))}get value(){return this._value}_getPixelRatio(){const e=document.createElement("canvas").getContext("2d");return(window.devicePixelRatio||1)/(e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1)}}function a(e,t){"string"===typeof e&&(e=window.matchMedia(e)),e.addEventListener("change",t)}const h=new class{constructor(){this._pixelRatioMonitor=null}_getOrCreatePixelRatioMonitor(){return this._pixelRatioMonitor||(this._pixelRatioMonitor=(0,n.lC)(new l)),this._pixelRatioMonitor}get value(){return this._getOrCreatePixelRatioMonitor().value}get onDidChange(){return this._getOrCreatePixelRatioMonitor().onDidChange}};function d(){return o.INSTANCE.getZoomFactor()}const c=navigator.userAgent,u=c.indexOf("Firefox")>=0,p=c.indexOf("AppleWebKit")>=0,m=c.indexOf("Chrome")>=0,g=!m&&c.indexOf("Safari")>=0,f=!m&&!g&&p,v=c.indexOf("Electron/")>=0,b=c.indexOf("Android")>=0;let _=!1;if(window.matchMedia){const e=window.matchMedia("(display-mode: standalone)");_=e.matches,a(e,(({matches:e})=>{_=e}))}function y(){return _}},38879:(e,t,i)=>{i.d(t,{e:()=>o});var s=i(58159),n=i(55977);const o={clipboard:{writeText:n.ib||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:n.ib||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText)},keyboard:n.ib||s.isStandalone()?0:navigator.keyboard||s.isSafari?1:2,touch:"ontouchstart"in window||navigator.maxTouchPoints>0,pointerEvents:window.PointerEvent&&("ontouchstart"in window||window.navigator.maxTouchPoints>0||navigator.maxTouchPoints>0)}},66824:(e,t,i)=>{i.d(t,{K:()=>a});var s,n=i(55977),o=i(58775);const r=null===(s=window.trustedTypes)||void 0===s?void 0:s.createPolicy("defaultWorkerFactory",{createScriptURL:e=>e});class l{constructor(e,t,i,s,o){this.id=t;const l=function(e){if(n.zQ.emailmakerMonacoEnvironment){if("function"===typeof n.zQ.emailmakerMonacoEnvironment.getWorker)return n.zQ.emailmakerMonacoEnvironment.getWorker("workerMain.js",e);if("function"===typeof n.zQ.emailmakerMonacoEnvironment.getWorkerUrl){const t=n.zQ.emailmakerMonacoEnvironment.getWorkerUrl("workerMain.js",e);return new Worker(r?r.createScriptURL(t):t,{name:e})}}throw new Error("You must define a function emailmakerMonacoEnvironment.getWorkerUrl or emailmakerMonacoEnvironment.getWorker")}(i);"function"===typeof l.then?this.worker=l:this.worker=Promise.resolve(l),this.postMessage(e,[]),this.worker.then((e=>{e.onmessage=function(e){s(e.data)},e.onmessageerror=o,"function"===typeof e.addEventListener&&e.addEventListener("error",o)}))}getId(){return this.id}postMessage(e,t){var i;null===(i=this.worker)||void 0===i||i.then((i=>i.postMessage(e,t)))}dispose(){var e;null===(e=this.worker)||void 0===e||e.then((e=>e.terminate())),this.worker=null}}class a{constructor(e){this._label=e,this._webWorkerFailedBeforeError=!1}create(e,t,i){const s=++a.LAST_WORKER_ID;if(this._webWorkerFailedBeforeError)throw this._webWorkerFailedBeforeError;return new l(e,s,this._label||"anonymous"+s,t,(e=>{(0,o.IR)(e),this._webWorkerFailedBeforeError=e,i(e)}))}}a.LAST_WORKER_ID=0},72649:(e,t,i)=>{i.d(t,{M:()=>n,t:()=>s});const s={RESOURCES:"ResourceURLs",DOWNLOAD_URL:"DownloadURL",FILES:"Files",TEXT:i(21298).K.text},n={CurrentDragAndDropData:void 0}},90491:(e,t,i)=>{i.d(t,{$:()=>he,BC:()=>se,BK:()=>T,Bx:()=>X,Cl:()=>V,Di:()=>_e,Ej:()=>I,H4:()=>M,Hs:()=>ne,L9:()=>E,Ln:()=>oe,OK:()=>F,Oq:()=>w,PG:()=>S,QX:()=>R,Tf:()=>fe,Tr:()=>O,U2:()=>Y,WU:()=>de,Wt:()=>q,XD:()=>K,Xc:()=>_,Yx:()=>P,a4:()=>be,b2:()=>b,bq:()=>$,cL:()=>A,dl:()=>y,fg:()=>k,fs:()=>J,h:()=>Se,i0:()=>ge,jD:()=>ce,jG:()=>W,jh:()=>me,ko:()=>f,li:()=>U,m1:()=>z,mU:()=>L,pN:()=>ye,qD:()=>m,sb:()=>Q,tG:()=>x,vT:()=>pe,w5:()=>ie,w_:()=>p,wk:()=>ee,y6:()=>B,yB:()=>ue,yt:()=>ve,zK:()=>Z});var s=i(58159),n=i(38879),o=i(41828),r=i(24997),l=i(75909),a=i(42464),h=i(60220),d=i(55808),c=i(46442),u=i(55977);function p(e){for(;e.firstChild;)e.firstChild.remove()}function m(e){var t;return null!==(t=null===e||void 0===e?void 0:e.isConnected)&&void 0!==t&&t}class g{constructor(e,t,i,s){this._node=e,this._type=t,this._handler=i,this._options=s||!1,this._node.addEventListener(this._type,this._handler,this._options)}dispose(){this._handler&&(this._node.removeEventListener(this._type,this._handler,this._options),this._node=null,this._handler=null)}}function f(e,t,i,s){return new g(e,t,i,s)}function v(e){return function(t){return e(new r.P(t))}}const b=function(e,t,i,s){let n=i;return"click"===t||"mousedown"===t?n=v(i):"keydown"!==t&&"keypress"!==t&&"keyup"!==t||(n=function(e){return function(t){return e(new o.Z(t))}}(i)),f(e,t,n,s)},_=function(e,t,i){return function(e,t,i){return f(e,u.un&&n.e.pointerEvents?X.POINTER_DOWN:X.MOUSE_DOWN,t,i)}(e,v(t),i)};function y(e,t,i){let s=null;const n=e=>o.fire(e),o=new a.vl({onFirstListenerAdd:()=>{s||(s=new g(e,t,n,i))},onLastListenerRemove:()=>{s&&(s.dispose(),s=null)}});return o}let w,S,C=null;class D{constructor(e,t=0){this._runner=e,this.priority=t,this._canceled=!1}dispose(){this._canceled=!0}execute(){if(!this._canceled)try{this._runner()}catch(e){(0,l.dz)(e)}}static sort(e,t){return t.priority-e.priority}}function E(e){return document.defaultView.getComputedStyle(e,null)}function x(e){if(e!==document.body)return new k(e.clientWidth,e.clientHeight);if(u.un&&window.visualViewport)return new k(window.visualViewport.width,window.visualViewport.height);if(window.innerWidth&&window.innerHeight)return new k(window.innerWidth,window.innerHeight);if(document.body&&document.body.clientWidth&&document.body.clientHeight)return new k(document.body.clientWidth,document.body.clientHeight);if(document.documentElement&&document.documentElement.clientWidth&&document.documentElement.clientHeight)return new k(document.documentElement.clientWidth,document.documentElement.clientHeight);throw new Error("Unable to figure out browser width and height")}!function(){let e=[],t=null,i=!1,s=!1;const n=()=>{for(i=!1,t=e,e=[],s=!0;t.length>0;){t.sort(D.sort);t.shift().execute()}s=!1};S=(t,s=0)=>{const o=new D(t,s);return e.push(o),i||(i=!0,function(e){if(!C){const e=e=>setTimeout((()=>e((new Date).getTime())),0);C=self.requestAnimationFrame||self.msRequestAnimationFrame||self.webkitRequestAnimationFrame||self.mozRequestAnimationFrame||self.oRequestAnimationFrame||e}C.call(self,e)}(n)),o},w=(e,i)=>{if(s){const s=new D(e,i);return t.push(s),s}return S(e,i)}}();class N{static convertToPixels(e,t){return parseFloat(t)||0}static getDimension(e,t,i){const s=E(e);let n="0";return s&&(n=s.getPropertyValue?s.getPropertyValue(t):s.getAttribute(i)),N.convertToPixels(e,n)}static getBorderLeftWidth(e){return N.getDimension(e,"border-left-width","borderLeftWidth")}static getBorderRightWidth(e){return N.getDimension(e,"border-right-width","borderRightWidth")}static getBorderTopWidth(e){return N.getDimension(e,"border-top-width","borderTopWidth")}static getBorderBottomWidth(e){return N.getDimension(e,"border-bottom-width","borderBottomWidth")}static getPaddingLeft(e){return N.getDimension(e,"padding-left","paddingLeft")}static getPaddingRight(e){return N.getDimension(e,"padding-right","paddingRight")}static getPaddingTop(e){return N.getDimension(e,"padding-top","paddingTop")}static getPaddingBottom(e){return N.getDimension(e,"padding-bottom","paddingBottom")}static getMarginLeft(e){return N.getDimension(e,"margin-left","marginLeft")}static getMarginTop(e){return N.getDimension(e,"margin-top","marginTop")}static getMarginRight(e){return N.getDimension(e,"margin-right","marginRight")}static getMarginBottom(e){return N.getDimension(e,"margin-bottom","marginBottom")}}class k{constructor(e,t){this.width=e,this.height=t}with(e=this.width,t=this.height){return e!==this.width||t!==this.height?new k(e,t):this}static is(e){return"object"===typeof e&&"number"===typeof e.height&&"number"===typeof e.width}static lift(e){return e instanceof k?e:new k(e.width,e.height)}static equals(e,t){return e===t||!(!e||!t)&&(e.width===t.width&&e.height===t.height)}}function A(e){let t=e.offsetParent,i=e.offsetTop,s=e.offsetLeft;for(;null!==(e=e.parentNode)&&e!==document.body&&e!==document.documentElement;){i-=e.scrollTop;const n=H(e)?null:E(e);n&&(s-="rtl"!==n.direction?e.scrollLeft:-e.scrollLeft),e===t&&(s+=N.getBorderLeftWidth(e),i+=N.getBorderTopWidth(e),i+=e.offsetTop,s+=e.offsetLeft,t=e.offsetParent)}return{left:s,top:i}}function I(e,t,i){"number"===typeof t&&(e.style.width=`${t}px`),"number"===typeof i&&(e.style.height=`${i}px`)}function T(e){const t=e.getBoundingClientRect();return{left:t.left+P.scrollX,top:t.top+P.scrollY,width:t.width,height:t.height}}function L(e){let t=e,i=1;do{const e=E(t).zoom;null!==e&&void 0!==e&&"1"!==e&&(i*=e),t=t.parentElement}while(null!==t&&t!==document.documentElement);return i}k.None=new k(0,0);const P=new class{get scrollX(){return"number"===typeof window.scrollX?window.scrollX:document.body.scrollLeft+document.documentElement.scrollLeft}get scrollY(){return"number"===typeof window.scrollY?window.scrollY:document.body.scrollTop+document.documentElement.scrollTop}};function O(e){const t=N.getMarginLeft(e)+N.getMarginRight(e);return e.offsetWidth+t}function B(e){const t=N.getBorderLeftWidth(e)+N.getBorderRightWidth(e),i=N.getPaddingLeft(e)+N.getPaddingRight(e);return e.offsetWidth-t-i}function M(e){const t=N.getBorderTopWidth(e)+N.getBorderBottomWidth(e),i=N.getPaddingTop(e)+N.getPaddingBottom(e);return e.offsetHeight-t-i}function F(e){const t=N.getMarginTop(e)+N.getMarginBottom(e);return e.offsetHeight+t}function R(e,t){for(;e;){if(e===t)return!0;e=e.parentNode}return!1}function z(e,t,i){for(;e&&e.nodeType===e.ELEMENT_NODE;){if(e.classList.contains(t))return e;if(i)if("string"===typeof i){if(e.classList.contains(i))return null}else if(e===i)return null;e=e.parentNode}return null}function K(e,t,i){return!!z(e,t,i)}function H(e){return e&&!!e.host&&!!e.mode}function V(e){return!!W(e)}function W(e){for(;e.parentNode;){if(e===document.body)return null;e=e.parentNode}return H(e)?e:null}function $(){let e=document.activeElement;for(;null===e||void 0===e?void 0:e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function U(e=document.getElementsByTagName("head")[0]){const t=document.createElement("style");return t.type="text/css",t.media="screen",e.appendChild(t),t}let j=null;function G(){return j||(j=U()),j}function q(e,t,i=G()){i&&t&&i.sheet.insertRule(e+"{"+t+"}",0)}function Y(e,t=G()){if(!t)return;const i=function(e){var t,i;return(null===(t=null===e||void 0===e?void 0:e.sheet)||void 0===t?void 0:t.rules)?e.sheet.rules:(null===(i=null===e||void 0===e?void 0:e.sheet)||void 0===i?void 0:i.cssRules)?e.sheet.cssRules:[]}(t),s=[];for(let n=0;n<i.length;n++){-1!==i[n].selectorText.indexOf(e)&&s.push(n)}for(let n=s.length-1;n>=0;n--)t.sheet.deleteRule(s[n])}function Q(e){return"object"===typeof HTMLElement?e instanceof HTMLElement:e&&"object"===typeof e&&1===e.nodeType&&"string"===typeof e.nodeName}const X={CLICK:"click",AUXCLICK:"auxclick",DBLCLICK:"dblclick",MOUSE_UP:"mouseup",MOUSE_DOWN:"mousedown",MOUSE_OVER:"mouseover",MOUSE_MOVE:"mousemove",MOUSE_OUT:"mouseout",MOUSE_ENTER:"mouseenter",MOUSE_LEAVE:"mouseleave",MOUSE_WHEEL:"wheel",POINTER_UP:"pointerup",POINTER_DOWN:"pointerdown",POINTER_MOVE:"pointermove",POINTER_LEAVE:"pointerleave",CONTEXT_MENU:"contextmenu",WHEEL:"wheel",KEY_DOWN:"keydown",KEY_PRESS:"keypress",KEY_UP:"keyup",LOAD:"load",BEFORE_UNLOAD:"beforeunload",UNLOAD:"unload",PAGE_SHOW:"pageshow",PAGE_HIDE:"pagehide",ABORT:"abort",ERROR:"error",RESIZE:"resize",SCROLL:"scroll",FULLSCREEN_CHANGE:"fullscreenchange",WK_FULLSCREEN_CHANGE:"webkitfullscreenchange",SELECT:"select",CHANGE:"change",SUBMIT:"submit",RESET:"reset",FOCUS:"focus",FOCUS_IN:"focusin",FOCUS_OUT:"focusout",BLUR:"blur",INPUT:"input",STORAGE:"storage",DRAG_START:"dragstart",DRAG:"drag",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"drop",DRAG_END:"dragend",ANIMATION_START:s.isWebKit?"webkitAnimationStart":"animationstart",ANIMATION_END:s.isWebKit?"webkitAnimationEnd":"animationend",ANIMATION_ITERATION:s.isWebKit?"webkitAnimationIteration":"animationiteration"},J={stop:function(e,t){e.preventDefault?e.preventDefault():e.returnValue=!1,t&&(e.stopPropagation?e.stopPropagation():e.cancelBubble=!0)}};function Z(e){const t=[];for(let i=0;e&&e.nodeType===e.ELEMENT_NODE;i++)t[i]=e.scrollTop,e=e.parentNode;return t}function ee(e,t){for(let i=0;e&&e.nodeType===e.ELEMENT_NODE;i++)e.scrollTop!==t[i]&&(e.scrollTop=t[i]),e=e.parentNode}class te extends d.jG{constructor(e){super(),this._onDidFocus=this._register(new a.vl),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new a.vl),this.onDidBlur=this._onDidBlur.event;let t=te.hasFocusWithin(e),i=!1;const s=()=>{i=!1,t||(t=!0,this._onDidFocus.fire())},n=()=>{t&&(i=!0,window.setTimeout((()=>{i&&(i=!1,t=!1,this._onDidBlur.fire())}),0))};this._refreshStateHandler=()=>{te.hasFocusWithin(e)!==t&&(t?n():s())},this._register(f(e,X.FOCUS,s,!0)),this._register(f(e,X.BLUR,n,!0)),this._register(f(e,X.FOCUS_IN,(()=>this._refreshStateHandler()))),this._register(f(e,X.FOCUS_OUT,(()=>this._refreshStateHandler())))}static hasFocusWithin(e){const t=W(e);return R(t?t.activeElement:document.activeElement,e)}}function ie(e){return new te(e)}function se(e,...t){if(e.append(...t),1===t.length&&"string"!==typeof t[0])return t[0]}function ne(e,t){return e.insertBefore(t,e.firstChild),t}function oe(e,...t){e.innerText="",se(e,...t)}const re=/([\w\-]+)?(#([\w\-]+))?((\.([\w\-]+))*)/;var le;function ae(e,t,i,...s){const n=re.exec(t);if(!n)throw new Error("Bad use of emmet");i=Object.assign({},i||{});const o=n[1]||"div";let r;return r=e!==le.HTML?document.createElementNS(e,o):document.createElement(o),n[3]&&(r.id=n[3]),n[4]&&(r.className=n[4].replace(/\./g," ").trim()),Object.keys(i).forEach((e=>{const t=i[e];"undefined"!==typeof t&&(/^on\w+$/.test(e)?r[e]=t:"selected"===e?t&&r.setAttribute(e,"true"):r.setAttribute(e,t))})),r.append(...s),r}function he(e,t,...i){return ae(le.HTML,e,t,...i)}function de(...e){for(const t of e)t.style.display="",t.removeAttribute("aria-hidden")}function ce(...e){for(const t of e)t.style.display="none",t.setAttribute("aria-hidden","true")}function ue(e){return Array.prototype.slice.call(document.getElementsByTagName(e),0)}function pe(e){const t=window.devicePixelRatio*e;return Math.max(1,Math.floor(t))/window.devicePixelRatio}function me(e){window.open(e,"_blank","noopener")}function ge(e){const t=()=>{e(),i=S(t)};let i=S(t);return(0,d.s)((()=>i.dispose()))}function fe(e){return e?`url('${c.zl.asBrowserUri(e).toString(!0).replace(/'/g,"%27")}')`:"url('')"}function ve(e){return`'${e.replace(/'/g,"%27")}'`}function be(e,t=!1){const i=document.createElement("a");return h.$w("afterSanitizeAttributes",(s=>{for(const n of["href","src"])if(s.hasAttribute(n)){const o=s.getAttribute(n);if("href"===n&&o.startsWith("#"))continue;if(i.href=o,!e.includes(i.protocol.replace(/:$/,""))){if(t&&"src"===n&&i.href.startsWith("data:"))continue;s.removeAttribute(n)}}})),(0,d.s)((()=>{h.SV("afterSanitizeAttributes")}))}!function(e){e.HTML="http://www.w3.org/1999/xhtml",e.SVG="http://www.w3.org/2000/svg"}(le||(le={})),he.SVG=function(e,t,...i){return ae(le.SVG,e,t,...i)},c.Ez.setPreferredWebSchema(/^https:/.test(window.location.href)?"https":"http");class _e extends a.vl{constructor(){super(),this._subscriptions=new d.Cm,this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1},this._subscriptions.add(f(window,"keydown",(e=>{if(e.defaultPrevented)return;const t=new o.Z(e);if(6!==t.keyCode||!e.repeat){if(e.altKey&&!this._keyStatus.altKey)this._keyStatus.lastKeyPressed="alt";else if(e.ctrlKey&&!this._keyStatus.ctrlKey)this._keyStatus.lastKeyPressed="ctrl";else if(e.metaKey&&!this._keyStatus.metaKey)this._keyStatus.lastKeyPressed="meta";else if(e.shiftKey&&!this._keyStatus.shiftKey)this._keyStatus.lastKeyPressed="shift";else{if(6===t.keyCode)return;this._keyStatus.lastKeyPressed=void 0}this._keyStatus.altKey=e.altKey,this._keyStatus.ctrlKey=e.ctrlKey,this._keyStatus.metaKey=e.metaKey,this._keyStatus.shiftKey=e.shiftKey,this._keyStatus.lastKeyPressed&&(this._keyStatus.event=e,this.fire(this._keyStatus))}}),!0)),this._subscriptions.add(f(window,"keyup",(e=>{e.defaultPrevented||(!e.altKey&&this._keyStatus.altKey?this._keyStatus.lastKeyReleased="alt":!e.ctrlKey&&this._keyStatus.ctrlKey?this._keyStatus.lastKeyReleased="ctrl":!e.metaKey&&this._keyStatus.metaKey?this._keyStatus.lastKeyReleased="meta":!e.shiftKey&&this._keyStatus.shiftKey?this._keyStatus.lastKeyReleased="shift":this._keyStatus.lastKeyReleased=void 0,this._keyStatus.lastKeyPressed!==this._keyStatus.lastKeyReleased&&(this._keyStatus.lastKeyPressed=void 0),this._keyStatus.altKey=e.altKey,this._keyStatus.ctrlKey=e.ctrlKey,this._keyStatus.metaKey=e.metaKey,this._keyStatus.shiftKey=e.shiftKey,this._keyStatus.lastKeyReleased&&(this._keyStatus.event=e,this.fire(this._keyStatus)))}),!0)),this._subscriptions.add(f(document.body,"mousedown",(()=>{this._keyStatus.lastKeyPressed=void 0}),!0)),this._subscriptions.add(f(document.body,"mouseup",(()=>{this._keyStatus.lastKeyPressed=void 0}),!0)),this._subscriptions.add(f(document.body,"mousemove",(e=>{e.buttons&&(this._keyStatus.lastKeyPressed=void 0)}),!0)),this._subscriptions.add(f(window,"blur",(()=>{this.resetKeyStatus()})))}get keyStatus(){return this._keyStatus}resetKeyStatus(){this.doResetKeyStatus(),this.fire(this._keyStatus)}doResetKeyStatus(){this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1}}static getInstance(){return _e.instance||(_e.instance=new _e),_e.instance}dispose(){super.dispose(),this._subscriptions.dispose()}}class ye extends d.jG{constructor(e,t){super(),this.element=e,this.callbacks=t,this.counter=0,this.dragStartTime=0,this.registerListeners()}registerListeners(){this._register(f(this.element,X.DRAG_ENTER,(e=>{this.counter++,this.dragStartTime=e.timeStamp,this.callbacks.onDragEnter(e)}))),this._register(f(this.element,X.DRAG_OVER,(e=>{var t,i;e.preventDefault(),null===(i=(t=this.callbacks).onDragOver)||void 0===i||i.call(t,e,e.timeStamp-this.dragStartTime)}))),this._register(f(this.element,X.DRAG_LEAVE,(e=>{this.counter--,0===this.counter&&(this.dragStartTime=0,this.callbacks.onDragLeave(e))}))),this._register(f(this.element,X.DRAG_END,(e=>{this.counter=0,this.dragStartTime=0,this.callbacks.onDragEnd(e)}))),this._register(f(this.element,X.DROP,(e=>{this.counter=0,this.dragStartTime=0,this.callbacks.onDrop(e)})))}}const we=/(?<tag>[\w\-]+)?(?:#(?<id>[\w\-]+))?(?<class>(?:\.(?:[\w\-]+))*)(?:@(?<name>(?:[\w\_])+))?/;function Se(e,...t){let i,s;Array.isArray(t[0])?(i={},s=t[0]):(i=t[0]||{},s=t[1]);const n=we.exec(e);if(!n||!n.groups)throw new Error("Bad use of h");const o=n.groups.tag||"div",r=document.createElement(o);n.groups.id&&(r.id=n.groups.id),n.groups.class&&(r.className=n.groups.class.replace(/\./g," ").trim());const l={};if(n.groups.name&&(l[n.groups.name]=r),s)for(const a of s)a instanceof HTMLElement?r.appendChild(a):"string"===typeof a?r.append(a):(Object.assign(l,a),r.appendChild(a.root));for(const[a,h]of Object.entries(i))if("style"!==a)r.setAttribute(Ce(a),h.toString());else for(const[e,t]of Object.entries(h))r.style.setProperty(Ce(e),"number"===typeof t?t+"px":""+t);return l.root=r,l}function Ce(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}},60220:(e,t,i)=>{i.d(t,{$w:()=>J,SV:()=>Z,aj:()=>X});var s=Object.hasOwnProperty,n=Object.setPrototypeOf,o=Object.isFrozen,r=Object.getPrototypeOf,l=Object.getOwnPropertyDescriptor,a=Object.freeze,h=Object.seal,d=Object.create,c="undefined"!==typeof Reflect&&Reflect,u=c.apply,p=c.construct;u||(u=function(e,t,i){return e.apply(t,i)}),a||(a=function(e){return e}),h||(h=function(e){return e}),p||(p=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,i=Array(e.length);t<e.length;t++)i[t]=e[t];return i}return Array.from(e)}(t))))});var m,g=E(Array.prototype.forEach),f=E(Array.prototype.pop),v=E(Array.prototype.push),b=E(String.prototype.toLowerCase),_=E(String.prototype.match),y=E(String.prototype.replace),w=E(String.prototype.indexOf),S=E(String.prototype.trim),C=E(RegExp.prototype.test),D=(m=TypeError,function(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];return p(m,t)});function E(e){return function(t){for(var i=arguments.length,s=Array(i>1?i-1:0),n=1;n<i;n++)s[n-1]=arguments[n];return u(e,t,s)}}function x(e,t){n&&n(e,null);for(var i=t.length;i--;){var s=t[i];if("string"===typeof s){var r=b(s);r!==s&&(o(t)||(t[i]=r),s=r)}e[s]=!0}return e}function N(e){var t=d(null),i=void 0;for(i in e)u(s,e,[i])&&(t[i]=e[i]);return t}function k(e,t){for(;null!==e;){var i=l(e,t);if(i){if(i.get)return E(i.get);if("function"===typeof i.value)return E(i.value)}e=r(e)}return function(e){return null}}var A=a(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),I=a(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),T=a(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),L=a(["animate","color-profile","cursor","discard","fedropshadow","feimage","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),P=a(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),O=a(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),B=a(["#text"]),M=a(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),F=a(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),R=a(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),z=a(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),K=h(/\{\{[\s\S]*|[\s\S]*\}\}/gm),H=h(/<%[\s\S]*|[\s\S]*%>/gm),V=h(/^data-[\-\w.\u00B7-\uFFFF]/),W=h(/^aria-[\-\w]+$/),$=h(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),U=h(/^(?:\w+script|data):/i),j=h(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),G="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function q(e){if(Array.isArray(e)){for(var t=0,i=Array(e.length);t<e.length;t++)i[t]=e[t];return i}return Array.from(e)}var Y=function(){return"undefined"===typeof window?null:window};var Q=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Y(),i=function(t){return e(t)};if(i.version="2.3.1",i.removed=[],!t||!t.document||9!==t.document.nodeType)return i.isSupported=!1,i;var s=t.document,n=t.document,o=t.DocumentFragment,r=t.HTMLTemplateElement,l=t.Node,h=t.Element,d=t.NodeFilter,c=t.NamedNodeMap,u=void 0===c?t.NamedNodeMap||t.MozNamedAttrMap:c,p=t.Text,m=t.Comment,E=t.DOMParser,Q=t.trustedTypes,X=h.prototype,J=k(X,"cloneNode"),Z=k(X,"nextSibling"),ee=k(X,"childNodes"),te=k(X,"parentNode");if("function"===typeof r){var ie=n.createElement("template");ie.content&&ie.content.ownerDocument&&(n=ie.content.ownerDocument)}var se=function(e,t){if("object"!==("undefined"===typeof e?"undefined":G(e))||"function"!==typeof e.createPolicy)return null;var i=null,s="data-tt-policy-suffix";t.currentScript&&t.currentScript.hasAttribute(s)&&(i=t.currentScript.getAttribute(s));var n="dompurify"+(i?"#"+i:"");try{return e.createPolicy(n,{createHTML:function(e){return e}})}catch(o){return null}}(Q,s),ne=se&&Me?se.createHTML(""):"",oe=n,re=oe.implementation,le=oe.createNodeIterator,ae=oe.createDocumentFragment,he=oe.getElementsByTagName,de=s.importNode,ce={};try{ce=N(n).documentMode?n.documentMode:{}}catch(gt){}var ue={};i.isSupported="function"===typeof te&&re&&"undefined"!==typeof re.createHTMLDocument&&9!==ce;var pe=K,me=H,ge=V,fe=W,ve=U,be=j,_e=$,ye=null,we=x({},[].concat(q(A),q(I),q(T),q(P),q(B))),Se=null,Ce=x({},[].concat(q(M),q(F),q(R),q(z))),De=null,Ee=null,xe=!0,Ne=!0,ke=!1,Ae=!1,Ie=!1,Te=!1,Le=!1,Pe=!1,Oe=!1,Be=!0,Me=!1,Fe=!0,Re=!0,ze=!1,Ke={},He=null,Ve=x({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),We=null,$e=x({},["audio","video","img","source","image","track"]),Ue=null,je=x({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ge="http://www.w3.org/1998/Math/MathML",qe="http://www.w3.org/2000/svg",Ye="http://www.w3.org/1999/xhtml",Qe=Ye,Xe=!1,Je=null,Ze=n.createElement("form"),et=function(e){Je&&Je===e||(e&&"object"===("undefined"===typeof e?"undefined":G(e))||(e={}),e=N(e),ye="ALLOWED_TAGS"in e?x({},e.ALLOWED_TAGS):we,Se="ALLOWED_ATTR"in e?x({},e.ALLOWED_ATTR):Ce,Ue="ADD_URI_SAFE_ATTR"in e?x(N(je),e.ADD_URI_SAFE_ATTR):je,We="ADD_DATA_URI_TAGS"in e?x(N($e),e.ADD_DATA_URI_TAGS):$e,He="FORBID_CONTENTS"in e?x({},e.FORBID_CONTENTS):Ve,De="FORBID_TAGS"in e?x({},e.FORBID_TAGS):{},Ee="FORBID_ATTR"in e?x({},e.FORBID_ATTR):{},Ke="USE_PROFILES"in e&&e.USE_PROFILES,xe=!1!==e.ALLOW_ARIA_ATTR,Ne=!1!==e.ALLOW_DATA_ATTR,ke=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ae=e.SAFE_FOR_TEMPLATES||!1,Ie=e.WHOLE_DOCUMENT||!1,Pe=e.RETURN_DOM||!1,Oe=e.RETURN_DOM_FRAGMENT||!1,Be=!1!==e.RETURN_DOM_IMPORT,Me=e.RETURN_TRUSTED_TYPE||!1,Le=e.FORCE_BODY||!1,Fe=!1!==e.SANITIZE_DOM,Re=!1!==e.KEEP_CONTENT,ze=e.IN_PLACE||!1,_e=e.ALLOWED_URI_REGEXP||_e,Qe=e.NAMESPACE||Ye,Ae&&(Ne=!1),Oe&&(Pe=!0),Ke&&(ye=x({},[].concat(q(B))),Se=[],!0===Ke.html&&(x(ye,A),x(Se,M)),!0===Ke.svg&&(x(ye,I),x(Se,F),x(Se,z)),!0===Ke.svgFilters&&(x(ye,T),x(Se,F),x(Se,z)),!0===Ke.mathMl&&(x(ye,P),x(Se,R),x(Se,z))),e.ADD_TAGS&&(ye===we&&(ye=N(ye)),x(ye,e.ADD_TAGS)),e.ADD_ATTR&&(Se===Ce&&(Se=N(Se)),x(Se,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&x(Ue,e.ADD_URI_SAFE_ATTR),e.FORBID_CONTENTS&&(He===Ve&&(He=N(He)),x(He,e.FORBID_CONTENTS)),Re&&(ye["#text"]=!0),Ie&&x(ye,["html","head","body"]),ye.table&&(x(ye,["tbody"]),delete De.tbody),a&&a(e),Je=e)},tt=x({},["mi","mo","mn","ms","mtext"]),it=x({},["foreignobject","desc","title","annotation-xml"]),st=x({},I);x(st,T),x(st,L);var nt=x({},P);x(nt,O);var ot=function(e){v(i.removed,{element:e});try{e.parentNode.removeChild(e)}catch(gt){try{e.outerHTML=ne}catch(gt){e.remove()}}},rt=function(e,t){try{v(i.removed,{attribute:t.getAttributeNode(e),from:t})}catch(gt){v(i.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Se[e])if(Pe||Oe)try{ot(t)}catch(gt){}else try{t.setAttribute(e,"")}catch(gt){}},lt=function(e){var t=void 0,i=void 0;if(Le)e="<remove></remove>"+e;else{var s=_(e,/^[\r\n\t ]+/);i=s&&s[0]}var o=se?se.createHTML(e):e;if(Qe===Ye)try{t=(new E).parseFromString(o,"text/html")}catch(gt){}if(!t||!t.documentElement){t=re.createDocument(Qe,"template",null);try{t.documentElement.innerHTML=Xe?"":o}catch(gt){}}var r=t.body||t.documentElement;return e&&i&&r.insertBefore(n.createTextNode(i),r.childNodes[0]||null),Qe===Ye?he.call(t,Ie?"html":"body")[0]:Ie?t.documentElement:r},at=function(e){return le.call(e.ownerDocument||e,e,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT,null,!1)},ht=function(e){return"object"===("undefined"===typeof l?"undefined":G(l))?e instanceof l:e&&"object"===("undefined"===typeof e?"undefined":G(e))&&"number"===typeof e.nodeType&&"string"===typeof e.nodeName},dt=function(e,t,s){ue[e]&&g(ue[e],(function(e){e.call(i,t,s,Je)}))},ct=function(e){var t,s=void 0;if(dt("beforeSanitizeElements",e,null),!((t=e)instanceof p||t instanceof m)&&!("string"===typeof t.nodeName&&"string"===typeof t.textContent&&"function"===typeof t.removeChild&&t.attributes instanceof u&&"function"===typeof t.removeAttribute&&"function"===typeof t.setAttribute&&"string"===typeof t.namespaceURI&&"function"===typeof t.insertBefore))return ot(e),!0;if(_(e.nodeName,/[\u0080-\uFFFF]/))return ot(e),!0;var n=b(e.nodeName);if(dt("uponSanitizeElement",e,{tagName:n,allowedTags:ye}),!ht(e.firstElementChild)&&(!ht(e.content)||!ht(e.content.firstElementChild))&&C(/<[/\w]/g,e.innerHTML)&&C(/<[/\w]/g,e.textContent))return ot(e),!0;if("select"===n&&C(/<template/i,e.innerHTML))return ot(e),!0;if(!ye[n]||De[n]){if(Re&&!He[n]){var o=te(e)||e.parentNode,r=ee(e)||e.childNodes;if(r&&o)for(var l=r.length-1;l>=0;--l)o.insertBefore(J(r[l],!0),Z(e))}return ot(e),!0}return e instanceof h&&!function(e){var t=te(e);t&&t.tagName||(t={namespaceURI:Ye,tagName:"template"});var i=b(e.tagName),s=b(t.tagName);if(e.namespaceURI===qe)return t.namespaceURI===Ye?"svg"===i:t.namespaceURI===Ge?"svg"===i&&("annotation-xml"===s||tt[s]):Boolean(st[i]);if(e.namespaceURI===Ge)return t.namespaceURI===Ye?"math"===i:t.namespaceURI===qe?"math"===i&&it[s]:Boolean(nt[i]);if(e.namespaceURI===Ye){if(t.namespaceURI===qe&&!it[s])return!1;if(t.namespaceURI===Ge&&!tt[s])return!1;var n=x({},["title","style","font","a","script"]);return!nt[i]&&(n[i]||!st[i])}return!1}(e)?(ot(e),!0):"noscript"!==n&&"noembed"!==n||!C(/<\/no(script|embed)/i,e.innerHTML)?(Ae&&3===e.nodeType&&(s=e.textContent,s=y(s,pe," "),s=y(s,me," "),e.textContent!==s&&(v(i.removed,{element:e.cloneNode()}),e.textContent=s)),dt("afterSanitizeElements",e,null),!1):(ot(e),!0)},ut=function(e,t,i){if(Fe&&("id"===t||"name"===t)&&(i in n||i in Ze))return!1;if(Ne&&!Ee[t]&&C(ge,t));else if(xe&&C(fe,t));else{if(!Se[t]||Ee[t])return!1;if(Ue[t]);else if(C(_e,y(i,be,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==w(i,"data:")||!We[e]){if(ke&&!C(ve,y(i,be,"")));else if(i)return!1}else;}return!0},pt=function(e){var t=void 0,s=void 0,n=void 0,o=void 0;dt("beforeSanitizeAttributes",e,null);var r=e.attributes;if(r){var l={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Se};for(o=r.length;o--;){var a=t=r[o],h=a.name,d=a.namespaceURI;if(s=S(t.value),n=b(h),l.attrName=n,l.attrValue=s,l.keepAttr=!0,l.forceKeepAttr=void 0,dt("uponSanitizeAttribute",e,l),s=l.attrValue,!l.forceKeepAttr&&(rt(h,e),l.keepAttr))if(C(/\/>/i,s))rt(h,e);else{Ae&&(s=y(s,pe," "),s=y(s,me," "));var c=e.nodeName.toLowerCase();if(ut(c,n,s))try{d?e.setAttributeNS(d,h,s):e.setAttribute(h,s),f(i.removed)}catch(gt){}}}dt("afterSanitizeAttributes",e,null)}},mt=function e(t){var i=void 0,s=at(t);for(dt("beforeSanitizeShadowDOM",t,null);i=s.nextNode();)dt("uponSanitizeShadowNode",i,null),ct(i)||(i.content instanceof o&&e(i.content),pt(i));dt("afterSanitizeShadowDOM",t,null)};return i.sanitize=function(e,n){var r=void 0,a=void 0,h=void 0,d=void 0,c=void 0;if((Xe=!e)&&(e="\x3c!--\x3e"),"string"!==typeof e&&!ht(e)){if("function"!==typeof e.toString)throw D("toString is not a function");if("string"!==typeof(e=e.toString()))throw D("dirty is not a string, aborting")}if(!i.isSupported){if("object"===G(t.toStaticHTML)||"function"===typeof t.toStaticHTML){if("string"===typeof e)return t.toStaticHTML(e);if(ht(e))return t.toStaticHTML(e.outerHTML)}return e}if(Te||et(n),i.removed=[],"string"===typeof e&&(ze=!1),ze);else if(e instanceof l)1===(a=(r=lt("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===a.nodeName||"HTML"===a.nodeName?r=a:r.appendChild(a);else{if(!Pe&&!Ae&&!Ie&&-1===e.indexOf("<"))return se&&Me?se.createHTML(e):e;if(!(r=lt(e)))return Pe?null:ne}r&&Le&&ot(r.firstChild);for(var u=at(ze?e:r);h=u.nextNode();)3===h.nodeType&&h===d||ct(h)||(h.content instanceof o&&mt(h.content),pt(h),d=h);if(d=null,ze)return e;if(Pe){if(Oe)for(c=ae.call(r.ownerDocument);r.firstChild;)c.appendChild(r.firstChild);else c=r;return Be&&(c=de.call(s,c,!0)),c}var p=Ie?r.outerHTML:r.innerHTML;return Ae&&(p=y(p,pe," "),p=y(p,me," ")),se&&Me?se.createHTML(p):p},i.setConfig=function(e){et(e),Te=!0},i.clearConfig=function(){Je=null,Te=!1},i.isValidAttribute=function(e,t,i){Je||et({});var s=b(e),n=b(t);return ut(s,n,i)},i.addHook=function(e,t){"function"===typeof t&&(ue[e]=ue[e]||[],v(ue[e],t))},i.removeHook=function(e){ue[e]&&f(ue[e])},i.removeHooks=function(e){ue[e]&&(ue[e]=[])},i.removeAllHooks=function(){ue={}},i}();Q.version,Q.isSupported;const X=Q.sanitize,J=(Q.setConfig,Q.clearConfig,Q.isValidAttribute,Q.addHook),Z=Q.removeHook;Q.removeHooks,Q.removeAllHooks},96511:(e,t,i)=>{i.d(t,{f:()=>n,j:()=>o});var s=i(42464);class n{constructor(e,t,i){const n=e=>this.emitter.fire(e);this.emitter=new s.vl({onFirstListenerAdd:()=>e.addEventListener(t,n,i),onLastListenerRemove:()=>e.removeEventListener(t,n,i)})}get event(){return this.emitter.event}dispose(){this.emitter.dispose()}}function o(e){return e.preventDefault(),e.stopPropagation(),e}},745:(e,t,i)=>{i.d(t,{D:()=>s,Z:()=>o});class s{constructor(e){this.domNode=e,this._maxWidth="",this._width="",this._height="",this._top="",this._left="",this._bottom="",this._right="",this._fontFamily="",this._fontWeight="",this._fontSize="",this._fontStyle="",this._fontFeatureSettings="",this._textDecoration="",this._lineHeight="",this._letterSpacing="",this._className="",this._display="",this._position="",this._visibility="",this._color="",this._backgroundColor="",this._layerHint=!1,this._contain="none",this._boxShadow=""}setMaxWidth(e){const t=n(e);this._maxWidth!==t&&(this._maxWidth=t,this.domNode.style.maxWidth=this._maxWidth)}setWidth(e){const t=n(e);this._width!==t&&(this._width=t,this.domNode.style.width=this._width)}setHeight(e){const t=n(e);this._height!==t&&(this._height=t,this.domNode.style.height=this._height)}setTop(e){const t=n(e);this._top!==t&&(this._top=t,this.domNode.style.top=this._top)}setLeft(e){const t=n(e);this._left!==t&&(this._left=t,this.domNode.style.left=this._left)}setBottom(e){const t=n(e);this._bottom!==t&&(this._bottom=t,this.domNode.style.bottom=this._bottom)}setRight(e){const t=n(e);this._right!==t&&(this._right=t,this.domNode.style.right=this._right)}setFontFamily(e){this._fontFamily!==e&&(this._fontFamily=e,this.domNode.style.fontFamily=this._fontFamily)}setFontWeight(e){this._fontWeight!==e&&(this._fontWeight=e,this.domNode.style.fontWeight=this._fontWeight)}setFontSize(e){const t=n(e);this._fontSize!==t&&(this._fontSize=t,this.domNode.style.fontSize=this._fontSize)}setFontStyle(e){this._fontStyle!==e&&(this._fontStyle=e,this.domNode.style.fontStyle=this._fontStyle)}setFontFeatureSettings(e){this._fontFeatureSettings!==e&&(this._fontFeatureSettings=e,this.domNode.style.fontFeatureSettings=this._fontFeatureSettings)}setTextDecoration(e){this._textDecoration!==e&&(this._textDecoration=e,this.domNode.style.textDecoration=this._textDecoration)}setLineHeight(e){const t=n(e);this._lineHeight!==t&&(this._lineHeight=t,this.domNode.style.lineHeight=this._lineHeight)}setLetterSpacing(e){const t=n(e);this._letterSpacing!==t&&(this._letterSpacing=t,this.domNode.style.letterSpacing=this._letterSpacing)}setClassName(e){this._className!==e&&(this._className=e,this.domNode.className=this._className)}toggleClassName(e,t){this.domNode.classList.toggle(e,t),this._className=this.domNode.className}setDisplay(e){this._display!==e&&(this._display=e,this.domNode.style.display=this._display)}setPosition(e){this._position!==e&&(this._position=e,this.domNode.style.position=this._position)}setVisibility(e){this._visibility!==e&&(this._visibility=e,this.domNode.style.visibility=this._visibility)}setColor(e){this._color!==e&&(this._color=e,this.domNode.style.color=this._color)}setBackgroundColor(e){this._backgroundColor!==e&&(this._backgroundColor=e,this.domNode.style.backgroundColor=this._backgroundColor)}setLayerHinting(e){this._layerHint!==e&&(this._layerHint=e,this.domNode.style.transform=this._layerHint?"translate3d(0px, 0px, 0px)":"")}setBoxShadow(e){this._boxShadow!==e&&(this._boxShadow=e,this.domNode.style.boxShadow=e)}setContain(e){this._contain!==e&&(this._contain=e,this.domNode.style.contain=this._contain)}setAttribute(e,t){this.domNode.setAttribute(e,t)}removeAttribute(e){this.domNode.removeAttribute(e)}appendChild(e){this.domNode.appendChild(e.domNode)}removeChild(e){this.domNode.removeChild(e.domNode)}}function n(e){return"number"===typeof e?`${e}px`:e}function o(e){return new s(e)}},55667:(e,t,i)=>{i.d(t,{S5:()=>n,n:()=>r,yk:()=>o});var s=i(90491);function n(e,t={}){const i=r(t);return i.textContent=e,i}function o(e,t={}){const i=r(t);return a(i,function(e,t){const i={type:1,children:[]};let s=0,n=i;const o=[],r=new l(e);for(;!r.eos();){let e=r.next();const i="\\"===e&&0!==d(r.peek(),t);if(i&&(e=r.next()),!i&&h(e,t)&&e===r.peek()){r.advance(),2===n.type&&(n=o.pop());const i=d(e,t);if(n.type===i||5===n.type&&6===i)n=o.pop();else{const e={type:i,children:[]};5===i&&(e.index=s,s++),n.children.push(e),o.push(n),n=e}}else if("\n"===e)2===n.type&&(n=o.pop()),n.children.push({type:8});else if(2!==n.type){const t={type:2,content:e};n.children.push(t),o.push(n),n=t}else n.content+=e}2===n.type&&(n=o.pop());o.length;return i}(e,!!t.renderCodeSegments),t.actionHandler,t.renderCodeSegments),i}function r(e){const t=e.inline?"span":"div",i=document.createElement(t);return e.className&&(i.className=e.className),i}class l{constructor(e){this.source=e,this.index=0}eos(){return this.index>=this.source.length}next(){const e=this.peek();return this.advance(),e}peek(){return this.source[this.index]}advance(){this.index++}}function a(e,t,i,n){let o;if(2===t.type)o=document.createTextNode(t.content||"");else if(3===t.type)o=document.createElement("b");else if(4===t.type)o=document.createElement("i");else if(7===t.type&&n)o=document.createElement("code");else if(5===t.type&&i){const e=document.createElement("a");i.disposables.add(s.b2(e,"click",(e=>{i.callback(String(t.index),e)}))),o=e}else 8===t.type?o=document.createElement("br"):1===t.type&&(o=e);o&&e!==o&&e.appendChild(o),o&&Array.isArray(t.children)&&t.children.forEach((e=>{a(o,e,i,n)}))}function h(e,t){return 0!==d(e,t)}function d(e,t){switch(e){case"*":return 3;case"_":return 4;case"[":return 5;case"]":return 6;case"`":return t?7:0;default:return 0}}},59686:(e,t,i)=>{i.d(t,{_:()=>o});var s=i(90491),n=i(55808);class o{constructor(){this._hooks=new n.Cm,this._pointerMoveCallback=null,this._onStopCallback=null}dispose(){this.stopMonitoring(!1),this._hooks.dispose()}stopMonitoring(e,t){if(!this.isMonitoring())return;this._hooks.clear(),this._pointerMoveCallback=null;const i=this._onStopCallback;this._onStopCallback=null,e&&i&&i(t)}isMonitoring(){return!!this._pointerMoveCallback}startMonitoring(e,t,i,o,r){this.isMonitoring()&&this.stopMonitoring(!1),this._pointerMoveCallback=o,this._onStopCallback=r;let l=e;try{e.setPointerCapture(t),this._hooks.add((0,n.s)((()=>{e.releasePointerCapture(t)})))}catch(a){l=window}this._hooks.add(s.ko(l,s.Bx.POINTER_MOVE,(e=>{e.buttons===i?(e.preventDefault(),this._pointerMoveCallback(e)):this.stopMonitoring(!0)}))),this._hooks.add(s.ko(l,s.Bx.POINTER_UP,(e=>this.stopMonitoring(!0))))}}},41828:(e,t,i)=>{i.d(t,{Z:()=>h});var s=i(58159),n=i(45325),o=i(31401),r=i(55977);const l=r.zx?256:2048,a=r.zx?2048:256;class h{constructor(e){this._standardKeyboardEventBrand=!0;const t=e;this.browserEvent=t,this.target=t.target,this.ctrlKey=t.ctrlKey,this.shiftKey=t.shiftKey,this.altKey=t.altKey,this.metaKey=t.metaKey,this.keyCode=function(e){if(e.charCode){const t=String.fromCharCode(e.charCode).toUpperCase();return n.YM.fromString(t)}const t=e.keyCode;if(3===t)return 7;if(s.isFirefox){if(59===t)return 80;if(107===t)return 81;if(109===t)return 83;if(r.zx&&224===t)return 57}else if(s.isWebKit){if(91===t)return 57;if(r.zx&&93===t)return 57;if(!r.zx&&92===t)return 57}return n.uw[t]||0}(t),this.code=t.code,this.ctrlKey=this.ctrlKey||5===this.keyCode,this.altKey=this.altKey||6===this.keyCode,this.shiftKey=this.shiftKey||4===this.keyCode,this.metaKey=this.metaKey||57===this.keyCode,this._asKeybinding=this._computeKeybinding(),this._asRuntimeKeybinding=this._computeRuntimeKeybinding()}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()}toKeybinding(){return this._asRuntimeKeybinding}equals(e){return this._asKeybinding===e}_computeKeybinding(){let e=0;5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(e=this.keyCode);let t=0;return this.ctrlKey&&(t|=l),this.altKey&&(t|=512),this.shiftKey&&(t|=1024),this.metaKey&&(t|=a),t|=e,t}_computeRuntimeKeybinding(){let e=0;return 5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(e=this.keyCode),new o.h$(this.ctrlKey,this.shiftKey,this.altKey,this.metaKey,e)}}},24997:(e,t,i)=>{i.d(t,{P:()=>h,$:()=>d});var s=i(58159);let n=!1,o=null;function r(e){if(!e.parent||e.parent===e)return null;try{const t=e.location,i=e.parent.location;if("null"!==t.origin&&"null"!==i.origin&&t.origin!==i.origin)return n=!0,null}catch(t){return n=!0,null}return e.parent}class l{static getSameOriginWindowChain(){if(!o){o=[];let e,t=window;do{e=r(t),e?o.push({window:t,iframeElement:t.frameElement||null}):o.push({window:t,iframeElement:null}),t=e}while(t)}return o.slice(0)}static getPositionOfChildWindowRelativeToAncestorWindow(e,t){if(!t||e===t)return{top:0,left:0};let i=0,s=0;const n=this.getSameOriginWindowChain();for(const o of n){if(i+=o.window.scrollY,s+=o.window.scrollX,o.window===t)break;if(!o.iframeElement)break;const e=o.iframeElement.getBoundingClientRect();i+=e.top,s+=e.left}return{top:i,left:s}}}var a=i(55977);class h{constructor(e){this.timestamp=Date.now(),this.browserEvent=e,this.leftButton=0===e.button,this.middleButton=1===e.button,this.rightButton=2===e.button,this.buttons=e.buttons,this.target=e.target,this.detail=e.detail||1,"dblclick"===e.type&&(this.detail=2),this.ctrlKey=e.ctrlKey,this.shiftKey=e.shiftKey,this.altKey=e.altKey,this.metaKey=e.metaKey,"number"===typeof e.pageX?(this.posx=e.pageX,this.posy=e.pageY):(this.posx=e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,this.posy=e.clientY+document.body.scrollTop+document.documentElement.scrollTop);const t=l.getPositionOfChildWindowRelativeToAncestorWindow(self,e.view);this.posx-=t.left,this.posy-=t.top}preventDefault(){this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent.stopPropagation()}}class d{constructor(e,t=0,i=0){if(this.browserEvent=e||null,this.target=e?e.target||e.targetNode||e.srcElement:null,this.deltaY=i,this.deltaX=t,e){const t=e,i=e;if("undefined"!==typeof t.wheelDeltaY)this.deltaY=t.wheelDeltaY/120;else if("undefined"!==typeof i.VERTICAL_AXIS&&i.axis===i.VERTICAL_AXIS)this.deltaY=-i.detail/3;else if("wheel"===e.type){const t=e;t.deltaMode===t.DOM_DELTA_LINE?s.isFirefox&&!a.zx?this.deltaY=-e.deltaY/3:this.deltaY=-e.deltaY:this.deltaY=-e.deltaY/40}if("undefined"!==typeof t.wheelDeltaX)s.isSafari&&a.uF?this.deltaX=-t.wheelDeltaX/120:this.deltaX=t.wheelDeltaX/120;else if("undefined"!==typeof i.HORIZONTAL_AXIS&&i.axis===i.HORIZONTAL_AXIS)this.deltaX=-e.detail/3;else if("wheel"===e.type){const t=e;t.deltaMode===t.DOM_DELTA_LINE?s.isFirefox&&!a.zx?this.deltaX=-e.deltaX/3:this.deltaX=-e.deltaX:this.deltaX=-e.deltaX/40}0===this.deltaY&&0===this.deltaX&&e.wheelDelta&&(this.deltaY=e.wheelDelta/120)}}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation()}}},5644:(e,t,i)=>{i.d(t,{B:()=>s,q:()=>h});var s,n=i(90491),o=i(48640),r=i(1304),l=i(55808),a=function(e,t,i,s){var n,o=arguments.length,r=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,i,s);else for(var l=e.length-1;l>=0;l--)(n=e[l])&&(r=(o<3?n(r):o>3?n(t,i,r):n(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r};!function(e){e.Tap="-monaco-gesturetap",e.Change="-monaco-gesturechange",e.Start="-monaco-gesturestart",e.End="-monaco-gesturesend",e.Contextmenu="-monaco-gesturecontextmenu"}(s||(s={}));class h extends l.jG{constructor(){super(),this.dispatched=!1,this.activeTouches={},this.handle=null,this.targets=[],this.ignoreTargets=[],this._lastSetTapCountTime=0,this._register(n.ko(document,"touchstart",(e=>this.onTouchStart(e)),{passive:!1})),this._register(n.ko(document,"touchend",(e=>this.onTouchEnd(e)))),this._register(n.ko(document,"touchmove",(e=>this.onTouchMove(e)),{passive:!1}))}static addTarget(e){return h.isTouchDevice()?(h.INSTANCE||(h.INSTANCE=new h),h.INSTANCE.targets.push(e),{dispose:()=>{h.INSTANCE.targets=h.INSTANCE.targets.filter((t=>t!==e))}}):l.jG.None}static ignoreTarget(e){return h.isTouchDevice()?(h.INSTANCE||(h.INSTANCE=new h),h.INSTANCE.ignoreTargets.push(e),{dispose:()=>{h.INSTANCE.ignoreTargets=h.INSTANCE.ignoreTargets.filter((t=>t!==e))}}):l.jG.None}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}dispose(){this.handle&&(this.handle.dispose(),this.handle=null),super.dispose()}onTouchStart(e){const t=Date.now();this.handle&&(this.handle.dispose(),this.handle=null);for(let i=0,n=e.targetTouches.length;i<n;i++){const n=e.targetTouches.item(i);this.activeTouches[n.identifier]={id:n.identifier,initialTarget:n.target,initialTimeStamp:t,initialPageX:n.pageX,initialPageY:n.pageY,rollingTimestamps:[t],rollingPageX:[n.pageX],rollingPageY:[n.pageY]};const o=this.newGestureEvent(s.Start,n.target);o.pageX=n.pageX,o.pageY=n.pageY,this.dispatchEvent(o)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}onTouchEnd(e){const t=Date.now(),i=Object.keys(this.activeTouches).length;for(let n=0,r=e.changedTouches.length;n<r;n++){const r=e.changedTouches.item(n);if(!this.activeTouches.hasOwnProperty(String(r.identifier)))continue;const l=this.activeTouches[r.identifier],a=Date.now()-l.initialTimeStamp;if(a<h.HOLD_DELAY&&Math.abs(l.initialPageX-o.RT(l.rollingPageX))<30&&Math.abs(l.initialPageY-o.RT(l.rollingPageY))<30){const e=this.newGestureEvent(s.Tap,l.initialTarget);e.pageX=o.RT(l.rollingPageX),e.pageY=o.RT(l.rollingPageY),this.dispatchEvent(e)}else if(a>=h.HOLD_DELAY&&Math.abs(l.initialPageX-o.RT(l.rollingPageX))<30&&Math.abs(l.initialPageY-o.RT(l.rollingPageY))<30){const e=this.newGestureEvent(s.Contextmenu,l.initialTarget);e.pageX=o.RT(l.rollingPageX),e.pageY=o.RT(l.rollingPageY),this.dispatchEvent(e)}else if(1===i){const e=o.RT(l.rollingPageX),i=o.RT(l.rollingPageY),s=o.RT(l.rollingTimestamps)-l.rollingTimestamps[0],n=e-l.rollingPageX[0],r=i-l.rollingPageY[0],a=this.targets.filter((e=>l.initialTarget instanceof Node&&e.contains(l.initialTarget)));this.inertia(a,t,Math.abs(n)/s,n>0?1:-1,e,Math.abs(r)/s,r>0?1:-1,i)}this.dispatchEvent(this.newGestureEvent(s.End,l.initialTarget)),delete this.activeTouches[r.identifier]}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}newGestureEvent(e,t){const i=document.createEvent("CustomEvent");return i.initEvent(e,!1,!0),i.initialTarget=t,i.tapCount=0,i}dispatchEvent(e){if(e.type===s.Tap){const t=(new Date).getTime();let i=0;i=t-this._lastSetTapCountTime>h.CLEAR_TAP_COUNT_TIME?1:2,this._lastSetTapCountTime=t,e.tapCount=i}else e.type!==s.Change&&e.type!==s.Contextmenu||(this._lastSetTapCountTime=0);for(let t=0;t<this.ignoreTargets.length;t++)if(e.initialTarget instanceof Node&&this.ignoreTargets[t].contains(e.initialTarget))return;this.targets.forEach((t=>{e.initialTarget instanceof Node&&t.contains(e.initialTarget)&&(t.dispatchEvent(e),this.dispatched=!0)}))}inertia(e,t,i,o,r,l,a,d){this.handle=n.PG((()=>{const n=Date.now(),c=n-t;let u=0,p=0,m=!0;i+=h.SCROLL_FRICTION*c,l+=h.SCROLL_FRICTION*c,i>0&&(m=!1,u=o*i*c),l>0&&(m=!1,p=a*l*c);const g=this.newGestureEvent(s.Change);g.translationX=u,g.translationY=p,e.forEach((e=>e.dispatchEvent(g))),m||this.inertia(e,n,i,o,r+u,l,a,d+p)}))}onTouchMove(e){const t=Date.now();for(let i=0,n=e.changedTouches.length;i<n;i++){const n=e.changedTouches.item(i);if(!this.activeTouches.hasOwnProperty(String(n.identifier)))continue;const r=this.activeTouches[n.identifier],l=this.newGestureEvent(s.Change,r.initialTarget);l.translationX=n.pageX-o.RT(r.rollingPageX),l.translationY=n.pageY-o.RT(r.rollingPageY),l.pageX=n.pageX,l.pageY=n.pageY,this.dispatchEvent(l),r.rollingPageX.length>3&&(r.rollingPageX.shift(),r.rollingPageY.shift(),r.rollingTimestamps.shift()),r.rollingPageX.push(n.pageX),r.rollingPageY.push(n.pageY),r.rollingTimestamps.push(t)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}}h.SCROLL_FRICTION=-.005,h.HOLD_DELAY=700,h.CLEAR_TAP_COUNT_TIME=400,a([r.B],h,"isTouchDevice",null)},74363:(e,t,i)=>{i.d(t,{E:()=>p,Z:()=>m});var s=i(58159),n=i(72649),o=i(90491),r=i(5644),l=i(14331),a=i(56495),h=i(55808),d=i(55977),c=i(59713),u=(i(2522),i(35819));class p extends h.jG{constructor(e,t,i={}){super(),this.options=i,this._context=e||this,this._action=t,t instanceof a.rc&&this._register(t.onDidChange((e=>{this.element&&this.handleActionChangeEvent(e)})))}get action(){return this._action}handleActionChangeEvent(e){void 0!==e.enabled&&this.updateEnabled(),void 0!==e.checked&&this.updateChecked(),void 0!==e.class&&this.updateClass(),void 0!==e.label&&(this.updateLabel(),this.updateTooltip()),void 0!==e.tooltip&&this.updateTooltip()}get actionRunner(){return this._actionRunner||(this._actionRunner=this._register(new a.LN)),this._actionRunner}set actionRunner(e){this._actionRunner=e}getAction(){return this._action}isEnabled(){return this._action.enabled}setActionContext(e){this._context=e}render(e){const t=this.element=e;this._register(r.q.addTarget(e));const i=this.options&&this.options.draggable;i&&(e.draggable=!0,s.isFirefox&&this._register((0,o.ko)(e,o.Bx.DRAG_START,(e=>{var t;return null===(t=e.dataTransfer)||void 0===t?void 0:t.setData(n.t.TEXT,this._action.label)})))),this._register((0,o.ko)(t,r.B.Tap,(e=>this.onClick(e,!0)))),this._register((0,o.ko)(t,o.Bx.MOUSE_DOWN,(e=>{i||o.fs.stop(e,!0),this._action.enabled&&0===e.button&&t.classList.add("active")}))),d.zx&&this._register((0,o.ko)(t,o.Bx.CONTEXT_MENU,(e=>{0===e.button&&!0===e.ctrlKey&&this.onClick(e)}))),this._register((0,o.ko)(t,o.Bx.CLICK,(e=>{o.fs.stop(e,!0),this.options&&this.options.isMenu||this.onClick(e)}))),this._register((0,o.ko)(t,o.Bx.DBLCLICK,(e=>{o.fs.stop(e,!0)}))),[o.Bx.MOUSE_UP,o.Bx.MOUSE_OUT].forEach((e=>{this._register((0,o.ko)(t,e,(e=>{o.fs.stop(e),t.classList.remove("active")})))}))}onClick(e,t=!1){var i;o.fs.stop(e,!0);const s=c.z(this._context)?(null===(i=this.options)||void 0===i?void 0:i.useEventAsContext)?e:{preserveFocus:t}:this._context;this.actionRunner.run(this._action,s)}focus(){this.element&&(this.element.tabIndex=0,this.element.focus(),this.element.classList.add("focused"))}blur(){this.element&&(this.element.blur(),this.element.tabIndex=-1,this.element.classList.remove("focused"))}setFocusable(e){this.element&&(this.element.tabIndex=e?0:-1)}get trapsArrowNavigation(){return!1}updateEnabled(){}updateLabel(){}getTooltip(){return this.getAction().tooltip}updateTooltip(){var e;if(!this.element)return;const t=null!==(e=this.getTooltip())&&void 0!==e?e:"";this.element.setAttribute("aria-label",t),this.options.hoverDelegate?(this.element.title="",this.customHover?this.customHover.update(t):(this.customHover=(0,l.f)(this.options.hoverDelegate,this.element,t),this._store.add(this.customHover))):this.element.title=t}updateClass(){}updateChecked(){}dispose(){this.element&&(this.element.remove(),this.element=void 0),super.dispose()}}class m extends p{constructor(e,t,i={}){super(e,t,i),this.options=i,this.options.icon=void 0!==i.icon&&i.icon,this.options.label=void 0===i.label||i.label,this.cssClass=""}render(e){super.render(e),this.element&&(this.label=(0,o.BC)(this.element,(0,o.$)("a.action-label"))),this.label&&(this._action.id===a.wv.ID?this.label.setAttribute("role","presentation"):this.options.isMenu?this.label.setAttribute("role","menuitem"):this.label.setAttribute("role","button")),this.options.label&&this.options.keybinding&&this.element&&((0,o.BC)(this.element,(0,o.$)("span.keybinding")).textContent=this.options.keybinding),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked()}focus(){this.label&&(this.label.tabIndex=0,this.label.focus())}blur(){this.label&&(this.label.tabIndex=-1)}setFocusable(e){this.label&&(this.label.tabIndex=e?0:-1)}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this.getAction().label)}getTooltip(){let e=null;return this.getAction().tooltip?e=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(e=this.getAction().label,this.options.keybinding&&(e=u.kg({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",e,this.options.keybinding))),null!==e&&void 0!==e?e:void 0}updateClass(){var e;this.cssClass&&this.label&&this.label.classList.remove(...this.cssClass.split(" ")),this.options.icon?(this.cssClass=this.getAction().class,this.label&&(this.label.classList.add("codicon"),this.cssClass&&this.label.classList.add(...this.cssClass.split(" "))),this.updateEnabled()):null===(e=this.label)||void 0===e||e.classList.remove("codicon")}updateEnabled(){var e,t;this.getAction().enabled?(this.label&&(this.label.removeAttribute("aria-disabled"),this.label.classList.remove("disabled")),null===(e=this.element)||void 0===e||e.classList.remove("disabled")):(this.label&&(this.label.setAttribute("aria-disabled","true"),this.label.classList.add("disabled")),null===(t=this.element)||void 0===t||t.classList.add("disabled"))}updateChecked(){this.label&&(this.getAction().checked?this.label.classList.add("checked"):this.label.classList.remove("checked"))}}},97061:(e,t,i)=>{i.d(t,{E:()=>c});var s=i(90491),n=i(41828),o=i(74363),r=i(56495),l=i(42464),a=i(55808),h=i(59713),d=(i(2522),function(e,t,i,s){return new(i||(i=Promise))((function(n,o){function r(e){try{a(s.next(e))}catch(t){o(t)}}function l(e){try{a(s.throw(e))}catch(t){o(t)}}function a(e){var t;e.done?n(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,l)}a((s=s.apply(e,t||[])).next())}))});class c extends a.jG{constructor(e,t={}){var i,a,h,d,c,u;let p,m;switch(super(),this.triggerKeyDown=!1,this.focusable=!0,this._onDidBlur=this._register(new l.vl),this.onDidBlur=this._onDidBlur.event,this._onDidCancel=this._register(new l.vl({onFirstListenerAdd:()=>this.cancelHasListener=!0})),this.onDidCancel=this._onDidCancel.event,this.cancelHasListener=!1,this._onDidRun=this._register(new l.vl),this.onDidRun=this._onDidRun.event,this._onBeforeRun=this._register(new l.vl),this.onBeforeRun=this._onBeforeRun.event,this.options=t,this._context=null!==(i=t.context)&&void 0!==i?i:null,this._orientation=null!==(a=this.options.orientation)&&void 0!==a?a:0,this._triggerKeys={keyDown:null!==(d=null===(h=this.options.triggerKeys)||void 0===h?void 0:h.keyDown)&&void 0!==d&&d,keys:null!==(u=null===(c=this.options.triggerKeys)||void 0===c?void 0:c.keys)&&void 0!==u?u:[3,10]},this.options.actionRunner?this._actionRunner=this.options.actionRunner:(this._actionRunner=new r.LN,this._register(this._actionRunner)),this._register(this._actionRunner.onDidRun((e=>this._onDidRun.fire(e)))),this._register(this._actionRunner.onBeforeRun((e=>this._onBeforeRun.fire(e)))),this._actionIds=[],this.viewItems=[],this.viewItemDisposables=new Map,this.focusedItem=void 0,this.domNode=document.createElement("div"),this.domNode.className="monaco-action-bar",!1!==t.animated&&this.domNode.classList.add("animated"),this._orientation){case 0:p=[15],m=[17];break;case 1:p=[16],m=[18],this.domNode.className+=" vertical"}this._register(s.ko(this.domNode,s.Bx.KEY_DOWN,(e=>{const t=new n.Z(e);let i=!0;const s="number"===typeof this.focusedItem?this.viewItems[this.focusedItem]:void 0;p&&(t.equals(p[0])||t.equals(p[1]))?i=this.focusPrevious():m&&(t.equals(m[0])||t.equals(m[1]))?i=this.focusNext():t.equals(9)&&this.cancelHasListener?this._onDidCancel.fire():t.equals(14)?i=this.focusFirst():t.equals(13)?i=this.focusLast():t.equals(2)&&s instanceof o.E&&s.trapsArrowNavigation?i=this.focusNext():this.isTriggerKeyEvent(t)?this._triggerKeys.keyDown?this.doTrigger(t):this.triggerKeyDown=!0:i=!1,i&&(t.preventDefault(),t.stopPropagation())}))),this._register(s.ko(this.domNode,s.Bx.KEY_UP,(e=>{const t=new n.Z(e);this.isTriggerKeyEvent(t)?(!this._triggerKeys.keyDown&&this.triggerKeyDown&&(this.triggerKeyDown=!1,this.doTrigger(t)),t.preventDefault(),t.stopPropagation()):(t.equals(2)||t.equals(1026))&&this.updateFocusedItem()}))),this.focusTracker=this._register(s.w5(this.domNode)),this._register(this.focusTracker.onDidBlur((()=>{s.bq()!==this.domNode&&s.QX(s.bq(),this.domNode)||(this._onDidBlur.fire(),this.focusedItem=void 0,this.previouslyFocusedItem=void 0,this.triggerKeyDown=!1)}))),this._register(this.focusTracker.onDidFocus((()=>this.updateFocusedItem()))),this.actionsList=document.createElement("ul"),this.actionsList.className="actions-container",this.actionsList.setAttribute("role",this.options.ariaRole||"toolbar"),this.options.ariaLabel&&this.actionsList.setAttribute("aria-label",this.options.ariaLabel),this.domNode.appendChild(this.actionsList),e.appendChild(this.domNode)}refreshRole(){this.length()>=2?this.actionsList.setAttribute("role",this.options.ariaRole||"toolbar"):this.actionsList.setAttribute("role","presentation")}setFocusable(e){if(this.focusable=e,this.focusable){const e=this.viewItems.find((e=>e instanceof o.E&&e.isEnabled()));e instanceof o.E&&e.setFocusable(!0)}else this.viewItems.forEach((e=>{e instanceof o.E&&e.setFocusable(!1)}))}isTriggerKeyEvent(e){let t=!1;return this._triggerKeys.keys.forEach((i=>{t=t||e.equals(i)})),t}updateFocusedItem(){for(let e=0;e<this.actionsList.children.length;e++){const t=this.actionsList.children[e];if(s.QX(s.bq(),t)){this.focusedItem=e;break}}}get context(){return this._context}set context(e){this._context=e,this.viewItems.forEach((t=>t.setActionContext(e)))}get actionRunner(){return this._actionRunner}set actionRunner(e){e&&(this._actionRunner=e,this.viewItems.forEach((t=>t.actionRunner=e)))}getContainer(){return this.domNode}push(e,t={}){const i=Array.isArray(e)?e:[e];let n=h.Et(t.index)?t.index:null;i.forEach((e=>{const i=document.createElement("li");let r;i.className="action-item",i.setAttribute("role","presentation"),this.options.actionViewItemProvider&&(r=this.options.actionViewItemProvider(e)),r||(r=new o.Z(this.context,e,Object.assign({hoverDelegate:this.options.hoverDelegate},t))),this.options.allowContextMenu||this.viewItemDisposables.set(r,s.ko(i,s.Bx.CONTEXT_MENU,(e=>{s.fs.stop(e,!0)}))),r.actionRunner=this._actionRunner,r.setActionContext(this.context),r.render(i),this.focusable&&r instanceof o.E&&0===this.viewItems.length&&r.setFocusable(!0),null===n||n<0||n>=this.actionsList.children.length?(this.actionsList.appendChild(i),this.viewItems.push(r),this._actionIds.push(e.id)):(this.actionsList.insertBefore(i,this.actionsList.children[n]),this.viewItems.splice(n,0,r),this._actionIds.splice(n,0,e.id),n++)})),"number"===typeof this.focusedItem&&this.focus(this.focusedItem),this.refreshRole()}clear(){(0,a.AS)(this.viewItems),this.viewItemDisposables.forEach((e=>e.dispose())),this.viewItemDisposables.clear(),this.viewItems=[],this._actionIds=[],s.w_(this.actionsList),this.refreshRole()}length(){return this.viewItems.length}focus(e){let t,i=!1;if(void 0===e?i=!0:"number"===typeof e?t=e:"boolean"===typeof e&&(i=e),i&&"undefined"===typeof this.focusedItem){const e=this.viewItems.findIndex((e=>e.isEnabled()));this.focusedItem=-1===e?void 0:e,this.updateFocus(void 0,void 0,!0)}else void 0!==t&&(this.focusedItem=t),this.updateFocus(void 0,void 0,!0)}focusFirst(){return this.focusedItem=this.length()-1,this.focusNext(!0)}focusLast(){return this.focusedItem=0,this.focusPrevious(!0)}focusNext(e){if("undefined"===typeof this.focusedItem)this.focusedItem=this.viewItems.length-1;else if(this.viewItems.length<=1)return!1;const t=this.focusedItem;let i;do{if(!e&&this.options.preventLoopNavigation&&this.focusedItem+1>=this.viewItems.length)return this.focusedItem=t,!1;this.focusedItem=(this.focusedItem+1)%this.viewItems.length,i=this.viewItems[this.focusedItem]}while(this.focusedItem!==t&&(this.options.focusOnlyEnabledItems&&!i.isEnabled()||i.action.id===r.wv.ID));return this.updateFocus(),!0}focusPrevious(e){if("undefined"===typeof this.focusedItem)this.focusedItem=0;else if(this.viewItems.length<=1)return!1;const t=this.focusedItem;let i;do{if(this.focusedItem=this.focusedItem-1,this.focusedItem<0){if(!e&&this.options.preventLoopNavigation)return this.focusedItem=t,!1;this.focusedItem=this.viewItems.length-1}i=this.viewItems[this.focusedItem]}while(this.focusedItem!==t&&(this.options.focusOnlyEnabledItems&&!i.isEnabled()||i.action.id===r.wv.ID));return this.updateFocus(!0),!0}updateFocus(e,t,i=!1){var s;"undefined"===typeof this.focusedItem&&this.actionsList.focus({preventScroll:t}),void 0!==this.previouslyFocusedItem&&this.previouslyFocusedItem!==this.focusedItem&&(null===(s=this.viewItems[this.previouslyFocusedItem])||void 0===s||s.blur());const n=void 0!==this.focusedItem&&this.viewItems[this.focusedItem];if(n){let s=!0;h.Tn(n.focus)||(s=!1),this.options.focusOnlyEnabledItems&&h.Tn(n.isEnabled)&&!n.isEnabled()&&(s=!1),n.action.id===r.wv.ID&&(s=!1),s?(i||this.previouslyFocusedItem!==this.focusedItem)&&(n.focus(e),this.previouslyFocusedItem=this.focusedItem):(this.actionsList.focus({preventScroll:t}),this.previouslyFocusedItem=void 0)}}doTrigger(e){if("undefined"===typeof this.focusedItem)return;const t=this.viewItems[this.focusedItem];if(t instanceof o.E){const i=null===t._context||void 0===t._context?e:t._context;this.run(t._action,i)}}run(e,t){return d(this,void 0,void 0,(function*(){yield this._actionRunner.run(e,t)}))}dispose(){(0,a.AS)(this.viewItems),this.viewItems=[],this._actionIds=[],this.getContainer().remove(),super.dispose()}}},85829:(e,t,i)=>{i.d(t,{xE:()=>u,vr:()=>c,h5:()=>p});var s=i(90491),n=i(55977);const o=2e4;let r,l,a,h,d;function c(e){r=document.createElement("div"),r.className="monaco-aria-container";const t=()=>{const e=document.createElement("div");return e.className="monaco-alert",e.setAttribute("role","alert"),e.setAttribute("aria-atomic","true"),r.appendChild(e),e};l=t(),a=t();const i=()=>{const e=document.createElement("div");return e.className="monaco-status",e.setAttribute("role","complementary"),e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),r.appendChild(e),e};h=i(),d=i(),e.appendChild(r)}function u(e){r&&(l.textContent!==e?(s.w_(a),m(l,e)):(s.w_(l),m(a,e)))}function p(e){r&&(n.zx?u(e):h.textContent!==e?(s.w_(d),m(h,e)):(s.w_(h),m(d,e)))}function m(e,t){s.w_(e),t.length>o&&(t=t.substr(0,o)),e.textContent=t,e.style.visibility="hidden",e.style.visibility="visible"}},44305:(e,t,i)=>{i.d(t,{$:()=>u});var s=i(90491),n=i(41828),o=i(5644),r=i(72240),l=i(74379),a=i(42464),h=i(55808),d=i(61460);const c={buttonBackground:l.Q1.fromHex("#0E639C"),buttonHoverBackground:l.Q1.fromHex("#006BB3"),buttonSeparator:l.Q1.white,buttonForeground:l.Q1.white};class u extends h.jG{constructor(e,t){super(),this._onDidClick=this._register(new a.vl),this.options=t||Object.create(null),(0,d.co)(this.options,c,!1),this.buttonForeground=this.options.buttonForeground,this.buttonBackground=this.options.buttonBackground,this.buttonHoverBackground=this.options.buttonHoverBackground,this.buttonSecondaryForeground=this.options.buttonSecondaryForeground,this.buttonSecondaryBackground=this.options.buttonSecondaryBackground,this.buttonSecondaryHoverBackground=this.options.buttonSecondaryHoverBackground,this.buttonBorder=this.options.buttonBorder,this._element=document.createElement("a"),this._element.classList.add("monaco-button"),this._element.tabIndex=0,this._element.setAttribute("role","button"),e.appendChild(this._element),this._register(o.q.addTarget(this._element)),[s.Bx.CLICK,o.B.Tap].forEach((e=>{this._register((0,s.ko)(this._element,e,(e=>{this.enabled?this._onDidClick.fire(e):s.fs.stop(e)})))})),this._register((0,s.ko)(this._element,s.Bx.KEY_DOWN,(e=>{const t=new n.Z(e);let i=!1;this.enabled&&(t.equals(3)||t.equals(10))?(this._onDidClick.fire(e),i=!0):t.equals(9)&&(this._element.blur(),i=!0),i&&s.fs.stop(t,!0)}))),this._register((0,s.ko)(this._element,s.Bx.MOUSE_OVER,(e=>{this._element.classList.contains("disabled")||this.setHoverBackground()}))),this._register((0,s.ko)(this._element,s.Bx.MOUSE_OUT,(e=>{this.applyStyles()}))),this.focusTracker=this._register((0,s.w5)(this._element)),this._register(this.focusTracker.onDidFocus((()=>{this.enabled&&this.setHoverBackground()}))),this._register(this.focusTracker.onDidBlur((()=>{this.enabled&&this.applyStyles()}))),this.applyStyles()}get onDidClick(){return this._onDidClick.event}setHoverBackground(){let e;e=this.options.secondary?this.buttonSecondaryHoverBackground?this.buttonSecondaryHoverBackground.toString():null:this.buttonHoverBackground?this.buttonHoverBackground.toString():null,e&&(this._element.style.backgroundColor=e)}style(e){this.buttonForeground=e.buttonForeground,this.buttonBackground=e.buttonBackground,this.buttonHoverBackground=e.buttonHoverBackground,this.buttonSecondaryForeground=e.buttonSecondaryForeground,this.buttonSecondaryBackground=e.buttonSecondaryBackground,this.buttonSecondaryHoverBackground=e.buttonSecondaryHoverBackground,this.buttonBorder=e.buttonBorder,this.applyStyles()}applyStyles(){if(this._element){let e,t;this.options.secondary?(t=this.buttonSecondaryForeground?this.buttonSecondaryForeground.toString():"",e=this.buttonSecondaryBackground?this.buttonSecondaryBackground.toString():""):(t=this.buttonForeground?this.buttonForeground.toString():"",e=this.buttonBackground?this.buttonBackground.toString():"");const i=this.buttonBorder?this.buttonBorder.toString():"";this._element.style.color=t,this._element.style.backgroundColor=e,this._element.style.borderWidth=i?"1px":"",this._element.style.borderStyle=i?"solid":"",this._element.style.borderColor=i}}get element(){return this._element}set label(e){this._element.classList.add("monaco-text-button"),this.options.supportIcons?(0,s.Ln)(this._element,...(0,r.n)(e)):this._element.textContent=e,"string"===typeof this.options.title?this._element.title=this.options.title:this.options.title&&(this._element.title=e)}set enabled(e){e?(this._element.classList.remove("disabled"),this._element.setAttribute("aria-disabled",String(!1)),this._element.tabIndex=0):(this._element.classList.add("disabled"),this._element.setAttribute("aria-disabled",String(!0)))}get enabled(){return!this._element.classList.contains("disabled")}}},86331:(e,t,i)=>{i.d(t,{U:()=>n});var s=i(88106);function n(e){let t=e.definition;for(;t instanceof s.W6;)t=t.definition;return`.codicon-${e.id}:before { content: '${t.fontCharacter}'; }`}},91043:(e,t,i)=>{i.d(t,{vx:()=>d,Zp:()=>h});var s,n=i(38879),o=i(90491),r=i(55808),l=i(55977),a=i(43545);function h(e,t,i){const n=i.mode===s.ALIGN?i.offset:i.offset+i.size,o=i.mode===s.ALIGN?i.offset+i.size:i.offset;return 0===i.position?t<=e-n?n:t<=o?o-t:Math.max(e-t,0):t<=o?o-t:t<=e-n?n:0}!function(e){e[e.AVOID=0]="AVOID",e[e.ALIGN=1]="ALIGN"}(s||(s={}));class d extends r.jG{constructor(e,t){super(),this.container=null,this.delegate=null,this.toDisposeOnClean=r.jG.None,this.toDisposeOnSetContainer=r.jG.None,this.shadowRoot=null,this.shadowRootHostElement=null,this.view=o.$(".context-view"),this.useFixedPosition=!1,this.useShadowDOM=!1,o.jD(this.view),this.setContainer(e,t),this._register((0,r.s)((()=>this.setContainer(null,1))))}setContainer(e,t){var i;if(this.container&&(this.toDisposeOnSetContainer.dispose(),this.shadowRoot?(this.shadowRoot.removeChild(this.view),this.shadowRoot=null,null===(i=this.shadowRootHostElement)||void 0===i||i.remove(),this.shadowRootHostElement=null):this.container.removeChild(this.view),this.container=null),e){if(this.container=e,this.useFixedPosition=1!==t,this.useShadowDOM=3===t,this.useShadowDOM){this.shadowRootHostElement=o.$(".shadow-root-host"),this.container.appendChild(this.shadowRootHostElement),this.shadowRoot=this.shadowRootHostElement.attachShadow({mode:"open"});const e=document.createElement("style");e.textContent=c,this.shadowRoot.appendChild(e),this.shadowRoot.appendChild(this.view),this.shadowRoot.appendChild(o.$("slot"))}else this.container.appendChild(this.view);const i=new r.Cm;d.BUBBLE_UP_EVENTS.forEach((e=>{i.add(o.b2(this.container,e,(e=>{this.onDOMEvent(e,!1)})))})),d.BUBBLE_DOWN_EVENTS.forEach((e=>{i.add(o.b2(this.container,e,(e=>{this.onDOMEvent(e,!0)}),!0))})),this.toDisposeOnSetContainer=i}}show(e){var t,i;this.isVisible()&&this.hide(),o.w_(this.view),this.view.className="context-view",this.view.style.top="0px",this.view.style.left="0px",this.view.style.zIndex="2575",this.view.style.position=this.useFixedPosition?"fixed":"absolute",o.WU(this.view),this.toDisposeOnClean=e.render(this.view)||r.jG.None,this.delegate=e,this.doLayout(),null===(i=(t=this.delegate).focus)||void 0===i||i.call(t)}getViewElement(){return this.view}layout(){this.isVisible()&&(!1!==this.delegate.canRelayout||l.un&&n.e.pointerEvents?(this.delegate.layout&&this.delegate.layout(),this.doLayout()):this.hide())}doLayout(){if(!this.isVisible())return;const e=this.delegate.getAnchor();let t;if(o.sb(e)){const i=o.BK(e),s=o.mU(e);t={top:i.top*s,left:i.left*s,width:i.width*s,height:i.height*s}}else t={top:e.y,left:e.x,width:e.width||1,height:e.height||2};const i=o.Tr(this.view),n=o.OK(this.view),r=this.delegate.anchorPosition||0,l=this.delegate.anchorAlignment||0;let d,c;if(0===(this.delegate.anchorAxisAlignment||0)){const e={offset:t.top-window.pageYOffset,size:t.height,position:0===r?0:1},o={offset:t.left,size:t.width,position:0===l?0:1,mode:s.ALIGN};d=h(window.innerHeight,n,e)+window.pageYOffset,a.Q.intersects({start:d,end:d+n},{start:e.offset,end:e.offset+e.size})&&(o.mode=s.AVOID),c=h(window.innerWidth,i,o)}else{const e={offset:t.left,size:t.width,position:0===l?0:1},o={offset:t.top,size:t.height,position:0===r?0:1,mode:s.ALIGN};c=h(window.innerWidth,i,e),a.Q.intersects({start:c,end:c+i},{start:e.offset,end:e.offset+e.size})&&(o.mode=s.AVOID),d=h(window.innerHeight,n,o)+window.pageYOffset}this.view.classList.remove("top","bottom","left","right"),this.view.classList.add(0===r?"bottom":"top"),this.view.classList.add(0===l?"left":"right"),this.view.classList.toggle("fixed",this.useFixedPosition);const u=o.BK(this.container);this.view.style.top=d-(this.useFixedPosition?o.BK(this.view).top:u.top)+"px",this.view.style.left=c-(this.useFixedPosition?o.BK(this.view).left:u.left)+"px",this.view.style.width="initial"}hide(e){const t=this.delegate;this.delegate=null,(null===t||void 0===t?void 0:t.onHide)&&t.onHide(e),this.toDisposeOnClean.dispose(),o.jD(this.view)}isVisible(){return!!this.delegate}onDOMEvent(e,t){this.delegate&&(this.delegate.onDOMEvent?this.delegate.onDOMEvent(e,document.activeElement):t&&!o.QX(e.target,this.container)&&this.hide())}dispose(){this.hide(),super.dispose()}}d.BUBBLE_UP_EVENTS=["click","keydown","focus","blur"],d.BUBBLE_DOWN_EVENTS=["click"];const c='\n\t:host {\n\t\tall: initial; /* 1st rule so subsequent properties are reset. */\n\t}\n\n\t@font-face {\n\t\tfont-family: "codicon";\n\t\tfont-display: block;\n\t\tsrc: url("./codicon.ttf?5d4d76ab2ce5108968ad644d591a16a6") format("truetype");\n\t}\n\n\t.codicon[class*=\'codicon-\'] {\n\t\tfont: normal normal normal 16px/1 codicon;\n\t\tdisplay: inline-block;\n\t\ttext-decoration: none;\n\t\ttext-rendering: auto;\n\t\ttext-align: center;\n\t\t-webkit-font-smoothing: antialiased;\n\t\t-moz-osx-font-smoothing: grayscale;\n\t\tuser-select: none;\n\t\t-webkit-user-select: none;\n\t\t-ms-user-select: none;\n\t}\n\n\t:host {\n\t\tfont-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "HelveticaNeue-Light", system-ui, "Ubuntu", "Droid Sans", sans-serif;\n\t}\n\n\t:host-context(.mac) { font-family: -apple-system, BlinkMacSystemFont, sans-serif; }\n\t:host-context(.mac:lang(zh-Hans)) { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", sans-serif; }\n\t:host-context(.mac:lang(zh-Hant)) { font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", sans-serif; }\n\t:host-context(.mac:lang(ja)) { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic Pro", sans-serif; }\n\t:host-context(.mac:lang(ko)) { font-family: -apple-system, BlinkMacSystemFont, "Nanum Gothic", "Apple SD Gothic Neo", "AppleGothic", sans-serif; }\n\n\t:host-context(.windows) { font-family: "Segoe WPC", "Segoe UI", sans-serif; }\n\t:host-context(.windows:lang(zh-Hans)) { font-family: "Segoe WPC", "Segoe UI", "Microsoft YaHei", sans-serif; }\n\t:host-context(.windows:lang(zh-Hant)) { font-family: "Segoe WPC", "Segoe UI", "Microsoft Jhenghei", sans-serif; }\n\t:host-context(.windows:lang(ja)) { font-family: "Segoe WPC", "Segoe UI", "Yu Gothic UI", "Meiryo UI", sans-serif; }\n\t:host-context(.windows:lang(ko)) { font-family: "Segoe WPC", "Segoe UI", "Malgun Gothic", "Dotom", sans-serif; }\n\n\t:host-context(.linux) { font-family: system-ui, "Ubuntu", "Droid Sans", sans-serif; }\n\t:host-context(.linux:lang(zh-Hans)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans SC", "Source Han Sans CN", "Source Han Sans", sans-serif; }\n\t:host-context(.linux:lang(zh-Hant)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans TC", "Source Han Sans TW", "Source Han Sans", sans-serif; }\n\t:host-context(.linux:lang(ja)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans J", "Source Han Sans JP", "Source Han Sans", sans-serif; }\n\t:host-context(.linux:lang(ko)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans K", "Source Han Sans JR", "Source Han Sans", "UnDotum", "FBaekmuk Gulim", sans-serif; }\n'},93169:(e,t,i)=>{i.d(t,{x:()=>a});var s=i(90491),n=i(74379),o=i(61460),r=i(24638);const l={badgeBackground:n.Q1.fromHex("#4D4D4D"),badgeForeground:n.Q1.fromHex("#FFFFFF")};class a{constructor(e,t){this.count=0,this.options=t||Object.create(null),(0,o.co)(this.options,l,!1),this.badgeBackground=this.options.badgeBackground,this.badgeForeground=this.options.badgeForeground,this.badgeBorder=this.options.badgeBorder,this.element=(0,s.BC)(e,(0,s.$)(".monaco-count-badge")),this.countFormat=this.options.countFormat||"{0}",this.titleFormat=this.options.titleFormat||"",this.setCount(this.options.count||0)}setCount(e){this.count=e,this.render()}setTitleFormat(e){this.titleFormat=e,this.render()}render(){this.element.textContent=(0,r.GP)(this.countFormat,this.count),this.element.title=(0,r.GP)(this.titleFormat,this.count),this.applyStyles()}style(e){this.badgeBackground=e.badgeBackground,this.badgeForeground=e.badgeForeground,this.badgeBorder=e.badgeBorder,this.applyStyles()}applyStyles(){if(this.element){const e=this.badgeBackground?this.badgeBackground.toString():"",t=this.badgeForeground?this.badgeForeground.toString():"",i=this.badgeBorder?this.badgeBorder.toString():"";this.element.style.backgroundColor=e,this.element.style.color=t,this.element.style.borderWidth=i?"1px":"",this.element.style.borderStyle=i?"solid":"",this.element.style.borderColor=i}}}},9889:(e,t,i)=>{i.d(t,{c:()=>h});var s=i(90491),n=i(59164),o=i(70200),r=i(27444),l=i(42464);i(36478);const a=i(35819).kg("defaultLabel","input");class h extends r.x{constructor(e,t,i,r){var h;super(),this._showOptionButtons=i,this.fixFocusOnOptionClickEnabled=!0,this.imeSessionInProgress=!1,this.additionalToggles=[],this._onDidOptionChange=this._register(new l.vl),this.onDidOptionChange=this._onDidOptionChange.event,this._onKeyDown=this._register(new l.vl),this.onKeyDown=this._onKeyDown.event,this._onMouseDown=this._register(new l.vl),this.onMouseDown=this._onMouseDown.event,this._onInput=this._register(new l.vl),this._onKeyUp=this._register(new l.vl),this._onCaseSensitiveKeyDown=this._register(new l.vl),this.onCaseSensitiveKeyDown=this._onCaseSensitiveKeyDown.event,this._onRegexKeyDown=this._register(new l.vl),this.onRegexKeyDown=this._onRegexKeyDown.event,this._lastHighlightFindOptions=0,this.contextViewProvider=t,this.placeholder=r.placeholder||"",this.validation=r.validation,this.label=r.label||a,this.inputActiveOptionBorder=r.inputActiveOptionBorder,this.inputActiveOptionForeground=r.inputActiveOptionForeground,this.inputActiveOptionBackground=r.inputActiveOptionBackground,this.inputBackground=r.inputBackground,this.inputForeground=r.inputForeground,this.inputBorder=r.inputBorder,this.inputValidationInfoBorder=r.inputValidationInfoBorder,this.inputValidationInfoBackground=r.inputValidationInfoBackground,this.inputValidationInfoForeground=r.inputValidationInfoForeground,this.inputValidationWarningBorder=r.inputValidationWarningBorder,this.inputValidationWarningBackground=r.inputValidationWarningBackground,this.inputValidationWarningForeground=r.inputValidationWarningForeground,this.inputValidationErrorBorder=r.inputValidationErrorBorder,this.inputValidationErrorBackground=r.inputValidationErrorBackground,this.inputValidationErrorForeground=r.inputValidationErrorForeground;const d=r.appendCaseSensitiveLabel||"",c=r.appendWholeWordsLabel||"",u=r.appendRegexLabel||"",p=r.history||[],m=!!r.flexibleHeight,g=!!r.flexibleWidth,f=r.flexibleMaxHeight;this.domNode=document.createElement("div"),this.domNode.classList.add("monaco-findInput"),this.inputBox=this._register(new o.m(this.domNode,this.contextViewProvider,{placeholder:this.placeholder||"",ariaLabel:this.label||"",validationOptions:{validation:this.validation},inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder,history:p,showHistoryHint:r.showHistoryHint,flexibleHeight:m,flexibleWidth:g,flexibleMaxHeight:f})),this.regex=this._register(new n.Ix({appendTitle:u,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.regex.onChange((e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()}))),this._register(this.regex.onKeyDown((e=>{this._onRegexKeyDown.fire(e)}))),this.wholeWords=this._register(new n.nV({appendTitle:c,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.wholeWords.onChange((e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()}))),this.caseSensitive=this._register(new n.bc({appendTitle:d,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.caseSensitive.onChange((e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()}))),this._register(this.caseSensitive.onKeyDown((e=>{this._onCaseSensitiveKeyDown.fire(e)})));const v=[this.caseSensitive.domNode,this.wholeWords.domNode,this.regex.domNode];this.onkeydown(this.domNode,(e=>{if(e.equals(15)||e.equals(17)||e.equals(9)){const t=v.indexOf(document.activeElement);if(t>=0){let i=-1;e.equals(17)?i=(t+1)%v.length:e.equals(15)&&(i=0===t?v.length-1:t-1),e.equals(9)?(v[t].blur(),this.inputBox.focus()):i>=0&&v[i].focus(),s.fs.stop(e,!0)}}})),this.controls=document.createElement("div"),this.controls.className="controls",this.controls.style.display=this._showOptionButtons?"block":"none",this.controls.appendChild(this.caseSensitive.domNode),this.controls.appendChild(this.wholeWords.domNode),this.controls.appendChild(this.regex.domNode),this._showOptionButtons||(this.caseSensitive.domNode.style.display="none",this.wholeWords.domNode.style.display="none",this.regex.domNode.style.display="none");for(const s of null!==(h=null===r||void 0===r?void 0:r.additionalToggles)&&void 0!==h?h:[])this._register(s),this.controls.appendChild(s.domNode),this._register(s.onChange((e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus()}))),this.additionalToggles.push(s);this.additionalToggles.length>0&&(this.controls.style.display="block"),this.inputBox.paddingRight=(this._showOptionButtons?this.caseSensitive.width()+this.wholeWords.width()+this.regex.width():0)+this.additionalToggles.reduce(((e,t)=>e+t.width()),0),this.domNode.appendChild(this.controls),null===e||void 0===e||e.appendChild(this.domNode),this._register(s.ko(this.inputBox.inputElement,"compositionstart",(e=>{this.imeSessionInProgress=!0}))),this._register(s.ko(this.inputBox.inputElement,"compositionend",(e=>{this.imeSessionInProgress=!1,this._onInput.fire()}))),this.onkeydown(this.inputBox.inputElement,(e=>this._onKeyDown.fire(e))),this.onkeyup(this.inputBox.inputElement,(e=>this._onKeyUp.fire(e))),this.oninput(this.inputBox.inputElement,(e=>this._onInput.fire())),this.onmousedown(this.inputBox.inputElement,(e=>this._onMouseDown.fire(e)))}get onDidChange(){return this.inputBox.onDidChange}enable(){this.domNode.classList.remove("disabled"),this.inputBox.enable(),this.regex.enable(),this.wholeWords.enable(),this.caseSensitive.enable();for(const e of this.additionalToggles)e.enable()}disable(){this.domNode.classList.add("disabled"),this.inputBox.disable(),this.regex.disable(),this.wholeWords.disable(),this.caseSensitive.disable();for(const e of this.additionalToggles)e.disable()}setFocusInputOnOptionClick(e){this.fixFocusOnOptionClickEnabled=e}setEnabled(e){e?this.enable():this.disable()}getValue(){return this.inputBox.value}setValue(e){this.inputBox.value!==e&&(this.inputBox.value=e)}style(e){this.inputActiveOptionBorder=e.inputActiveOptionBorder,this.inputActiveOptionForeground=e.inputActiveOptionForeground,this.inputActiveOptionBackground=e.inputActiveOptionBackground,this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()}applyStyles(){if(this.domNode){const e={inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground};this.regex.style(e),this.wholeWords.style(e),this.caseSensitive.style(e);for(const i of this.additionalToggles)i.style(e);const t={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder};this.inputBox.style(t)}}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getCaseSensitive(){return this.caseSensitive.checked}setCaseSensitive(e){this.caseSensitive.checked=e}getWholeWords(){return this.wholeWords.checked}setWholeWords(e){this.wholeWords.checked=e}getRegex(){return this.regex.checked}setRegex(e){this.regex.checked=e,this.validate()}focusOnCaseSensitive(){this.caseSensitive.focus()}highlightFindOptions(){this.domNode.classList.remove("highlight-"+this._lastHighlightFindOptions),this._lastHighlightFindOptions=1-this._lastHighlightFindOptions,this.domNode.classList.add("highlight-"+this._lastHighlightFindOptions)}validate(){this.inputBox.validate()}showMessage(e){this.inputBox.showMessage(e)}clearMessage(){this.inputBox.hideMessage()}}},59164:(e,t,i)=>{i.d(t,{Ix:()=>c,bc:()=>h,nV:()=>d});var s=i(95025),n=i(88106),o=i(35819);const r=o.kg("caseDescription","Match Case"),l=o.kg("wordsDescription","Match Whole Word"),a=o.kg("regexDescription","Use Regular Expression");class h extends s.l{constructor(e){super({icon:n.W6.caseSensitive,title:r+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class d extends s.l{constructor(e){super({icon:n.W6.wholeWord,title:l+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class c extends s.l{constructor(e){super({icon:n.W6.regex,title:a+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}},32005:(e,t,i)=>{i.d(t,{_:()=>r});var s=i(90491),n=i(72240),o=i(61460);class r{constructor(e,t){var i;this.text="",this.title="",this.highlights=[],this.didEverRender=!1,this.supportIcons=null!==(i=null===t||void 0===t?void 0:t.supportIcons)&&void 0!==i&&i,this.domNode=s.BC(e,s.$("span.monaco-highlighted-label"))}get element(){return this.domNode}set(e,t=[],i="",s){e||(e=""),s&&(e=r.escapeNewLines(e,t)),this.didEverRender&&this.text===e&&this.title===i&&o.aI(this.highlights,t)||(this.text=e,this.title=i,this.highlights=t,this.render())}render(){const e=[];let t=0;for(const i of this.highlights){if(i.end===i.start)continue;if(t<i.start){const o=this.text.substring(t,i.start);e.push(s.$("span",void 0,...this.supportIcons?(0,n.n)(o):[o])),t=i.end}const o=this.text.substring(i.start,i.end),r=s.$("span.highlight",void 0,...this.supportIcons?(0,n.n)(o):[o]);i.extraClasses&&r.classList.add(...i.extraClasses),e.push(r),t=i.end}if(t<this.text.length){const i=this.text.substring(t);e.push(s.$("span",void 0,...this.supportIcons?(0,n.n)(i):[i]))}s.Ln(this.domNode,...e),this.title?this.domNode.title=this.title:this.domNode.removeAttribute("title"),this.didEverRender=!0}static escapeNewLines(e,t){let i=0,s=0;return e.replace(/\r\n|\r|\n/g,((e,n)=>{s="\r\n"===e?-1:0,n+=i;for(const i of t)i.end<=n||(i.start>=n&&(i.start+=s),i.end>=n&&(i.end+=s));return i+=s,"\u23ce"}))}}},54370:(e,t,i)=>{i.d(t,{s:()=>d});var s=i(90491),n=i(32005),o=i(14331),r=i(55808),l=i(61460),a=i(43545);class h{constructor(e){this._element=e}get element(){return this._element}set textContent(e){this.disposed||e===this._textContent||(this._textContent=e,this._element.textContent=e)}set className(e){this.disposed||e===this._className||(this._className=e,this._element.className=e)}set empty(e){this.disposed||e===this._empty||(this._empty=e,this._element.style.marginLeft=e?"0":"")}dispose(){this.disposed=!0}}class d extends r.jG{constructor(e,t){super(),this.customHovers=new Map,this.domNode=this._register(new h(s.BC(e,s.$(".monaco-icon-label")))),this.labelContainer=s.BC(this.domNode.element,s.$(".monaco-icon-label-container"));const i=s.BC(this.labelContainer,s.$("span.monaco-icon-name-container"));this.descriptionContainer=this._register(new h(s.BC(this.labelContainer,s.$("span.monaco-icon-description-container")))),(null===t||void 0===t?void 0:t.supportHighlights)||(null===t||void 0===t?void 0:t.supportIcons)?this.nameNode=new u(i,!!t.supportIcons):this.nameNode=new c(i),(null===t||void 0===t?void 0:t.supportDescriptionHighlights)?this.descriptionNodeFactory=()=>new n._(s.BC(this.descriptionContainer.element,s.$("span.label-description")),{supportIcons:!!t.supportIcons}):this.descriptionNodeFactory=()=>this._register(new h(s.BC(this.descriptionContainer.element,s.$("span.label-description")))),this.hoverDelegate=null===t||void 0===t?void 0:t.hoverDelegate}get element(){return this.domNode.element}setLabel(e,t,i){const s=["monaco-icon-label"];i&&(i.extraClasses&&s.push(...i.extraClasses),i.italic&&s.push("italic"),i.strikethrough&&s.push("strikethrough")),this.domNode.className=s.join(" "),this.setupHover((null===i||void 0===i?void 0:i.descriptionTitle)?this.labelContainer:this.element,null===i||void 0===i?void 0:i.title),this.nameNode.setLabel(e,i),(t||this.descriptionNode)&&(this.descriptionNode||(this.descriptionNode=this.descriptionNodeFactory()),this.descriptionNode instanceof n._?(this.descriptionNode.set(t||"",i?i.descriptionMatches:void 0),this.setupHover(this.descriptionNode.element,null===i||void 0===i?void 0:i.descriptionTitle)):(this.descriptionNode.textContent=t||"",this.setupHover(this.descriptionNode.element,(null===i||void 0===i?void 0:i.descriptionTitle)||""),this.descriptionNode.empty=!t))}setupHover(e,t){const i=this.customHovers.get(e);if(i&&(i.dispose(),this.customHovers.delete(e)),t)if(this.hoverDelegate){const i=(0,o.f)(this.hoverDelegate,e,t);i&&this.customHovers.set(e,i)}else(0,o.$)(e,t);else e.removeAttribute("title")}dispose(){super.dispose();for(const e of this.customHovers.values())e.dispose();this.customHovers.clear()}}class c{constructor(e){this.container=e,this.label=void 0,this.singleLabel=void 0}setLabel(e,t){if(this.label!==e||!(0,l.aI)(this.options,t))if(this.label=e,this.options=t,"string"===typeof e)this.singleLabel||(this.container.innerText="",this.container.classList.remove("multiple"),this.singleLabel=s.BC(this.container,s.$("a.label-name",{id:null===t||void 0===t?void 0:t.domId}))),this.singleLabel.textContent=e;else{this.container.innerText="",this.container.classList.add("multiple"),this.singleLabel=void 0;for(let i=0;i<e.length;i++){const n=e[i],o=(null===t||void 0===t?void 0:t.domId)&&`${null===t||void 0===t?void 0:t.domId}_${i}`;s.BC(this.container,s.$("a.label-name",{id:o,"data-icon-label-count":e.length,"data-icon-label-index":i,role:"treeitem"},n)),i<e.length-1&&s.BC(this.container,s.$("span.label-separator",void 0,(null===t||void 0===t?void 0:t.separator)||"/"))}}}}class u{constructor(e,t){this.container=e,this.supportIcons=t,this.label=void 0,this.singleLabel=void 0}setLabel(e,t){if(this.label!==e||!(0,l.aI)(this.options,t))if(this.label=e,this.options=t,"string"===typeof e)this.singleLabel||(this.container.innerText="",this.container.classList.remove("multiple"),this.singleLabel=new n._(s.BC(this.container,s.$("a.label-name",{id:null===t||void 0===t?void 0:t.domId})),{supportIcons:this.supportIcons})),this.singleLabel.set(e,null===t||void 0===t?void 0:t.matches,void 0,null===t||void 0===t?void 0:t.labelEscapeNewLines);else{this.container.innerText="",this.container.classList.add("multiple"),this.singleLabel=void 0;const i=(null===t||void 0===t?void 0:t.separator)||"/",o=function(e,t,i){if(!i)return;let s=0;return e.map((e=>{const n={start:s,end:s+e.length},o=i.map((e=>a.Q.intersect(n,e))).filter((e=>!a.Q.isEmpty(e))).map((({start:e,end:t})=>({start:e-s,end:t-s})));return s=n.end+t.length,o}))}(e,i,null===t||void 0===t?void 0:t.matches);for(let r=0;r<e.length;r++){const l=e[r],a=o?o[r]:void 0,h=(null===t||void 0===t?void 0:t.domId)&&`${null===t||void 0===t?void 0:t.domId}_${r}`,d=s.$("a.label-name",{id:h,"data-icon-label-count":e.length,"data-icon-label-index":r,role:"treeitem"});new n._(s.BC(this.container,d),{supportIcons:this.supportIcons}).set(l,a,void 0,null===t||void 0===t?void 0:t.labelEscapeNewLines),r<e.length-1&&s.BC(d,s.$("span.label-separator",void 0,i))}}}}},14331:(e,t,i)=>{i.d(t,{$:()=>u,f:()=>m});var s=i(90491),n=i(20512),o=i(69549),r=i(86506),l=i(88920),a=i(55808),h=i(59713),d=i(35819),c=function(e,t,i,s){return new(i||(i=Promise))((function(n,o){function r(e){try{a(s.next(e))}catch(t){o(t)}}function l(e){try{a(s.throw(e))}catch(t){o(t)}}function a(e){var t;e.done?n(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,l)}a((s=s.apply(e,t||[])).next())}))};function u(e,t){(0,h.Kg)(t)?e.title=(0,l.pS)(t):(null===t||void 0===t?void 0:t.markdownNotSupportedFallback)?e.title=t.markdownNotSupportedFallback:e.removeAttribute("title")}class p{constructor(e,t,i){this.hoverDelegate=e,this.target=t,this.fadeInAnimation=i}update(e,t,i){var s;return c(this,void 0,void 0,(function*(){if(this._cancellationTokenSource&&(this._cancellationTokenSource.dispose(!0),this._cancellationTokenSource=void 0),this.isDisposed)return;let n;if(void 0===e||(0,h.Kg)(e)||e instanceof HTMLElement)n=e;else if((0,h.Tn)(e.markdown)){this._hoverWidget||this.show((0,d.kg)("iconLabel.loading","Loading..."),t),this._cancellationTokenSource=new o.Q;const i=this._cancellationTokenSource.token;if(n=yield e.markdown(i),void 0===n&&(n=e.markdownNotSupportedFallback),this.isDisposed||i.isCancellationRequested)return}else n=null!==(s=e.markdown)&&void 0!==s?s:e.markdownNotSupportedFallback;this.show(n,t,i)}))}show(e,t,i){const s=this._hoverWidget;if(this.hasContent(e)){const n=Object.assign({content:e,target:this.target,showPointer:"element"===this.hoverDelegate.placement,hoverPosition:2,skipFadeInAnimation:!this.fadeInAnimation||!!s},i);this._hoverWidget=this.hoverDelegate.showHover(n,t)}null===s||void 0===s||s.dispose()}hasContent(e){return!!e&&(!(0,r.VS)(e)||!!e.value)}get isDisposed(){var e;return null===(e=this._hoverWidget)||void 0===e?void 0:e.isDisposed}dispose(){var e,t;null===(e=this._hoverWidget)||void 0===e||e.dispose(),null===(t=this._cancellationTokenSource)||void 0===t||t.dispose(!0),this._cancellationTokenSource=void 0}}function m(e,t,i,o){let r,l;const h=(t,i)=>{var s;t&&(null===l||void 0===l||l.dispose(),l=void 0),i&&(null===r||void 0===r||r.dispose(),r=void 0),null===(s=e.onDidHideHover)||void 0===s||s.call(e)},d=(s,r,a)=>new n.pc((()=>c(this,void 0,void 0,(function*(){l&&!l.isDisposed||(l=new p(e,a||t,s>0),yield l.update(i,r,o))}))),s),u=s.ko(t,s.Bx.MOUSE_OVER,(()=>{if(r)return;const i=new a.Cm;i.add(s.ko(t,s.Bx.MOUSE_LEAVE,(e=>h(!1,e.fromElement===t)),!0));i.add(s.ko(t,s.Bx.MOUSE_DOWN,(()=>h(!0,!0)),!0));const n={targetElements:[t],dispose:()=>{}};if(void 0===e.placement||"mouse"===e.placement){const e=e=>{n.x=e.x+10,e.target instanceof HTMLElement&&e.target.classList.contains("action-label")&&h(!0,!0)};i.add(s.ko(t,s.Bx.MOUSE_MOVE,e,!0))}i.add(d(e.delay,!1,n)),r=i}),!0);return{show:e=>{h(!1,!0),d(0,e)},hide:()=>{h(!0,!0)},update:(e,t)=>c(this,void 0,void 0,(function*(){i=e,yield null===l||void 0===l?void 0:l.update(i,void 0,t)})),dispose:()=>{u.dispose(),h(!0,!0)}}}},72240:(e,t,i)=>{i.d(t,{n:()=>r});var s=i(90491),n=i(88106);const o=new RegExp(`(\\\\)?\\$\\((${n.j3.iconNameExpression}(?:${n.j3.iconModifierExpression})?)\\)`,"g");function r(e){const t=new Array;let i,s=0,n=0;for(;null!==(i=o.exec(e));){n=i.index||0,t.push(e.substring(s,n)),s=(i.index||0)+i[0].length;const[,o,r]=i;t.push(o?`$(${r})`:l({id:r}))}return s<e.length&&t.push(e.substring(s)),t}function l(e){const t=s.$("span");return t.classList.add(...n.j3.asClassNameArray(e)),t}},70200:(e,t,i)=>{i.d(t,{m:()=>_,c:()=>b});var s=i(90491),n=i(96511),o=i(55667),r=i(97061),l=i(85829),a=i(95062),h=i(27444),d=i(74379),c=i(42464);class u{constructor(e,t=0,i=e.length,s=t-1){this.items=e,this.start=t,this.end=i,this.index=s}current(){return this.index===this.start-1||this.index===this.end?null:this.items[this.index]}next(){return this.index=Math.min(this.index+1,this.end),this.current()}previous(){return this.index=Math.max(this.index-1,this.start-1),this.current()}first(){return this.index=this.start,this.current()}last(){return this.index=this.end-1,this.current()}}class p{constructor(e=[],t=10){this._initialize(e),this._limit=t,this._onChange()}getHistory(){return this._elements}add(e){this._history.delete(e),this._history.add(e),this._onChange()}next(){return this._currentPosition()!==this._elements.length-1?this._navigator.next():null}previous(){return 0!==this._currentPosition()?this._navigator.previous():null}current(){return this._navigator.current()}first(){return this._navigator.first()}last(){return this._navigator.last()}has(e){return this._history.has(e)}_onChange(){this._reduceToLimit();const e=this._elements;this._navigator=new u(e,0,e.length,e.length)}_reduceToLimit(){const e=this._elements;e.length>this._limit&&this._initialize(e.slice(e.length-this._limit))}_currentPosition(){const e=this._navigator.current();return e?this._elements.indexOf(e):-1}_initialize(e){this._history=new Set;for(const t of e)this._history.add(t)}get _elements(){const e=[];return this._history.forEach((t=>e.push(t))),e}}var m=i(61460),g=i(35819);const f=s.$,v={inputBackground:d.Q1.fromHex("#3C3C3C"),inputForeground:d.Q1.fromHex("#CCCCCC"),inputValidationInfoBorder:d.Q1.fromHex("#55AAFF"),inputValidationInfoBackground:d.Q1.fromHex("#063B49"),inputValidationWarningBorder:d.Q1.fromHex("#B89500"),inputValidationWarningBackground:d.Q1.fromHex("#352A05"),inputValidationErrorBorder:d.Q1.fromHex("#BE1100"),inputValidationErrorBackground:d.Q1.fromHex("#5A1D1D")};class b extends h.x{constructor(e,t,i){var o;super(),this.state="idle",this.maxHeight=Number.POSITIVE_INFINITY,this._onDidChange=this._register(new c.vl),this.onDidChange=this._onDidChange.event,this._onDidHeightChange=this._register(new c.vl),this.onDidHeightChange=this._onDidHeightChange.event,this.contextViewProvider=t,this.options=i||Object.create(null),(0,m.co)(this.options,v,!1),this.message=null,this.placeholder=this.options.placeholder||"",this.tooltip=null!==(o=this.options.tooltip)&&void 0!==o?o:this.placeholder||"",this.ariaLabel=this.options.ariaLabel||"",this.inputBackground=this.options.inputBackground,this.inputForeground=this.options.inputForeground,this.inputBorder=this.options.inputBorder,this.inputValidationInfoBorder=this.options.inputValidationInfoBorder,this.inputValidationInfoBackground=this.options.inputValidationInfoBackground,this.inputValidationInfoForeground=this.options.inputValidationInfoForeground,this.inputValidationWarningBorder=this.options.inputValidationWarningBorder,this.inputValidationWarningBackground=this.options.inputValidationWarningBackground,this.inputValidationWarningForeground=this.options.inputValidationWarningForeground,this.inputValidationErrorBorder=this.options.inputValidationErrorBorder,this.inputValidationErrorBackground=this.options.inputValidationErrorBackground,this.inputValidationErrorForeground=this.options.inputValidationErrorForeground,this.options.validationOptions&&(this.validation=this.options.validationOptions.validation),this.element=s.BC(e,f(".monaco-inputbox.idle"));const l=this.options.flexibleHeight?"textarea":"input",h=s.BC(this.element,f(".ibwrapper"));if(this.input=s.BC(h,f(l+".input.empty")),this.input.setAttribute("autocorrect","off"),this.input.setAttribute("autocapitalize","off"),this.input.setAttribute("spellcheck","false"),this.onfocus(this.input,(()=>this.element.classList.add("synthetic-focus"))),this.onblur(this.input,(()=>this.element.classList.remove("synthetic-focus"))),this.options.flexibleHeight){this.maxHeight="number"===typeof this.options.flexibleMaxHeight?this.options.flexibleMaxHeight:Number.POSITIVE_INFINITY,this.mirror=s.BC(h,f("div.mirror")),this.mirror.innerText="\xa0",this.scrollableElement=new a.Se(this.element,{vertical:1}),this.options.flexibleWidth&&(this.input.setAttribute("wrap","off"),this.mirror.style.whiteSpace="pre",this.mirror.style.wordWrap="initial"),s.BC(e,this.scrollableElement.getDomNode()),this._register(this.scrollableElement),this._register(this.scrollableElement.onScroll((e=>this.input.scrollTop=e.scrollTop)));const t=this._register(new n.f(document,"selectionchange")),i=c.Jh.filter(t.event,(()=>{const e=document.getSelection();return(null===e||void 0===e?void 0:e.anchorNode)===h}));this._register(i(this.updateScrollDimensions,this)),this._register(this.onDidHeightChange(this.updateScrollDimensions,this))}else this.input.type=this.options.type||"text",this.input.setAttribute("wrap","off");this.ariaLabel&&this.input.setAttribute("aria-label",this.ariaLabel),this.placeholder&&!this.options.showPlaceholderOnFocus&&this.setPlaceHolder(this.placeholder),this.tooltip&&this.setTooltip(this.tooltip),this.oninput(this.input,(()=>this.onValueChange())),this.onblur(this.input,(()=>this.onBlur())),this.onfocus(this.input,(()=>this.onFocus())),this.ignoreGesture(this.input),setTimeout((()=>this.updateMirror()),0),this.options.actions&&(this.actionbar=this._register(new r.E(this.element)),this.actionbar.push(this.options.actions,{icon:!0,label:!1})),this.applyStyles()}onBlur(){this._hideMessage(),this.options.showPlaceholderOnFocus&&this.input.setAttribute("placeholder","")}onFocus(){this._showMessage(),this.options.showPlaceholderOnFocus&&this.input.setAttribute("placeholder",this.placeholder||"")}setPlaceHolder(e){this.placeholder=e,this.input.setAttribute("placeholder",e)}setTooltip(e){this.tooltip=e,this.input.title=e}setAriaLabel(e){this.ariaLabel=e,e?this.input.setAttribute("aria-label",this.ariaLabel):this.input.removeAttribute("aria-label")}getAriaLabel(){return this.ariaLabel}get inputElement(){return this.input}get value(){return this.input.value}set value(e){this.input.value!==e&&(this.input.value=e,this.onValueChange())}get height(){return"number"===typeof this.cachedHeight?this.cachedHeight:s.OK(this.element)}focus(){this.input.focus()}blur(){this.input.blur()}hasFocus(){return document.activeElement===this.input}select(e=null){this.input.select(),e&&(this.input.setSelectionRange(e.start,e.end),e.end===this.input.value.length&&(this.input.scrollLeft=this.input.scrollWidth))}isSelectionAtEnd(){return this.input.selectionEnd===this.input.value.length&&this.input.selectionStart===this.input.selectionEnd}enable(){this.input.removeAttribute("disabled")}disable(){this.blur(),this.input.disabled=!0,this._hideMessage()}get width(){return s.Tr(this.input)}set width(e){if(this.options.flexibleHeight&&this.options.flexibleWidth){let t=0;if(this.mirror){t=(parseFloat(this.mirror.style.paddingLeft||"")||0)+(parseFloat(this.mirror.style.paddingRight||"")||0)}this.input.style.width=e-t+"px"}else this.input.style.width=e+"px";this.mirror&&(this.mirror.style.width=e+"px")}set paddingRight(e){this.input.style.width=`calc(100% - ${e}px)`,this.mirror&&(this.mirror.style.paddingRight=e+"px")}updateScrollDimensions(){if("number"!==typeof this.cachedContentHeight||"number"!==typeof this.cachedHeight||!this.scrollableElement)return;const e=this.cachedContentHeight,t=this.cachedHeight,i=this.input.scrollTop;this.scrollableElement.setScrollDimensions({scrollHeight:e,height:t}),this.scrollableElement.setScrollPosition({scrollTop:i})}showMessage(e,t){this.message=e,this.element.classList.remove("idle"),this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add(this.classForType(e.type));const i=this.stylesForType(this.message.type);this.element.style.border=i.border?`1px solid ${i.border}`:"",(this.hasFocus()||t)&&this._showMessage()}hideMessage(){this.message=null,this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add("idle"),this._hideMessage(),this.applyStyles()}validate(){let e=null;return this.validation&&(e=this.validation(this.value),e?(this.inputElement.setAttribute("aria-invalid","true"),this.showMessage(e)):this.inputElement.hasAttribute("aria-invalid")&&(this.inputElement.removeAttribute("aria-invalid"),this.hideMessage())),null===e||void 0===e?void 0:e.type}stylesForType(e){switch(e){case 1:return{border:this.inputValidationInfoBorder,background:this.inputValidationInfoBackground,foreground:this.inputValidationInfoForeground};case 2:return{border:this.inputValidationWarningBorder,background:this.inputValidationWarningBackground,foreground:this.inputValidationWarningForeground};default:return{border:this.inputValidationErrorBorder,background:this.inputValidationErrorBackground,foreground:this.inputValidationErrorForeground}}}classForType(e){switch(e){case 1:return"info";case 2:return"warning";default:return"error"}}_showMessage(){if(!this.contextViewProvider||!this.message)return;let e;const t=()=>e.style.width=s.Tr(this.element)+"px";let i;this.contextViewProvider.showContextView({getAnchor:()=>this.element,anchorAlignment:1,render:i=>{if(!this.message)return null;e=s.BC(i,f(".monaco-inputbox-container")),t();const n={inline:!0,className:"monaco-inputbox-message"},r=this.message.formatContent?(0,o.yk)(this.message.content,n):(0,o.S5)(this.message.content,n);r.classList.add(this.classForType(this.message.type));const l=this.stylesForType(this.message.type);return r.style.backgroundColor=l.background?l.background.toString():"",r.style.color=l.foreground?l.foreground.toString():"",r.style.border=l.border?`1px solid ${l.border}`:"",s.BC(e,r),null},onHide:()=>{this.state="closed"},layout:t}),i=3===this.message.type?g.kg("alertErrorMessage","Error: {0}",this.message.content):2===this.message.type?g.kg("alertWarningMessage","Warning: {0}",this.message.content):g.kg("alertInfoMessage","Info: {0}",this.message.content),l.xE(i),this.state="open"}_hideMessage(){this.contextViewProvider&&("open"===this.state&&this.contextViewProvider.hideContextView(),this.state="idle")}onValueChange(){this._onDidChange.fire(this.value),this.validate(),this.updateMirror(),this.input.classList.toggle("empty",!this.value),"open"===this.state&&this.contextViewProvider&&this.contextViewProvider.layout()}updateMirror(){if(!this.mirror)return;const e=this.value,t=10===e.charCodeAt(e.length-1)?" ":"";(e+t).replace(/\u000c/g,"")?this.mirror.textContent=e+t:this.mirror.innerText="\xa0",this.layout()}style(e){this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()}applyStyles(){const e=this.inputBackground?this.inputBackground.toString():"",t=this.inputForeground?this.inputForeground.toString():"",i=this.inputBorder?this.inputBorder.toString():"";this.element.style.backgroundColor=e,this.element.style.color=t,this.input.style.backgroundColor="inherit",this.input.style.color=t,this.element.style.borderWidth=i?"1px":"",this.element.style.borderStyle=i?"solid":"",this.element.style.borderColor=i}layout(){if(!this.mirror)return;const e=this.cachedContentHeight;this.cachedContentHeight=s.OK(this.mirror),e!==this.cachedContentHeight&&(this.cachedHeight=Math.min(this.cachedContentHeight,this.maxHeight),this.input.style.height=this.cachedHeight+"px",this._onDidHeightChange.fire(this.cachedContentHeight))}insertAtCursor(e){const t=this.inputElement,i=t.selectionStart,s=t.selectionEnd,n=t.value;null!==i&&null!==s&&(this.value=n.substr(0,i)+e+n.substr(s),t.setSelectionRange(i+1,i+1),this.layout())}dispose(){this._hideMessage(),this.message=null,this.actionbar&&this.actionbar.dispose(),super.dispose()}}class _ extends b{constructor(e,t,i){const s=g.kg({key:"history.inputbox.hint",comment:["Text will be prefixed with \u21c5 plus a single space, then used as a hint where input field keeps history"]},"for history"),n=` or \u21c5 ${s}`,o=` (\u21c5 ${s})`;super(e,t,i),this._onDidFocus=this._register(new c.vl),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new c.vl),this.onDidBlur=this._onDidBlur.event,this.history=new p(i.history,100);const r=()=>{if(i.showHistoryHint&&i.showHistoryHint()&&!this.placeholder.endsWith(n)&&!this.placeholder.endsWith(o)&&this.history.getHistory().length){const e=this.placeholder.endsWith(")")?n:o,t=this.placeholder+e;i.showPlaceholderOnFocus&&document.activeElement!==this.input?this.placeholder=t:this.setPlaceHolder(t)}};this.observer=new MutationObserver(((e,t)=>{e.forEach((e=>{e.target.textContent||r()}))})),this.observer.observe(this.input,{attributeFilter:["class"]}),this.onfocus(this.input,(()=>r())),this.onblur(this.input,(()=>{const e=e=>{if(this.placeholder.endsWith(e)){const t=this.placeholder.slice(0,this.placeholder.length-e.length);return i.showPlaceholderOnFocus?this.placeholder=t:this.setPlaceHolder(t),!0}return!1};e(o)||e(n)}))}dispose(){super.dispose(),this.observer&&(this.observer.disconnect(),this.observer=void 0)}addToHistory(){this.value&&this.value!==this.getCurrentValue()&&this.history.add(this.value)}showNextValue(){this.history.has(this.value)||this.addToHistory();let e=this.getNextValue();e&&(e=e===this.value?this.getNextValue():e),e&&(this.value=e,l.h5(this.value))}showPreviousValue(){this.history.has(this.value)||this.addToHistory();let e=this.getPreviousValue();e&&(e=e===this.value?this.getPreviousValue():e),e&&(this.value=e,l.h5(this.value))}onBlur(){super.onBlur(),this._onDidBlur.fire()}onFocus(){super.onFocus(),this._onDidFocus.fire()}getCurrentValue(){let e=this.history.current();return e||(e=this.history.last(),this.history.next()),e}getPreviousValue(){return this.history.previous()||this.history.first()}getNextValue(){return this.history.next()||this.history.last()}}},98419:(e,t,i)=>{i.d(t,{x:()=>a});var s=i(90491),n=i(40513),o=i(61460),r=i(35819);const l=s.$;class a{constructor(e,t,i){this.os=t,this.keyElements=new Set,this.options=i||Object.create(null),this.labelBackground=this.options.keybindingLabelBackground,this.labelForeground=this.options.keybindingLabelForeground,this.labelBorder=this.options.keybindingLabelBorder,this.labelBottomBorder=this.options.keybindingLabelBottomBorder,this.labelShadow=this.options.keybindingLabelShadow,this.domNode=s.BC(e,l(".monaco-keybinding")),this.didEverRender=!1,e.appendChild(this.domNode)}get element(){return this.domNode}set(e,t){this.didEverRender&&this.keybinding===e&&a.areSame(this.matches,t)||(this.keybinding=e,this.matches=t,this.render())}render(){if(this.clear(),this.keybinding){const[e,t]=this.keybinding.getParts();e&&this.renderPart(this.domNode,e,this.matches?this.matches.firstPart:null),t&&(s.BC(this.domNode,l("span.monaco-keybinding-key-chord-separator",void 0," ")),this.renderPart(this.domNode,t,this.matches?this.matches.chordPart:null)),this.domNode.title=this.keybinding.getAriaLabel()||""}else this.options&&this.options.renderUnboundKeybindings&&this.renderUnbound(this.domNode);this.applyStyles(),this.didEverRender=!0}clear(){s.w_(this.domNode),this.keyElements.clear()}renderPart(e,t,i){const s=n.Of.modifierLabels[this.os];t.ctrlKey&&this.renderKey(e,s.ctrlKey,Boolean(null===i||void 0===i?void 0:i.ctrlKey),s.separator),t.shiftKey&&this.renderKey(e,s.shiftKey,Boolean(null===i||void 0===i?void 0:i.shiftKey),s.separator),t.altKey&&this.renderKey(e,s.altKey,Boolean(null===i||void 0===i?void 0:i.altKey),s.separator),t.metaKey&&this.renderKey(e,s.metaKey,Boolean(null===i||void 0===i?void 0:i.metaKey),s.separator);const o=t.keyLabel;o&&this.renderKey(e,o,Boolean(null===i||void 0===i?void 0:i.keyCode),"")}renderKey(e,t,i,n){s.BC(e,this.createKeyElement(t,i?".highlight":"")),n&&s.BC(e,l("span.monaco-keybinding-key-separator",void 0,n))}renderUnbound(e){s.BC(e,this.createKeyElement((0,r.kg)("unbound","Unbound")))}createKeyElement(e,t=""){const i=l("span.monaco-keybinding-key"+t,void 0,e);return this.keyElements.add(i),i}style(e){this.labelBackground=e.keybindingLabelBackground,this.labelForeground=e.keybindingLabelForeground,this.labelBorder=e.keybindingLabelBorder,this.labelBottomBorder=e.keybindingLabelBottomBorder,this.labelShadow=e.keybindingLabelShadow,this.applyStyles()}applyStyles(){var e;if(this.element){for(const t of this.keyElements)this.labelBackground&&(t.style.backgroundColor=null===(e=this.labelBackground)||void 0===e?void 0:e.toString()),this.labelBorder&&(t.style.borderColor=this.labelBorder.toString()),this.labelBottomBorder&&(t.style.borderBottomColor=this.labelBottomBorder.toString()),this.labelShadow&&(t.style.boxShadow=`inset 0 -1px 0 ${this.labelShadow}`);this.labelForeground&&(this.element.style.color=this.labelForeground.toString())}}static areSame(e,t){return e===t||!e&&!t||!!e&&!!t&&(0,o.aI)(e.firstPart,t.firstPart)&&(0,o.aI)(e.chordPart,t.chordPart)}}},53027:(e,t,i)=>{i.d(t,{Y:()=>d});var s=i(48640),n=i(69549),o=i(42464),r=i(55808),l=(i(496),i(89232));class a{constructor(e,t){this.renderer=e,this.modelProvider=t}get templateId(){return this.renderer.templateId}renderTemplate(e){return{data:this.renderer.renderTemplate(e),disposable:r.jG.None}}renderElement(e,t,i,s){if(i.disposable&&i.disposable.dispose(),!i.data)return;const o=this.modelProvider();if(o.isResolved(e))return this.renderer.renderElement(o.get(e),e,i.data,s);const r=new n.Q,l=o.resolve(e,r.token);i.disposable={dispose:()=>r.cancel()},this.renderer.renderPlaceholder(e,i.data),l.then((t=>this.renderer.renderElement(t,e,i.data,s)))}disposeTemplate(e){e.disposable&&(e.disposable.dispose(),e.disposable=void 0),e.data&&(this.renderer.disposeTemplate(e.data),e.data=void 0)}}class h{constructor(e,t){this.modelProvider=e,this.accessibilityProvider=t}getWidgetAriaLabel(){return this.accessibilityProvider.getWidgetAriaLabel()}getAriaLabel(e){const t=this.modelProvider();return t.isResolved(e)?this.accessibilityProvider.getAriaLabel(t.get(e)):null}}class d{constructor(e,t,i,s,n={}){const o=()=>this.model,r=s.map((e=>new a(e,o)));this.list=new l.B8(e,t,i,r,function(e,t){return Object.assign(Object.assign({},t),{accessibilityProvider:t.accessibilityProvider&&new h(e,t.accessibilityProvider)})}(o,n))}updateOptions(e){this.list.updateOptions(e)}getHTMLElement(){return this.list.getHTMLElement()}get onDidFocus(){return this.list.onDidFocus}get onDidDispose(){return this.list.onDidDispose}get onMouseDblClick(){return o.Jh.map(this.list.onMouseDblClick,(({element:e,index:t,browserEvent:i})=>({element:void 0===e?void 0:this._model.get(e),index:t,browserEvent:i})))}get onPointer(){return o.Jh.map(this.list.onPointer,(({element:e,index:t,browserEvent:i})=>({element:void 0===e?void 0:this._model.get(e),index:t,browserEvent:i})))}get onDidChangeSelection(){return o.Jh.map(this.list.onDidChangeSelection,(({elements:e,indexes:t,browserEvent:i})=>({elements:e.map((e=>this._model.get(e))),indexes:t,browserEvent:i})))}get model(){return this._model}set model(e){this._model=e,this.list.splice(0,this.list.length,(0,s.y1)(e.length))}getFocus(){return this.list.getFocus()}getSelection(){return this.list.getSelection()}getSelectedElements(){return this.getSelection().map((e=>this.model.get(e)))}style(e){this.list.style(e)}dispose(){this.list.dispose()}}},37601:(e,t,i)=>{i.d(t,{ur:()=>S,uO:()=>x});var s=i(58159),n=i(72649),o=i(90491),r=i(96511),l=i(5644),a=i(95062),h=i(48640),d=i(20512),c=i(1304),u=i(42464),p=i(55808),m=i(43545),g=i(68959);function f(e,t){const i=[];for(const s of t){if(e.start>=s.range.end)continue;if(e.end<s.range.start)break;const t=m.Q.intersect(e,s.range);m.Q.isEmpty(t)||i.push({range:t,size:s.size})}return i}function v({start:e,end:t},i){return{start:e+i,end:t+i}}class b{constructor(){this.groups=[],this._size=0}splice(e,t,i=[]){const s=i.length-t,n=f({start:0,end:e},this.groups),o=f({start:e+t,end:Number.POSITIVE_INFINITY},this.groups).map((e=>({range:v(e.range,s),size:e.size}))),r=i.map(((t,i)=>({range:{start:e+i,end:e+i+1},size:t.size})));this.groups=function(...e){return function(e){const t=[];let i=null;for(const s of e){const e=s.range.start,n=s.range.end,o=s.size;i&&o===i.size?i.range.end=n:(i={range:{start:e,end:n},size:o},t.push(i))}return t}(e.reduce(((e,t)=>e.concat(t)),[]))}(n,r,o),this._size=this.groups.reduce(((e,t)=>e+t.size*(t.range.end-t.range.start)),0)}get count(){const e=this.groups.length;return e?this.groups[e-1].range.end:0}get size(){return this._size}indexAt(e){if(e<0)return-1;let t=0,i=0;for(const s of this.groups){const n=s.range.end-s.range.start,o=i+n*s.size;if(e<o)return t+Math.floor((e-i)/s.size);t+=n,i=o}return t}indexAfter(e){return Math.min(this.indexAt(e)+1,this.count)}positionAt(e){if(e<0)return-1;let t=0,i=0;for(const s of this.groups){const n=s.range.end-s.range.start,o=i+n;if(e<o)return t+(e-i)*s.size;t+=n*s.size,i=o}return-1}}class _{constructor(e){this.renderers=e,this.cache=new Map}alloc(e){let t=this.getTemplateCache(e).pop();if(!t){const i=(0,o.$)(".monaco-list-row");t={domNode:i,templateId:e,templateData:this.getRenderer(e).renderTemplate(i)}}return t}release(e){e&&this.releaseRow(e)}releaseRow(e){const{domNode:t,templateId:i}=e;t&&(t.classList.remove("scrolling"),function(e){var t;try{null===(t=e.parentElement)||void 0===t||t.removeChild(e)}catch(i){}}(t));this.getTemplateCache(i).push(e)}getTemplateCache(e){let t=this.cache.get(e);return t||(t=[],this.cache.set(e,t)),t}dispose(){this.cache.forEach(((e,t)=>{for(const i of e){this.getRenderer(t).disposeTemplate(i.templateData),i.templateData=null}})),this.cache.clear()}getRenderer(e){const t=this.renderers.get(e);if(!t)throw new Error(`No renderer found for ${e}`);return t}}var y=function(e,t,i,s){var n,o=arguments.length,r=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,i,s);else for(var l=e.length-1;l>=0;l--)(n=e[l])&&(r=(o<3?n(r):o>3?n(t,i,r):n(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r};const w={useShadows:!0,verticalScrollMode:1,setRowLineHeight:!0,setRowHeight:!0,supportDynamicHeights:!1,dnd:{getDragElements:e=>[e],getDragURI:()=>null,onDragStart(){},onDragOver:()=>!1,drop(){}},horizontalScrolling:!1,transformOptimization:!0,alwaysConsumeMouseWheel:!0};class S{constructor(e){this.elements=e}update(){}getData(){return this.elements}}class C{constructor(e){this.elements=e}update(){}getData(){return this.elements}}class D{constructor(){this.types=[],this.files=[]}update(e){if(e.types&&this.types.splice(0,this.types.length,...e.types),e.files){this.files.splice(0,this.files.length);for(let t=0;t<e.files.length;t++){const i=e.files.item(t);i&&(i.size||i.type)&&this.files.push(i)}}}getData(){return{types:this.types,files:this.files}}}class E{constructor(e){(null===e||void 0===e?void 0:e.getSetSize)?this.getSetSize=e.getSetSize.bind(e):this.getSetSize=(e,t,i)=>i,(null===e||void 0===e?void 0:e.getPosInSet)?this.getPosInSet=e.getPosInSet.bind(e):this.getPosInSet=(e,t)=>t+1,(null===e||void 0===e?void 0:e.getRole)?this.getRole=e.getRole.bind(e):this.getRole=e=>"listitem",(null===e||void 0===e?void 0:e.isChecked)?this.isChecked=e.isChecked.bind(e):this.isChecked=e=>{}}}class x{constructor(e,t,i,s=w){var n,r,h,c,m,f,v,y,S,C;if(this.virtualDelegate=t,this.domId="list_id_"+ ++x.InstanceCount,this.renderers=new Map,this.renderWidth=0,this._scrollHeight=0,this.scrollableElementUpdateDisposable=null,this.scrollableElementWidthDelayer=new d.ve(50),this.splicing=!1,this.dragOverAnimationStopDisposable=p.jG.None,this.dragOverMouseY=0,this.canDrop=!1,this.currentDragFeedbackDisposable=p.jG.None,this.onDragLeaveTimeout=p.jG.None,this.disposables=new p.Cm,this._onDidChangeContentHeight=new u.vl,this._horizontalScrolling=!1,s.horizontalScrolling&&s.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");this.items=[],this.itemId=0,this.rangeMap=new b;for(const o of i)this.renderers.set(o.templateId,o);this.cache=this.disposables.add(new _(this.renderers)),this.lastRenderTop=0,this.lastRenderHeight=0,this.domNode=document.createElement("div"),this.domNode.className="monaco-list",this.domNode.classList.add(this.domId),this.domNode.tabIndex=0,this.domNode.classList.toggle("mouse-support","boolean"!==typeof s.mouseSupport||s.mouseSupport),this._horizontalScrolling=null!==(n=s.horizontalScrolling)&&void 0!==n?n:w.horizontalScrolling,this.domNode.classList.toggle("horizontal-scrolling",this._horizontalScrolling),this.additionalScrollHeight="undefined"===typeof s.additionalScrollHeight?0:s.additionalScrollHeight,this.accessibilityProvider=new E(s.accessibilityProvider),this.rowsContainer=document.createElement("div"),this.rowsContainer.className="monaco-list-rows";(null!==(r=s.transformOptimization)&&void 0!==r?r:w.transformOptimization)&&(this.rowsContainer.style.transform="translate3d(0px, 0px, 0px)"),this.disposables.add(l.q.addTarget(this.rowsContainer)),this.scrollable=new g.yE({forceIntegerValues:!0,smoothScrollDuration:null!==(h=s.smoothScrolling)&&void 0!==h&&h?125:0,scheduleAtNextAnimationFrame:e=>(0,o.PG)(e)}),this.scrollableElement=this.disposables.add(new a.oO(this.rowsContainer,{alwaysConsumeMouseWheel:null!==(c=s.alwaysConsumeMouseWheel)&&void 0!==c?c:w.alwaysConsumeMouseWheel,horizontal:1,vertical:null!==(m=s.verticalScrollMode)&&void 0!==m?m:w.verticalScrollMode,useShadows:null!==(f=s.useShadows)&&void 0!==f?f:w.useShadows,mouseWheelScrollSensitivity:s.mouseWheelScrollSensitivity,fastScrollSensitivity:s.fastScrollSensitivity},this.scrollable)),this.domNode.appendChild(this.scrollableElement.getDomNode()),e.appendChild(this.domNode),this.scrollableElement.onScroll(this.onScroll,this,this.disposables),this.disposables.add((0,o.ko)(this.rowsContainer,l.B.Change,(e=>this.onTouchChange(e)))),this.disposables.add((0,o.ko)(this.scrollableElement.getDomNode(),"scroll",(e=>e.target.scrollTop=0))),this.disposables.add((0,o.ko)(this.domNode,"dragover",(e=>this.onDragOver(this.toDragEvent(e))))),this.disposables.add((0,o.ko)(this.domNode,"drop",(e=>this.onDrop(this.toDragEvent(e))))),this.disposables.add((0,o.ko)(this.domNode,"dragleave",(e=>this.onDragLeave(this.toDragEvent(e))))),this.disposables.add((0,o.ko)(this.domNode,"dragend",(e=>this.onDragEnd(e)))),this.setRowLineHeight=null!==(v=s.setRowLineHeight)&&void 0!==v?v:w.setRowLineHeight,this.setRowHeight=null!==(y=s.setRowHeight)&&void 0!==y?y:w.setRowHeight,this.supportDynamicHeights=null!==(S=s.supportDynamicHeights)&&void 0!==S?S:w.supportDynamicHeights,this.dnd=null!==(C=s.dnd)&&void 0!==C?C:w.dnd,this.layout()}get contentHeight(){return this.rangeMap.size}get horizontalScrolling(){return this._horizontalScrolling}set horizontalScrolling(e){if(e!==this._horizontalScrolling){if(e&&this.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");if(this._horizontalScrolling=e,this.domNode.classList.toggle("horizontal-scrolling",this._horizontalScrolling),this._horizontalScrolling){for(const e of this.items)this.measureItemWidth(e);this.updateScrollWidth(),this.scrollableElement.setScrollDimensions({width:(0,o.y6)(this.domNode)}),this.rowsContainer.style.width=`${Math.max(this.scrollWidth||0,this.renderWidth)}px`}else this.scrollableElementWidthDelayer.cancel(),this.scrollableElement.setScrollDimensions({width:this.renderWidth,scrollWidth:this.renderWidth}),this.rowsContainer.style.width=""}}updateOptions(e){void 0!==e.additionalScrollHeight&&(this.additionalScrollHeight=e.additionalScrollHeight,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),void 0!==e.smoothScrolling&&this.scrollable.setSmoothScrollDuration(e.smoothScrolling?125:0),void 0!==e.horizontalScrolling&&(this.horizontalScrolling=e.horizontalScrolling),void 0!==e.mouseWheelScrollSensitivity&&this.scrollableElement.updateOptions({mouseWheelScrollSensitivity:e.mouseWheelScrollSensitivity}),void 0!==e.fastScrollSensitivity&&this.scrollableElement.updateOptions({fastScrollSensitivity:e.fastScrollSensitivity})}splice(e,t,i=[]){if(this.splicing)throw new Error("Can't run recursive splices.");this.splicing=!0;try{return this._splice(e,t,i)}finally{this.splicing=!1,this._onDidChangeContentHeight.fire(this.contentHeight)}}_splice(e,t,i=[]){const s=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),n={start:e,end:e+t},o=m.Q.intersect(s,n),r=new Map;for(let p=o.end-1;p>=o.start;p--){const e=this.items[p];if(e.dragStartDisposable.dispose(),e.checkedDisposable.dispose(),e.row){let t=r.get(e.templateId);t||(t=[],r.set(e.templateId,t));const i=this.renderers.get(e.templateId);i&&i.disposeElement&&i.disposeElement(e.element,p,e.row.templateData,e.size),t.push(e.row)}e.row=null}const l={start:e+t,end:this.items.length},a=m.Q.intersect(l,s),h=m.Q.relativeComplement(l,s),d=i.map((e=>({id:String(this.itemId++),element:e,templateId:this.virtualDelegate.getTemplateId(e),size:this.virtualDelegate.getHeight(e),width:void 0,hasDynamicHeight:!!this.virtualDelegate.hasDynamicHeight&&this.virtualDelegate.hasDynamicHeight(e),lastDynamicHeightWidth:void 0,row:null,uri:void 0,dropTarget:!1,dragStartDisposable:p.jG.None,checkedDisposable:p.jG.None})));let c;0===e&&t>=this.items.length?(this.rangeMap=new b,this.rangeMap.splice(0,0,d),c=this.items,this.items=d):(this.rangeMap.splice(e,t,d),c=this.items.splice(e,t,...d));const u=i.length-t,g=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),f=v(a,u),_=m.Q.intersect(g,f);for(let p=_.start;p<_.end;p++)this.updateItemInDOM(this.items[p],p);const y=m.Q.relativeComplement(f,g);for(const p of y)for(let e=p.start;e<p.end;e++)this.removeItemFromDOM(e);const w=h.map((e=>v(e,u))),S=[{start:e,end:e+i.length},...w].map((e=>m.Q.intersect(g,e))),C=this.getNextToLastElement(S);for(const p of S)for(let e=p.start;e<p.end;e++){const t=this.items[e],i=r.get(t.templateId),s=null===i||void 0===i?void 0:i.pop();this.insertItemInDOM(e,C,s)}for(const p of r.values())for(const e of p)this.cache.release(e);return this.eventuallyUpdateScrollDimensions(),this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight),c.map((e=>e.element))}eventuallyUpdateScrollDimensions(){this._scrollHeight=this.contentHeight,this.rowsContainer.style.height=`${this._scrollHeight}px`,this.scrollableElementUpdateDisposable||(this.scrollableElementUpdateDisposable=(0,o.PG)((()=>{this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight}),this.updateScrollWidth(),this.scrollableElementUpdateDisposable=null})))}eventuallyUpdateScrollWidth(){this.horizontalScrolling?this.scrollableElementWidthDelayer.trigger((()=>this.updateScrollWidth())):this.scrollableElementWidthDelayer.cancel()}updateScrollWidth(){if(!this.horizontalScrolling)return;let e=0;for(const t of this.items)"undefined"!==typeof t.width&&(e=Math.max(e,t.width));this.scrollWidth=e,this.scrollableElement.setScrollDimensions({scrollWidth:0===e?0:e+10})}rerender(){if(this.supportDynamicHeights){for(const e of this.items)e.lastDynamicHeightWidth=void 0;this._rerender(this.lastRenderTop,this.lastRenderHeight)}}get length(){return this.items.length}get renderHeight(){return this.scrollableElement.getScrollDimensions().height}element(e){return this.items[e].element}domElement(e){const t=this.items[e].row;return t&&t.domNode}elementHeight(e){return this.items[e].size}elementTop(e){return this.rangeMap.positionAt(e)}indexAt(e){return this.rangeMap.indexAt(e)}indexAfter(e){return this.rangeMap.indexAfter(e)}layout(e,t){const i={height:"number"===typeof e?e:(0,o.H4)(this.domNode)};this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,i.scrollHeight=this.scrollHeight),this.scrollableElement.setScrollDimensions(i),"undefined"!==typeof t&&(this.renderWidth=t,this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight)),this.horizontalScrolling&&this.scrollableElement.setScrollDimensions({width:"number"===typeof t?t:(0,o.y6)(this.domNode)})}render(e,t,i,s,n,o=!1){const r=this.getRenderRange(t,i),l=m.Q.relativeComplement(r,e),a=m.Q.relativeComplement(e,r),h=this.getNextToLastElement(l);if(o){const t=m.Q.intersect(e,r);for(let e=t.start;e<t.end;e++)this.updateItemInDOM(this.items[e],e)}for(const d of l)for(let e=d.start;e<d.end;e++)this.insertItemInDOM(e,h);for(const d of a)for(let e=d.start;e<d.end;e++)this.removeItemFromDOM(e);void 0!==s&&(this.rowsContainer.style.left=`-${s}px`),this.rowsContainer.style.top=`-${t}px`,this.horizontalScrolling&&void 0!==n&&(this.rowsContainer.style.width=`${Math.max(n,this.renderWidth)}px`),this.lastRenderTop=t,this.lastRenderHeight=i}insertItemInDOM(e,t,i){const s=this.items[e];s.row||(s.row=null!==i&&void 0!==i?i:this.cache.alloc(s.templateId));const n=this.accessibilityProvider.getRole(s.element)||"listitem";s.row.domNode.setAttribute("role",n);const r=this.accessibilityProvider.isChecked(s.element);if("boolean"===typeof r)s.row.domNode.setAttribute("aria-checked",String(!!r));else if(r){const e=e=>s.row.domNode.setAttribute("aria-checked",String(!!e));e(r.value),s.checkedDisposable=r.onDidChange(e)}s.row.domNode.parentElement||(t?this.rowsContainer.insertBefore(s.row.domNode,t):this.rowsContainer.appendChild(s.row.domNode)),this.updateItemInDOM(s,e);const l=this.renderers.get(s.templateId);if(!l)throw new Error(`No renderer found for template id ${s.templateId}`);null===l||void 0===l||l.renderElement(s.element,e,s.row.templateData,s.size);const a=this.dnd.getDragURI(s.element);s.dragStartDisposable.dispose(),s.row.domNode.draggable=!!a,a&&(s.dragStartDisposable=(0,o.ko)(s.row.domNode,"dragstart",(e=>this.onDragStart(s.element,a,e)))),this.horizontalScrolling&&(this.measureItemWidth(s),this.eventuallyUpdateScrollWidth())}measureItemWidth(e){if(!e.row||!e.row.domNode)return;e.row.domNode.style.width=s.isFirefox?"-moz-fit-content":"fit-content",e.width=(0,o.y6)(e.row.domNode);const t=window.getComputedStyle(e.row.domNode);t.paddingLeft&&(e.width+=parseFloat(t.paddingLeft)),t.paddingRight&&(e.width+=parseFloat(t.paddingRight)),e.row.domNode.style.width=""}updateItemInDOM(e,t){e.row.domNode.style.top=`${this.elementTop(t)}px`,this.setRowHeight&&(e.row.domNode.style.height=`${e.size}px`),this.setRowLineHeight&&(e.row.domNode.style.lineHeight=`${e.size}px`),e.row.domNode.setAttribute("data-index",`${t}`),e.row.domNode.setAttribute("data-last-element",t===this.length-1?"true":"false"),e.row.domNode.setAttribute("data-parity",t%2===0?"even":"odd"),e.row.domNode.setAttribute("aria-setsize",String(this.accessibilityProvider.getSetSize(e.element,t,this.length))),e.row.domNode.setAttribute("aria-posinset",String(this.accessibilityProvider.getPosInSet(e.element,t))),e.row.domNode.setAttribute("id",this.getElementDomId(t)),e.row.domNode.classList.toggle("drop-target",e.dropTarget)}removeItemFromDOM(e){const t=this.items[e];if(t.dragStartDisposable.dispose(),t.checkedDisposable.dispose(),t.row){const i=this.renderers.get(t.templateId);i&&i.disposeElement&&i.disposeElement(t.element,e,t.row.templateData,t.size),this.cache.release(t.row),t.row=null}this.horizontalScrolling&&this.eventuallyUpdateScrollWidth()}getScrollTop(){return this.scrollableElement.getScrollPosition().scrollTop}setScrollTop(e,t){this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),this.scrollableElement.setScrollPosition({scrollTop:e,reuseAnimation:t})}get scrollTop(){return this.getScrollTop()}set scrollTop(e){this.setScrollTop(e)}get scrollHeight(){return this._scrollHeight+(this.horizontalScrolling?10:0)+this.additionalScrollHeight}get onMouseClick(){return u.Jh.map(this.disposables.add(new r.f(this.domNode,"click")).event,(e=>this.toMouseEvent(e)),this.disposables)}get onMouseDblClick(){return u.Jh.map(this.disposables.add(new r.f(this.domNode,"dblclick")).event,(e=>this.toMouseEvent(e)),this.disposables)}get onMouseMiddleClick(){return u.Jh.filter(u.Jh.map(this.disposables.add(new r.f(this.domNode,"auxclick")).event,(e=>this.toMouseEvent(e)),this.disposables),(e=>1===e.browserEvent.button),this.disposables)}get onMouseDown(){return u.Jh.map(this.disposables.add(new r.f(this.domNode,"mousedown")).event,(e=>this.toMouseEvent(e)),this.disposables)}get onContextMenu(){return u.Jh.any(u.Jh.map(this.disposables.add(new r.f(this.domNode,"contextmenu")).event,(e=>this.toMouseEvent(e)),this.disposables),u.Jh.map(this.disposables.add(new r.f(this.domNode,l.B.Contextmenu)).event,(e=>this.toGestureEvent(e)),this.disposables))}get onTouchStart(){return u.Jh.map(this.disposables.add(new r.f(this.domNode,"touchstart")).event,(e=>this.toTouchEvent(e)),this.disposables)}get onTap(){return u.Jh.map(this.disposables.add(new r.f(this.rowsContainer,l.B.Tap)).event,(e=>this.toGestureEvent(e)),this.disposables)}toMouseEvent(e){const t=this.getItemIndexFromEventTarget(e.target||null),i="undefined"===typeof t?void 0:this.items[t];return{browserEvent:e,index:t,element:i&&i.element}}toTouchEvent(e){const t=this.getItemIndexFromEventTarget(e.target||null),i="undefined"===typeof t?void 0:this.items[t];return{browserEvent:e,index:t,element:i&&i.element}}toGestureEvent(e){const t=this.getItemIndexFromEventTarget(e.initialTarget||null),i="undefined"===typeof t?void 0:this.items[t];return{browserEvent:e,index:t,element:i&&i.element}}toDragEvent(e){const t=this.getItemIndexFromEventTarget(e.target||null),i="undefined"===typeof t?void 0:this.items[t];return{browserEvent:e,index:t,element:i&&i.element}}onScroll(e){try{const t=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight);this.render(t,e.scrollTop,e.height,e.scrollLeft,e.scrollWidth),this.supportDynamicHeights&&this._rerender(e.scrollTop,e.height,e.inSmoothScrolling)}catch(t){throw t}}onTouchChange(e){e.preventDefault(),e.stopPropagation(),this.scrollTop-=e.translationY}onDragStart(e,t,i){var s,r;if(!i.dataTransfer)return;const l=this.dnd.getDragElements(e);if(i.dataTransfer.effectAllowed="copyMove",i.dataTransfer.setData(n.t.TEXT,t),i.dataTransfer.setDragImage){let e;this.dnd.getDragLabel&&(e=this.dnd.getDragLabel(l,i)),"undefined"===typeof e&&(e=String(l.length));const t=(0,o.$)(".monaco-drag-image");t.textContent=e,document.body.appendChild(t),i.dataTransfer.setDragImage(t,-10,-10),setTimeout((()=>document.body.removeChild(t)),0)}this.currentDragData=new S(l),n.M.CurrentDragAndDropData=new C(l),null===(r=(s=this.dnd).onDragStart)||void 0===r||r.call(s,this.currentDragData,i)}onDragOver(e){var t;if(e.browserEvent.preventDefault(),this.onDragLeaveTimeout.dispose(),n.M.CurrentDragAndDropData&&"vscode-ui"===n.M.CurrentDragAndDropData.getData())return!1;if(this.setupDragAndDropScrollTopAnimation(e.browserEvent),!e.browserEvent.dataTransfer)return!1;if(!this.currentDragData)if(n.M.CurrentDragAndDropData)this.currentDragData=n.M.CurrentDragAndDropData;else{if(!e.browserEvent.dataTransfer.types)return!1;this.currentDragData=new D}const i=this.dnd.onDragOver(this.currentDragData,e.element,e.index,e.browserEvent);if(this.canDrop="boolean"===typeof i?i:i.accept,!this.canDrop)return this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),!1;let s;if(e.browserEvent.dataTransfer.dropEffect="boolean"!==typeof i&&0===i.effect?"copy":"move",s="boolean"!==typeof i&&i.feedback?i.feedback:"undefined"===typeof e.index?[-1]:[e.index],s=(0,h.dM)(s).filter((e=>e>=-1&&e<this.length)).sort(((e,t)=>e-t)),s=-1===s[0]?[-1]:s,o=this.currentDragFeedback,r=s,Array.isArray(o)&&Array.isArray(r)?(0,h.aI)(o,r):o===r)return!0;var o,r;if(this.currentDragFeedback=s,this.currentDragFeedbackDisposable.dispose(),-1===s[0])this.domNode.classList.add("drop-target"),this.rowsContainer.classList.add("drop-target"),this.currentDragFeedbackDisposable=(0,p.s)((()=>{this.domNode.classList.remove("drop-target"),this.rowsContainer.classList.remove("drop-target")}));else{for(const e of s){const i=this.items[e];i.dropTarget=!0,null===(t=i.row)||void 0===t||t.domNode.classList.add("drop-target")}this.currentDragFeedbackDisposable=(0,p.s)((()=>{var e;for(const t of s){const i=this.items[t];i.dropTarget=!1,null===(e=i.row)||void 0===e||e.domNode.classList.remove("drop-target")}}))}return!0}onDragLeave(e){var t,i;this.onDragLeaveTimeout.dispose(),this.onDragLeaveTimeout=(0,d.EQ)((()=>this.clearDragOverFeedback()),100),this.currentDragData&&(null===(i=(t=this.dnd).onDragLeave)||void 0===i||i.call(t,this.currentDragData,e.element,e.index,e.browserEvent))}onDrop(e){if(!this.canDrop)return;const t=this.currentDragData;this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,n.M.CurrentDragAndDropData=void 0,t&&e.browserEvent.dataTransfer&&(e.browserEvent.preventDefault(),t.update(e.browserEvent.dataTransfer),this.dnd.drop(t,e.element,e.index,e.browserEvent))}onDragEnd(e){var t,i;this.canDrop=!1,this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,n.M.CurrentDragAndDropData=void 0,null===(i=(t=this.dnd).onDragEnd)||void 0===i||i.call(t,e)}clearDragOverFeedback(){this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),this.currentDragFeedbackDisposable=p.jG.None}setupDragAndDropScrollTopAnimation(e){if(!this.dragOverAnimationDisposable){const e=(0,o.cL)(this.domNode).top;this.dragOverAnimationDisposable=(0,o.i0)(this.animateDragAndDropScrollTop.bind(this,e))}this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationStopDisposable=(0,d.EQ)((()=>{this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)}),1e3),this.dragOverMouseY=e.pageY}animateDragAndDropScrollTop(e){if(void 0===this.dragOverMouseY)return;const t=this.dragOverMouseY-e,i=this.renderHeight-35;t<35?this.scrollTop+=Math.max(-14,Math.floor(.3*(t-35))):t>i&&(this.scrollTop+=Math.min(14,Math.floor(.3*(t-i))))}teardownDragAndDropScrollTopAnimation(){this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)}getItemIndexFromEventTarget(e){const t=this.scrollableElement.getDomNode();let i=e;for(;i instanceof HTMLElement&&i!==this.rowsContainer&&t.contains(i);){const e=i.getAttribute("data-index");if(e){const t=Number(e);if(!isNaN(t))return t}i=i.parentElement}}getRenderRange(e,t){return{start:this.rangeMap.indexAt(e),end:this.rangeMap.indexAfter(e+t-1)}}_rerender(e,t,i){const s=this.getRenderRange(e,t);let n,o;e===this.elementTop(s.start)?(n=s.start,o=0):s.end-s.start>1&&(n=s.start+1,o=this.elementTop(n)-e);let r=0;for(;;){const l=this.getRenderRange(e,t);let a=!1;for(let e=l.start;e<l.end;e++){const t=this.probeDynamicHeight(e);0!==t&&this.rangeMap.splice(e,1,[this.items[e]]),r+=t,a=a||0!==t}if(!a){0!==r&&this.eventuallyUpdateScrollDimensions();const t=m.Q.relativeComplement(s,l);for(const e of t)for(let t=e.start;t<e.end;t++)this.items[t].row&&this.removeItemFromDOM(t);const a=m.Q.relativeComplement(l,s);for(const e of a)for(let t=e.start;t<e.end;t++){const e=t+1,i=e<this.items.length?this.items[e].row:null,s=i?i.domNode:null;this.insertItemInDOM(t,s)}for(let e=l.start;e<l.end;e++)this.items[e].row&&this.updateItemInDOM(this.items[e],e);if("number"===typeof n){const t=this.scrollable.getFutureScrollPosition().scrollTop-e,s=this.elementTop(n)-o+t;this.setScrollTop(s,i)}return void this._onDidChangeContentHeight.fire(this.contentHeight)}}}probeDynamicHeight(e){var t,i,s;const n=this.items[e];if(this.virtualDelegate.getDynamicHeight){const e=this.virtualDelegate.getDynamicHeight(n.element);if(null!==e){const t=n.size;return n.size=e,n.lastDynamicHeightWidth=this.renderWidth,e-t}}if(!n.hasDynamicHeight||n.lastDynamicHeightWidth===this.renderWidth)return 0;if(this.virtualDelegate.hasDynamicHeight&&!this.virtualDelegate.hasDynamicHeight(n.element))return 0;const o=n.size;if(!this.setRowHeight&&n.row){const e=n.row.domNode.offsetHeight;return n.size=e,n.lastDynamicHeightWidth=this.renderWidth,e-o}const r=this.cache.alloc(n.templateId);r.domNode.style.height="",this.rowsContainer.appendChild(r.domNode);const l=this.renderers.get(n.templateId);return l&&(l.renderElement(n.element,e,r.templateData,void 0),null===(t=l.disposeElement)||void 0===t||t.call(l,n.element,e,r.templateData,void 0)),n.size=r.domNode.offsetHeight,null===(s=(i=this.virtualDelegate).setDynamicHeight)||void 0===s||s.call(i,n.element,n.size),n.lastDynamicHeightWidth=this.renderWidth,this.rowsContainer.removeChild(r.domNode),this.cache.release(r),n.size-o}getNextToLastElement(e){const t=e[e.length-1];if(!t)return null;const i=this.items[t.end];return i&&i.row?i.row.domNode:null}getElementDomId(e){return`${this.domId}_${e}`}dispose(){var e;if(this.items){for(const t of this.items)if(t.row){const i=this.renderers.get(t.row.templateId);i&&(null===(e=i.disposeElement)||void 0===e||e.call(i,t.element,-1,t.row.templateData,void 0),i.disposeTemplate(t.row.templateData))}this.items=[]}this.domNode&&this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),(0,p.AS)(this.disposables)}}x.InstanceCount=0,y([c.B],x.prototype,"onMouseClick",null),y([c.B],x.prototype,"onMouseDblClick",null),y([c.B],x.prototype,"onMouseMiddleClick",null),y([c.B],x.prototype,"onMouseDown",null),y([c.B],x.prototype,"onContextMenu",null),y([c.B],x.prototype,"onTouchStart",null),y([c.B],x.prototype,"onTap",null)},89232:(e,t,i)=>{i.d(t,{hb:()=>H,B8:()=>Y,MH:()=>K,_C:()=>w,Bm:()=>L,B6:()=>I,bm:()=>T,mh:()=>R,tX:()=>F});var s=i(90491),n=i(96511),o=i(41828),r=i(5644),l=i(85829);class a{constructor(e){this.spliceables=e}splice(e,t,i){this.spliceables.forEach((s=>s.splice(e,t,i)))}}var h=i(48640),d=i(20512),c=i(74379),u=i(1304),p=i(42464),m=i(79271),g=i(55808),f=i(89142),v=i(61460),b=i(55977),_=i(59713);i(496);class y extends Error{constructor(e,t){super(`ListError [${e}] ${t}`)}}var w,S,C=i(37601),D=function(e,t,i,s){var n,o=arguments.length,r=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,i,s);else for(var l=e.length-1;l>=0;l--)(n=e[l])&&(r=(o<3?n(r):o>3?n(t,i,r):n(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},E=function(e,t,i,s){return new(i||(i=Promise))((function(n,o){function r(e){try{a(s.next(e))}catch(t){o(t)}}function l(e){try{a(s.throw(e))}catch(t){o(t)}}function a(e){var t;e.done?n(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,l)}a((s=s.apply(e,t||[])).next())}))};class x{constructor(e){this.trait=e,this.renderedElements=[]}get templateId(){return`template:${this.trait.name}`}renderTemplate(e){return e}renderElement(e,t,i){const s=this.renderedElements.findIndex((e=>e.templateData===i));if(s>=0){const e=this.renderedElements[s];this.trait.unrender(i),e.index=t}else{const e={index:t,templateData:i};this.renderedElements.push(e)}this.trait.renderIndex(t,i)}splice(e,t,i){const s=[];for(const n of this.renderedElements)n.index<e?s.push(n):n.index>=e+t&&s.push({index:n.index+i-t,templateData:n.templateData});this.renderedElements=s}renderIndexes(e){for(const{index:t,templateData:i}of this.renderedElements)e.indexOf(t)>-1&&this.trait.renderIndex(t,i)}disposeTemplate(e){const t=this.renderedElements.findIndex((t=>t.templateData===e));t<0||this.renderedElements.splice(t,1)}}class N{constructor(e){this._trait=e,this.length=0,this.indexes=[],this.sortedIndexes=[],this._onChange=new p.vl,this.onChange=this._onChange.event}get name(){return this._trait}get renderer(){return new x(this)}splice(e,t,i){var s;t=Math.max(0,Math.min(t,this.length-e));const n=i.length-t,o=e+t,r=[...this.sortedIndexes.filter((t=>t<e)),...i.map(((t,i)=>t?i+e:-1)).filter((e=>-1!==e)),...this.sortedIndexes.filter((e=>e>=o)).map((e=>e+n))],l=this.length+n;if(this.sortedIndexes.length>0&&0===r.length&&l>0){const t=null!==(s=this.sortedIndexes.find((t=>t>=e)))&&void 0!==s?s:l-1;r.push(Math.min(t,l-1))}this.renderer.splice(e,t,i.length),this._set(r,r),this.length=l}renderIndex(e,t){t.classList.toggle(this._trait,this.contains(e))}unrender(e){e.classList.remove(this._trait)}set(e,t){return this._set(e,[...e].sort(U),t)}_set(e,t,i){const s=this.indexes,n=this.sortedIndexes;this.indexes=e,this.sortedIndexes=t;const o=$(n,e);return this.renderer.renderIndexes(o),this._onChange.fire({indexes:e,browserEvent:i}),s}get(){return this.indexes}contains(e){return(0,h.El)(this.sortedIndexes,e,U)>=0}dispose(){(0,g.AS)(this._onChange)}}D([u.B],N.prototype,"renderer",null);class k extends N{constructor(e){super("selected"),this.setAriaSelected=e}renderIndex(e,t){super.renderIndex(e,t),this.setAriaSelected&&(this.contains(e)?t.setAttribute("aria-selected","true"):t.setAttribute("aria-selected","false"))}}class A{constructor(e,t,i){this.trait=e,this.view=t,this.identityProvider=i}splice(e,t,i){if(!this.identityProvider)return this.trait.splice(e,t,i.map((()=>!1)));const s=this.trait.get().map((e=>this.identityProvider.getId(this.view.element(e)).toString())),n=i.map((e=>s.indexOf(this.identityProvider.getId(e).toString())>-1));this.trait.splice(e,t,n)}}function I(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName}function T(e){return!!e.classList.contains("monaco-editor")||!e.classList.contains("monaco-list")&&(!!e.parentElement&&T(e.parentElement))}function L(e){return!!("A"===e.tagName&&e.classList.contains("monaco-button")||"DIV"===e.tagName&&e.classList.contains("monaco-button-dropdown"))||!e.classList.contains("monaco-list")&&(!!e.parentElement&&L(e.parentElement))}class P{constructor(e,t,i){this.list=e,this.view=t,this.disposables=new g.Cm,this.multipleSelectionDisposables=new g.Cm,this.onKeyDown.filter((e=>3===e.keyCode)).on(this.onEnter,this,this.disposables),this.onKeyDown.filter((e=>16===e.keyCode)).on(this.onUpArrow,this,this.disposables),this.onKeyDown.filter((e=>18===e.keyCode)).on(this.onDownArrow,this,this.disposables),this.onKeyDown.filter((e=>11===e.keyCode)).on(this.onPageUpArrow,this,this.disposables),this.onKeyDown.filter((e=>12===e.keyCode)).on(this.onPageDownArrow,this,this.disposables),this.onKeyDown.filter((e=>9===e.keyCode)).on(this.onEscape,this,this.disposables),!1!==i.multipleSelectionSupport&&this.onKeyDown.filter((e=>(b.zx?e.metaKey:e.ctrlKey)&&31===e.keyCode)).on(this.onCtrlA,this,this.multipleSelectionDisposables)}get onKeyDown(){return this.disposables.add(p.Jh.chain(this.disposables.add(new n.f(this.view.domNode,"keydown")).event).filter((e=>!I(e.target))).map((e=>new o.Z(e))))}updateOptions(e){void 0!==e.multipleSelectionSupport&&(this.multipleSelectionDisposables.clear(),e.multipleSelectionSupport&&this.onKeyDown.filter((e=>(b.zx?e.metaKey:e.ctrlKey)&&31===e.keyCode)).on(this.onCtrlA,this,this.multipleSelectionDisposables))}onEnter(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection(this.list.getFocus(),e.browserEvent)}onUpArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusPrevious(1,!1,e.browserEvent);const t=this.list.getFocus()[0];this.list.setAnchor(t),this.list.reveal(t),this.view.domNode.focus()}onDownArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusNext(1,!1,e.browserEvent);const t=this.list.getFocus()[0];this.list.setAnchor(t),this.list.reveal(t),this.view.domNode.focus()}onPageUpArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusPreviousPage(e.browserEvent);const t=this.list.getFocus()[0];this.list.setAnchor(t),this.list.reveal(t),this.view.domNode.focus()}onPageDownArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusNextPage(e.browserEvent);const t=this.list.getFocus()[0];this.list.setAnchor(t),this.list.reveal(t),this.view.domNode.focus()}onCtrlA(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection((0,h.y1)(this.list.length),e.browserEvent),this.list.setAnchor(void 0),this.view.domNode.focus()}onEscape(e){this.list.getSelection().length&&(e.preventDefault(),e.stopPropagation(),this.list.setSelection([],e.browserEvent),this.list.setAnchor(void 0),this.view.domNode.focus())}dispose(){this.disposables.dispose(),this.multipleSelectionDisposables.dispose()}}D([u.B],P.prototype,"onKeyDown",null),function(e){e[e.Automatic=0]="Automatic",e[e.Trigger=1]="Trigger"}(w||(w={})),function(e){e[e.Idle=0]="Idle",e[e.Typing=1]="Typing"}(S||(S={}));const O=new class{mightProducePrintableCharacter(e){return!(e.ctrlKey||e.metaKey||e.altKey)&&(e.keyCode>=31&&e.keyCode<=56||e.keyCode>=21&&e.keyCode<=30||e.keyCode>=93&&e.keyCode<=102||e.keyCode>=80&&e.keyCode<=90)}};class B{constructor(e,t,i,s,n){this.list=e,this.view=t,this.keyboardNavigationLabelProvider=i,this.keyboardNavigationEventFilter=s,this.delegate=n,this.enabled=!1,this.state=S.Idle,this.mode=w.Automatic,this.triggered=!1,this.previouslyFocused=-1,this.enabledDisposables=new g.Cm,this.disposables=new g.Cm,this.updateOptions(e.options)}updateOptions(e){var t,i;null===(t=e.typeNavigationEnabled)||void 0===t||t?this.enable():this.disable(),this.mode=null!==(i=e.typeNavigationMode)&&void 0!==i?i:w.Automatic}enable(){if(this.enabled)return;let e=!1;const t=this.enabledDisposables.add(p.Jh.chain(this.enabledDisposables.add(new n.f(this.view.domNode,"keydown")).event)).filter((e=>!I(e.target))).filter((()=>this.mode===w.Automatic||this.triggered)).map((e=>new o.Z(e))).filter((t=>e||this.keyboardNavigationEventFilter(t))).filter((e=>this.delegate.mightProducePrintableCharacter(e))).forEach(n.j).map((e=>e.browserEvent.key)).event,i=p.Jh.debounce(t,(()=>null),800,void 0,void 0,this.enabledDisposables);p.Jh.reduce(p.Jh.any(t,i),((e,t)=>null===t?null:(e||"")+t),void 0,this.enabledDisposables)(this.onInput,this,this.enabledDisposables),i(this.onClear,this,this.enabledDisposables),t((()=>e=!0),void 0,this.enabledDisposables),i((()=>e=!1),void 0,this.enabledDisposables),this.enabled=!0,this.triggered=!1}disable(){this.enabled&&(this.enabledDisposables.clear(),this.enabled=!1,this.triggered=!1)}onClear(){var e;const t=this.list.getFocus();if(t.length>0&&t[0]===this.previouslyFocused){const i=null===(e=this.list.options.accessibilityProvider)||void 0===e?void 0:e.getAriaLabel(this.list.element(t[0]));i&&(0,l.xE)(i)}this.previouslyFocused=-1}onInput(e){if(!e)return this.state=S.Idle,void(this.triggered=!1);const t=this.list.getFocus(),i=t.length>0?t[0]:0,s=this.state===S.Idle?1:0;this.state=S.Typing;for(let n=0;n<this.list.length;n++){const t=(i+n+s)%this.list.length,o=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(this.view.element(t)),r=o&&o.toString();if("undefined"===typeof r||(0,m.WP)(e,r))return this.previouslyFocused=i,this.list.setFocus([t]),void this.list.reveal(t)}}dispose(){this.disable(),this.enabledDisposables.dispose(),this.disposables.dispose()}}class M{constructor(e,t){this.list=e,this.view=t,this.disposables=new g.Cm;this.disposables.add(p.Jh.chain(this.disposables.add(new n.f(t.domNode,"keydown")).event)).filter((e=>!I(e.target))).map((e=>new o.Z(e))).filter((e=>2===e.keyCode&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&!e.altKey)).on(this.onTab,this,this.disposables)}onTab(e){if(e.target!==this.view.domNode)return;const t=this.list.getFocus();if(0===t.length)return;const i=this.view.domElement(t[0]);if(!i)return;const s=i.querySelector("[tabIndex]");if(!s||!(s instanceof HTMLElement)||-1===s.tabIndex)return;const n=window.getComputedStyle(s);"hidden"!==n.visibility&&"none"!==n.display&&(e.preventDefault(),e.stopPropagation(),s.focus())}dispose(){this.disposables.dispose()}}function F(e){return b.zx?e.browserEvent.metaKey:e.browserEvent.ctrlKey}function R(e){return e.browserEvent.shiftKey}const z={isSelectionSingleChangeEvent:F,isSelectionRangeChangeEvent:R};class K{constructor(e){this.list=e,this.disposables=new g.Cm,this._onPointer=new p.vl,this.onPointer=this._onPointer.event,!1!==e.options.multipleSelectionSupport&&(this.multipleSelectionController=this.list.options.multipleSelectionController||z),this.mouseSupport="undefined"===typeof e.options.mouseSupport||!!e.options.mouseSupport,this.mouseSupport&&(e.onMouseDown(this.onMouseDown,this,this.disposables),e.onContextMenu(this.onContextMenu,this,this.disposables),e.onMouseDblClick(this.onDoubleClick,this,this.disposables),e.onTouchStart(this.onMouseDown,this,this.disposables),this.disposables.add(r.q.addTarget(e.getHTMLElement()))),p.Jh.any(e.onMouseClick,e.onMouseMiddleClick,e.onTap)(this.onViewPointer,this,this.disposables)}updateOptions(e){void 0!==e.multipleSelectionSupport&&(this.multipleSelectionController=void 0,e.multipleSelectionSupport&&(this.multipleSelectionController=this.list.options.multipleSelectionController||z))}isSelectionSingleChangeEvent(e){return!!this.multipleSelectionController&&this.multipleSelectionController.isSelectionSingleChangeEvent(e)}isSelectionRangeChangeEvent(e){return!!this.multipleSelectionController&&this.multipleSelectionController.isSelectionRangeChangeEvent(e)}isSelectionChangeEvent(e){return this.isSelectionSingleChangeEvent(e)||this.isSelectionRangeChangeEvent(e)}onMouseDown(e){T(e.browserEvent.target)||document.activeElement!==e.browserEvent.target&&this.list.domFocus()}onContextMenu(e){if(T(e.browserEvent.target))return;const t="undefined"===typeof e.index?[]:[e.index];this.list.setFocus(t,e.browserEvent)}onViewPointer(e){if(!this.mouseSupport)return;if(I(e.browserEvent.target)||T(e.browserEvent.target))return;const t=e.index;return"undefined"===typeof t?(this.list.setFocus([],e.browserEvent),this.list.setSelection([],e.browserEvent),void this.list.setAnchor(void 0)):this.isSelectionRangeChangeEvent(e)||this.isSelectionChangeEvent(e)?this.changeSelection(e):(this.list.setFocus([t],e.browserEvent),this.list.setAnchor(t),(i=e.browserEvent)instanceof MouseEvent&&2===i.button||this.list.setSelection([t],e.browserEvent),void this._onPointer.fire(e));var i}onDoubleClick(e){if(I(e.browserEvent.target)||T(e.browserEvent.target))return;if(this.isSelectionChangeEvent(e))return;const t=this.list.getFocus();this.list.setSelection(t,e.browserEvent)}changeSelection(e){const t=e.index;let i=this.list.getAnchor();if(this.isSelectionRangeChangeEvent(e)){if("undefined"===typeof i){const e=this.list.getFocus()[0];i=null!==e&&void 0!==e?e:t,this.list.setAnchor(i)}const s=Math.min(i,t),n=Math.max(i,t),o=(0,h.y1)(s,n+1),r=this.list.getSelection(),l=function(e,t){const i=e.indexOf(t);if(-1===i)return[];const s=[];let n=i-1;for(;n>=0&&e[n]===t-(i-n);)s.push(e[n--]);s.reverse(),n=i;for(;n<e.length&&e[n]===t+(n-i);)s.push(e[n++]);return s}($(r,[i]),i);if(0===l.length)return;const a=$(o,function(e,t){const i=[];let s=0,n=0;for(;s<e.length||n<t.length;)if(s>=e.length)i.push(t[n++]);else if(n>=t.length)i.push(e[s++]);else{if(e[s]===t[n]){s++,n++;continue}e[s]<t[n]?i.push(e[s++]):n++}return i}(r,l));this.list.setSelection(a,e.browserEvent),this.list.setFocus([t],e.browserEvent)}else if(this.isSelectionSingleChangeEvent(e)){const i=this.list.getSelection(),s=i.filter((e=>e!==t));this.list.setFocus([t]),this.list.setAnchor(t),i.length===s.length?this.list.setSelection([...s,t],e.browserEvent):this.list.setSelection(s,e.browserEvent)}}dispose(){this.disposables.dispose()}}class H{constructor(e,t){this.styleElement=e,this.selectorSuffix=t}style(e){const t=this.selectorSuffix&&`.${this.selectorSuffix}`,i=[];e.listBackground&&(e.listBackground.isOpaque()?i.push(`.monaco-list${t} .monaco-list-rows { background: ${e.listBackground}; }`):b.zx),e.listFocusBackground&&(i.push(`.monaco-list${t}:focus .monaco-list-row.focused { background-color: ${e.listFocusBackground}; }`),i.push(`.monaco-list${t}:focus .monaco-list-row.focused:hover { background-color: ${e.listFocusBackground}; }`)),e.listFocusForeground&&i.push(`.monaco-list${t}:focus .monaco-list-row.focused { color: ${e.listFocusForeground}; }`),e.listActiveSelectionBackground&&(i.push(`.monaco-list${t}:focus .monaco-list-row.selected { background-color: ${e.listActiveSelectionBackground}; }`),i.push(`.monaco-list${t}:focus .monaco-list-row.selected:hover { background-color: ${e.listActiveSelectionBackground}; }`)),e.listActiveSelectionForeground&&i.push(`.monaco-list${t}:focus .monaco-list-row.selected { color: ${e.listActiveSelectionForeground}; }`),e.listActiveSelectionIconForeground&&i.push(`.monaco-list${t}:focus .monaco-list-row.selected .codicon { color: ${e.listActiveSelectionIconForeground}; }`),e.listFocusAndSelectionOutline&&i.push(`.monaco-list${t}:focus .monaco-list-row.selected { outline-color: ${e.listFocusAndSelectionOutline} !important; }`),e.listFocusAndSelectionBackground&&i.push(`\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list${t}:focus .monaco-list-row.selected.focused { background-color: ${e.listFocusAndSelectionBackground}; }\n\t\t\t`),e.listFocusAndSelectionForeground&&i.push(`\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list${t}:focus .monaco-list-row.selected.focused { color: ${e.listFocusAndSelectionForeground}; }\n\t\t\t`),e.listInactiveFocusForeground&&(i.push(`.monaco-list${t} .monaco-list-row.focused { color: ${e.listInactiveFocusForeground}; }`),i.push(`.monaco-list${t} .monaco-list-row.focused:hover { color: ${e.listInactiveFocusForeground}; }`)),e.listInactiveSelectionIconForeground&&i.push(`.monaco-list${t} .monaco-list-row.focused .codicon { color: ${e.listInactiveSelectionIconForeground}; }`),e.listInactiveFocusBackground&&(i.push(`.monaco-list${t} .monaco-list-row.focused { background-color: ${e.listInactiveFocusBackground}; }`),i.push(`.monaco-list${t} .monaco-list-row.focused:hover { background-color: ${e.listInactiveFocusBackground}; }`)),e.listInactiveSelectionBackground&&(i.push(`.monaco-list${t} .monaco-list-row.selected { background-color: ${e.listInactiveSelectionBackground}; }`),i.push(`.monaco-list${t} .monaco-list-row.selected:hover { background-color: ${e.listInactiveSelectionBackground}; }`)),e.listInactiveSelectionForeground&&i.push(`.monaco-list${t} .monaco-list-row.selected { color: ${e.listInactiveSelectionForeground}; }`),e.listHoverBackground&&i.push(`.monaco-list${t}:not(.drop-target) .monaco-list-row:hover:not(.selected):not(.focused) { background-color: ${e.listHoverBackground}; }`),e.listHoverForeground&&i.push(`.monaco-list${t} .monaco-list-row:hover:not(.selected):not(.focused) { color: ${e.listHoverForeground}; }`),e.listSelectionOutline&&i.push(`.monaco-list${t} .monaco-list-row.selected { outline: 1px dotted ${e.listSelectionOutline}; outline-offset: -1px; }`),e.listFocusOutline&&i.push(`\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list${t}:focus .monaco-list-row.focused { outline: 1px solid ${e.listFocusOutline}; outline-offset: -1px; }\n\t\t\t\t.monaco-workbench.context-menu-visible .monaco-list${t}.last-focused .monaco-list-row.focused { outline: 1px solid ${e.listFocusOutline}; outline-offset: -1px; }\n\t\t\t`),e.listInactiveFocusOutline&&i.push(`.monaco-list${t} .monaco-list-row.focused { outline: 1px dotted ${e.listInactiveFocusOutline}; outline-offset: -1px; }`),e.listHoverOutline&&i.push(`.monaco-list${t} .monaco-list-row:hover { outline: 1px dashed ${e.listHoverOutline}; outline-offset: -1px; }`),e.listDropBackground&&i.push(`\n\t\t\t\t.monaco-list${t}.drop-target,\n\t\t\t\t.monaco-list${t} .monaco-list-rows.drop-target,\n\t\t\t\t.monaco-list${t} .monaco-list-row.drop-target { background-color: ${e.listDropBackground} !important; color: inherit !important; }\n\t\t\t`),e.tableColumnsBorder&&i.push(`\n\t\t\t\t.monaco-table:hover > .monaco-split-view2,\n\t\t\t\t.monaco-table:hover > .monaco-split-view2 .monaco-sash.vertical::before {\n\t\t\t\t\tborder-color: ${e.tableColumnsBorder};\n\t\t\t}`),e.tableOddRowsBackgroundColor&&i.push(`\n\t\t\t\t.monaco-table .monaco-list-row[data-parity=odd]:not(.focused):not(.selected):not(:hover) .monaco-table-tr,\n\t\t\t\t.monaco-table .monaco-list:not(:focus) .monaco-list-row[data-parity=odd].focused:not(.selected):not(:hover) .monaco-table-tr,\n\t\t\t\t.monaco-table .monaco-list:not(.focused) .monaco-list-row[data-parity=odd].focused:not(.selected):not(:hover) .monaco-table-tr {\n\t\t\t\t\tbackground-color: ${e.tableOddRowsBackgroundColor};\n\t\t\t\t}\n\t\t\t`),this.styleElement.textContent=i.join("\n")}}const V={listFocusBackground:c.Q1.fromHex("#7FB0D0"),listActiveSelectionBackground:c.Q1.fromHex("#0E639C"),listActiveSelectionForeground:c.Q1.fromHex("#FFFFFF"),listActiveSelectionIconForeground:c.Q1.fromHex("#FFFFFF"),listFocusAndSelectionOutline:c.Q1.fromHex("#90C2F9"),listFocusAndSelectionBackground:c.Q1.fromHex("#094771"),listFocusAndSelectionForeground:c.Q1.fromHex("#FFFFFF"),listInactiveSelectionBackground:c.Q1.fromHex("#3F3F46"),listInactiveSelectionIconForeground:c.Q1.fromHex("#FFFFFF"),listHoverBackground:c.Q1.fromHex("#2A2D2E"),listDropBackground:c.Q1.fromHex("#383B3D"),treeIndentGuidesStroke:c.Q1.fromHex("#a9a9a9"),tableColumnsBorder:c.Q1.fromHex("#cccccc").transparent(.2),tableOddRowsBackgroundColor:c.Q1.fromHex("#cccccc").transparent(.04)},W={keyboardSupport:!0,mouseSupport:!0,multipleSelectionSupport:!0,dnd:{getDragURI:()=>null,onDragStart(){},onDragOver:()=>!1,drop(){}}};function $(e,t){const i=[];let s=0,n=0;for(;s<e.length||n<t.length;)if(s>=e.length)i.push(t[n++]);else if(n>=t.length)i.push(e[s++]);else{if(e[s]===t[n]){i.push(e[s]),s++,n++;continue}e[s]<t[n]?i.push(e[s++]):i.push(t[n++])}return i}const U=(e,t)=>e-t;class j{constructor(e,t){this._templateId=e,this.renderers=t}get templateId(){return this._templateId}renderTemplate(e){return this.renderers.map((t=>t.renderTemplate(e)))}renderElement(e,t,i,s){let n=0;for(const o of this.renderers)o.renderElement(e,t,i[n++],s)}disposeElement(e,t,i,s){var n;let o=0;for(const r of this.renderers)null===(n=r.disposeElement)||void 0===n||n.call(r,e,t,i[o],s),o+=1}disposeTemplate(e){let t=0;for(const i of this.renderers)i.disposeTemplate(e[t++])}}class G{constructor(e){this.accessibilityProvider=e,this.templateId="a18n"}renderTemplate(e){return e}renderElement(e,t,i){const s=this.accessibilityProvider.getAriaLabel(e);s?i.setAttribute("aria-label",s):i.removeAttribute("aria-label");const n=this.accessibilityProvider.getAriaLevel&&this.accessibilityProvider.getAriaLevel(e);"number"===typeof n?i.setAttribute("aria-level",`${n}`):i.removeAttribute("aria-level")}disposeTemplate(e){}}class q{constructor(e,t){this.list=e,this.dnd=t}getDragElements(e){const t=this.list.getSelectedElements();return t.indexOf(e)>-1?t:[e]}getDragURI(e){return this.dnd.getDragURI(e)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e,t)}onDragStart(e,t){var i,s;null===(s=(i=this.dnd).onDragStart)||void 0===s||s.call(i,e,t)}onDragOver(e,t,i,s){return this.dnd.onDragOver(e,t,i,s)}onDragLeave(e,t,i,s){var n,o;null===(o=(n=this.dnd).onDragLeave)||void 0===o||o.call(n,e,t,i,s)}onDragEnd(e){var t,i;null===(i=(t=this.dnd).onDragEnd)||void 0===i||i.call(t,e)}drop(e,t,i,s){this.dnd.drop(e,t,i,s)}}class Y{constructor(e,t,i,n,o=W){var r,l,h,d;this.user=e,this._options=o,this.focus=new N("focused"),this.anchor=new N("anchor"),this.eventBufferer=new p.at,this._ariaLabel="",this.disposables=new g.Cm,this._onDidDispose=new p.vl,this.onDidDispose=this._onDidDispose.event;const c=this._options.accessibilityProvider&&this._options.accessibilityProvider.getWidgetRole?null===(r=this._options.accessibilityProvider)||void 0===r?void 0:r.getWidgetRole():"list";this.selection=new k("listbox"!==c),(0,v.co)(o,V,!1);const u=[this.focus.renderer,this.selection.renderer];this.accessibilityProvider=o.accessibilityProvider,this.accessibilityProvider&&(u.push(new G(this.accessibilityProvider)),null===(h=(l=this.accessibilityProvider).onDidChangeActiveDescendant)||void 0===h||h.call(l,this.onDidChangeActiveDescendant,this,this.disposables)),n=n.map((e=>new j(e.templateId,[...u,e])));const m=Object.assign(Object.assign({},o),{dnd:o.dnd&&new q(this,o.dnd)});if(this.view=new C.uO(t,i,n,m),this.view.domNode.setAttribute("role",c),o.styleController)this.styleController=o.styleController(this.view.domId);else{const e=(0,s.li)(this.view.domNode);this.styleController=new H(e,this.view.domId)}if(this.spliceable=new a([new A(this.focus,this.view,o.identityProvider),new A(this.selection,this.view,o.identityProvider),new A(this.anchor,this.view,o.identityProvider),this.view]),this.disposables.add(this.focus),this.disposables.add(this.selection),this.disposables.add(this.anchor),this.disposables.add(this.view),this.disposables.add(this._onDidDispose),this.disposables.add(new M(this,this.view)),("boolean"!==typeof o.keyboardSupport||o.keyboardSupport)&&(this.keyboardController=new P(this,this.view,o),this.disposables.add(this.keyboardController)),o.keyboardNavigationLabelProvider){const e=o.keyboardNavigationDelegate||O;this.typeNavigationController=new B(this,this.view,o.keyboardNavigationLabelProvider,null!==(d=o.keyboardNavigationEventFilter)&&void 0!==d?d:()=>!0,e),this.disposables.add(this.typeNavigationController)}this.mouseController=this.createMouseController(o),this.disposables.add(this.mouseController),this.onDidChangeFocus(this._onFocusChange,this,this.disposables),this.onDidChangeSelection(this._onSelectionChange,this,this.disposables),this.accessibilityProvider&&(this.ariaLabel=this.accessibilityProvider.getWidgetAriaLabel()),!1!==this._options.multipleSelectionSupport&&this.view.domNode.setAttribute("aria-multiselectable","true")}get onDidChangeFocus(){return p.Jh.map(this.eventBufferer.wrapEvent(this.focus.onChange),(e=>this.toListEvent(e)),this.disposables)}get onDidChangeSelection(){return p.Jh.map(this.eventBufferer.wrapEvent(this.selection.onChange),(e=>this.toListEvent(e)),this.disposables)}get domId(){return this.view.domId}get onMouseClick(){return this.view.onMouseClick}get onMouseDblClick(){return this.view.onMouseDblClick}get onMouseMiddleClick(){return this.view.onMouseMiddleClick}get onPointer(){return this.mouseController.onPointer}get onMouseDown(){return this.view.onMouseDown}get onTouchStart(){return this.view.onTouchStart}get onTap(){return this.view.onTap}get onContextMenu(){let e=!1;const t=this.disposables.add(p.Jh.chain(this.disposables.add(new n.f(this.view.domNode,"keydown")).event)).map((e=>new o.Z(e))).filter((t=>e=58===t.keyCode||t.shiftKey&&68===t.keyCode)).map(n.j).filter((()=>!1)).event,i=this.disposables.add(p.Jh.chain(this.disposables.add(new n.f(this.view.domNode,"keyup")).event)).forEach((()=>e=!1)).map((e=>new o.Z(e))).filter((e=>58===e.keyCode||e.shiftKey&&68===e.keyCode)).map(n.j).map((({browserEvent:e})=>{const t=this.getFocus(),i=t.length?t[0]:void 0;return{index:i,element:"undefined"!==typeof i?this.view.element(i):void 0,anchor:"undefined"!==typeof i?this.view.domElement(i):this.view.domNode,browserEvent:e}})).event,s=this.disposables.add(p.Jh.chain(this.view.onContextMenu)).filter((t=>!e)).map((({element:e,index:t,browserEvent:i})=>({element:e,index:t,anchor:{x:i.pageX+1,y:i.pageY},browserEvent:i}))).event;return p.Jh.any(t,i,s)}get onKeyDown(){return this.disposables.add(new n.f(this.view.domNode,"keydown")).event}get onDidFocus(){return p.Jh.signal(this.disposables.add(new n.f(this.view.domNode,"focus",!0)).event)}createMouseController(e){return new K(this)}updateOptions(e={}){var t,i;this._options=Object.assign(Object.assign({},this._options),e),null===(t=this.typeNavigationController)||void 0===t||t.updateOptions(this._options),void 0!==this._options.multipleSelectionController&&(this._options.multipleSelectionSupport?this.view.domNode.setAttribute("aria-multiselectable","true"):this.view.domNode.removeAttribute("aria-multiselectable")),this.mouseController.updateOptions(e),null===(i=this.keyboardController)||void 0===i||i.updateOptions(e),this.view.updateOptions(e)}get options(){return this._options}splice(e,t,i=[]){if(e<0||e>this.view.length)throw new y(this.user,`Invalid start index: ${e}`);if(t<0)throw new y(this.user,`Invalid delete count: ${t}`);0===t&&0===i.length||this.eventBufferer.bufferEvents((()=>this.spliceable.splice(e,t,i)))}rerender(){this.view.rerender()}element(e){return this.view.element(e)}get length(){return this.view.length}get contentHeight(){return this.view.contentHeight}get scrollTop(){return this.view.getScrollTop()}set scrollTop(e){this.view.setScrollTop(e)}get ariaLabel(){return this._ariaLabel}set ariaLabel(e){this._ariaLabel=e,this.view.domNode.setAttribute("aria-label",e)}domFocus(){this.view.domNode.focus({preventScroll:!0})}layout(e,t){this.view.layout(e,t)}setSelection(e,t){for(const i of e)if(i<0||i>=this.length)throw new y(this.user,`Invalid index ${i}`);this.selection.set(e,t)}getSelection(){return this.selection.get()}getSelectedElements(){return this.getSelection().map((e=>this.view.element(e)))}setAnchor(e){if("undefined"!==typeof e){if(e<0||e>=this.length)throw new y(this.user,`Invalid index ${e}`);this.anchor.set([e])}else this.anchor.set([])}getAnchor(){return(0,h.Fy)(this.anchor.get(),void 0)}getAnchorElement(){const e=this.getAnchor();return"undefined"===typeof e?void 0:this.element(e)}setFocus(e,t){for(const i of e)if(i<0||i>=this.length)throw new y(this.user,`Invalid index ${i}`);this.focus.set(e,t)}focusNext(e=1,t=!1,i,s){if(0===this.length)return;const n=this.focus.get(),o=this.findNextIndex(n.length>0?n[0]+e:0,t,s);o>-1&&this.setFocus([o],i)}focusPrevious(e=1,t=!1,i,s){if(0===this.length)return;const n=this.focus.get(),o=this.findPreviousIndex(n.length>0?n[0]-e:0,t,s);o>-1&&this.setFocus([o],i)}focusNextPage(e,t){return E(this,void 0,void 0,(function*(){let i=this.view.indexAt(this.view.getScrollTop()+this.view.renderHeight);i=0===i?0:i-1;const s=this.getFocus()[0];if(s!==i&&(void 0===s||i>s)){const n=this.findPreviousIndex(i,!1,t);n>-1&&s!==n?this.setFocus([n],e):this.setFocus([i],e)}else{const n=this.view.getScrollTop();let o=n+this.view.renderHeight;i>s&&(o-=this.view.elementHeight(i)),this.view.setScrollTop(o),this.view.getScrollTop()!==n&&(this.setFocus([]),yield(0,d.wR)(0),yield this.focusNextPage(e,t))}}))}focusPreviousPage(e,t){return E(this,void 0,void 0,(function*(){let i;const s=this.view.getScrollTop();i=0===s?this.view.indexAt(s):this.view.indexAfter(s-1);const n=this.getFocus()[0];if(n!==i&&(void 0===n||n>=i)){const s=this.findNextIndex(i,!1,t);s>-1&&n!==s?this.setFocus([s],e):this.setFocus([i],e)}else{const i=s;this.view.setScrollTop(s-this.view.renderHeight),this.view.getScrollTop()!==i&&(this.setFocus([]),yield(0,d.wR)(0),yield this.focusPreviousPage(e,t))}}))}focusLast(e,t){if(0===this.length)return;const i=this.findPreviousIndex(this.length-1,!1,t);i>-1&&this.setFocus([i],e)}focusFirst(e,t){this.focusNth(0,e,t)}focusNth(e,t,i){if(0===this.length)return;const s=this.findNextIndex(e,!1,i);s>-1&&this.setFocus([s],t)}findNextIndex(e,t=!1,i){for(let s=0;s<this.length;s++){if(e>=this.length&&!t)return-1;if(e%=this.length,!i||i(this.element(e)))return e;e++}return-1}findPreviousIndex(e,t=!1,i){for(let s=0;s<this.length;s++){if(e<0&&!t)return-1;if(e=(this.length+e%this.length)%this.length,!i||i(this.element(e)))return e;e--}return-1}getFocus(){return this.focus.get()}getFocusedElements(){return this.getFocus().map((e=>this.view.element(e)))}reveal(e,t){if(e<0||e>=this.length)throw new y(this.user,`Invalid index ${e}`);const i=this.view.getScrollTop(),s=this.view.elementTop(e),n=this.view.elementHeight(e);if((0,_.Et)(t)){const e=n-this.view.renderHeight;this.view.setScrollTop(e*(0,f.qE)(t,0,1)+s)}else{const e=s+n,t=i+this.view.renderHeight;s<i&&e>=t||(s<i||e>=t&&n>=this.view.renderHeight?this.view.setScrollTop(s):e>=t&&this.view.setScrollTop(e-this.view.renderHeight))}}getHTMLElement(){return this.view.domNode}style(e){this.styleController.style(e)}toListEvent({indexes:e,browserEvent:t}){return{indexes:e,elements:e.map((e=>this.view.element(e))),browserEvent:t}}_onFocusChange(){const e=this.focus.get();this.view.domNode.classList.toggle("element-focused",e.length>0),this.onDidChangeActiveDescendant()}onDidChangeActiveDescendant(){var e;const t=this.focus.get();if(t.length>0){let i;(null===(e=this.accessibilityProvider)||void 0===e?void 0:e.getActiveDescendantId)&&(i=this.accessibilityProvider.getActiveDescendantId(this.view.element(t[0]))),this.view.domNode.setAttribute("aria-activedescendant",i||this.view.getElementDomId(t[0]))}else this.view.domNode.removeAttribute("aria-activedescendant")}_onSelectionChange(){const e=this.selection.get();this.view.domNode.classList.toggle("selection-none",0===e.length),this.view.domNode.classList.toggle("selection-single",1===e.length),this.view.domNode.classList.toggle("selection-multiple",e.length>1)}dispose(){this._onDidDispose.fire(),this.disposables.dispose(),this._onDidDispose.dispose()}}D([u.B],Y.prototype,"onDidChangeFocus",null),D([u.B],Y.prototype,"onDidChangeSelection",null),D([u.B],Y.prototype,"onContextMenu",null),D([u.B],Y.prototype,"onKeyDown",null),D([u.B],Y.prototype,"onDidFocus",null)},65085:(e,t,i)=>{i.d(t,{W1:()=>C});var s=i(58159),n=i(5644),o=i(90491),r=i(41828),l=i(24997),a=i(97061),h=i(74363),d=i(86331),c=i(91043),u=i(95062),p=i(56495),m=i(20512),g=i(88106),f=i(88920),v=i(55808),b=i(55977),_=i(24638);const y=/\(&([^\s&])\)|(^|[^&])&([^\s&])/,w=/(&amp;)?(&amp;)([^\s&])/g;var S;!function(e){e[e.Right=0]="Right",e[e.Left=1]="Left"}(S||(S={}));class C extends a.E{constructor(e,t,i={}){e.classList.add("monaco-menu-container"),e.setAttribute("role","presentation");const s=document.createElement("div");s.classList.add("monaco-menu"),s.setAttribute("role","presentation"),super(s,{orientation:1,actionViewItemProvider:e=>this.doGetActionViewItem(e,i,l),context:i.context,actionRunner:i.actionRunner,ariaLabel:i.ariaLabel,ariaRole:"menu",focusOnlyEnabledItems:!0,triggerKeys:{keys:[3,...b.zx||b.j9?[10]:[]],keyDown:!0}}),this.menuElement=s,this.actionsList.tabIndex=0,this.menuDisposables=this._register(new v.Cm),this.initializeOrUpdateStyleSheet(e,{}),this._register(n.q.addTarget(s)),(0,o.ko)(s,o.Bx.KEY_DOWN,(e=>{new r.Z(e).equals(2)&&e.preventDefault()})),i.enableMnemonics&&this.menuDisposables.add((0,o.ko)(s,o.Bx.KEY_DOWN,(e=>{const t=e.key.toLocaleLowerCase();if(this.mnemonics.has(t)){o.fs.stop(e,!0);const i=this.mnemonics.get(t);if(1===i.length&&(i[0]instanceof E&&i[0].container&&this.focusItemByElement(i[0].container),i[0].onClick(e)),i.length>1){const e=i.shift();e&&e.container&&(this.focusItemByElement(e.container),i.push(e)),this.mnemonics.set(t,i)}}}))),b.j9&&this._register((0,o.ko)(s,o.Bx.KEY_DOWN,(e=>{const t=new r.Z(e);t.equals(14)||t.equals(11)?(this.focusedItem=this.viewItems.length-1,this.focusNext(),o.fs.stop(e,!0)):(t.equals(13)||t.equals(12))&&(this.focusedItem=0,this.focusPrevious(),o.fs.stop(e,!0))}))),this._register((0,o.ko)(this.domNode,o.Bx.MOUSE_OUT,(e=>{const t=e.relatedTarget;(0,o.QX)(t,this.domNode)||(this.focusedItem=void 0,this.updateFocus(),e.stopPropagation())}))),this._register((0,o.ko)(this.actionsList,o.Bx.MOUSE_OVER,(e=>{let t=e.target;if(t&&(0,o.QX)(t,this.actionsList)&&t!==this.actionsList){for(;t.parentElement!==this.actionsList&&null!==t.parentElement;)t=t.parentElement;if(t.classList.contains("action-item")){const e=this.focusedItem;this.setFocusedItem(t),e!==this.focusedItem&&this.updateFocus()}}}))),this._register(n.q.addTarget(this.actionsList)),this._register((0,o.ko)(this.actionsList,n.B.Tap,(e=>{let t=e.initialTarget;if(t&&(0,o.QX)(t,this.actionsList)&&t!==this.actionsList){for(;t.parentElement!==this.actionsList&&null!==t.parentElement;)t=t.parentElement;if(t.classList.contains("action-item")){const e=this.focusedItem;this.setFocusedItem(t),e!==this.focusedItem&&this.updateFocus()}}})));const l={parent:this};this.mnemonics=new Map,this.scrollableElement=this._register(new u.MU(s,{alwaysConsumeMouseWheel:!0,horizontal:2,vertical:3,verticalScrollbarSize:7,handleMouseWheel:!0,useShadows:!0}));const a=this.scrollableElement.getDomNode();a.style.position="",this._register((0,o.ko)(s,n.B.Change,(e=>{o.fs.stop(e,!0);const t=this.scrollableElement.getScrollPosition().scrollTop;this.scrollableElement.setScrollPosition({scrollTop:t-e.translationY})}))),this._register((0,o.ko)(a,o.Bx.MOUSE_UP,(e=>{e.preventDefault()}))),s.style.maxHeight=`${Math.max(10,window.innerHeight-e.getBoundingClientRect().top-35)}px`,t=t.filter((e=>{var t;return!(null===(t=i.submenuIds)||void 0===t?void 0:t.has(e.id))})),this.push(t,{icon:!0,label:!0,isMenu:!0}),e.appendChild(this.scrollableElement.getDomNode()),this.scrollableElement.scanDomNode(),this.viewItems.filter((e=>!(e instanceof x))).forEach(((e,t,i)=>{e.updatePositionInSet(t+1,i.length)}))}initializeOrUpdateStyleSheet(e,t){this.styleSheet||((0,o.Cl)(e)?this.styleSheet=(0,o.li)(e):(C.globalStyleSheet||(C.globalStyleSheet=(0,o.li)()),this.styleSheet=C.globalStyleSheet)),this.styleSheet.textContent=function(e,t){let i=`\n.monaco-menu {\n\tfont-size: 13px;\n\tborder-radius: 5px;\n\tmin-width: 160px;\n}\n\n${(0,d.U)(g.W6.menuSelection)}\n${(0,d.U)(g.W6.menuSubmenu)}\n\n.monaco-menu .monaco-action-bar {\n\ttext-align: right;\n\toverflow: hidden;\n\twhite-space: nowrap;\n}\n\n.monaco-menu .monaco-action-bar .actions-container {\n\tdisplay: flex;\n\tmargin: 0 auto;\n\tpadding: 0;\n\twidth: 100%;\n\tjustify-content: flex-end;\n}\n\n.monaco-menu .monaco-action-bar.vertical .actions-container {\n\tdisplay: inline-block;\n}\n\n.monaco-menu .monaco-action-bar.reverse .actions-container {\n\tflex-direction: row-reverse;\n}\n\n.monaco-menu .monaco-action-bar .action-item {\n\tcursor: pointer;\n\tdisplay: inline-block;\n\ttransition: transform 50ms ease;\n\tposition: relative; /* DO NOT REMOVE - this is the key to preventing the ghosting icon bug in Chrome 42 */\n}\n\n.monaco-menu .monaco-action-bar .action-item.disabled {\n\tcursor: default;\n}\n\n.monaco-menu .monaco-action-bar.animated .action-item.active {\n\ttransform: scale(1.272019649, 1.272019649); /* 1.272019649 = \u221a\u03c6 */\n}\n\n.monaco-menu .monaco-action-bar .action-item .icon,\n.monaco-menu .monaco-action-bar .action-item .codicon {\n\tdisplay: inline-block;\n}\n\n.monaco-menu .monaco-action-bar .action-item .codicon {\n\tdisplay: flex;\n\talign-items: center;\n}\n\n.monaco-menu .monaco-action-bar .action-label {\n\tfont-size: 11px;\n\tmargin-right: 4px;\n}\n\n.monaco-menu .monaco-action-bar .action-item.disabled .action-label,\n.monaco-menu .monaco-action-bar .action-item.disabled .action-label:hover {\n\tcolor: var(--vscode-disabledForeground);\n}\n\n/* Vertical actions */\n\n.monaco-menu .monaco-action-bar.vertical {\n\ttext-align: left;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tdisplay: block;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tdisplay: block;\n\tborder-bottom: 1px solid var(--vscode-menu-separatorBackground);\n\tpadding-top: 1px;\n\tpadding: 30px;\n}\n\n.monaco-menu .secondary-actions .monaco-action-bar .action-label {\n\tmargin-left: 6px;\n}\n\n/* Action Items */\n.monaco-menu .monaco-action-bar .action-item.select-container {\n\toverflow: hidden; /* somehow the dropdown overflows its container, we prevent it here to not push */\n\tflex: 1;\n\tmax-width: 170px;\n\tmin-width: 60px;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tmargin-right: 10px;\n}\n\n.monaco-menu .monaco-action-bar.vertical {\n\tmargin-left: 0;\n\toverflow: visible;\n}\n\n.monaco-menu .monaco-action-bar.vertical .actions-container {\n\tdisplay: block;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tpadding: 0;\n\ttransform: none;\n\tdisplay: flex;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item.active {\n\ttransform: none;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-menu-item {\n\tflex: 1 1 auto;\n\tdisplay: flex;\n\theight: 2em;\n\talign-items: center;\n\tposition: relative;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .keybinding,\n.monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .keybinding {\n\topacity: unset;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label {\n\tflex: 1 1 auto;\n\ttext-decoration: none;\n\tpadding: 0 1em;\n\tbackground: none;\n\tfont-size: 12px;\n\tline-height: 1;\n}\n\n.monaco-menu .monaco-action-bar.vertical .keybinding,\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\tdisplay: inline-block;\n\tflex: 2 1 auto;\n\tpadding: 0 1em;\n\ttext-align: right;\n\tfont-size: 12px;\n\tline-height: 1;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\theight: 100%;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator.codicon {\n\tfont-size: 16px !important;\n\tdisplay: flex;\n\talign-items: center;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator.codicon::before {\n\tmargin-left: auto;\n\tmargin-right: -20px;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item.disabled .keybinding,\n.monaco-menu .monaco-action-bar.vertical .action-item.disabled .submenu-indicator {\n\topacity: 0.4;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label:not(.separator) {\n\tdisplay: inline-block;\n\tbox-sizing: border-box;\n\tmargin: 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tposition: static;\n\toverflow: visible;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item .monaco-submenu {\n\tposition: absolute;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\twidth: 100%;\n\theight: 0px !important;\n\topacity: 1;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator.text {\n\tpadding: 0.7em 1em 0.1em 1em;\n\tfont-weight: bold;\n\topacity: 1;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label:hover {\n\tcolor: inherit;\n}\n\n.monaco-menu .monaco-action-bar.vertical .menu-item-check {\n\tposition: absolute;\n\tvisibility: hidden;\n\twidth: 1em;\n\theight: 100%;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-menu-item.checked .menu-item-check {\n\tvisibility: visible;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n}\n\n/* Context Menu */\n\n.context-view.monaco-menu-container {\n\toutline: 0;\n\tborder: none;\n\tanimation: fadeIn 0.083s linear;\n\t-webkit-app-region: no-drag;\n}\n\n.context-view.monaco-menu-container :focus,\n.context-view.monaco-menu-container .monaco-action-bar.vertical:focus,\n.context-view.monaco-menu-container .monaco-action-bar.vertical :focus {\n\toutline: 0;\n}\n\n.hc-black .context-view.monaco-menu-container,\n.hc-light .context-view.monaco-menu-container,\n:host-context(.hc-black) .context-view.monaco-menu-container,\n:host-context(.hc-light) .context-view.monaco-menu-container {\n\tbox-shadow: none;\n}\n\n.hc-black .monaco-menu .monaco-action-bar.vertical .action-item.focused,\n.hc-light .monaco-menu .monaco-action-bar.vertical .action-item.focused,\n:host-context(.hc-black) .monaco-menu .monaco-action-bar.vertical .action-item.focused,\n:host-context(.hc-light) .monaco-menu .monaco-action-bar.vertical .action-item.focused {\n\tbackground: none;\n}\n\n/* Vertical Action Bar Styles */\n\n.monaco-menu .monaco-action-bar.vertical {\n\tpadding: .6em 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-menu-item {\n\theight: 2em;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label:not(.separator),\n.monaco-menu .monaco-action-bar.vertical .keybinding {\n\tfont-size: inherit;\n\tpadding: 0 2em;\n}\n\n.monaco-menu .monaco-action-bar.vertical .menu-item-check {\n\tfont-size: inherit;\n\twidth: 2em;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tfont-size: inherit;\n\tmargin: 5px 0 !important;\n\tpadding: 0;\n\tborder-radius: 0;\n}\n\n.linux .monaco-menu .monaco-action-bar.vertical .action-label.separator,\n:host-context(.linux) .monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tmargin-left: 0;\n\tmargin-right: 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\tfont-size: 60%;\n\tpadding: 0 1.8em;\n}\n\n.linux .monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n:host-context(.linux) .monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\theight: 100%;\n\tmask-size: 10px 10px;\n\t-webkit-mask-size: 10px 10px;\n}\n\n.monaco-menu .action-item {\n\tcursor: default;\n}`;if(t){i+="\n\t\t\t/* Arrows */\n\t\t\t.monaco-scrollable-element > .scrollbar > .scra {\n\t\t\t\tcursor: pointer;\n\t\t\t\tfont-size: 11px !important;\n\t\t\t}\n\n\t\t\t.monaco-scrollable-element > .visible {\n\t\t\t\topacity: 1;\n\n\t\t\t\t/* Background rule added for IE9 - to allow clicks on dom node */\n\t\t\t\tbackground:rgba(0,0,0,0);\n\n\t\t\t\ttransition: opacity 100ms linear;\n\t\t\t}\n\t\t\t.monaco-scrollable-element > .invisible {\n\t\t\t\topacity: 0;\n\t\t\t\tpointer-events: none;\n\t\t\t}\n\t\t\t.monaco-scrollable-element > .invisible.fade {\n\t\t\t\ttransition: opacity 800ms linear;\n\t\t\t}\n\n\t\t\t/* Scrollable Content Inset Shadow */\n\t\t\t.monaco-scrollable-element > .shadow {\n\t\t\t\tposition: absolute;\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t\t.monaco-scrollable-element > .shadow.top {\n\t\t\t\tdisplay: block;\n\t\t\t\ttop: 0;\n\t\t\t\tleft: 3px;\n\t\t\t\theight: 3px;\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t\t.monaco-scrollable-element > .shadow.left {\n\t\t\t\tdisplay: block;\n\t\t\t\ttop: 3px;\n\t\t\t\tleft: 0;\n\t\t\t\theight: 100%;\n\t\t\t\twidth: 3px;\n\t\t\t}\n\t\t\t.monaco-scrollable-element > .shadow.top-left-corner {\n\t\t\t\tdisplay: block;\n\t\t\t\ttop: 0;\n\t\t\t\tleft: 0;\n\t\t\t\theight: 3px;\n\t\t\t\twidth: 3px;\n\t\t\t}\n\t\t";const t=e.scrollbarShadow;t&&(i+=`\n\t\t\t\t.monaco-scrollable-element > .shadow.top {\n\t\t\t\t\tbox-shadow: ${t} 0 6px 6px -6px inset;\n\t\t\t\t}\n\n\t\t\t\t.monaco-scrollable-element > .shadow.left {\n\t\t\t\t\tbox-shadow: ${t} 6px 0 6px -6px inset;\n\t\t\t\t}\n\n\t\t\t\t.monaco-scrollable-element > .shadow.top.left {\n\t\t\t\t\tbox-shadow: ${t} 6px 6px 6px -6px inset;\n\t\t\t\t}\n\t\t\t`);const s=e.scrollbarSliderBackground;s&&(i+=`\n\t\t\t\t.monaco-scrollable-element > .scrollbar > .slider {\n\t\t\t\t\tbackground: ${s};\n\t\t\t\t}\n\t\t\t`);const n=e.scrollbarSliderHoverBackground;n&&(i+=`\n\t\t\t\t.monaco-scrollable-element > .scrollbar > .slider:hover {\n\t\t\t\t\tbackground: ${n};\n\t\t\t\t}\n\t\t\t`);const o=e.scrollbarSliderActiveBackground;o&&(i+=`\n\t\t\t\t.monaco-scrollable-element > .scrollbar > .slider.active {\n\t\t\t\t\tbackground: ${o};\n\t\t\t\t}\n\t\t\t`)}return i}(t,(0,o.Cl)(e))}style(e){const t=this.getContainer();this.initializeOrUpdateStyleSheet(t,e);const i=e.foregroundColor?`${e.foregroundColor}`:"",s=e.backgroundColor?`${e.backgroundColor}`:"",n=e.borderColor?`1px solid ${e.borderColor}`:"",o=e.shadowColor?`0 2px 8px ${e.shadowColor}`:"";t.style.outline=n,t.style.borderRadius="5px",t.style.color=i,t.style.backgroundColor=s,t.style.boxShadow=o,this.viewItems&&this.viewItems.forEach((t=>{(t instanceof D||t instanceof x)&&t.style(e)}))}getContainer(){return this.scrollableElement.getDomNode()}get onScroll(){return this.scrollableElement.onScroll}focusItemByElement(e){const t=this.focusedItem;this.setFocusedItem(e),t!==this.focusedItem&&this.updateFocus()}setFocusedItem(e){for(let t=0;t<this.actionsList.children.length;t++){if(e===this.actionsList.children[t]){this.focusedItem=t;break}}}updateFocus(e){super.updateFocus(e,!0,!0),"undefined"!==typeof this.focusedItem&&this.scrollableElement.setScrollPosition({scrollTop:Math.round(this.menuElement.scrollTop)})}doGetActionViewItem(e,t,i){if(e instanceof p.wv)return new x(t.context,e,{icon:!0});if(e instanceof p.YH){const s=new E(e,e.actions,i,Object.assign(Object.assign({},t),{submenuIds:new Set([...t.submenuIds||[],e.id])}));if(t.enableMnemonics){const e=s.getMnemonic();if(e&&s.isEnabled()){let t=[];this.mnemonics.has(e)&&(t=this.mnemonics.get(e)),t.push(s),this.mnemonics.set(e,t)}}return s}{const i={enableMnemonics:t.enableMnemonics,useEventAsContext:t.useEventAsContext};if(t.getKeyBinding){const s=t.getKeyBinding(e);if(s){const e=s.getLabel();e&&(i.keybinding=e)}}const s=new D(t.context,e,i);if(t.enableMnemonics){const e=s.getMnemonic();if(e&&s.isEnabled()){let t=[];this.mnemonics.has(e)&&(t=this.mnemonics.get(e)),t.push(s),this.mnemonics.set(e,t)}}return s}}}class D extends h.E{constructor(e,t,i={}){if(i.isMenu=!0,super(t,t,i),this.options=i,this.options.icon=void 0!==i.icon&&i.icon,this.options.label=void 0===i.label||i.label,this.cssClass="",this.options.label&&i.enableMnemonics){const e=this.getAction().label;if(e){const t=y.exec(e);t&&(this.mnemonic=(t[1]?t[1]:t[3]).toLocaleLowerCase())}}this.runOnceToEnableMouseUp=new m.uC((()=>{this.element&&(this._register((0,o.ko)(this.element,o.Bx.MOUSE_UP,(e=>{if(o.fs.stop(e,!0),s.isFirefox){if(new l.P(e).rightButton)return;this.onClick(e)}else setTimeout((()=>{this.onClick(e)}),0)}))),this._register((0,o.ko)(this.element,o.Bx.CONTEXT_MENU,(e=>{o.fs.stop(e,!0)}))))}),100),this._register(this.runOnceToEnableMouseUp)}render(e){super.render(e),this.element&&(this.container=e,this.item=(0,o.BC)(this.element,(0,o.$)("a.action-menu-item")),this._action.id===p.wv.ID?this.item.setAttribute("role","presentation"):(this.item.setAttribute("role","menuitem"),this.mnemonic&&this.item.setAttribute("aria-keyshortcuts",`${this.mnemonic}`)),this.check=(0,o.BC)(this.item,(0,o.$)("span.menu-item-check"+g.W6.menuSelection.cssSelector)),this.check.setAttribute("role","none"),this.label=(0,o.BC)(this.item,(0,o.$)("span.action-label")),this.options.label&&this.options.keybinding&&((0,o.BC)(this.item,(0,o.$)("span.keybinding")).textContent=this.options.keybinding),this.runOnceToEnableMouseUp.schedule(),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked())}blur(){super.blur(),this.applyStyle()}focus(){super.focus(),this.item&&this.item.focus(),this.applyStyle()}updatePositionInSet(e,t){this.item&&(this.item.setAttribute("aria-posinset",`${e}`),this.item.setAttribute("aria-setsize",`${t}`))}updateLabel(){var e;if(this.label&&this.options.label){(0,o.w_)(this.label);let t=(0,f.pS)(this.getAction().label);if(t){const i=function(e){const t=y,i=t.exec(e);if(!i)return e;const s=!i[1];return e.replace(t,s?"$2$3":"").trim()}(t);this.options.enableMnemonics||(t=i),this.label.setAttribute("aria-label",i.replace(/&&/g,"&"));const s=y.exec(t);if(s){t=_.ih(t),w.lastIndex=0;let i=w.exec(t);for(;i&&i[1];)i=w.exec(t);const n=e=>e.replace(/&amp;&amp;/g,"&amp;");i?this.label.append(_.NB(n(t.substr(0,i.index))," "),(0,o.$)("u",{"aria-hidden":"true"},i[3]),_.BO(n(t.substr(i.index+i[0].length))," ")):this.label.innerText=n(t).trim(),null===(e=this.item)||void 0===e||e.setAttribute("aria-keyshortcuts",(s[1]?s[1]:s[3]).toLocaleLowerCase())}else this.label.innerText=t.replace(/&&/g,"&").trim()}}}updateTooltip(){}updateClass(){this.cssClass&&this.item&&this.item.classList.remove(...this.cssClass.split(" ")),this.options.icon&&this.label?(this.cssClass=this.getAction().class||"",this.label.classList.add("icon"),this.cssClass&&this.label.classList.add(...this.cssClass.split(" ")),this.updateEnabled()):this.label&&this.label.classList.remove("icon")}updateEnabled(){this.getAction().enabled?(this.element&&(this.element.classList.remove("disabled"),this.element.removeAttribute("aria-disabled")),this.item&&(this.item.classList.remove("disabled"),this.item.removeAttribute("aria-disabled"),this.item.tabIndex=0)):(this.element&&(this.element.classList.add("disabled"),this.element.setAttribute("aria-disabled","true")),this.item&&(this.item.classList.add("disabled"),this.item.setAttribute("aria-disabled","true")))}updateChecked(){if(!this.item)return;const e=this.getAction().checked;this.item.classList.toggle("checked",!!e),void 0!==e?(this.item.setAttribute("role","menuitemcheckbox"),this.item.setAttribute("aria-checked",e?"true":"false")):(this.item.setAttribute("role","menuitem"),this.item.setAttribute("aria-checked",""))}getMnemonic(){return this.mnemonic}applyStyle(){if(!this.menuStyle)return;const e=this.element&&this.element.classList.contains("focused"),t=e&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor,i=e&&this.menuStyle.selectionBackgroundColor?this.menuStyle.selectionBackgroundColor:void 0,s=e&&this.menuStyle.selectionBorderColor?`1px solid ${this.menuStyle.selectionBorderColor}`:"",n=e&&this.menuStyle.selectionBorderColor?"-1px":"";this.item&&(this.item.style.color=t?t.toString():"",this.item.style.backgroundColor=i?i.toString():"",this.item.style.outline=s,this.item.style.outlineOffset=n),this.check&&(this.check.style.color=t?t.toString():"")}style(e){this.menuStyle=e,this.applyStyle()}}class E extends D{constructor(e,t,i,s){super(e,e,s),this.submenuActions=t,this.parentData=i,this.submenuOptions=s,this.mysubmenu=null,this.submenuDisposables=this._register(new v.Cm),this.mouseOver=!1,this.expandDirection=s&&void 0!==s.expandDirection?s.expandDirection:S.Right,this.showScheduler=new m.uC((()=>{this.mouseOver&&(this.cleanupExistingSubmenu(!1),this.createSubmenu(!1))}),250),this.hideScheduler=new m.uC((()=>{this.element&&!(0,o.QX)((0,o.bq)(),this.element)&&this.parentData.submenu===this.mysubmenu&&(this.parentData.parent.focus(!1),this.cleanupExistingSubmenu(!0))}),750)}render(e){super.render(e),this.element&&(this.item&&(this.item.classList.add("monaco-submenu-item"),this.item.tabIndex=0,this.item.setAttribute("aria-haspopup","true"),this.updateAriaExpanded("false"),this.submenuIndicator=(0,o.BC)(this.item,(0,o.$)("span.submenu-indicator"+g.W6.menuSubmenu.cssSelector)),this.submenuIndicator.setAttribute("aria-hidden","true")),this._register((0,o.ko)(this.element,o.Bx.KEY_UP,(e=>{const t=new r.Z(e);(t.equals(17)||t.equals(3))&&(o.fs.stop(e,!0),this.createSubmenu(!0))}))),this._register((0,o.ko)(this.element,o.Bx.KEY_DOWN,(e=>{const t=new r.Z(e);(0,o.bq)()===this.item&&(t.equals(17)||t.equals(3))&&o.fs.stop(e,!0)}))),this._register((0,o.ko)(this.element,o.Bx.MOUSE_OVER,(e=>{this.mouseOver||(this.mouseOver=!0,this.showScheduler.schedule())}))),this._register((0,o.ko)(this.element,o.Bx.MOUSE_LEAVE,(e=>{this.mouseOver=!1}))),this._register((0,o.ko)(this.element,o.Bx.FOCUS_OUT,(e=>{this.element&&!(0,o.QX)((0,o.bq)(),this.element)&&this.hideScheduler.schedule()}))),this._register(this.parentData.parent.onScroll((()=>{this.parentData.submenu===this.mysubmenu&&(this.parentData.parent.focus(!1),this.cleanupExistingSubmenu(!0))}))))}updateEnabled(){}onClick(e){o.fs.stop(e,!0),this.cleanupExistingSubmenu(!1),this.createSubmenu(!0)}cleanupExistingSubmenu(e){if(this.parentData.submenu&&(e||this.parentData.submenu!==this.mysubmenu)){try{this.parentData.submenu.dispose()}catch(t){}this.parentData.submenu=void 0,this.updateAriaExpanded("false"),this.submenuContainer&&(this.submenuDisposables.clear(),this.submenuContainer=void 0)}}calculateSubmenuMenuLayout(e,t,i,s){const n={top:0,left:0};return n.left=(0,c.Zp)(e.width,t.width,{position:s===S.Right?0:1,offset:i.left,size:i.width}),n.left>=i.left&&n.left<i.left+i.width&&(i.left+10+t.width<=e.width&&(n.left=i.left+10),i.top+=10,i.height=0),n.top=(0,c.Zp)(e.height,t.height,{position:0,offset:i.top,size:0}),n.top+t.height===i.top&&n.top+i.height+t.height<=e.height&&(n.top+=i.height),n}createSubmenu(e=!0){if(this.element)if(this.parentData.submenu)this.parentData.submenu.focus(!1);else{this.updateAriaExpanded("true"),this.submenuContainer=(0,o.BC)(this.element,(0,o.$)("div.monaco-submenu")),this.submenuContainer.classList.add("menubar-menu-items-holder","context-view");const t=getComputedStyle(this.parentData.parent.domNode),i=parseFloat(t.paddingTop||"0")||0;this.submenuContainer.style.zIndex="1",this.submenuContainer.style.position="fixed",this.submenuContainer.style.top="0",this.submenuContainer.style.left="0",this.parentData.submenu=new C(this.submenuContainer,this.submenuActions.length?this.submenuActions:[new p.HJ],this.submenuOptions),this.menuStyle&&this.parentData.submenu.style(this.menuStyle);const s=this.element.getBoundingClientRect(),n={top:s.top-i,left:s.left,height:s.height+2*i,width:s.width},l=this.submenuContainer.getBoundingClientRect(),{top:a,left:h}=this.calculateSubmenuMenuLayout(new o.fg(window.innerWidth,window.innerHeight),o.fg.lift(l),n,this.expandDirection);this.submenuContainer.style.left=h-l.left+"px",this.submenuContainer.style.top=a-l.top+"px",this.submenuDisposables.add((0,o.ko)(this.submenuContainer,o.Bx.KEY_UP,(e=>{new r.Z(e).equals(15)&&(o.fs.stop(e,!0),this.parentData.parent.focus(),this.cleanupExistingSubmenu(!0))}))),this.submenuDisposables.add((0,o.ko)(this.submenuContainer,o.Bx.KEY_DOWN,(e=>{new r.Z(e).equals(15)&&o.fs.stop(e,!0)}))),this.submenuDisposables.add(this.parentData.submenu.onDidCancel((()=>{this.parentData.parent.focus(),this.cleanupExistingSubmenu(!0)}))),this.parentData.submenu.focus(e),this.mysubmenu=this.parentData.submenu}}updateAriaExpanded(e){var t;this.item&&(null===(t=this.item)||void 0===t||t.setAttribute("aria-expanded",e))}applyStyle(){var e;if(super.applyStyle(),!this.menuStyle)return;const t=this.element&&this.element.classList.contains("focused")&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor;this.submenuIndicator&&(this.submenuIndicator.style.color=t?`${t}`:""),null===(e=this.parentData.submenu)||void 0===e||e.style(this.menuStyle)}dispose(){super.dispose(),this.hideScheduler.dispose(),this.mysubmenu&&(this.mysubmenu.dispose(),this.mysubmenu=null),this.submenuContainer&&(this.submenuContainer=void 0)}}class x extends h.Z{style(e){this.label&&(this.label.style.borderBottomColor=e.separatorColor?`${e.separatorColor}`:"")}}},24294:(e,t,i)=>{i.d(t,{z:()=>m});var s=i(90491),n=i(20512),o=i(74379),r=i(55808),l=i(61460);const a="done",h="active",d="infinite",c="infinite-long-running",u="discrete",p={progressBarBackground:o.Q1.fromHex("#0E70C0")};class m extends r.jG{constructor(e,t){super(),this.options=t||Object.create(null),(0,l.co)(this.options,p,!1),this.workedVal=0,this.progressBarBackground=this.options.progressBarBackground,this.showDelayedScheduler=this._register(new n.uC((()=>(0,s.WU)(this.element)),0)),this.longRunningScheduler=this._register(new n.uC((()=>this.infiniteLongRunning()),m.LONG_RUNNING_INFINITE_THRESHOLD)),this.create(e)}create(e){this.element=document.createElement("div"),this.element.classList.add("monaco-progress-container"),this.element.setAttribute("role","progressbar"),this.element.setAttribute("aria-valuemin","0"),e.appendChild(this.element),this.bit=document.createElement("div"),this.bit.classList.add("progress-bit"),this.element.appendChild(this.bit),this.applyStyles()}off(){this.bit.style.width="inherit",this.bit.style.opacity="1",this.element.classList.remove(h,d,c,u),this.workedVal=0,this.totalWork=void 0,this.longRunningScheduler.cancel()}stop(){return this.doDone(!1)}doDone(e){return this.element.classList.add(a),this.element.classList.contains(d)?(this.bit.style.opacity="0",e?setTimeout((()=>this.off()),200):this.off()):(this.bit.style.width="inherit",e?setTimeout((()=>this.off()),200):this.off()),this}infinite(){return this.bit.style.width="2%",this.bit.style.opacity="1",this.element.classList.remove(u,a,c),this.element.classList.add(h,d),this.longRunningScheduler.schedule(),this}infiniteLongRunning(){this.element.classList.add(c)}getContainer(){return this.element}style(e){this.progressBarBackground=e.progressBarBackground,this.applyStyles()}applyStyles(){if(this.bit){const e=this.progressBarBackground?this.progressBarBackground.toString():"";this.bit.style.backgroundColor=e}}}m.LONG_RUNNING_INFINITE_THRESHOLD=1e4},68239:(e,t,i)=>{i.d(t,{B:()=>u,m:()=>_});var s=i(90491),n=i(96511),o=i(5644),r=i(20512),l=i(1304),a=i(42464),h=i(55808),d=i(55977),c=function(e,t,i,s){var n,o=arguments.length,r=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,i,s);else for(var l=e.length-1;l>=0;l--)(n=e[l])&&(r=(o<3?n(r):o>3?n(t,i,r):n(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r};var u;!function(e){e.North="north",e.South="south",e.East="east",e.West="west"}(u||(u={}));const p=new a.vl;const m=new a.vl;class g{constructor(){this.disposables=new h.Cm}get onPointerMove(){return this.disposables.add(new n.f(window,"mousemove")).event}get onPointerUp(){return this.disposables.add(new n.f(window,"mouseup")).event}dispose(){this.disposables.dispose()}}c([l.B],g.prototype,"onPointerMove",null),c([l.B],g.prototype,"onPointerUp",null);class f{constructor(e){this.el=e,this.disposables=new h.Cm}get onPointerMove(){return this.disposables.add(new n.f(this.el,o.B.Change)).event}get onPointerUp(){return this.disposables.add(new n.f(this.el,o.B.End)).event}dispose(){this.disposables.dispose()}}c([l.B],f.prototype,"onPointerMove",null),c([l.B],f.prototype,"onPointerUp",null);class v{constructor(e){this.factory=e}get onPointerMove(){return this.factory.onPointerMove}get onPointerUp(){return this.factory.onPointerUp}dispose(){}}c([l.B],v.prototype,"onPointerMove",null),c([l.B],v.prototype,"onPointerUp",null);const b="pointer-events-disabled";class _ extends h.jG{constructor(e,t,i){super(),this.hoverDelay=300,this.hoverDelayer=this._register(new r.ve(this.hoverDelay)),this._state=3,this.onDidEnablementChange=this._register(new a.vl),this._onDidStart=this._register(new a.vl),this._onDidChange=this._register(new a.vl),this._onDidReset=this._register(new a.vl),this._onDidEnd=this._register(new a.vl),this.orthogonalStartSashDisposables=this._register(new h.Cm),this.orthogonalStartDragHandleDisposables=this._register(new h.Cm),this.orthogonalEndSashDisposables=this._register(new h.Cm),this.orthogonalEndDragHandleDisposables=this._register(new h.Cm),this.onDidStart=this._onDidStart.event,this.onDidChange=this._onDidChange.event,this.onDidReset=this._onDidReset.event,this.onDidEnd=this._onDidEnd.event,this.linkedSash=void 0,this.el=(0,s.BC)(e,(0,s.$)(".monaco-sash")),i.orthogonalEdge&&this.el.classList.add(`orthogonal-edge-${i.orthogonalEdge}`),d.zx&&this.el.classList.add("mac");const l=this._register(new n.f(this.el,"mousedown")).event;this._register(l((e=>this.onPointerStart(e,new g)),this));const c=this._register(new n.f(this.el,"dblclick")).event;this._register(c(this.onPointerDoublePress,this));const u=this._register(new n.f(this.el,"mouseenter")).event;this._register(u((()=>_.onMouseEnter(this))));const v=this._register(new n.f(this.el,"mouseleave")).event;this._register(v((()=>_.onMouseLeave(this)))),this._register(o.q.addTarget(this.el));const b=a.Jh.map(this._register(new n.f(this.el,o.B.Start)).event,(e=>{var t;return Object.assign(Object.assign({},e),{target:null!==(t=e.initialTarget)&&void 0!==t?t:null})}));this._register(b((e=>this.onPointerStart(e,new f(this.el))),this));const y=this._register(new n.f(this.el,o.B.Tap)).event,w=a.Jh.map(a.Jh.filter(a.Jh.debounce(y,((e,t)=>{var i;return{event:t,count:(null!==(i=null===e||void 0===e?void 0:e.count)&&void 0!==i?i:0)+1}}),250),(({count:e})=>2===e)),(({event:e})=>{var t;return Object.assign(Object.assign({},e),{target:null!==(t=e.initialTarget)&&void 0!==t?t:null})}));this._register(w(this.onPointerDoublePress,this)),"number"===typeof i.size?(this.size=i.size,0===i.orientation?this.el.style.width=`${this.size}px`:this.el.style.height=`${this.size}px`):(this.size=4,this._register(p.event((e=>{this.size=e,this.layout()})))),this._register(m.event((e=>this.hoverDelay=e))),this.layoutProvider=t,this.orthogonalStartSash=i.orthogonalStartSash,this.orthogonalEndSash=i.orthogonalEndSash,this.orientation=i.orientation||0,1===this.orientation?(this.el.classList.add("horizontal"),this.el.classList.remove("vertical")):(this.el.classList.remove("horizontal"),this.el.classList.add("vertical")),this.el.classList.toggle("debug",false),this.layout()}get state(){return this._state}get orthogonalStartSash(){return this._orthogonalStartSash}get orthogonalEndSash(){return this._orthogonalEndSash}set state(e){this._state!==e&&(this.el.classList.toggle("disabled",0===e),this.el.classList.toggle("minimum",1===e),this.el.classList.toggle("maximum",2===e),this._state=e,this.onDidEnablementChange.fire(e))}set orthogonalStartSash(e){if(this.orthogonalStartDragHandleDisposables.clear(),this.orthogonalStartSashDisposables.clear(),e){const t=t=>{this.orthogonalStartDragHandleDisposables.clear(),0!==t&&(this._orthogonalStartDragHandle=(0,s.BC)(this.el,(0,s.$)(".orthogonal-drag-handle.start")),this.orthogonalStartDragHandleDisposables.add((0,h.s)((()=>this._orthogonalStartDragHandle.remove()))),this.orthogonalStartDragHandleDisposables.add(new n.f(this._orthogonalStartDragHandle,"mouseenter")).event((()=>_.onMouseEnter(e)),void 0,this.orthogonalStartDragHandleDisposables),this.orthogonalStartDragHandleDisposables.add(new n.f(this._orthogonalStartDragHandle,"mouseleave")).event((()=>_.onMouseLeave(e)),void 0,this.orthogonalStartDragHandleDisposables))};this.orthogonalStartSashDisposables.add(e.onDidEnablementChange.event(t,this)),t(e.state)}this._orthogonalStartSash=e}set orthogonalEndSash(e){if(this.orthogonalEndDragHandleDisposables.clear(),this.orthogonalEndSashDisposables.clear(),e){const t=t=>{this.orthogonalEndDragHandleDisposables.clear(),0!==t&&(this._orthogonalEndDragHandle=(0,s.BC)(this.el,(0,s.$)(".orthogonal-drag-handle.end")),this.orthogonalEndDragHandleDisposables.add((0,h.s)((()=>this._orthogonalEndDragHandle.remove()))),this.orthogonalEndDragHandleDisposables.add(new n.f(this._orthogonalEndDragHandle,"mouseenter")).event((()=>_.onMouseEnter(e)),void 0,this.orthogonalEndDragHandleDisposables),this.orthogonalEndDragHandleDisposables.add(new n.f(this._orthogonalEndDragHandle,"mouseleave")).event((()=>_.onMouseLeave(e)),void 0,this.orthogonalEndDragHandleDisposables))};this.orthogonalEndSashDisposables.add(e.onDidEnablementChange.event(t,this)),t(e.state)}this._orthogonalEndSash=e}onPointerStart(e,t){s.fs.stop(e);let i=!1;if(!e.__orthogonalSashEvent){const s=this.getOrthogonalSash(e);s&&(i=!0,e.__orthogonalSashEvent=!0,s.onPointerStart(e,new v(t)))}if(this.linkedSash&&!e.__linkedSashEvent&&(e.__linkedSashEvent=!0,this.linkedSash.onPointerStart(e,new v(t))),!this.state)return;const n=(0,s.yB)("iframe");for(const s of n)s.classList.add(b);const o=e.pageX,r=e.pageY,l=e.altKey,a={startX:o,currentX:o,startY:r,currentY:r,altKey:l};this.el.classList.add("active"),this._onDidStart.fire(a);const c=(0,s.li)(this.el),u=()=>{let e="";e=i?"all-scroll":1===this.orientation?1===this.state?"s-resize":2===this.state?"n-resize":d.zx?"row-resize":"ns-resize":1===this.state?"e-resize":2===this.state?"w-resize":d.zx?"col-resize":"ew-resize",c.textContent=`* { cursor: ${e} !important; }`},p=new h.Cm;u(),i||this.onDidEnablementChange.event(u,null,p);t.onPointerMove((e=>{s.fs.stop(e,!1);const t={startX:o,currentX:e.pageX,startY:r,currentY:e.pageY,altKey:l};this._onDidChange.fire(t)}),null,p),t.onPointerUp((e=>{s.fs.stop(e,!1),this.el.removeChild(c),this.el.classList.remove("active"),this._onDidEnd.fire(),p.dispose();for(const t of n)t.classList.remove(b)}),null,p),p.add(t)}onPointerDoublePress(e){const t=this.getOrthogonalSash(e);t&&t._onDidReset.fire(),this.linkedSash&&this.linkedSash._onDidReset.fire(),this._onDidReset.fire()}static onMouseEnter(e,t=!1){e.el.classList.contains("active")?(e.hoverDelayer.cancel(),e.el.classList.add("hover")):e.hoverDelayer.trigger((()=>e.el.classList.add("hover")),e.hoverDelay).then(void 0,(()=>{})),!t&&e.linkedSash&&_.onMouseEnter(e.linkedSash,!0)}static onMouseLeave(e,t=!1){e.hoverDelayer.cancel(),e.el.classList.remove("hover"),!t&&e.linkedSash&&_.onMouseLeave(e.linkedSash,!0)}clearSashHoverState(){_.onMouseLeave(this)}layout(){if(0===this.orientation){const e=this.layoutProvider;this.el.style.left=e.getVerticalSashLeft(this)-this.size/2+"px",e.getVerticalSashTop&&(this.el.style.top=e.getVerticalSashTop(this)+"px"),e.getVerticalSashHeight&&(this.el.style.height=e.getVerticalSashHeight(this)+"px")}else{const e=this.layoutProvider;this.el.style.top=e.getHorizontalSashTop(this)-this.size/2+"px",e.getHorizontalSashLeft&&(this.el.style.left=e.getHorizontalSashLeft(this)+"px"),e.getHorizontalSashWidth&&(this.el.style.width=e.getHorizontalSashWidth(this)+"px")}}getOrthogonalSash(e){if(e.target&&e.target instanceof HTMLElement)return e.target.classList.contains("orthogonal-drag-handle")?e.target.classList.contains("start")?this.orthogonalStartSash:this.orthogonalEndSash:void 0}dispose(){super.dispose(),this.el.remove()}}},95062:(e,t,i)=>{i.d(t,{MU:()=>N,Se:()=>E,oO:()=>x});var s=i(58159),n=i(90491),o=i(745),r=i(24997),l=i(59686),a=i(27444),h=i(20512);const d=11;class c extends a.x{constructor(e){super(),this._onActivate=e.onActivate,this.bgDomNode=document.createElement("div"),this.bgDomNode.className="arrow-background",this.bgDomNode.style.position="absolute",this.bgDomNode.style.width=e.bgWidth+"px",this.bgDomNode.style.height=e.bgHeight+"px","undefined"!==typeof e.top&&(this.bgDomNode.style.top="0px"),"undefined"!==typeof e.left&&(this.bgDomNode.style.left="0px"),"undefined"!==typeof e.bottom&&(this.bgDomNode.style.bottom="0px"),"undefined"!==typeof e.right&&(this.bgDomNode.style.right="0px"),this.domNode=document.createElement("div"),this.domNode.className=e.className,this.domNode.classList.add(...e.icon.classNamesArray),this.domNode.style.position="absolute",this.domNode.style.width="11px",this.domNode.style.height="11px","undefined"!==typeof e.top&&(this.domNode.style.top=e.top+"px"),"undefined"!==typeof e.left&&(this.domNode.style.left=e.left+"px"),"undefined"!==typeof e.bottom&&(this.domNode.style.bottom=e.bottom+"px"),"undefined"!==typeof e.right&&(this.domNode.style.right=e.right+"px"),this._pointerMoveMonitor=this._register(new l._),this._register(n.b2(this.bgDomNode,n.Bx.POINTER_DOWN,(e=>this._arrowPointerDown(e)))),this._register(n.b2(this.domNode,n.Bx.POINTER_DOWN,(e=>this._arrowPointerDown(e)))),this._pointerdownRepeatTimer=this._register(new h.vb),this._pointerdownScheduleRepeatTimer=this._register(new h.pc)}_arrowPointerDown(e){if(!e.target||!(e.target instanceof Element))return;this._onActivate(),this._pointerdownRepeatTimer.cancel(),this._pointerdownScheduleRepeatTimer.cancelAndSet((()=>{this._pointerdownRepeatTimer.cancelAndSet((()=>this._onActivate()),1e3/24)}),200),this._pointerMoveMonitor.startMonitoring(e.target,e.pointerId,e.buttons,(e=>{}),(()=>{this._pointerdownRepeatTimer.cancel(),this._pointerdownScheduleRepeatTimer.cancel()})),e.preventDefault()}}var u=i(55808);class p extends u.jG{constructor(e,t,i){super(),this._visibility=e,this._visibleClassName=t,this._invisibleClassName=i,this._domNode=null,this._isVisible=!1,this._isNeeded=!1,this._rawShouldBeVisible=!1,this._shouldBeVisible=!1,this._revealTimer=this._register(new h.pc)}setVisibility(e){this._visibility!==e&&(this._visibility=e,this._updateShouldBeVisible())}setShouldBeVisible(e){this._rawShouldBeVisible=e,this._updateShouldBeVisible()}_applyVisibilitySetting(){return 2!==this._visibility&&(3===this._visibility||this._rawShouldBeVisible)}_updateShouldBeVisible(){const e=this._applyVisibilitySetting();this._shouldBeVisible!==e&&(this._shouldBeVisible=e,this.ensureVisibility())}setIsNeeded(e){this._isNeeded!==e&&(this._isNeeded=e,this.ensureVisibility())}setDomNode(e){this._domNode=e,this._domNode.setClassName(this._invisibleClassName),this.setShouldBeVisible(!1)}ensureVisibility(){this._isNeeded?this._shouldBeVisible?this._reveal():this._hide(!0):this._hide(!1)}_reveal(){this._isVisible||(this._isVisible=!0,this._revealTimer.setIfNotSet((()=>{var e;null===(e=this._domNode)||void 0===e||e.setClassName(this._visibleClassName)}),0))}_hide(e){var t;this._revealTimer.cancel(),this._isVisible&&(this._isVisible=!1,null===(t=this._domNode)||void 0===t||t.setClassName(this._invisibleClassName+(e?" fade":"")))}}var m=i(55977);class g extends a.x{constructor(e){super(),this._lazyRender=e.lazyRender,this._host=e.host,this._scrollable=e.scrollable,this._scrollByPage=e.scrollByPage,this._scrollbarState=e.scrollbarState,this._visibilityController=this._register(new p(e.visibility,"visible scrollbar "+e.extraScrollbarClassName,"invisible scrollbar "+e.extraScrollbarClassName)),this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._pointerMoveMonitor=this._register(new l._),this._shouldRender=!0,this.domNode=(0,o.Z)(document.createElement("div")),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this._visibilityController.setDomNode(this.domNode),this.domNode.setPosition("absolute"),this._register(n.ko(this.domNode.domNode,n.Bx.POINTER_DOWN,(e=>this._domNodePointerDown(e))))}_createArrow(e){const t=this._register(new c(e));this.domNode.domNode.appendChild(t.bgDomNode),this.domNode.domNode.appendChild(t.domNode)}_createSlider(e,t,i,s){this.slider=(0,o.Z)(document.createElement("div")),this.slider.setClassName("slider"),this.slider.setPosition("absolute"),this.slider.setTop(e),this.slider.setLeft(t),"number"===typeof i&&this.slider.setWidth(i),"number"===typeof s&&this.slider.setHeight(s),this.slider.setLayerHinting(!0),this.slider.setContain("strict"),this.domNode.domNode.appendChild(this.slider.domNode),this._register(n.ko(this.slider.domNode,n.Bx.POINTER_DOWN,(e=>{0===e.button&&(e.preventDefault(),this._sliderPointerDown(e))}))),this.onclick(this.slider.domNode,(e=>{e.leftButton&&e.stopPropagation()}))}_onElementSize(e){return this._scrollbarState.setVisibleSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollSize(e){return this._scrollbarState.setScrollSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollPosition(e){return this._scrollbarState.setScrollPosition(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}beginReveal(){this._visibilityController.setShouldBeVisible(!0)}beginHide(){this._visibilityController.setShouldBeVisible(!1)}render(){this._shouldRender&&(this._shouldRender=!1,this._renderDomNode(this._scrollbarState.getRectangleLargeSize(),this._scrollbarState.getRectangleSmallSize()),this._updateSlider(this._scrollbarState.getSliderSize(),this._scrollbarState.getArrowSize()+this._scrollbarState.getSliderPosition()))}_domNodePointerDown(e){e.target===this.domNode.domNode&&this._onPointerDown(e)}delegatePointerDown(e){const t=this.domNode.domNode.getClientRects()[0].top,i=t+this._scrollbarState.getSliderPosition(),s=t+this._scrollbarState.getSliderPosition()+this._scrollbarState.getSliderSize(),n=this._sliderPointerPosition(e);i<=n&&n<=s?0===e.button&&(e.preventDefault(),this._sliderPointerDown(e)):this._onPointerDown(e)}_onPointerDown(e){let t,i;if(e.target===this.domNode.domNode&&"number"===typeof e.offsetX&&"number"===typeof e.offsetY)t=e.offsetX,i=e.offsetY;else{const s=n.BK(this.domNode.domNode);t=e.pageX-s.left,i=e.pageY-s.top}const s=this._pointerDownRelativePosition(t,i);this._setDesiredScrollPositionNow(this._scrollByPage?this._scrollbarState.getDesiredScrollPositionFromOffsetPaged(s):this._scrollbarState.getDesiredScrollPositionFromOffset(s)),0===e.button&&(e.preventDefault(),this._sliderPointerDown(e))}_sliderPointerDown(e){if(!e.target||!(e.target instanceof Element))return;const t=this._sliderPointerPosition(e),i=this._sliderOrthogonalPointerPosition(e),s=this._scrollbarState.clone();this.slider.toggleClassName("active",!0),this._pointerMoveMonitor.startMonitoring(e.target,e.pointerId,e.buttons,(e=>{const n=this._sliderOrthogonalPointerPosition(e),o=Math.abs(n-i);if(m.uF&&o>140)return void this._setDesiredScrollPositionNow(s.getScrollPosition());const r=this._sliderPointerPosition(e)-t;this._setDesiredScrollPositionNow(s.getDesiredScrollPositionFromDelta(r))}),(()=>{this.slider.toggleClassName("active",!1),this._host.onDragEnd()})),this._host.onDragStart()}_setDesiredScrollPositionNow(e){const t={};this.writeScrollPosition(t,e),this._scrollable.setScrollPositionNow(t)}updateScrollbarSize(e){this._updateScrollbarSize(e),this._scrollbarState.setScrollbarSize(e),this._shouldRender=!0,this._lazyRender||this.render()}isNeeded(){return this._scrollbarState.isNeeded()}}class f{constructor(e,t,i,s,n,o){this._scrollbarSize=Math.round(t),this._oppositeScrollbarSize=Math.round(i),this._arrowSize=Math.round(e),this._visibleSize=s,this._scrollSize=n,this._scrollPosition=o,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}clone(){return new f(this._arrowSize,this._scrollbarSize,this._oppositeScrollbarSize,this._visibleSize,this._scrollSize,this._scrollPosition)}setVisibleSize(e){const t=Math.round(e);return this._visibleSize!==t&&(this._visibleSize=t,this._refreshComputedValues(),!0)}setScrollSize(e){const t=Math.round(e);return this._scrollSize!==t&&(this._scrollSize=t,this._refreshComputedValues(),!0)}setScrollPosition(e){const t=Math.round(e);return this._scrollPosition!==t&&(this._scrollPosition=t,this._refreshComputedValues(),!0)}setScrollbarSize(e){this._scrollbarSize=Math.round(e)}setOppositeScrollbarSize(e){this._oppositeScrollbarSize=Math.round(e)}static _computeValues(e,t,i,s,n){const o=Math.max(0,i-e),r=Math.max(0,o-2*t),l=s>0&&s>i;if(!l)return{computedAvailableSize:Math.round(o),computedIsNeeded:l,computedSliderSize:Math.round(r),computedSliderRatio:0,computedSliderPosition:0};const a=Math.round(Math.max(20,Math.floor(i*r/s))),h=(r-a)/(s-i),d=n*h;return{computedAvailableSize:Math.round(o),computedIsNeeded:l,computedSliderSize:Math.round(a),computedSliderRatio:h,computedSliderPosition:Math.round(d)}}_refreshComputedValues(){const e=f._computeValues(this._oppositeScrollbarSize,this._arrowSize,this._visibleSize,this._scrollSize,this._scrollPosition);this._computedAvailableSize=e.computedAvailableSize,this._computedIsNeeded=e.computedIsNeeded,this._computedSliderSize=e.computedSliderSize,this._computedSliderRatio=e.computedSliderRatio,this._computedSliderPosition=e.computedSliderPosition}getArrowSize(){return this._arrowSize}getScrollPosition(){return this._scrollPosition}getRectangleLargeSize(){return this._computedAvailableSize}getRectangleSmallSize(){return this._scrollbarSize}isNeeded(){return this._computedIsNeeded}getSliderSize(){return this._computedSliderSize}getSliderPosition(){return this._computedSliderPosition}getDesiredScrollPositionFromOffset(e){if(!this._computedIsNeeded)return 0;const t=e-this._arrowSize-this._computedSliderSize/2;return Math.round(t/this._computedSliderRatio)}getDesiredScrollPositionFromOffsetPaged(e){if(!this._computedIsNeeded)return 0;const t=e-this._arrowSize;let i=this._scrollPosition;return t<this._computedSliderPosition?i-=this._visibleSize:i+=this._visibleSize,i}getDesiredScrollPositionFromDelta(e){if(!this._computedIsNeeded)return 0;const t=this._computedSliderPosition+e;return Math.round(t/this._computedSliderRatio)}}var v=i(88106);class b extends g{constructor(e,t,i){const s=e.getScrollDimensions(),n=e.getCurrentScrollPosition();if(super({lazyRender:t.lazyRender,host:i,scrollbarState:new f(t.horizontalHasArrows?t.arrowSize:0,2===t.horizontal?0:t.horizontalScrollbarSize,2===t.vertical?0:t.verticalScrollbarSize,s.width,s.scrollWidth,n.scrollLeft),visibility:t.horizontal,extraScrollbarClassName:"horizontal",scrollable:e,scrollByPage:t.scrollByPage}),t.horizontalHasArrows){const e=(t.arrowSize-d)/2,i=(t.horizontalScrollbarSize-d)/2;this._createArrow({className:"scra",icon:v.W6.scrollbarButtonLeft,top:i,left:e,bottom:void 0,right:void 0,bgWidth:t.arrowSize,bgHeight:t.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new r.$(null,1,0))}),this._createArrow({className:"scra",icon:v.W6.scrollbarButtonRight,top:i,left:void 0,bottom:void 0,right:e,bgWidth:t.arrowSize,bgHeight:t.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new r.$(null,-1,0))})}this._createSlider(Math.floor((t.horizontalScrollbarSize-t.horizontalSliderSize)/2),0,void 0,t.horizontalSliderSize)}_updateSlider(e,t){this.slider.setWidth(e),this.slider.setLeft(t)}_renderDomNode(e,t){this.domNode.setWidth(e),this.domNode.setHeight(t),this.domNode.setLeft(0),this.domNode.setBottom(0)}onDidScroll(e){return this._shouldRender=this._onElementScrollSize(e.scrollWidth)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollLeft)||this._shouldRender,this._shouldRender=this._onElementSize(e.width)||this._shouldRender,this._shouldRender}_pointerDownRelativePosition(e,t){return e}_sliderPointerPosition(e){return e.pageX}_sliderOrthogonalPointerPosition(e){return e.pageY}_updateScrollbarSize(e){this.slider.setHeight(e)}writeScrollPosition(e,t){e.scrollLeft=t}updateOptions(e){this.updateScrollbarSize(2===e.horizontal?0:e.horizontalScrollbarSize),this._scrollbarState.setOppositeScrollbarSize(2===e.vertical?0:e.verticalScrollbarSize),this._visibilityController.setVisibility(e.horizontal),this._scrollByPage=e.scrollByPage}}class _ extends g{constructor(e,t,i){const s=e.getScrollDimensions(),n=e.getCurrentScrollPosition();if(super({lazyRender:t.lazyRender,host:i,scrollbarState:new f(t.verticalHasArrows?t.arrowSize:0,2===t.vertical?0:t.verticalScrollbarSize,0,s.height,s.scrollHeight,n.scrollTop),visibility:t.vertical,extraScrollbarClassName:"vertical",scrollable:e,scrollByPage:t.scrollByPage}),t.verticalHasArrows){const e=(t.arrowSize-d)/2,i=(t.verticalScrollbarSize-d)/2;this._createArrow({className:"scra",icon:v.W6.scrollbarButtonUp,top:e,left:i,bottom:void 0,right:void 0,bgWidth:t.verticalScrollbarSize,bgHeight:t.arrowSize,onActivate:()=>this._host.onMouseWheel(new r.$(null,0,1))}),this._createArrow({className:"scra",icon:v.W6.scrollbarButtonDown,top:void 0,left:i,bottom:e,right:void 0,bgWidth:t.verticalScrollbarSize,bgHeight:t.arrowSize,onActivate:()=>this._host.onMouseWheel(new r.$(null,0,-1))})}this._createSlider(0,Math.floor((t.verticalScrollbarSize-t.verticalSliderSize)/2),t.verticalSliderSize,void 0)}_updateSlider(e,t){this.slider.setHeight(e),this.slider.setTop(t)}_renderDomNode(e,t){this.domNode.setWidth(t),this.domNode.setHeight(e),this.domNode.setRight(0),this.domNode.setTop(0)}onDidScroll(e){return this._shouldRender=this._onElementScrollSize(e.scrollHeight)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollTop)||this._shouldRender,this._shouldRender=this._onElementSize(e.height)||this._shouldRender,this._shouldRender}_pointerDownRelativePosition(e,t){return t}_sliderPointerPosition(e){return e.pageY}_sliderOrthogonalPointerPosition(e){return e.pageX}_updateScrollbarSize(e){this.slider.setWidth(e)}writeScrollPosition(e,t){e.scrollTop=t}updateOptions(e){this.updateScrollbarSize(2===e.vertical?0:e.verticalScrollbarSize),this._scrollbarState.setOppositeScrollbarSize(0),this._visibilityController.setVisibility(e.vertical),this._scrollByPage=e.scrollByPage}}var y=i(42464),w=i(68959);class S{constructor(e,t,i){this.timestamp=e,this.deltaX=t,this.deltaY=i,this.score=0}}class C{constructor(){this._capacity=5,this._memory=[],this._front=-1,this._rear=-1}isPhysicalMouseWheel(){if(-1===this._front&&-1===this._rear)return!1;let e=1,t=0,i=1,s=this._rear;for(;;){const n=s===this._front?e:Math.pow(2,-i);if(e-=n,t+=this._memory[s].score*n,s===this._front)break;s=(this._capacity+s-1)%this._capacity,i++}return t<=.5}accept(e,t,i){const s=new S(e,t,i);s.score=this._computeScore(s),-1===this._front&&-1===this._rear?(this._memory[0]=s,this._front=0,this._rear=0):(this._rear=(this._rear+1)%this._capacity,this._rear===this._front&&(this._front=(this._front+1)%this._capacity),this._memory[this._rear]=s)}_computeScore(e){if(Math.abs(e.deltaX)>0&&Math.abs(e.deltaY)>0)return 1;let t=.5;-1===this._front&&-1===this._rear||this._memory[this._rear];return this._isAlmostInt(e.deltaX)&&this._isAlmostInt(e.deltaY)||(t+=.25),Math.min(Math.max(t,0),1)}_isAlmostInt(e){return Math.abs(Math.round(e)-e)<.01}}C.INSTANCE=new C;class D extends a.x{constructor(e,t,i){super(),this._onScroll=this._register(new y.vl),this.onScroll=this._onScroll.event,this._onWillScroll=this._register(new y.vl),e.style.overflow="hidden",this._options=function(e){const t={lazyRender:"undefined"!==typeof e.lazyRender&&e.lazyRender,className:"undefined"!==typeof e.className?e.className:"",useShadows:"undefined"===typeof e.useShadows||e.useShadows,handleMouseWheel:"undefined"===typeof e.handleMouseWheel||e.handleMouseWheel,flipAxes:"undefined"!==typeof e.flipAxes&&e.flipAxes,consumeMouseWheelIfScrollbarIsNeeded:"undefined"!==typeof e.consumeMouseWheelIfScrollbarIsNeeded&&e.consumeMouseWheelIfScrollbarIsNeeded,alwaysConsumeMouseWheel:"undefined"!==typeof e.alwaysConsumeMouseWheel&&e.alwaysConsumeMouseWheel,scrollYToX:"undefined"!==typeof e.scrollYToX&&e.scrollYToX,mouseWheelScrollSensitivity:"undefined"!==typeof e.mouseWheelScrollSensitivity?e.mouseWheelScrollSensitivity:1,fastScrollSensitivity:"undefined"!==typeof e.fastScrollSensitivity?e.fastScrollSensitivity:5,scrollPredominantAxis:"undefined"===typeof e.scrollPredominantAxis||e.scrollPredominantAxis,mouseWheelSmoothScroll:"undefined"===typeof e.mouseWheelSmoothScroll||e.mouseWheelSmoothScroll,arrowSize:"undefined"!==typeof e.arrowSize?e.arrowSize:11,listenOnDomNode:"undefined"!==typeof e.listenOnDomNode?e.listenOnDomNode:null,horizontal:"undefined"!==typeof e.horizontal?e.horizontal:1,horizontalScrollbarSize:"undefined"!==typeof e.horizontalScrollbarSize?e.horizontalScrollbarSize:10,horizontalSliderSize:"undefined"!==typeof e.horizontalSliderSize?e.horizontalSliderSize:0,horizontalHasArrows:"undefined"!==typeof e.horizontalHasArrows&&e.horizontalHasArrows,vertical:"undefined"!==typeof e.vertical?e.vertical:1,verticalScrollbarSize:"undefined"!==typeof e.verticalScrollbarSize?e.verticalScrollbarSize:10,verticalHasArrows:"undefined"!==typeof e.verticalHasArrows&&e.verticalHasArrows,verticalSliderSize:"undefined"!==typeof e.verticalSliderSize?e.verticalSliderSize:0,scrollByPage:"undefined"!==typeof e.scrollByPage&&e.scrollByPage};t.horizontalSliderSize="undefined"!==typeof e.horizontalSliderSize?e.horizontalSliderSize:t.horizontalScrollbarSize,t.verticalSliderSize="undefined"!==typeof e.verticalSliderSize?e.verticalSliderSize:t.verticalScrollbarSize,m.zx&&(t.className+=" mac");return t}(t),this._scrollable=i,this._register(this._scrollable.onScroll((e=>{this._onWillScroll.fire(e),this._onDidScroll(e),this._onScroll.fire(e)})));const s={onMouseWheel:e=>this._onMouseWheel(e),onDragStart:()=>this._onDragStart(),onDragEnd:()=>this._onDragEnd()};this._verticalScrollbar=this._register(new _(this._scrollable,this._options,s)),this._horizontalScrollbar=this._register(new b(this._scrollable,this._options,s)),this._domNode=document.createElement("div"),this._domNode.className="monaco-scrollable-element "+this._options.className,this._domNode.setAttribute("role","presentation"),this._domNode.style.position="relative",this._domNode.style.overflow="hidden",this._domNode.appendChild(e),this._domNode.appendChild(this._horizontalScrollbar.domNode.domNode),this._domNode.appendChild(this._verticalScrollbar.domNode.domNode),this._options.useShadows?(this._leftShadowDomNode=(0,o.Z)(document.createElement("div")),this._leftShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._leftShadowDomNode.domNode),this._topShadowDomNode=(0,o.Z)(document.createElement("div")),this._topShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._topShadowDomNode.domNode),this._topLeftShadowDomNode=(0,o.Z)(document.createElement("div")),this._topLeftShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._topLeftShadowDomNode.domNode)):(this._leftShadowDomNode=null,this._topShadowDomNode=null,this._topLeftShadowDomNode=null),this._listenOnDomNode=this._options.listenOnDomNode||this._domNode,this._mouseWheelToDispose=[],this._setListeningToMouseWheel(this._options.handleMouseWheel),this.onmouseover(this._listenOnDomNode,(e=>this._onMouseOver(e))),this.onmouseleave(this._listenOnDomNode,(e=>this._onMouseLeave(e))),this._hideTimeout=this._register(new h.pc),this._isDragging=!1,this._mouseIsOver=!1,this._shouldRender=!0,this._revealOnScroll=!0}get options(){return this._options}dispose(){this._mouseWheelToDispose=(0,u.AS)(this._mouseWheelToDispose),super.dispose()}getDomNode(){return this._domNode}getOverviewRulerLayoutInfo(){return{parent:this._domNode,insertBefore:this._verticalScrollbar.domNode.domNode}}delegateVerticalScrollbarPointerDown(e){this._verticalScrollbar.delegatePointerDown(e)}getScrollDimensions(){return this._scrollable.getScrollDimensions()}setScrollDimensions(e){this._scrollable.setScrollDimensions(e,!1)}updateClassName(e){this._options.className=e,m.zx&&(this._options.className+=" mac"),this._domNode.className="monaco-scrollable-element "+this._options.className}updateOptions(e){"undefined"!==typeof e.handleMouseWheel&&(this._options.handleMouseWheel=e.handleMouseWheel,this._setListeningToMouseWheel(this._options.handleMouseWheel)),"undefined"!==typeof e.mouseWheelScrollSensitivity&&(this._options.mouseWheelScrollSensitivity=e.mouseWheelScrollSensitivity),"undefined"!==typeof e.fastScrollSensitivity&&(this._options.fastScrollSensitivity=e.fastScrollSensitivity),"undefined"!==typeof e.scrollPredominantAxis&&(this._options.scrollPredominantAxis=e.scrollPredominantAxis),"undefined"!==typeof e.horizontal&&(this._options.horizontal=e.horizontal),"undefined"!==typeof e.vertical&&(this._options.vertical=e.vertical),"undefined"!==typeof e.horizontalScrollbarSize&&(this._options.horizontalScrollbarSize=e.horizontalScrollbarSize),"undefined"!==typeof e.verticalScrollbarSize&&(this._options.verticalScrollbarSize=e.verticalScrollbarSize),"undefined"!==typeof e.scrollByPage&&(this._options.scrollByPage=e.scrollByPage),this._horizontalScrollbar.updateOptions(this._options),this._verticalScrollbar.updateOptions(this._options),this._options.lazyRender||this._render()}_setListeningToMouseWheel(e){if(this._mouseWheelToDispose.length>0!==e&&(this._mouseWheelToDispose=(0,u.AS)(this._mouseWheelToDispose),e)){const e=e=>{this._onMouseWheel(new r.$(e))};this._mouseWheelToDispose.push(n.ko(this._listenOnDomNode,n.Bx.MOUSE_WHEEL,e,{passive:!1}))}}_onMouseWheel(e){const t=C.INSTANCE;{const i=window.devicePixelRatio/(0,s.getZoomFactor)();m.uF||m.j9?t.accept(Date.now(),e.deltaX/i,e.deltaY/i):t.accept(Date.now(),e.deltaX,e.deltaY)}let i=!1;if(e.deltaY||e.deltaX){let s=e.deltaY*this._options.mouseWheelScrollSensitivity,n=e.deltaX*this._options.mouseWheelScrollSensitivity;this._options.scrollPredominantAxis&&(Math.abs(s)>=Math.abs(n)?n=0:s=0),this._options.flipAxes&&([s,n]=[n,s]);const o=!m.zx&&e.browserEvent&&e.browserEvent.shiftKey;!this._options.scrollYToX&&!o||n||(n=s,s=0),e.browserEvent&&e.browserEvent.altKey&&(n*=this._options.fastScrollSensitivity,s*=this._options.fastScrollSensitivity);const r=this._scrollable.getFutureScrollPosition();let l={};if(s){const e=50*s,t=r.scrollTop-(e<0?Math.floor(e):Math.ceil(e));this._verticalScrollbar.writeScrollPosition(l,t)}if(n){const e=50*n,t=r.scrollLeft-(e<0?Math.floor(e):Math.ceil(e));this._horizontalScrollbar.writeScrollPosition(l,t)}if(l=this._scrollable.validateScrollPosition(l),r.scrollLeft!==l.scrollLeft||r.scrollTop!==l.scrollTop){this._options.mouseWheelSmoothScroll&&t.isPhysicalMouseWheel()?this._scrollable.setScrollPositionSmooth(l):this._scrollable.setScrollPositionNow(l),i=!0}}let n=i;!n&&this._options.alwaysConsumeMouseWheel&&(n=!0),!n&&this._options.consumeMouseWheelIfScrollbarIsNeeded&&(this._verticalScrollbar.isNeeded()||this._horizontalScrollbar.isNeeded())&&(n=!0),n&&(e.preventDefault(),e.stopPropagation())}_onDidScroll(e){this._shouldRender=this._horizontalScrollbar.onDidScroll(e)||this._shouldRender,this._shouldRender=this._verticalScrollbar.onDidScroll(e)||this._shouldRender,this._options.useShadows&&(this._shouldRender=!0),this._revealOnScroll&&this._reveal(),this._options.lazyRender||this._render()}renderNow(){if(!this._options.lazyRender)throw new Error("Please use `lazyRender` together with `renderNow`!");this._render()}_render(){if(this._shouldRender&&(this._shouldRender=!1,this._horizontalScrollbar.render(),this._verticalScrollbar.render(),this._options.useShadows)){const e=this._scrollable.getCurrentScrollPosition(),t=e.scrollTop>0,i=e.scrollLeft>0,s=i?" left":"",n=t?" top":"",o=i||t?" top-left-corner":"";this._leftShadowDomNode.setClassName(`shadow${s}`),this._topShadowDomNode.setClassName(`shadow${n}`),this._topLeftShadowDomNode.setClassName(`shadow${o}${n}${s}`)}}_onDragStart(){this._isDragging=!0,this._reveal()}_onDragEnd(){this._isDragging=!1,this._hide()}_onMouseLeave(e){this._mouseIsOver=!1,this._hide()}_onMouseOver(e){this._mouseIsOver=!0,this._reveal()}_reveal(){this._verticalScrollbar.beginReveal(),this._horizontalScrollbar.beginReveal(),this._scheduleHide()}_hide(){this._mouseIsOver||this._isDragging||(this._verticalScrollbar.beginHide(),this._horizontalScrollbar.beginHide())}_scheduleHide(){this._mouseIsOver||this._isDragging||this._hideTimeout.cancelAndSet((()=>this._hide()),500)}}class E extends D{constructor(e,t){(t=t||{}).mouseWheelSmoothScroll=!1;const i=new w.yE({forceIntegerValues:!0,smoothScrollDuration:0,scheduleAtNextAnimationFrame:e=>n.PG(e)});super(e,t,i),this._register(i)}setScrollPosition(e){this._scrollable.setScrollPositionNow(e)}}class x extends D{constructor(e,t,i){super(e,t,i)}setScrollPosition(e){e.reuseAnimation?this._scrollable.setScrollPositionSmooth(e,e.reuseAnimation):this._scrollable.setScrollPositionNow(e)}getScrollPosition(){return this._scrollable.getCurrentScrollPosition()}}class N extends D{constructor(e,t){(t=t||{}).mouseWheelSmoothScroll=!1;const i=new w.yE({forceIntegerValues:!1,smoothScrollDuration:0,scheduleAtNextAnimationFrame:e=>n.PG(e)});super(e,t,i),this._register(i),this._element=e,this.onScroll((e=>{e.scrollTopChanged&&(this._element.scrollTop=e.scrollTop),e.scrollLeftChanged&&(this._element.scrollLeft=e.scrollLeft)})),this.scanDomNode()}setScrollPosition(e){this._scrollable.setScrollPositionNow(e)}getScrollPosition(){return this._scrollable.getCurrentScrollPosition()}scanDomNode(){this.setScrollDimensions({width:this._element.clientWidth,scrollWidth:this._element.scrollWidth,height:this._element.clientHeight,scrollHeight:this._element.scrollHeight}),this.setScrollPosition({scrollLeft:this._element.scrollLeft,scrollTop:this._element.scrollTop})}}},3415:(e,t,i)=>{i.d(t,{X:()=>b,U:()=>_});var s=i(90491),n=i(68239),o=i(95062),r=i(48640),l=i(74379),a=i(42464),h=i(55808),d=i(89142),c=i(68959),u=i(59713);const p={separatorBorder:l.Q1.transparent};class m{constructor(e,t,i,s){this.container=e,this.view=t,this.disposable=s,this._cachedVisibleSize=void 0,"number"===typeof i?(this._size=i,this._cachedVisibleSize=void 0,e.classList.add("visible")):(this._size=0,this._cachedVisibleSize=i.cachedVisibleSize)}set size(e){this._size=e}get size(){return this._size}get visible(){return"undefined"===typeof this._cachedVisibleSize}setVisible(e,t){var i,s;e!==this.visible&&(e?(this.size=(0,d.qE)(this._cachedVisibleSize,this.viewMinimumSize,this.viewMaximumSize),this._cachedVisibleSize=void 0):(this._cachedVisibleSize="number"===typeof t?t:this.size,this.size=0),this.container.classList.toggle("visible",e),null===(s=(i=this.view).setVisible)||void 0===s||s.call(i,e))}get minimumSize(){return this.visible?this.view.minimumSize:0}get viewMinimumSize(){return this.view.minimumSize}get maximumSize(){return this.visible?this.view.maximumSize:0}get viewMaximumSize(){return this.view.maximumSize}get priority(){return this.view.priority}get snap(){return!!this.view.snap}set enabled(e){this.container.style.pointerEvents=e?"":"none"}layout(e,t){this.layoutContainer(e),this.view.layout(this.size,e,t)}dispose(){return this.disposable.dispose(),this.view}}class g extends m{layoutContainer(e){this.container.style.top=`${e}px`,this.container.style.height=`${this.size}px`}}class f extends m{layoutContainer(e){this.container.style.left=`${e}px`,this.container.style.width=`${this.size}px`}}var v,b;!function(e){e[e.Idle=0]="Idle",e[e.Busy=1]="Busy"}(v||(v={})),function(e){e.Distribute={type:"distribute"},e.Split=function(e){return{type:"split",index:e}},e.Invisible=function(e){return{type:"invisible",cachedVisibleSize:e}}}(b||(b={}));class _ extends h.jG{constructor(e,t={}){var i,n,r,l,h;super(),this.size=0,this.contentSize=0,this.proportions=void 0,this.viewItems=[],this.sashItems=[],this.state=v.Idle,this._onDidSashChange=this._register(new a.vl),this._onDidSashReset=this._register(new a.vl),this._startSnappingEnabled=!0,this._endSnappingEnabled=!0,this.onDidSashChange=this._onDidSashChange.event,this.onDidSashReset=this._onDidSashReset.event,this.orientation=null!==(i=t.orientation)&&void 0!==i?i:0,this.inverseAltBehavior=null!==(n=t.inverseAltBehavior)&&void 0!==n&&n,this.proportionalLayout=null===(r=t.proportionalLayout)||void 0===r||r,this.getSashOrthogonalSize=t.getSashOrthogonalSize,this.el=document.createElement("div"),this.el.classList.add("monaco-split-view2"),this.el.classList.add(0===this.orientation?"vertical":"horizontal"),e.appendChild(this.el),this.sashContainer=(0,s.BC)(this.el,(0,s.$)(".sash-container")),this.viewContainer=(0,s.$)(".split-view-container"),this.scrollable=new c.yE({forceIntegerValues:!0,smoothScrollDuration:125,scheduleAtNextAnimationFrame:s.PG}),this.scrollableElement=this._register(new o.oO(this.viewContainer,{vertical:0===this.orientation?null!==(l=t.scrollbarVisibility)&&void 0!==l?l:1:2,horizontal:1===this.orientation?null!==(h=t.scrollbarVisibility)&&void 0!==h?h:1:2},this.scrollable)),this.onDidScroll=this.scrollableElement.onScroll,this._register(this.onDidScroll((e=>{this.viewContainer.scrollTop=e.scrollTop,this.viewContainer.scrollLeft=e.scrollLeft}))),(0,s.BC)(this.el,this.scrollableElement.getDomNode()),this.style(t.styles||p),t.descriptor&&(this.size=t.descriptor.size,t.descriptor.views.forEach(((e,t)=>{const i=u.b0(e.visible)||e.visible?e.size:{type:"invisible",cachedVisibleSize:e.size},s=e.view;this.doAddView(s,i,t,!0)})),this.contentSize=this.viewItems.reduce(((e,t)=>e+t.size),0),this.saveProportions())}get orthogonalStartSash(){return this._orthogonalStartSash}get orthogonalEndSash(){return this._orthogonalEndSash}get startSnappingEnabled(){return this._startSnappingEnabled}get endSnappingEnabled(){return this._endSnappingEnabled}set orthogonalStartSash(e){for(const t of this.sashItems)t.sash.orthogonalStartSash=e;this._orthogonalStartSash=e}set orthogonalEndSash(e){for(const t of this.sashItems)t.sash.orthogonalEndSash=e;this._orthogonalEndSash=e}set startSnappingEnabled(e){this._startSnappingEnabled!==e&&(this._startSnappingEnabled=e,this.updateSashEnablement())}set endSnappingEnabled(e){this._endSnappingEnabled!==e&&(this._endSnappingEnabled=e,this.updateSashEnablement())}style(e){e.separatorBorder.isTransparent()?(this.el.classList.remove("separator-border"),this.el.style.removeProperty("--separator-border")):(this.el.classList.add("separator-border"),this.el.style.setProperty("--separator-border",e.separatorBorder.toString()))}addView(e,t,i=this.viewItems.length,s){this.doAddView(e,t,i,s)}layout(e,t){const i=Math.max(this.size,this.contentSize);if(this.size=e,this.layoutContext=t,this.proportions)for(let s=0;s<this.viewItems.length;s++){const t=this.viewItems[s];t.size=(0,d.qE)(Math.round(this.proportions[s]*e),t.minimumSize,t.maximumSize)}else{const t=(0,r.y1)(this.viewItems.length),s=t.filter((e=>1===this.viewItems[e].priority)),n=t.filter((e=>2===this.viewItems[e].priority));this.resize(this.viewItems.length-1,e-i,void 0,s,n)}this.distributeEmptySpace(),this.layoutViews()}saveProportions(){this.proportionalLayout&&this.contentSize>0&&(this.proportions=this.viewItems.map((e=>e.size/this.contentSize)))}onSashStart({sash:e,start:t,alt:i}){for(const s of this.viewItems)s.enabled=!1;const n=this.sashItems.findIndex((t=>t.sash===e)),o=(0,h.qE)((0,s.ko)(document.body,"keydown",(e=>l(this.sashDragState.current,e.altKey))),(0,s.ko)(document.body,"keyup",(()=>l(this.sashDragState.current,!1)))),l=(e,t)=>{const i=this.viewItems.map((e=>e.size));let s,l,a=Number.NEGATIVE_INFINITY,h=Number.POSITIVE_INFINITY;if(this.inverseAltBehavior&&(t=!t),t){if(n===this.sashItems.length-1){const e=this.viewItems[n];a=(e.minimumSize-e.size)/2,h=(e.maximumSize-e.size)/2}else{const e=this.viewItems[n+1];a=(e.size-e.maximumSize)/2,h=(e.size-e.minimumSize)/2}}if(!t){const e=(0,r.y1)(n,-1),t=(0,r.y1)(n+1,this.viewItems.length),o=e.reduce(((e,t)=>e+(this.viewItems[t].minimumSize-i[t])),0),a=e.reduce(((e,t)=>e+(this.viewItems[t].viewMaximumSize-i[t])),0),h=0===t.length?Number.POSITIVE_INFINITY:t.reduce(((e,t)=>e+(i[t]-this.viewItems[t].minimumSize)),0),d=0===t.length?Number.NEGATIVE_INFINITY:t.reduce(((e,t)=>e+(i[t]-this.viewItems[t].viewMaximumSize)),0),c=Math.max(o,d),u=Math.min(h,a),p=this.findFirstSnapIndex(e),m=this.findFirstSnapIndex(t);if("number"===typeof p){const e=this.viewItems[p],t=Math.floor(e.viewMinimumSize/2);s={index:p,limitDelta:e.visible?c-t:c+t,size:e.size}}if("number"===typeof m){const e=this.viewItems[m],t=Math.floor(e.viewMinimumSize/2);l={index:m,limitDelta:e.visible?u+t:u-t,size:e.size}}}this.sashDragState={start:e,current:e,index:n,sizes:i,minDelta:a,maxDelta:h,alt:t,snapBefore:s,snapAfter:l,disposable:o}};l(t,i)}onSashChange({current:e}){const{index:t,start:i,sizes:s,alt:n,minDelta:o,maxDelta:r,snapBefore:l,snapAfter:a}=this.sashDragState;this.sashDragState.current=e;const h=e-i,d=this.resize(t,h,s,void 0,void 0,o,r,l,a);if(n){const e=t===this.sashItems.length-1,i=this.viewItems.map((e=>e.size)),s=e?t:t+1,n=this.viewItems[s],o=n.size-n.maximumSize,r=n.size-n.minimumSize,l=e?t-1:t+1;this.resize(l,-d,i,void 0,void 0,o,r)}this.distributeEmptySpace(),this.layoutViews()}onSashEnd(e){this._onDidSashChange.fire(e),this.sashDragState.disposable.dispose(),this.saveProportions();for(const t of this.viewItems)t.enabled=!0}onViewChange(e,t){const i=this.viewItems.indexOf(e);i<0||i>=this.viewItems.length||(t="number"===typeof t?t:e.size,t=(0,d.qE)(t,e.minimumSize,e.maximumSize),this.inverseAltBehavior&&i>0?(this.resize(i-1,Math.floor((e.size-t)/2)),this.distributeEmptySpace(),this.layoutViews()):(e.size=t,this.relayout([i],void 0)))}resizeView(e,t){if(this.state!==v.Idle)throw new Error("Cant modify splitview");if(this.state=v.Busy,e<0||e>=this.viewItems.length)return;const i=(0,r.y1)(this.viewItems.length).filter((t=>t!==e)),s=[...i.filter((e=>1===this.viewItems[e].priority)),e],n=i.filter((e=>2===this.viewItems[e].priority)),o=this.viewItems[e];t=Math.round(t),t=(0,d.qE)(t,o.minimumSize,Math.min(o.maximumSize,this.size)),o.size=t,this.relayout(s,n),this.state=v.Idle}distributeViewSizes(){const e=[];let t=0;for(const r of this.viewItems)r.maximumSize-r.minimumSize>0&&(e.push(r),t+=r.size);const i=Math.floor(t/e.length);for(const r of e)r.size=(0,d.qE)(i,r.minimumSize,r.maximumSize);const s=(0,r.y1)(this.viewItems.length),n=s.filter((e=>1===this.viewItems[e].priority)),o=s.filter((e=>2===this.viewItems[e].priority));this.relayout(n,o)}getViewSize(e){return e<0||e>=this.viewItems.length?-1:this.viewItems[e].size}doAddView(e,t,i=this.viewItems.length,o){if(this.state!==v.Idle)throw new Error("Cant modify splitview");this.state=v.Busy;const l=(0,s.$)(".split-view-view");i===this.viewItems.length?this.viewContainer.appendChild(l):this.viewContainer.insertBefore(l,this.viewContainer.children.item(i));const d=e.onDidChange((e=>this.onViewChange(m,e))),c=(0,h.s)((()=>this.viewContainer.removeChild(l))),u=(0,h.qE)(d,c);let p;p="number"===typeof t?t:"split"===t.type?this.getViewSize(t.index)/2:"invisible"===t.type?{cachedVisibleSize:t.cachedVisibleSize}:e.minimumSize;const m=0===this.orientation?new g(l,e,p,u):new f(l,e,p,u);if(this.viewItems.splice(i,0,m),this.viewItems.length>1){const e={orthogonalStartSash:this.orthogonalStartSash,orthogonalEndSash:this.orthogonalEndSash},t=0===this.orientation?new n.m(this.sashContainer,{getHorizontalSashTop:e=>this.getSashPosition(e),getHorizontalSashWidth:this.getSashOrthogonalSize},Object.assign(Object.assign({},e),{orientation:1})):new n.m(this.sashContainer,{getVerticalSashLeft:e=>this.getSashPosition(e),getVerticalSashHeight:this.getSashOrthogonalSize},Object.assign(Object.assign({},e),{orientation:0})),s=0===this.orientation?e=>({sash:t,start:e.startY,current:e.currentY,alt:e.altKey}):e=>({sash:t,start:e.startX,current:e.currentX,alt:e.altKey}),o=a.Jh.map(t.onDidStart,s)(this.onSashStart,this),l=a.Jh.map(t.onDidChange,s)(this.onSashChange,this),d=a.Jh.map(t.onDidEnd,(()=>this.sashItems.findIndex((e=>e.sash===t)))),c=d(this.onSashEnd,this),u=t.onDidReset((()=>{const e=this.sashItems.findIndex((e=>e.sash===t)),i=(0,r.y1)(e,-1),s=(0,r.y1)(e+1,this.viewItems.length),n=this.findFirstSnapIndex(i),o=this.findFirstSnapIndex(s);("number"!==typeof n||this.viewItems[n].visible)&&("number"!==typeof o||this.viewItems[o].visible)&&this._onDidSashReset.fire(e)})),p=(0,h.qE)(o,l,c,u,t),m={sash:t,disposable:p};this.sashItems.splice(i-1,0,m)}let b;l.appendChild(e.element),"number"!==typeof t&&"split"===t.type&&(b=[t.index]),o||this.relayout([i],b),this.state=v.Idle,o||"number"===typeof t||"distribute"!==t.type||this.distributeViewSizes()}relayout(e,t){const i=this.viewItems.reduce(((e,t)=>e+t.size),0);this.resize(this.viewItems.length-1,this.size-i,void 0,e,t),this.distributeEmptySpace(),this.layoutViews(),this.saveProportions()}resize(e,t,i=this.viewItems.map((e=>e.size)),s,n,o=Number.NEGATIVE_INFINITY,l=Number.POSITIVE_INFINITY,a,h){if(e<0||e>=this.viewItems.length)return 0;const c=(0,r.y1)(e,-1),u=(0,r.y1)(e+1,this.viewItems.length);if(n)for(const d of n)(0,r._A)(c,d),(0,r._A)(u,d);if(s)for(const d of s)(0,r.r7)(c,d),(0,r.r7)(u,d);const p=c.map((e=>this.viewItems[e])),m=c.map((e=>i[e])),g=u.map((e=>this.viewItems[e])),f=u.map((e=>i[e])),v=c.reduce(((e,t)=>e+(this.viewItems[t].minimumSize-i[t])),0),b=c.reduce(((e,t)=>e+(this.viewItems[t].maximumSize-i[t])),0),_=0===u.length?Number.POSITIVE_INFINITY:u.reduce(((e,t)=>e+(i[t]-this.viewItems[t].minimumSize)),0),y=0===u.length?Number.NEGATIVE_INFINITY:u.reduce(((e,t)=>e+(i[t]-this.viewItems[t].maximumSize)),0),w=Math.max(v,y,o),S=Math.min(_,b,l);let C=!1;if(a){const e=this.viewItems[a.index],i=t>=a.limitDelta;C=i!==e.visible,e.setVisible(i,a.size)}if(!C&&h){const e=this.viewItems[h.index],i=t<h.limitDelta;C=i!==e.visible,e.setVisible(i,h.size)}if(C)return this.resize(e,t,i,s,n,o,l);for(let r=0,D=t=(0,d.qE)(t,w,S);r<p.length;r++){const e=p[r],t=(0,d.qE)(m[r]+D,e.minimumSize,e.maximumSize);D-=t-m[r],e.size=t}for(let r=0,D=t;r<g.length;r++){const e=g[r],t=(0,d.qE)(f[r]-D,e.minimumSize,e.maximumSize);D+=t-f[r],e.size=t}return t}distributeEmptySpace(e){const t=this.viewItems.reduce(((e,t)=>e+t.size),0);let i=this.size-t;const s=(0,r.y1)(this.viewItems.length-1,-1),n=s.filter((e=>1===this.viewItems[e].priority)),o=s.filter((e=>2===this.viewItems[e].priority));for(const l of o)(0,r._A)(s,l);for(const l of n)(0,r.r7)(s,l);"number"===typeof e&&(0,r.r7)(s,e);for(let r=0;0!==i&&r<s.length;r++){const e=this.viewItems[s[r]],t=(0,d.qE)(e.size+i,e.minimumSize,e.maximumSize);i-=t-e.size,e.size=t}}layoutViews(){this.contentSize=this.viewItems.reduce(((e,t)=>e+t.size),0);let e=0;for(const t of this.viewItems)t.layout(e,this.layoutContext),e+=t.size;this.sashItems.forEach((e=>e.sash.layout())),this.updateSashEnablement(),this.updateScrollableElement()}updateScrollableElement(){0===this.orientation?this.scrollableElement.setScrollDimensions({height:this.size,scrollHeight:this.contentSize}):this.scrollableElement.setScrollDimensions({width:this.size,scrollWidth:this.contentSize})}updateSashEnablement(){let e=!1;const t=this.viewItems.map((t=>e=t.size-t.minimumSize>0||e));e=!1;const i=this.viewItems.map((t=>e=t.maximumSize-t.size>0||e)),s=[...this.viewItems].reverse();e=!1;const n=s.map((t=>e=t.size-t.minimumSize>0||e)).reverse();e=!1;const o=s.map((t=>e=t.maximumSize-t.size>0||e)).reverse();let l=0;for(let a=0;a<this.sashItems.length;a++){const{sash:e}=this.sashItems[a];l+=this.viewItems[a].size;const s=!(t[a]&&o[a+1]),h=!(i[a]&&n[a+1]);if(s&&h){const i=(0,r.y1)(a,-1),s=(0,r.y1)(a+1,this.viewItems.length),o=this.findFirstSnapIndex(i),h=this.findFirstSnapIndex(s),d="number"===typeof o&&!this.viewItems[o].visible,c="number"===typeof h&&!this.viewItems[h].visible;d&&n[a]&&(l>0||this.startSnappingEnabled)?e.state=1:c&&t[a]&&(l<this.contentSize||this.endSnappingEnabled)?e.state=2:e.state=0}else e.state=s&&!h?1:!s&&h?2:3}}getSashPosition(e){let t=0;for(let i=0;i<this.sashItems.length;i++)if(t+=this.viewItems[i].size,this.sashItems[i].sash===e)return t;return 0}findFirstSnapIndex(e){for(const t of e){const e=this.viewItems[t];if(e.visible&&e.snap)return t}for(const t of e){const e=this.viewItems[t];if(e.visible&&e.maximumSize-e.minimumSize>0)return;if(!e.visible&&e.snap)return t}}dispose(){super.dispose(),(0,h.AS)(this.viewItems),this.viewItems=[],this.sashItems.forEach((e=>e.disposable.dispose())),this.sashItems=[]}}},21738:(e,t,i)=>{i.d(t,{X:()=>d});var s=i(90491),n=i(89232),o=i(3415),r=i(42464),l=i(55808);class a{constructor(e,t,i){this.columns=e,this.getColumnSize=i,this.templateId=a.TemplateId,this.renderedTemplates=new Set;const s=new Map(t.map((e=>[e.templateId,e])));this.renderers=[];for(const n of e){const e=s.get(n.templateId);if(!e)throw new Error(`Table cell renderer for template id ${n.templateId} not found.`);this.renderers.push(e)}}renderTemplate(e){const t=(0,s.BC)(e,(0,s.$)(".monaco-table-tr")),i=[],n=[];for(let r=0;r<this.columns.length;r++){const e=this.renderers[r],o=(0,s.BC)(t,(0,s.$)(".monaco-table-td",{"data-col-index":r}));o.style.width=`${this.getColumnSize(r)}px`,i.push(o),n.push(e.renderTemplate(o))}const o={container:e,cellContainers:i,cellTemplateData:n};return this.renderedTemplates.add(o),o}renderElement(e,t,i,s){for(let n=0;n<this.columns.length;n++){const o=this.columns[n].project(e);this.renderers[n].renderElement(o,t,i.cellTemplateData[n],s)}}disposeElement(e,t,i,s){for(let n=0;n<this.columns.length;n++){const o=this.renderers[n];if(o.disposeElement){const r=this.columns[n].project(e);o.disposeElement(r,t,i.cellTemplateData[n],s)}}}disposeTemplate(e){for(let t=0;t<this.columns.length;t++){this.renderers[t].disposeTemplate(e.cellTemplateData[t])}(0,s.w_)(e.container),this.renderedTemplates.delete(e)}layoutColumn(e,t){for(const{cellContainers:i}of this.renderedTemplates)i[e].style.width=`${t}px`}}a.TemplateId="row";class h{constructor(e,t){this.column=e,this.index=t,this._onDidLayout=new r.vl,this.onDidLayout=this._onDidLayout.event,this.element=(0,s.$)(".monaco-table-th",{"data-col-index":t,title:e.tooltip},e.label)}get minimumSize(){var e;return null!==(e=this.column.minimumWidth)&&void 0!==e?e:120}get maximumSize(){var e;return null!==(e=this.column.maximumWidth)&&void 0!==e?e:Number.POSITIVE_INFINITY}get onDidChange(){var e;return null!==(e=this.column.onDidChangeWidthConstraints)&&void 0!==e?e:r.Jh.None}layout(e){this._onDidLayout.fire([this.index,e])}}class d{constructor(e,t,i,c,u,p){this.virtualDelegate=i,this.domId="table_id_"+ ++d.InstanceCount,this.disposables=new l.Cm,this.cachedWidth=0,this.cachedHeight=0,this.domNode=(0,s.BC)(t,(0,s.$)(`.monaco-table.${this.domId}`));const m=c.map(((e,t)=>new h(e,t))),g={size:m.reduce(((e,t)=>e+t.column.weight),0),views:m.map((e=>({size:e.column.weight,view:e})))};this.splitview=this.disposables.add(new o.U(this.domNode,{orientation:1,scrollbarVisibility:2,getSashOrthogonalSize:()=>this.cachedHeight,descriptor:g})),this.splitview.el.style.height=`${i.headerRowHeight}px`,this.splitview.el.style.lineHeight=`${i.headerRowHeight}px`;const f=new a(c,u,(e=>this.splitview.getViewSize(e)));var v;this.list=this.disposables.add(new n.B8(e,this.domNode,(v=i,{getHeight:e=>v.getHeight(e),getTemplateId:()=>a.TemplateId}),[f],p)),r.Jh.any(...m.map((e=>e.onDidLayout)))((([e,t])=>f.layoutColumn(e,t)),null,this.disposables),this.splitview.onDidSashReset((e=>{const t=c.reduce(((e,t)=>e+t.weight),0),i=c[e].weight/t*this.cachedWidth;this.splitview.resizeView(e,i)}),null,this.disposables),this.styleElement=(0,s.li)(this.domNode),this.style({})}get onDidChangeFocus(){return this.list.onDidChangeFocus}get onDidChangeSelection(){return this.list.onDidChangeSelection}get onMouseDblClick(){return this.list.onMouseDblClick}get onPointer(){return this.list.onPointer}get onDidFocus(){return this.list.onDidFocus}get onDidDispose(){return this.list.onDidDispose}updateOptions(e){this.list.updateOptions(e)}splice(e,t,i=[]){this.list.splice(e,t,i)}getHTMLElement(){return this.domNode}style(e){const t=[];t.push(`.monaco-table.${this.domId} > .monaco-split-view2 .monaco-sash.vertical::before {\n\t\t\ttop: ${this.virtualDelegate.headerRowHeight+1}px;\n\t\t\theight: calc(100% - ${this.virtualDelegate.headerRowHeight}px);\n\t\t}`),this.styleElement.textContent=t.join("\n"),this.list.style(e)}getSelectedElements(){return this.list.getSelectedElements()}getSelection(){return this.list.getSelection()}getFocus(){return this.list.getFocus()}dispose(){this.disposables.dispose()}}d.InstanceCount=0},95025:(e,t,i)=>{i.d(t,{l:()=>a});var s=i(27444),n=i(88106),o=i(74379),r=i(42464);const l={inputActiveOptionBorder:o.Q1.fromHex("#007ACC00"),inputActiveOptionForeground:o.Q1.fromHex("#FFFFFF"),inputActiveOptionBackground:o.Q1.fromHex("#0E639C50")};class a extends s.x{constructor(e){super(),this._onChange=this._register(new r.vl),this.onChange=this._onChange.event,this._onKeyDown=this._register(new r.vl),this.onKeyDown=this._onKeyDown.event,this._opts=Object.assign(Object.assign({},l),e),this._checked=this._opts.isChecked;const t=["monaco-custom-toggle"];this._opts.icon&&(this._icon=this._opts.icon,t.push(...n.j3.asClassNameArray(this._icon))),this._opts.actionClassName&&t.push(...this._opts.actionClassName.split(" ")),this._checked&&t.push("checked"),this.domNode=document.createElement("div"),this.domNode.title=this._opts.title,this.domNode.classList.add(...t),this._opts.notFocusable||(this.domNode.tabIndex=0),this.domNode.setAttribute("role","checkbox"),this.domNode.setAttribute("aria-checked",String(this._checked)),this.domNode.setAttribute("aria-label",this._opts.title),this.applyStyles(),this.onclick(this.domNode,(e=>{this.enabled&&(this.checked=!this._checked,this._onChange.fire(!1),e.preventDefault())})),this.ignoreGesture(this.domNode),this.onkeydown(this.domNode,(e=>{if(10===e.keyCode||3===e.keyCode)return this.checked=!this._checked,this._onChange.fire(!0),e.preventDefault(),void e.stopPropagation();this._onKeyDown.fire(e)}))}get enabled(){return"true"!==this.domNode.getAttribute("aria-disabled")}focus(){this.domNode.focus()}get checked(){return this._checked}set checked(e){this._checked=e,this.domNode.setAttribute("aria-checked",String(this._checked)),this.domNode.classList.toggle("checked",this._checked),this.applyStyles()}width(){return 22}style(e){e.inputActiveOptionBorder&&(this._opts.inputActiveOptionBorder=e.inputActiveOptionBorder),e.inputActiveOptionForeground&&(this._opts.inputActiveOptionForeground=e.inputActiveOptionForeground),e.inputActiveOptionBackground&&(this._opts.inputActiveOptionBackground=e.inputActiveOptionBackground),this.applyStyles()}applyStyles(){this.domNode&&(this.domNode.style.borderColor=this._checked&&this._opts.inputActiveOptionBorder?this._opts.inputActiveOptionBorder.toString():"",this.domNode.style.color=this._checked&&this._opts.inputActiveOptionForeground?this._opts.inputActiveOptionForeground.toString():"inherit",this.domNode.style.backgroundColor=this._checked&&this._opts.inputActiveOptionBackground?this._opts.inputActiveOptionBackground.toString():"")}enable(){this.domNode.setAttribute("aria-disabled",String(!1))}disable(){this.domNode.setAttribute("aria-disabled",String(!0))}}},17421:(e,t,i)=>{i.d(t,{DO:()=>B,w0:()=>E,vD:()=>g});var s=i(90491),n=(i(96511),i(41828)),o=(i(97061),i(9889),i(37601)),r=i(89232),l=i(95025),a=i(14366),h=i(11555),d=(i(56495),i(48640)),c=i(20512),u=i(88106);class p{constructor(){this.map=new Map}add(e,t){let i=this.map.get(e);i||(i=new Set,this.map.set(e,i)),i.add(t)}delete(e,t){const i=this.map.get(e);i&&(i.delete(t),0===i.size&&this.map.delete(e))}forEach(e,t){const i=this.map.get(e);i&&i.forEach(t)}}var m,g,f=i(42464),v=i(79271),b=i(55808),_=i(89142),y=i(59713),w=i(35819);class S extends o.ur{constructor(e){super(e.elements.map((e=>e.element))),this.data=e}}function C(e){return e instanceof o.ur?new S(e):e}class D{constructor(e,t){this.modelProvider=e,this.dnd=t,this.autoExpandDisposable=b.jG.None}getDragURI(e){return this.dnd.getDragURI(e.element)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map((e=>e.element)),t)}onDragStart(e,t){var i,s;null===(s=(i=this.dnd).onDragStart)||void 0===s||s.call(i,C(e),t)}onDragOver(e,t,i,s,n=!0){const o=this.dnd.onDragOver(C(e),t&&t.element,i,s),r=this.autoExpandNode!==t;if(r&&(this.autoExpandDisposable.dispose(),this.autoExpandNode=t),"undefined"===typeof t)return o;if(r&&"boolean"!==typeof o&&o.autoExpand&&(this.autoExpandDisposable=(0,c.EQ)((()=>{const e=this.modelProvider(),i=e.getNodeLocation(t);e.isCollapsed(i)&&e.setCollapsed(i,!1),this.autoExpandNode=void 0}),500)),"boolean"===typeof o||!o.accept||"undefined"===typeof o.bubble||o.feedback){if(!n){return{accept:"boolean"===typeof o?o:o.accept,effect:"boolean"===typeof o?void 0:o.effect,feedback:[i]}}return o}if(1===o.bubble){const i=this.modelProvider(),n=i.getNodeLocation(t),o=i.getParentNodeLocation(n),r=i.getNode(o),l=o&&i.getListIndex(o);return this.onDragOver(e,r,l,s,!1)}const l=this.modelProvider(),a=l.getNodeLocation(t),h=l.getListIndex(a),u=l.getListRenderCount(a);return Object.assign(Object.assign({},o),{feedback:(0,d.y1)(h,h+u)})}drop(e,t,i,s){this.autoExpandDisposable.dispose(),this.autoExpandNode=void 0,this.dnd.drop(C(e),t&&t.element,i,s)}onDragEnd(e){var t,i;null===(i=(t=this.dnd).onDragEnd)||void 0===i||i.call(t,e)}}class E{constructor(e){this.delegate=e}getHeight(e){return this.delegate.getHeight(e.element)}getTemplateId(e){return this.delegate.getTemplateId(e.element)}hasDynamicHeight(e){return!!this.delegate.hasDynamicHeight&&this.delegate.hasDynamicHeight(e.element)}setDynamicHeight(e,t){var i,s;null===(s=(i=this.delegate).setDynamicHeight)||void 0===s||s.call(i,e.element,t)}}!function(e){e.None="none",e.OnHover="onHover",e.Always="always"}(m||(m={}));class x{constructor(e,t=[]){this._elements=t,this.disposables=new b.Cm,this.onDidChange=f.Jh.forEach(e,(e=>this._elements=e),this.disposables)}get elements(){return this._elements}dispose(){this.disposables.dispose()}}class N{constructor(e,t,i,s,n={}){var o;this.renderer=e,this.modelProvider=t,this.activeNodes=s,this.renderedElements=new Map,this.renderedNodes=new Map,this.indent=N.DefaultIndent,this.hideTwistiesOfChildlessElements=!1,this.shouldRenderIndentGuides=!1,this.renderedIndentGuides=new p,this.activeIndentNodes=new Set,this.indentGuidesDisposable=b.jG.None,this.disposables=new b.Cm,this.templateId=e.templateId,this.updateOptions(n),f.Jh.map(i,(e=>e.node))(this.onDidChangeNodeTwistieState,this,this.disposables),null===(o=e.onDidChangeTwistieState)||void 0===o||o.call(e,this.onDidChangeTwistieState,this,this.disposables)}updateOptions(e={}){if("undefined"!==typeof e.indent&&(this.indent=(0,_.qE)(e.indent,0,40)),"undefined"!==typeof e.renderIndentGuides){const t=e.renderIndentGuides!==m.None;if(t!==this.shouldRenderIndentGuides&&(this.shouldRenderIndentGuides=t,this.indentGuidesDisposable.dispose(),t)){const e=new b.Cm;this.activeNodes.onDidChange(this._onDidChangeActiveNodes,this,e),this.indentGuidesDisposable=e,this._onDidChangeActiveNodes(this.activeNodes.elements)}}"undefined"!==typeof e.hideTwistiesOfChildlessElements&&(this.hideTwistiesOfChildlessElements=e.hideTwistiesOfChildlessElements)}renderTemplate(e){const t=(0,s.BC)(e,(0,s.$)(".monaco-tl-row")),i=(0,s.BC)(t,(0,s.$)(".monaco-tl-indent")),n=(0,s.BC)(t,(0,s.$)(".monaco-tl-twistie")),o=(0,s.BC)(t,(0,s.$)(".monaco-tl-contents")),r=this.renderer.renderTemplate(o);return{container:e,indent:i,twistie:n,indentGuidesDisposable:b.jG.None,templateData:r}}renderElement(e,t,i,s){"number"===typeof s&&(this.renderedNodes.set(e,{templateData:i,height:s}),this.renderedElements.set(e.element,e));const n=N.DefaultIndent+(e.depth-1)*this.indent;i.twistie.style.paddingLeft=`${n}px`,i.indent.style.width=n+this.indent-16+"px",this.renderTwistie(e,i),"number"===typeof s&&this.renderIndentGuides(e,i),this.renderer.renderElement(e,t,i.templateData,s)}disposeElement(e,t,i,s){var n,o;i.indentGuidesDisposable.dispose(),null===(o=(n=this.renderer).disposeElement)||void 0===o||o.call(n,e,t,i.templateData,s),"number"===typeof s&&(this.renderedNodes.delete(e),this.renderedElements.delete(e.element))}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}onDidChangeTwistieState(e){const t=this.renderedElements.get(e);t&&this.onDidChangeNodeTwistieState(t)}onDidChangeNodeTwistieState(e){const t=this.renderedNodes.get(e);t&&(this.renderTwistie(e,t.templateData),this._onDidChangeActiveNodes(this.activeNodes.elements),this.renderIndentGuides(e,t.templateData))}renderTwistie(e,t){t.twistie.classList.remove(...u.W6.treeItemExpanded.classNamesArray);let i=!1;this.renderer.renderTwistie&&(i=this.renderer.renderTwistie(e.element,t.twistie)),e.collapsible&&(!this.hideTwistiesOfChildlessElements||e.visibleChildrenCount>0)?(i||t.twistie.classList.add(...u.W6.treeItemExpanded.classNamesArray),t.twistie.classList.add("collapsible"),t.twistie.classList.toggle("collapsed",e.collapsed)):t.twistie.classList.remove("collapsible","collapsed"),e.collapsible?t.container.setAttribute("aria-expanded",String(!e.collapsed)):t.container.removeAttribute("aria-expanded")}renderIndentGuides(e,t){if((0,s.w_)(t.indent),t.indentGuidesDisposable.dispose(),!this.shouldRenderIndentGuides)return;const i=new b.Cm,n=this.modelProvider();let o=e;for(;;){const e=n.getNodeLocation(o),r=n.getParentNodeLocation(e);if(!r)break;const l=n.getNode(r),a=(0,s.$)(".indent-guide",{style:`width: ${this.indent}px`});this.activeIndentNodes.has(l)&&a.classList.add("active"),0===t.indent.childElementCount?t.indent.appendChild(a):t.indent.insertBefore(a,t.indent.firstElementChild),this.renderedIndentGuides.add(l,a),i.add((0,b.s)((()=>this.renderedIndentGuides.delete(l,a)))),o=l}t.indentGuidesDisposable=i}_onDidChangeActiveNodes(e){if(!this.shouldRenderIndentGuides)return;const t=new Set,i=this.modelProvider();e.forEach((e=>{const s=i.getNodeLocation(e);try{const n=i.getParentNodeLocation(s);e.collapsible&&e.children.length>0&&!e.collapsed?t.add(e):n&&t.add(i.getNode(n))}catch(n){}})),this.activeIndentNodes.forEach((e=>{t.has(e)||this.renderedIndentGuides.forEach(e,(e=>e.classList.remove("active")))})),t.forEach((e=>{this.activeIndentNodes.has(e)||this.renderedIndentGuides.forEach(e,(e=>e.classList.add("active")))})),this.activeIndentNodes=t}dispose(){this.renderedNodes.clear(),this.renderedElements.clear(),this.indentGuidesDisposable.dispose(),(0,b.AS)(this.disposables)}}N.DefaultIndent=8;class k{constructor(e,t,i){this.tree=e,this.keyboardNavigationLabelProvider=t,this._filter=i,this._totalCount=0,this._matchCount=0,this._pattern="",this._lowercasePattern="",this.disposables=new b.Cm,e.onWillRefilter(this.reset,this,this.disposables)}get totalCount(){return this._totalCount}get matchCount(){return this._matchCount}filter(e,t){if(this._filter){const i=this._filter.filter(e,t);let s;if(s="boolean"===typeof i?i?1:0:(0,a.iZ)(i)?(0,a.Mn)(i.visibility):i,0===s)return!1}if(this._totalCount++,!this._pattern)return this._matchCount++,{data:v.ne.Default,visibility:!0};const i=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e),s=Array.isArray(i)?i:[i];for(const n of s){const e=n&&n.toString();if("undefined"===typeof e)return{data:v.ne.Default,visibility:!0};const t=(0,v.dt)(this._pattern,this._lowercasePattern,0,e,e.toLowerCase(),0,{firstMatchCanBeWeak:!0,boostFullMatch:!0});if(t)return this._matchCount++,1===s.length?{data:t,visibility:!0}:{data:{label:e,score:t},visibility:!0}}return this.tree.findMode===g.Filter?2:{data:v.ne.Default,visibility:!0}}reset(){this._totalCount=0,this._matchCount=0}dispose(){(0,b.AS)(this.disposables)}}l.l;!function(e){e[e.Highlight=0]="Highlight",e[e.Filter=1]="Filter"}(g||(g={}));b.jG;class A{constructor(e,t,i,s,n){var o;this.tree=e,this.view=i,this.filter=s,this.contextViewProvider=n,this._pattern="",this.width=0,this._onDidChangeMode=new f.vl,this.onDidChangeMode=this._onDidChangeMode.event,this._onDidChangePattern=new f.vl,this._onDidChangeOpenState=new f.vl,this.onDidChangeOpenState=this._onDidChangeOpenState.event,this.enabledDisposables=new b.Cm,this.disposables=new b.Cm,this._mode=null!==(o=e.options.defaultFindMode)&&void 0!==o?o:g.Highlight,t.onDidSplice(this.onDidSpliceModel,this,this.disposables)}get pattern(){return this._pattern}get mode(){return this._mode}set mode(e){e!==this._mode&&(this._mode=e,this.widget&&(this.widget.mode=this._mode),this.tree.refilter(),this.render(),this._onDidChangeMode.fire(e))}onDidSpliceModel(){this.widget&&0!==this.pattern.length&&(this.tree.refilter(),this.render())}render(){var e,t;const i=this.filter.totalCount>0&&0===this.filter.matchCount;this.pattern&&i?null===(e=this.widget)||void 0===e||e.showMessage({type:2,content:(0,w.kg)("not found","No elements found.")}):null===(t=this.widget)||void 0===t||t.clearMessage()}shouldAllowFocus(e){return!this.widget||!this.pattern||this._mode===g.Filter||(this.filter.totalCount>0&&this.filter.matchCount<=1||!v.ne.isDefault(e.filterData))}style(e){var t;this.styles=e,null===(t=this.widget)||void 0===t||t.style(e)}layout(e){var t;this.width=e,null===(t=this.widget)||void 0===t||t.layout(e)}dispose(){this._onDidChangePattern.dispose(),this.enabledDisposables.dispose(),this.disposables.dispose()}}function I(e){let t=h.Lx.Unknown;return(0,s.XD)(e.browserEvent.target,"monaco-tl-twistie","monaco-tl-row")?t=h.Lx.Twistie:(0,s.XD)(e.browserEvent.target,"monaco-tl-contents","monaco-tl-row")?t=h.Lx.Element:(0,s.XD)(e.browserEvent.target,"monaco-tree-type-filter","monaco-list")&&(t=h.Lx.Filter),{browserEvent:e.browserEvent,element:e.element?e.element.element:null,target:t}}function T(e,t){t(e),e.children.forEach((e=>T(e,t)))}class L{constructor(e,t){this.getFirstViewElementWithTrait=e,this.identityProvider=t,this.nodes=[],this._onDidChange=new f.vl,this.onDidChange=this._onDidChange.event}get nodeSet(){return this._nodeSet||(this._nodeSet=this.createNodeSet()),this._nodeSet}set(e,t){!(null===t||void 0===t?void 0:t.__forceEvent)&&(0,d.aI)(this.nodes,e)||this._set(e,!1,t)}_set(e,t,i){if(this.nodes=[...e],this.elements=void 0,this._nodeSet=void 0,!t){const e=this;this._onDidChange.fire({get elements(){return e.get()},browserEvent:i})}}get(){return this.elements||(this.elements=this.nodes.map((e=>e.element))),[...this.elements]}getNodes(){return this.nodes}has(e){return this.nodeSet.has(e)}onDidModelSplice({insertedNodes:e,deletedNodes:t}){if(!this.identityProvider){const e=this.createNodeSet(),i=t=>e.delete(t);return t.forEach((e=>T(e,i))),void this.set([...e.values()])}const i=new Set,s=e=>i.add(this.identityProvider.getId(e.element).toString());t.forEach((e=>T(e,s)));const n=new Map,o=e=>n.set(this.identityProvider.getId(e.element).toString(),e);e.forEach((e=>T(e,o)));const r=[];for(const l of this.nodes){const e=this.identityProvider.getId(l.element).toString();if(i.has(e)){const t=n.get(e);t&&r.push(t)}else r.push(l)}if(this.nodes.length>0&&0===r.length){const e=this.getFirstViewElementWithTrait();e&&r.push(e)}this._set(r,!0)}createNodeSet(){const e=new Set;for(const t of this.nodes)e.add(t);return e}}class P extends r.MH{constructor(e,t){super(e),this.tree=t}onViewPointer(e){if((0,r.Bm)(e.browserEvent.target)||(0,r.B6)(e.browserEvent.target)||(0,r.bm)(e.browserEvent.target))return;const t=e.element;if(!t)return super.onViewPointer(e);if(this.isSelectionRangeChangeEvent(e)||this.isSelectionSingleChangeEvent(e))return super.onViewPointer(e);const i=e.browserEvent.target,s=i.classList.contains("monaco-tl-twistie")||i.classList.contains("monaco-icon-label")&&i.classList.contains("folder-icon")&&e.browserEvent.offsetX<16;let n=!1;if(n="function"===typeof this.tree.expandOnlyOnTwistieClick?this.tree.expandOnlyOnTwistieClick(t.element):!!this.tree.expandOnlyOnTwistieClick,n&&!s&&2!==e.browserEvent.detail)return super.onViewPointer(e);if(!this.tree.expandOnDoubleClick&&2===e.browserEvent.detail)return super.onViewPointer(e);if(t.collapsible){const i=this.tree.model,o=i.getNodeLocation(t),r=e.browserEvent.altKey;if(this.tree.setFocus([o]),i.setCollapsed(o,void 0,r),n&&s)return}super.onViewPointer(e)}onDoubleClick(e){!e.browserEvent.target.classList.contains("monaco-tl-twistie")&&this.tree.expandOnDoubleClick&&super.onDoubleClick(e)}}class O extends r.B8{constructor(e,t,i,s,n,o,r,l){super(e,t,i,s,l),this.focusTrait=n,this.selectionTrait=o,this.anchorTrait=r}createMouseController(e){return new P(this,e.tree)}splice(e,t,i=[]){if(super.splice(e,t,i),0===i.length)return;const s=[],n=[];let o;i.forEach(((t,i)=>{this.focusTrait.has(t)&&s.push(e+i),this.selectionTrait.has(t)&&n.push(e+i),this.anchorTrait.has(t)&&(o=e+i)})),s.length>0&&super.setFocus((0,d.dM)([...super.getFocus(),...s])),n.length>0&&super.setSelection((0,d.dM)([...super.getSelection(),...n])),"number"===typeof o&&super.setAnchor(o)}setFocus(e,t,i=!1){super.setFocus(e,t),i||this.focusTrait.set(e.map((e=>this.element(e))),t)}setSelection(e,t,i=!1){super.setSelection(e,t),i||this.selectionTrait.set(e.map((e=>this.element(e))),t)}setAnchor(e,t=!1){super.setAnchor(e),t||("undefined"===typeof e?this.anchorTrait.set([]):this.anchorTrait.set([this.element(e)]))}}class B{constructor(e,t,i,o,l={}){this._user=e,this._options=l,this.eventBufferer=new f.at,this.onDidChangeFindOpenState=f.Jh.None,this.disposables=new b.Cm,this._onWillRefilter=new f.vl,this.onWillRefilter=this._onWillRefilter.event,this._onDidUpdateOptions=new f.vl;const a=new E(i),h=new f.Wj,d=new f.Wj,c=this.disposables.add(new x(d.event));this.renderers=o.map((e=>new N(e,(()=>this.model),h.event,c,l)));for(const s of this.renderers)this.disposables.add(s);let u;var p,g;l.keyboardNavigationLabelProvider&&(u=new k(this,l.keyboardNavigationLabelProvider,l.filter),l=Object.assign(Object.assign({},l),{filter:u}),this.disposables.add(u)),this.focus=new L((()=>this.view.getFocusedElements()[0]),l.identityProvider),this.selection=new L((()=>this.view.getSelectedElements()[0]),l.identityProvider),this.anchor=new L((()=>this.view.getAnchorElement()),l.identityProvider),this.view=new O(e,t,a,this.renderers,this.focus,this.selection,this.anchor,Object.assign(Object.assign({},(p=()=>this.model,(g=l)&&Object.assign(Object.assign({},g),{identityProvider:g.identityProvider&&{getId:e=>g.identityProvider.getId(e.element)},dnd:g.dnd&&new D(p,g.dnd),multipleSelectionController:g.multipleSelectionController&&{isSelectionSingleChangeEvent:e=>g.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},e),{element:e.element})),isSelectionRangeChangeEvent:e=>g.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},e),{element:e.element}))},accessibilityProvider:g.accessibilityProvider&&Object.assign(Object.assign({},g.accessibilityProvider),{getSetSize(e){const t=p(),i=t.getNodeLocation(e),s=t.getParentNodeLocation(i);return t.getNode(s).visibleChildrenCount},getPosInSet:e=>e.visibleChildIndex+1,isChecked:g.accessibilityProvider&&g.accessibilityProvider.isChecked?e=>g.accessibilityProvider.isChecked(e.element):void 0,getRole:g.accessibilityProvider&&g.accessibilityProvider.getRole?e=>g.accessibilityProvider.getRole(e.element):()=>"treeitem",getAriaLabel:e=>g.accessibilityProvider.getAriaLabel(e.element),getWidgetAriaLabel:()=>g.accessibilityProvider.getWidgetAriaLabel(),getWidgetRole:g.accessibilityProvider&&g.accessibilityProvider.getWidgetRole?()=>g.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:g.accessibilityProvider&&g.accessibilityProvider.getAriaLevel?e=>g.accessibilityProvider.getAriaLevel(e.element):e=>e.depth,getActiveDescendantId:g.accessibilityProvider.getActiveDescendantId&&(e=>g.accessibilityProvider.getActiveDescendantId(e.element))}),keyboardNavigationLabelProvider:g.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},g.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel:e=>g.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e.element)})}))),{tree:this})),this.model=this.createModel(e,this.view,l),h.input=this.model.onDidChangeCollapseState;const v=f.Jh.forEach(this.model.onDidSplice,(e=>{this.eventBufferer.bufferEvents((()=>{this.focus.onDidModelSplice(e),this.selection.onDidModelSplice(e)}))}),this.disposables);if(v((()=>null),null,this.disposables),d.input=f.Jh.chain(f.Jh.any(v,this.focus.onDidChange,this.selection.onDidChange)).debounce((()=>null),0).map((()=>{const e=new Set;for(const t of this.focus.getNodes())e.add(t);for(const t of this.selection.getNodes())e.add(t);return[...e.values()]})).event,!1!==l.keyboardSupport){const e=f.Jh.chain(this.view.onKeyDown).filter((e=>!(0,r.B6)(e.target))).map((e=>new n.Z(e)));e.filter((e=>15===e.keyCode)).on(this.onLeftArrow,this,this.disposables),e.filter((e=>17===e.keyCode)).on(this.onRightArrow,this,this.disposables),e.filter((e=>10===e.keyCode)).on(this.onSpace,this,this.disposables)}l.keyboardNavigationLabelProvider&&l.contextViewProvider?(this.findController=new A(this,this.model,this.view,u,l.contextViewProvider),this.focusNavigationFilter=e=>this.findController.shouldAllowFocus(e),this.onDidChangeFindOpenState=this.findController.onDidChangeOpenState,this.disposables.add(this.findController),this.onDidChangeFindMode=this.findController.onDidChangeMode):this.onDidChangeFindMode=f.Jh.None,this.styleElement=(0,s.li)(this.view.getHTMLElement()),this.getHTMLElement().classList.toggle("always",this._options.renderIndentGuides===m.Always)}get onDidChangeFocus(){return this.eventBufferer.wrapEvent(this.focus.onDidChange)}get onDidChangeSelection(){return this.eventBufferer.wrapEvent(this.selection.onDidChange)}get onMouseDblClick(){return f.Jh.filter(f.Jh.map(this.view.onMouseDblClick,I),(e=>e.target!==h.Lx.Filter))}get onPointer(){return f.Jh.map(this.view.onPointer,I)}get onDidFocus(){return this.view.onDidFocus}get onDidChangeModel(){return f.Jh.signal(this.model.onDidSplice)}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get findMode(){var e,t;return null!==(t=null===(e=this.findController)||void 0===e?void 0:e.mode)&&void 0!==t?t:g.Highlight}set findMode(e){this.findController&&(this.findController.mode=e)}get expandOnDoubleClick(){return"undefined"===typeof this._options.expandOnDoubleClick||this._options.expandOnDoubleClick}get expandOnlyOnTwistieClick(){return"undefined"===typeof this._options.expandOnlyOnTwistieClick||this._options.expandOnlyOnTwistieClick}get onDidDispose(){return this.view.onDidDispose}updateOptions(e={}){this._options=Object.assign(Object.assign({},this._options),e);for(const t of this.renderers)t.updateOptions(e);this.view.updateOptions(this._options),this._onDidUpdateOptions.fire(this._options),this.getHTMLElement().classList.toggle("always",this._options.renderIndentGuides===m.Always)}get options(){return this._options}getHTMLElement(){return this.view.getHTMLElement()}get scrollTop(){return this.view.scrollTop}set scrollTop(e){this.view.scrollTop=e}domFocus(){this.view.domFocus()}layout(e,t){var i;this.view.layout(e,t),(0,y.Et)(t)&&(null===(i=this.findController)||void 0===i||i.layout(t))}style(e){var t;const i=`.${this.view.domId}`,s=[];e.treeIndentGuidesStroke&&(s.push(`.monaco-list${i}:hover .monaco-tl-indent > .indent-guide, .monaco-list${i}.always .monaco-tl-indent > .indent-guide { border-color: ${e.treeIndentGuidesStroke.transparent(.4)}; }`),s.push(`.monaco-list${i} .monaco-tl-indent > .indent-guide.active { border-color: ${e.treeIndentGuidesStroke}; }`)),this.styleElement.textContent=s.join("\n"),null===(t=this.findController)||void 0===t||t.style(e),this.view.style(e)}getParentElement(e){const t=this.model.getParentNodeLocation(e);return this.model.getNode(t).element}getFirstElementChild(e){return this.model.getFirstElementChild(e)}getNode(e){return this.model.getNode(e)}collapse(e,t=!1){return this.model.setCollapsed(e,!0,t)}expand(e,t=!1){return this.model.setCollapsed(e,!1,t)}isCollapsible(e){return this.model.isCollapsible(e)}setCollapsible(e,t){return this.model.setCollapsible(e,t)}isCollapsed(e){return this.model.isCollapsed(e)}refilter(){this._onWillRefilter.fire(void 0),this.model.refilter()}setSelection(e,t){const i=e.map((e=>this.model.getNode(e)));this.selection.set(i,t);const s=e.map((e=>this.model.getListIndex(e))).filter((e=>e>-1));this.view.setSelection(s,t,!0)}getSelection(){return this.selection.get()}setFocus(e,t){const i=e.map((e=>this.model.getNode(e)));this.focus.set(i,t);const s=e.map((e=>this.model.getListIndex(e))).filter((e=>e>-1));this.view.setFocus(s,t,!0)}getFocus(){return this.focus.get()}reveal(e,t){this.model.expandTo(e);const i=this.model.getListIndex(e);-1!==i&&this.view.reveal(i,t)}onLeftArrow(e){e.preventDefault(),e.stopPropagation();const t=this.view.getFocusedElements();if(0===t.length)return;const i=t[0],s=this.model.getNodeLocation(i);if(!this.model.setCollapsed(s,!0)){const e=this.model.getParentNodeLocation(s);if(!e)return;const t=this.model.getListIndex(e);this.view.reveal(t),this.view.setFocus([t])}}onRightArrow(e){e.preventDefault(),e.stopPropagation();const t=this.view.getFocusedElements();if(0===t.length)return;const i=t[0],s=this.model.getNodeLocation(i);if(!this.model.setCollapsed(s,!1)){if(!i.children.some((e=>e.visible)))return;const[e]=this.view.getFocus(),t=e+1;this.view.reveal(t),this.view.setFocus([t])}}onSpace(e){e.preventDefault(),e.stopPropagation();const t=this.view.getFocusedElements();if(0===t.length)return;const i=t[0],s=this.model.getNodeLocation(i),n=e.browserEvent.altKey;this.model.setCollapsed(s,void 0,n)}dispose(){(0,b.AS)(this.disposables),this.view.dispose()}}},58767:(e,t,i)=>{i.d(t,{d:()=>I,t:()=>N});var s=i(37601),n=i(17421),o=i(14366),r=i(9203),l=i(11555),a=i(20512),h=i(88106),d=i(75909),c=i(42464),u=i(16624),p=i(55808),m=i(59713),g=function(e,t,i,s){return new(i||(i=Promise))((function(n,o){function r(e){try{a(s.next(e))}catch(t){o(t)}}function l(e){try{a(s.throw(e))}catch(t){o(t)}}function a(e){var t;e.done?n(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,l)}a((s=s.apply(e,t||[])).next())}))};function f(e){return Object.assign(Object.assign({},e),{children:[],refreshPromise:void 0,stale:!0,slow:!1,collapsedByDefault:void 0})}function v(e,t){return!!t.parent&&(t.parent===e||v(e,t.parent))}class b{constructor(e){this.node=e}get element(){return this.node.element.element}get children(){return this.node.children.map((e=>new b(e)))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}class _{constructor(e,t,i){this.renderer=e,this.nodeMapper=t,this.onDidChangeTwistieState=i,this.renderedNodes=new Map,this.templateId=e.templateId}renderTemplate(e){return{templateData:this.renderer.renderTemplate(e)}}renderElement(e,t,i,s){this.renderer.renderElement(this.nodeMapper.map(e),t,i.templateData,s)}renderTwistie(e,t){return e.slow?(t.classList.add(...h.W6.treeItemLoading.classNamesArray),!0):(t.classList.remove(...h.W6.treeItemLoading.classNamesArray),!1)}disposeElement(e,t,i,s){var n,o;null===(o=(n=this.renderer).disposeElement)||void 0===o||o.call(n,this.nodeMapper.map(e),t,i.templateData,s)}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}dispose(){this.renderedNodes.clear()}}function y(e){return{browserEvent:e.browserEvent,elements:e.elements.map((e=>e.element))}}function w(e){return{browserEvent:e.browserEvent,element:e.element&&e.element.element,target:e.target}}class S extends s.ur{constructor(e){super(e.elements.map((e=>e.element))),this.data=e}}function C(e){return e instanceof s.ur?new S(e):e}class D{constructor(e){this.dnd=e}getDragURI(e){return this.dnd.getDragURI(e.element)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map((e=>e.element)),t)}onDragStart(e,t){var i,s;null===(s=(i=this.dnd).onDragStart)||void 0===s||s.call(i,C(e),t)}onDragOver(e,t,i,s,n=!0){return this.dnd.onDragOver(C(e),t&&t.element,i,s)}drop(e,t,i,s){this.dnd.drop(C(e),t&&t.element,i,s)}onDragEnd(e){var t,i;null===(i=(t=this.dnd).onDragEnd)||void 0===i||i.call(t,e)}}function E(e){return e&&Object.assign(Object.assign({},e),{collapseByDefault:!0,identityProvider:e.identityProvider&&{getId:t=>e.identityProvider.getId(t.element)},dnd:e.dnd&&new D(e.dnd),multipleSelectionController:e.multipleSelectionController&&{isSelectionSingleChangeEvent:t=>e.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},t),{element:t.element})),isSelectionRangeChangeEvent:t=>e.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},t),{element:t.element}))},accessibilityProvider:e.accessibilityProvider&&Object.assign(Object.assign({},e.accessibilityProvider),{getPosInSet:void 0,getSetSize:void 0,getRole:e.accessibilityProvider.getRole?t=>e.accessibilityProvider.getRole(t.element):()=>"treeitem",isChecked:e.accessibilityProvider.isChecked?t=>{var i;return!!(null===(i=e.accessibilityProvider)||void 0===i?void 0:i.isChecked(t.element))}:void 0,getAriaLabel:t=>e.accessibilityProvider.getAriaLabel(t.element),getWidgetAriaLabel:()=>e.accessibilityProvider.getWidgetAriaLabel(),getWidgetRole:e.accessibilityProvider.getWidgetRole?()=>e.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:e.accessibilityProvider.getAriaLevel&&(t=>e.accessibilityProvider.getAriaLevel(t.element)),getActiveDescendantId:e.accessibilityProvider.getActiveDescendantId&&(t=>e.accessibilityProvider.getActiveDescendantId(t.element))}),filter:e.filter&&{filter:(t,i)=>e.filter.filter(t.element,i)},keyboardNavigationLabelProvider:e.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},e.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel:t=>e.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(t.element)}),sorter:void 0,expandOnlyOnTwistieClick:"undefined"===typeof e.expandOnlyOnTwistieClick?void 0:"function"!==typeof e.expandOnlyOnTwistieClick?e.expandOnlyOnTwistieClick:t=>e.expandOnlyOnTwistieClick(t.element),additionalScrollHeight:e.additionalScrollHeight})}function x(e,t){t(e),e.children.forEach((e=>x(e,t)))}class N{constructor(e,t,i,s,n,o={}){this.user=e,this.dataSource=n,this.nodes=new Map,this.subTreeRefreshPromises=new Map,this.refreshPromises=new Map,this._onDidRender=new c.vl,this._onDidChangeNodeSlowState=new c.vl,this.nodeMapper=new l.y2((e=>new b(e))),this.disposables=new p.Cm,this.identityProvider=o.identityProvider,this.autoExpandSingleChildren="undefined"!==typeof o.autoExpandSingleChildren&&o.autoExpandSingleChildren,this.sorter=o.sorter,this.collapseByDefault=o.collapseByDefault,this.tree=this.createTree(e,t,i,s,o),this.onDidChangeFindMode=this.tree.onDidChangeFindMode,this.root=f({element:void 0,parent:null,hasChildren:!0}),this.identityProvider&&(this.root=Object.assign(Object.assign({},this.root),{id:null})),this.nodes.set(null,this.root),this.tree.onDidChangeCollapseState(this._onDidChangeCollapseState,this,this.disposables)}get onDidChangeFocus(){return c.Jh.map(this.tree.onDidChangeFocus,y)}get onDidChangeSelection(){return c.Jh.map(this.tree.onDidChangeSelection,y)}get onMouseDblClick(){return c.Jh.map(this.tree.onMouseDblClick,w)}get onPointer(){return c.Jh.map(this.tree.onPointer,w)}get onDidFocus(){return this.tree.onDidFocus}get onDidChangeModel(){return this.tree.onDidChangeModel}get onDidChangeCollapseState(){return this.tree.onDidChangeCollapseState}get onDidChangeFindOpenState(){return this.tree.onDidChangeFindOpenState}get onDidDispose(){return this.tree.onDidDispose}createTree(e,t,i,s,o){const l=new n.w0(i),a=s.map((e=>new _(e,this.nodeMapper,this._onDidChangeNodeSlowState.event))),h=E(o)||{};return new r.u(e,t,l,a,h)}updateOptions(e={}){this.tree.updateOptions(e)}getHTMLElement(){return this.tree.getHTMLElement()}get scrollTop(){return this.tree.scrollTop}set scrollTop(e){this.tree.scrollTop=e}domFocus(){this.tree.domFocus()}layout(e,t){this.tree.layout(e,t)}style(e){this.tree.style(e)}getInput(){return this.root.element}setInput(e,t){return g(this,void 0,void 0,(function*(){this.refreshPromises.forEach((e=>e.cancel())),this.refreshPromises.clear(),this.root.element=e;const i=t&&{viewState:t,focus:[],selection:[]};yield this._updateChildren(e,!0,!1,i),i&&(this.tree.setFocus(i.focus),this.tree.setSelection(i.selection)),t&&"number"===typeof t.scrollTop&&(this.scrollTop=t.scrollTop)}))}_updateChildren(e=this.root.element,t=!0,i=!1,s,n){return g(this,void 0,void 0,(function*(){if("undefined"===typeof this.root.element)throw new l.jh(this.user,"Tree input not set");this.root.refreshPromise&&(yield this.root.refreshPromise,yield c.Jh.toPromise(this._onDidRender.event));const o=this.getDataNode(e);if(yield this.refreshAndRenderNode(o,t,s,n),i)try{this.tree.rerender(o)}catch(r){}}))}rerender(e){if(void 0===e||e===this.root.element)return void this.tree.rerender();const t=this.getDataNode(e);this.tree.rerender(t)}getNode(e=this.root.element){const t=this.getDataNode(e),i=this.tree.getNode(t===this.root?null:t);return this.nodeMapper.map(i)}collapse(e,t=!1){const i=this.getDataNode(e);return this.tree.collapse(i===this.root?null:i,t)}expand(e,t=!1){return g(this,void 0,void 0,(function*(){if("undefined"===typeof this.root.element)throw new l.jh(this.user,"Tree input not set");this.root.refreshPromise&&(yield this.root.refreshPromise,yield c.Jh.toPromise(this._onDidRender.event));const i=this.getDataNode(e);if(this.tree.hasElement(i)&&!this.tree.isCollapsible(i))return!1;if(i.refreshPromise&&(yield this.root.refreshPromise,yield c.Jh.toPromise(this._onDidRender.event)),i!==this.root&&!i.refreshPromise&&!this.tree.isCollapsed(i))return!1;const s=this.tree.expand(i===this.root?null:i,t);return i.refreshPromise&&(yield this.root.refreshPromise,yield c.Jh.toPromise(this._onDidRender.event)),s}))}setSelection(e,t){const i=e.map((e=>this.getDataNode(e)));this.tree.setSelection(i,t)}getSelection(){return this.tree.getSelection().map((e=>e.element))}setFocus(e,t){const i=e.map((e=>this.getDataNode(e)));this.tree.setFocus(i,t)}getFocus(){return this.tree.getFocus().map((e=>e.element))}reveal(e,t){this.tree.reveal(this.getDataNode(e),t)}getParentElement(e){const t=this.tree.getParentElement(this.getDataNode(e));return t&&t.element}getFirstElementChild(e=this.root.element){const t=this.getDataNode(e),i=this.tree.getFirstElementChild(t===this.root?null:t);return i&&i.element}getDataNode(e){const t=this.nodes.get(e===this.root.element?null:e);if(!t)throw new l.jh(this.user,`Data tree node not found: ${e}`);return t}refreshAndRenderNode(e,t,i,s){return g(this,void 0,void 0,(function*(){yield this.refreshNode(e,t,i),this.render(e,i,s)}))}refreshNode(e,t,i){return g(this,void 0,void 0,(function*(){let s;return this.subTreeRefreshPromises.forEach(((n,o)=>{!s&&function(e,t){return e===t||v(e,t)||v(t,e)}(o,e)&&(s=n.then((()=>this.refreshNode(e,t,i))))})),s||this.doRefreshSubTree(e,t,i)}))}doRefreshSubTree(e,t,i){return g(this,void 0,void 0,(function*(){let s;e.refreshPromise=new Promise((e=>s=e)),this.subTreeRefreshPromises.set(e,e.refreshPromise),e.refreshPromise.finally((()=>{e.refreshPromise=void 0,this.subTreeRefreshPromises.delete(e)}));try{const s=yield this.doRefreshNode(e,t,i);e.stale=!1,yield a.HC.settled(s.map((e=>this.doRefreshSubTree(e,t,i))))}finally{s()}}))}doRefreshNode(e,t,i){return g(this,void 0,void 0,(function*(){let s;if(e.hasChildren=!!this.dataSource.hasChildren(e.element),e.hasChildren){const t=this.doGetChildren(e);if((0,m.xZ)(t))s=Promise.resolve(t);else{const i=(0,a.wR)(800);i.then((()=>{e.slow=!0,this._onDidChangeNodeSlowState.fire(e)}),(e=>null)),s=t.finally((()=>i.cancel()))}}else s=Promise.resolve(u.f.empty());try{const n=yield s;return this.setChildren(e,n,t,i)}catch(n){if(e!==this.root&&this.tree.hasElement(e)&&this.tree.collapse(e),(0,d.MB)(n))return[];throw n}finally{e.slow&&(e.slow=!1,this._onDidChangeNodeSlowState.fire(e))}}))}doGetChildren(e){let t=this.refreshPromises.get(e);if(t)return t;const i=this.dataSource.getChildren(e.element);return(0,m.xZ)(i)?this.processChildren(i):(t=(0,a.SS)((()=>g(this,void 0,void 0,(function*(){return this.processChildren(yield i)})))),this.refreshPromises.set(e,t),t.finally((()=>{this.refreshPromises.delete(e)})))}_onDidChangeCollapseState({node:e,deep:t}){null!==e.element&&!e.collapsed&&e.element.stale&&(t?this.collapse(e.element.element):this.refreshAndRenderNode(e.element,!1).catch(d.dz))}setChildren(e,t,i,s){const n=[...t];if(0===e.children.length&&0===n.length)return[];const o=new Map,r=new Map;for(const h of e.children)if(o.set(h.element,h),this.identityProvider){const e=this.tree.isCollapsed(h);r.set(h.id,{node:h,collapsed:e})}const l=[],a=n.map((t=>{const n=!!this.dataSource.hasChildren(t);if(!this.identityProvider){const i=f({element:t,parent:e,hasChildren:n});return n&&this.collapseByDefault&&!this.collapseByDefault(t)&&(i.collapsedByDefault=!1,l.push(i)),i}const a=this.identityProvider.getId(t).toString(),h=r.get(a);if(h){const e=h.node;return o.delete(e.element),this.nodes.delete(e.element),this.nodes.set(t,e),e.element=t,e.hasChildren=n,i?h.collapsed?(e.children.forEach((e=>x(e,(e=>this.nodes.delete(e.element))))),e.children.splice(0,e.children.length),e.stale=!0):l.push(e):n&&this.collapseByDefault&&!this.collapseByDefault(t)&&(e.collapsedByDefault=!1,l.push(e)),e}const d=f({element:t,parent:e,id:a,hasChildren:n});return s&&s.viewState.focus&&s.viewState.focus.indexOf(a)>-1&&s.focus.push(d),s&&s.viewState.selection&&s.viewState.selection.indexOf(a)>-1&&s.selection.push(d),s&&s.viewState.expanded&&s.viewState.expanded.indexOf(a)>-1?l.push(d):n&&this.collapseByDefault&&!this.collapseByDefault(t)&&(d.collapsedByDefault=!1,l.push(d)),d}));for(const h of o.values())x(h,(e=>this.nodes.delete(e.element)));for(const h of a)this.nodes.set(h.element,h);return e.children.splice(0,e.children.length,...a),e!==this.root&&this.autoExpandSingleChildren&&1===a.length&&0===l.length&&(a[0].collapsedByDefault=!1,l.push(a[0])),l}render(e,t,i){const s=e.children.map((e=>this.asTreeElement(e,t))),n=i&&Object.assign(Object.assign({},i),{diffIdentityProvider:i.diffIdentityProvider&&{getId:e=>i.diffIdentityProvider.getId(e.element)}});this.tree.setChildren(e===this.root?null:e,s,n),e!==this.root&&this.tree.setCollapsible(e,e.hasChildren),this._onDidRender.fire()}asTreeElement(e,t){if(e.stale)return{element:e,collapsible:e.hasChildren,collapsed:!0};let i;return i=!(t&&t.viewState.expanded&&e.id&&t.viewState.expanded.indexOf(e.id)>-1)&&e.collapsedByDefault,e.collapsedByDefault=void 0,{element:e,children:e.hasChildren?u.f.map(e.children,(e=>this.asTreeElement(e,t))):[],collapsible:e.hasChildren,collapsed:i}}processChildren(e){return this.sorter&&(e=[...e].sort(this.sorter.compare.bind(this.sorter))),e}dispose(){this.disposables.dispose()}}class k{constructor(e){this.node=e}get element(){return{elements:this.node.element.elements.map((e=>e.element)),incompressible:this.node.element.incompressible}}get children(){return this.node.children.map((e=>new k(e)))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}class A{constructor(e,t,i,s){this.renderer=e,this.nodeMapper=t,this.compressibleNodeMapperProvider=i,this.onDidChangeTwistieState=s,this.renderedNodes=new Map,this.disposables=[],this.templateId=e.templateId}renderTemplate(e){return{templateData:this.renderer.renderTemplate(e)}}renderElement(e,t,i,s){this.renderer.renderElement(this.nodeMapper.map(e),t,i.templateData,s)}renderCompressedElements(e,t,i,s){this.renderer.renderCompressedElements(this.compressibleNodeMapperProvider().map(e),t,i.templateData,s)}renderTwistie(e,t){return e.slow?(t.classList.add(...h.W6.treeItemLoading.classNamesArray),!0):(t.classList.remove(...h.W6.treeItemLoading.classNamesArray),!1)}disposeElement(e,t,i,s){var n,o;null===(o=(n=this.renderer).disposeElement)||void 0===o||o.call(n,this.nodeMapper.map(e),t,i.templateData,s)}disposeCompressedElements(e,t,i,s){var n,o;null===(o=(n=this.renderer).disposeCompressedElements)||void 0===o||o.call(n,this.compressibleNodeMapperProvider().map(e),t,i.templateData,s)}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}dispose(){this.renderedNodes.clear(),this.disposables=(0,p.AS)(this.disposables)}}class I extends N{constructor(e,t,i,s,n,o,r={}){super(e,t,i,n,o,r),this.compressionDelegate=s,this.compressibleNodeMapper=new l.y2((e=>new k(e))),this.filter=r.filter}createTree(e,t,i,s,o){const l=new n.w0(i),a=s.map((e=>new A(e,this.nodeMapper,(()=>this.compressibleNodeMapper),this._onDidChangeNodeSlowState.event))),h=function(e){const t=e&&E(e);return t&&Object.assign(Object.assign({},t),{keyboardNavigationLabelProvider:t.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},t.keyboardNavigationLabelProvider),{getCompressedNodeKeyboardNavigationLabel:t=>e.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(t.map((e=>e.element)))})})}(o)||{};return new r._(e,t,l,a,h)}asTreeElement(e,t){return Object.assign({incompressible:this.compressionDelegate.isIncompressible(e.element)},super.asTreeElement(e,t))}updateOptions(e={}){this.tree.updateOptions(e)}render(e,t){if(!this.identityProvider)return super.render(e,t);const i=e=>this.identityProvider.getId(e).toString(),s=e=>{const t=new Set;for(const s of e){const e=this.tree.getCompressedTreeNode(s===this.root?null:s);if(e.element)for(const s of e.element.elements)t.add(i(s.element))}return t},n=s(this.tree.getSelection()),o=s(this.tree.getFocus());super.render(e,t);const r=this.getSelection();let l=!1;const a=this.getFocus();let h=!1;const d=e=>{const t=e.element;if(t)for(let s=0;s<t.elements.length;s++){const e=i(t.elements[s].element),d=t.elements[t.elements.length-1].element;n.has(e)&&-1===r.indexOf(d)&&(r.push(d),l=!0),o.has(e)&&-1===a.indexOf(d)&&(a.push(d),h=!0)}e.children.forEach(d)};d(this.tree.getCompressedTreeNode(e===this.root?null:e)),l&&this.setSelection(r),h&&this.setFocus(a)}processChildren(e){return this.filter&&(e=u.f.filter(e,(e=>{const t=this.filter.filter(e,1),i="boolean"===typeof(s=t)?s?1:0:(0,o.iZ)(s)?(0,o.Mn)(s.visibility):(0,o.Mn)(s);var s;if(2===i)throw new Error("Recursive tree visibility not supported in async data compressed trees");return 1===i}))),super.processChildren(e)}}},42603:(e,t,i)=>{i.d(t,{f:()=>o});var s=i(17421),n=i(29907);class o extends s.DO{constructor(e,t,i,s,n,o={}){super(e,t,i,s,o),this.user=e,this.dataSource=n,this.identityProvider=o.identityProvider}createModel(e,t,i){return new n.v(e,t,i)}}},14366:(e,t,i)=>{i.d(t,{G6:()=>u,Mn:()=>d,iZ:()=>h});var s=i(11555),n=i(48640),o=i(20512),r=i(88608),l=i(42464),a=i(16624);function h(e){return"object"===typeof e&&"visibility"in e&&"data"in e}function d(e){switch(e){case!0:return 1;case!1:return 0;default:return e}}function c(e){return"boolean"===typeof e.collapsible}class u{constructor(e,t,i,s={}){this.user=e,this.list=t,this.rootRef=[],this.eventBufferer=new l.at,this._onDidChangeCollapseState=new l.vl,this.onDidChangeCollapseState=this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event),this._onDidChangeRenderNodeCount=new l.vl,this.onDidChangeRenderNodeCount=this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event),this._onDidSplice=new l.vl,this.onDidSplice=this._onDidSplice.event,this.refilterDelayer=new o.ve(o.hW),this.collapseByDefault="undefined"!==typeof s.collapseByDefault&&s.collapseByDefault,this.filter=s.filter,this.autoExpandSingleChildren="undefined"!==typeof s.autoExpandSingleChildren&&s.autoExpandSingleChildren,this.root={parent:void 0,element:i,children:[],depth:0,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:!1,collapsed:!1,renderNodeCount:0,visibility:1,visible:!0,filterData:void 0}}splice(e,t,i=a.f.empty(),n={}){if(0===e.length)throw new s.jh(this.user,"Invalid tree location");n.diffIdentityProvider?this.spliceSmart(n.diffIdentityProvider,e,t,i,n):this.spliceSimple(e,t,i,n)}spliceSmart(e,t,i,s,n,o){var l;void 0===s&&(s=a.f.empty()),void 0===o&&(o=null!==(l=n.diffDepth)&&void 0!==l?l:0);const{parentNode:h}=this.getParentNodeWithListIndex(t);if(!h.lastDiffIds)return this.spliceSimple(t,i,s,n);const d=[...s],c=t[t.length-1],u=new r.uP({getElements:()=>h.lastDiffIds},{getElements:()=>[...h.children.slice(0,c),...d,...h.children.slice(c+i)].map((t=>e.getId(t.element).toString()))}).ComputeDiff(!1);if(u.quitEarly)return h.lastDiffIds=void 0,this.spliceSimple(t,i,d,n);const p=t.slice(0,-1),m=(t,i,s)=>{if(o>0)for(let r=0;r<s;r++)t--,i--,this.spliceSmart(e,[...p,t,0],Number.MAX_SAFE_INTEGER,d[i].children,n,o-1)};let g=Math.min(h.children.length,c+i),f=d.length;for(const r of u.changes.sort(((e,t)=>t.originalStart-e.originalStart)))m(g,f,g-(r.originalStart+r.originalLength)),g=r.originalStart,f=r.modifiedStart-c,this.spliceSimple([...p,g],r.originalLength,a.f.slice(d,f,f+r.modifiedLength),n);m(g,f,g)}spliceSimple(e,t,i=a.f.empty(),{onDidCreateNode:s,onDidDeleteNode:o,diffIdentityProvider:r}){const{parentNode:l,listIndex:h,revealed:d,visible:c}=this.getParentNodeWithListIndex(e),u=[],p=a.f.map(i,(e=>this.createTreeNode(e,l,l.visible?1:0,d,u,s))),m=e[e.length-1],g=l.children.length>0;let f=0;for(let n=m;n>=0&&n<l.children.length;n--){const e=l.children[n];if(e.visible){f=e.visibleChildIndex;break}}const v=[];let b=0,_=0;for(const n of p)v.push(n),_+=n.renderNodeCount,n.visible&&(n.visibleChildIndex=f+b++);const y=(0,n.V4)(l.children,m,t,v);r?l.lastDiffIds?(0,n.V4)(l.lastDiffIds,m,t,v.map((e=>r.getId(e.element).toString()))):l.lastDiffIds=l.children.map((e=>r.getId(e.element).toString())):l.lastDiffIds=void 0;let w=0;for(const n of y)n.visible&&w++;if(0!==w)for(let n=m+v.length;n<l.children.length;n++){const e=l.children[n];e.visible&&(e.visibleChildIndex-=w)}if(l.visibleChildrenCount+=b-w,d&&c){const e=y.reduce(((e,t)=>e+(t.visible?t.renderNodeCount:0)),0);this._updateAncestorsRenderNodeCount(l,_-e),this.list.splice(h,e,u)}if(y.length>0&&o){const e=t=>{o(t),t.children.forEach(e)};y.forEach(e)}this._onDidSplice.fire({insertedNodes:v,deletedNodes:y});const S=l.children.length>0;g!==S&&this.setCollapsible(e.slice(0,-1),S);let C=l;for(;C;){if(2===C.visibility){this.refilterDelayer.trigger((()=>this.refilter()));break}C=C.parent}}rerender(e){if(0===e.length)throw new s.jh(this.user,"Invalid tree location");const{node:t,listIndex:i,revealed:n}=this.getTreeNodeWithListIndex(e);t.visible&&n&&this.list.splice(i,1,[t])}has(e){return this.hasTreeNode(e)}getListIndex(e){const{listIndex:t,visible:i,revealed:s}=this.getTreeNodeWithListIndex(e);return i&&s?t:-1}getListRenderCount(e){return this.getTreeNode(e).renderNodeCount}isCollapsible(e){return this.getTreeNode(e).collapsible}setCollapsible(e,t){const i=this.getTreeNode(e);"undefined"===typeof t&&(t=!i.collapsible);const s={collapsible:t};return this.eventBufferer.bufferEvents((()=>this._setCollapseState(e,s)))}isCollapsed(e){return this.getTreeNode(e).collapsed}setCollapsed(e,t,i){const s=this.getTreeNode(e);"undefined"===typeof t&&(t=!s.collapsed);const n={collapsed:t,recursive:i||!1};return this.eventBufferer.bufferEvents((()=>this._setCollapseState(e,n)))}_setCollapseState(e,t){const{node:i,listIndex:s,revealed:n}=this.getTreeNodeWithListIndex(e),o=this._setListNodeCollapseState(i,s,n,t);if(i!==this.root&&this.autoExpandSingleChildren&&o&&!c(t)&&i.collapsible&&!i.collapsed&&!t.recursive){let s=-1;for(let e=0;e<i.children.length;e++){if(i.children[e].visible){if(s>-1){s=-1;break}s=e}}s>-1&&this._setCollapseState([...e,s],t)}return o}_setListNodeCollapseState(e,t,i,s){const n=this._setNodeCollapseState(e,s,!1);if(!i||!e.visible||!n)return n;const o=e.renderNodeCount,r=this.updateNodeAfterCollapseChange(e),l=o-(-1===t?0:1);return this.list.splice(t+1,l,r.slice(1)),n}_setNodeCollapseState(e,t,i){let s;if(e===this.root?s=!1:(c(t)?(s=e.collapsible!==t.collapsible,e.collapsible=t.collapsible):e.collapsible?(s=e.collapsed!==t.collapsed,e.collapsed=t.collapsed):s=!1,s&&this._onDidChangeCollapseState.fire({node:e,deep:i})),!c(t)&&t.recursive)for(const n of e.children)s=this._setNodeCollapseState(n,t,!0)||s;return s}expandTo(e){this.eventBufferer.bufferEvents((()=>{let t=this.getTreeNode(e);for(;t.parent;)t=t.parent,e=e.slice(0,e.length-1),t.collapsed&&this._setCollapseState(e,{collapsed:!1,recursive:!1})}))}refilter(){const e=this.root.renderNodeCount,t=this.updateNodeAfterFilterChange(this.root);this.list.splice(0,e,t),this.refilterDelayer.cancel()}createTreeNode(e,t,i,s,n,o){const r={parent:t,element:e.element,children:[],depth:t.depth+1,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:"boolean"===typeof e.collapsible?e.collapsible:"undefined"!==typeof e.collapsed,collapsed:"undefined"===typeof e.collapsed?this.collapseByDefault:e.collapsed,renderNodeCount:1,visibility:1,visible:!0,filterData:void 0},l=this._filterNode(r,i);r.visibility=l,s&&n.push(r);const h=e.children||a.f.empty(),d=s&&0!==l&&!r.collapsed,c=a.f.map(h,(e=>this.createTreeNode(e,r,l,d,n,o)));let u=0,p=1;for(const a of c)r.children.push(a),p+=a.renderNodeCount,a.visible&&(a.visibleChildIndex=u++);return r.collapsible=r.collapsible||r.children.length>0,r.visibleChildrenCount=u,r.visible=2===l?u>0:1===l,r.visible?r.collapsed||(r.renderNodeCount=p):(r.renderNodeCount=0,s&&n.pop()),null===o||void 0===o||o(r),r}updateNodeAfterCollapseChange(e){const t=e.renderNodeCount,i=[];return this._updateNodeAfterCollapseChange(e,i),this._updateAncestorsRenderNodeCount(e.parent,i.length-t),i}_updateNodeAfterCollapseChange(e,t){if(!1===e.visible)return 0;if(t.push(e),e.renderNodeCount=1,!e.collapsed)for(const i of e.children)e.renderNodeCount+=this._updateNodeAfterCollapseChange(i,t);return this._onDidChangeRenderNodeCount.fire(e),e.renderNodeCount}updateNodeAfterFilterChange(e){const t=e.renderNodeCount,i=[];return this._updateNodeAfterFilterChange(e,e.visible?1:0,i),this._updateAncestorsRenderNodeCount(e.parent,i.length-t),i}_updateNodeAfterFilterChange(e,t,i,s=!0){let n;if(e!==this.root){if(n=this._filterNode(e,t),0===n)return e.visible=!1,e.renderNodeCount=0,!1;s&&i.push(e)}const o=i.length;e.renderNodeCount=e===this.root?0:1;let r=!1;if(e.collapsed&&0===n)e.visibleChildrenCount=0;else{let t=0;for(const o of e.children)r=this._updateNodeAfterFilterChange(o,n,i,s&&!e.collapsed)||r,o.visible&&(o.visibleChildIndex=t++);e.visibleChildrenCount=t}return e!==this.root&&(e.visible=2===n?r:1===n,e.visibility=n),e.visible?e.collapsed||(e.renderNodeCount+=i.length-o):(e.renderNodeCount=0,s&&i.pop()),this._onDidChangeRenderNodeCount.fire(e),e.visible}_updateAncestorsRenderNodeCount(e,t){if(0!==t)for(;e;)e.renderNodeCount+=t,this._onDidChangeRenderNodeCount.fire(e),e=e.parent}_filterNode(e,t){const i=this.filter?this.filter.filter(e.element,t):1;return"boolean"===typeof i?(e.filterData=void 0,i?1:0):h(i)?(e.filterData=i.data,d(i.visibility)):(e.filterData=void 0,d(i))}hasTreeNode(e,t=this.root){if(!e||0===e.length)return!0;const[i,...s]=e;return!(i<0||i>t.children.length)&&this.hasTreeNode(s,t.children[i])}getTreeNode(e,t=this.root){if(!e||0===e.length)return t;const[i,...n]=e;if(i<0||i>t.children.length)throw new s.jh(this.user,"Invalid tree location");return this.getTreeNode(n,t.children[i])}getTreeNodeWithListIndex(e){if(0===e.length)return{node:this.root,listIndex:-1,revealed:!0,visible:!1};const{parentNode:t,listIndex:i,revealed:n,visible:o}=this.getParentNodeWithListIndex(e),r=e[e.length-1];if(r<0||r>t.children.length)throw new s.jh(this.user,"Invalid tree location");const l=t.children[r];return{node:l,listIndex:i,revealed:n,visible:o&&l.visible}}getParentNodeWithListIndex(e,t=this.root,i=0,n=!0,o=!0){const[r,...l]=e;if(r<0||r>t.children.length)throw new s.jh(this.user,"Invalid tree location");for(let s=0;s<r;s++)i+=t.children[s].renderNodeCount;return n=n&&!t.collapsed,o=o&&t.visible,0===l.length?{parentNode:t,listIndex:i,revealed:n,visible:o}:this.getParentNodeWithListIndex(l,t.children[r],i+1,n,o)}getNode(e=[]){return this.getTreeNode(e)}getNodeLocation(e){const t=[];let i=e;for(;i.parent;)t.push(i.parent.children.indexOf(i)),i=i.parent;return t.reverse()}getParentNodeLocation(e){return 0===e.length?void 0:1===e.length?[]:(0,n.bS)(e)[0]}getFirstElementChild(e){const t=this.getTreeNode(e);if(0!==t.children.length)return t.children[0].element}}},9203:(e,t,i)=>{i.d(t,{_:()=>w,u:()=>_});var s=i(17421),n=i(29907),o=i(11555),r=i(42464),l=i(16624);function a(e){return{element:{elements:[e.element],incompressible:e.incompressible||!1},children:l.f.map(l.f.from(e.children),a),collapsible:e.collapsible,collapsed:e.collapsed}}function h(e){const t=[e.element],i=e.incompressible||!1;let s,n;for(;[n,s]=l.f.consume(l.f.from(e.children),2),1===n.length&&!n[0].incompressible;)e=n[0],t.push(e.element);return{element:{elements:t,incompressible:i},children:l.f.map(l.f.concat(n,s),h),collapsible:e.collapsible,collapsed:e.collapsed}}function d(e,t=0){let i;return i=t<e.element.elements.length-1?[d(e,t+1)]:l.f.map(l.f.from(e.children),(e=>d(e,0))),0===t&&e.element.incompressible?{element:e.element.elements[t],children:i,incompressible:!0,collapsible:e.collapsible,collapsed:e.collapsed}:{element:e.element.elements[t],children:i,collapsible:e.collapsible,collapsed:e.collapsed}}function c(e){return d(e,0)}function u(e,t,i){return e.element===t?Object.assign(Object.assign({},e),{children:i}):Object.assign(Object.assign({},e),{children:l.f.map(l.f.from(e.children),(e=>u(e,t,i)))})}class p{constructor(e,t,i={}){this.user=e,this.rootRef=null,this.nodes=new Map,this.model=new n.v(e,t,i),this.enabled="undefined"===typeof i.compressionEnabled||i.compressionEnabled,this.identityProvider=i.identityProvider}get onDidSplice(){return this.model.onDidSplice}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get onDidChangeRenderNodeCount(){return this.model.onDidChangeRenderNodeCount}setChildren(e,t=l.f.empty(),i){const s=i.diffIdentityProvider&&(n=i.diffIdentityProvider,{getId:e=>e.elements.map((e=>n.getId(e).toString())).join("\0")});var n;if(null===e){const e=l.f.map(t,this.enabled?h:a);return void this._setChildren(null,e,{diffIdentityProvider:s,diffDepth:1/0})}const o=this.nodes.get(e);if(!o)throw new Error("Unknown compressed tree node");const r=this.model.getNode(o),d=this.model.getParentNodeLocation(o),p=this.model.getNode(d),m=u(c(r),e,t),g=(this.enabled?h:a)(m),f=p.children.map((e=>e===r?g:e));this._setChildren(p.element,f,{diffIdentityProvider:s,diffDepth:r.depth-p.depth})}setCompressionEnabled(e){if(e===this.enabled)return;this.enabled=e;const t=this.model.getNode().children,i=l.f.map(t,c),s=l.f.map(i,e?h:a);this._setChildren(null,s,{diffIdentityProvider:this.identityProvider,diffDepth:1/0})}_setChildren(e,t,i){const s=new Set;this.model.setChildren(e,t,Object.assign(Object.assign({},i),{onDidCreateNode:e=>{for(const t of e.element.elements)s.add(t),this.nodes.set(t,e.element)},onDidDeleteNode:e=>{for(const t of e.element.elements)s.has(t)||this.nodes.delete(t)}}))}has(e){return this.nodes.has(e)}getListIndex(e){const t=this.getCompressedNode(e);return this.model.getListIndex(t)}getListRenderCount(e){const t=this.getCompressedNode(e);return this.model.getListRenderCount(t)}getNode(e){if("undefined"===typeof e)return this.model.getNode();const t=this.getCompressedNode(e);return this.model.getNode(t)}getNodeLocation(e){const t=this.model.getNodeLocation(e);return null===t?null:t.elements[t.elements.length-1]}getParentNodeLocation(e){const t=this.getCompressedNode(e),i=this.model.getParentNodeLocation(t);return null===i?null:i.elements[i.elements.length-1]}getFirstElementChild(e){const t=this.getCompressedNode(e);return this.model.getFirstElementChild(t)}isCollapsible(e){const t=this.getCompressedNode(e);return this.model.isCollapsible(t)}setCollapsible(e,t){const i=this.getCompressedNode(e);return this.model.setCollapsible(i,t)}isCollapsed(e){const t=this.getCompressedNode(e);return this.model.isCollapsed(t)}setCollapsed(e,t,i){const s=this.getCompressedNode(e);return this.model.setCollapsed(s,t,i)}expandTo(e){const t=this.getCompressedNode(e);this.model.expandTo(t)}rerender(e){const t=this.getCompressedNode(e);this.model.rerender(t)}refilter(){this.model.refilter()}getCompressedNode(e){if(null===e)return null;const t=this.nodes.get(e);if(!t)throw new o.jh(this.user,`Tree element not found: ${e}`);return t}}const m=e=>e[e.length-1];class g{constructor(e,t){this.unwrapper=e,this.node=t}get element(){return null===this.node.element?null:this.unwrapper(this.node.element)}get children(){return this.node.children.map((e=>new g(this.unwrapper,e)))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}class f{constructor(e,t,i={}){this.rootRef=null,this.elementMapper=i.elementMapper||m;const s=e=>this.elementMapper(e.elements);this.nodeMapper=new o.y2((e=>new g(s,e))),this.model=new p(e,function(e,t){return{splice(i,s,n){t.splice(i,s,n.map((t=>e.map(t))))},updateElementHeight(e,i){t.updateElementHeight(e,i)}}}(this.nodeMapper,t),function(e,t){return Object.assign(Object.assign({},t),{identityProvider:t.identityProvider&&{getId:i=>t.identityProvider.getId(e(i))},sorter:t.sorter&&{compare:(e,i)=>t.sorter.compare(e.elements[0],i.elements[0])},filter:t.filter&&{filter:(i,s)=>t.filter.filter(e(i),s)}})}(s,i))}get onDidSplice(){return r.Jh.map(this.model.onDidSplice,(({insertedNodes:e,deletedNodes:t})=>({insertedNodes:e.map((e=>this.nodeMapper.map(e))),deletedNodes:t.map((e=>this.nodeMapper.map(e)))})))}get onDidChangeCollapseState(){return r.Jh.map(this.model.onDidChangeCollapseState,(({node:e,deep:t})=>({node:this.nodeMapper.map(e),deep:t})))}get onDidChangeRenderNodeCount(){return r.Jh.map(this.model.onDidChangeRenderNodeCount,(e=>this.nodeMapper.map(e)))}setChildren(e,t=l.f.empty(),i={}){this.model.setChildren(e,t,i)}setCompressionEnabled(e){this.model.setCompressionEnabled(e)}has(e){return this.model.has(e)}getListIndex(e){return this.model.getListIndex(e)}getListRenderCount(e){return this.model.getListRenderCount(e)}getNode(e){return this.nodeMapper.map(this.model.getNode(e))}getNodeLocation(e){return e.element}getParentNodeLocation(e){return this.model.getParentNodeLocation(e)}getFirstElementChild(e){const t=this.model.getFirstElementChild(e);return null===t||"undefined"===typeof t?t:this.elementMapper(t.elements)}isCollapsible(e){return this.model.isCollapsible(e)}setCollapsible(e,t){return this.model.setCollapsible(e,t)}isCollapsed(e){return this.model.isCollapsed(e)}setCollapsed(e,t,i){return this.model.setCollapsed(e,t,i)}expandTo(e){return this.model.expandTo(e)}rerender(e){return this.model.rerender(e)}refilter(){return this.model.refilter()}getCompressedTreeNode(e=null){return this.model.getNode(e)}}var v=i(1304),b=function(e,t,i,s){var n,o=arguments.length,r=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,i,s);else for(var l=e.length-1;l>=0;l--)(n=e[l])&&(r=(o<3?n(r):o>3?n(t,i,r):n(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r};class _ extends s.DO{constructor(e,t,i,s,n={}){super(e,t,i,s,n),this.user=e}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}setChildren(e,t=l.f.empty(),i){this.model.setChildren(e,t,i)}rerender(e){void 0!==e?this.model.rerender(e):this.view.rerender()}hasElement(e){return this.model.has(e)}createModel(e,t,i){return new n.v(e,t,i)}}class y{constructor(e,t){this._compressedTreeNodeProvider=e,this.renderer=t,this.templateId=t.templateId,t.onDidChangeTwistieState&&(this.onDidChangeTwistieState=t.onDidChangeTwistieState)}get compressedTreeNodeProvider(){return this._compressedTreeNodeProvider()}renderTemplate(e){return{compressedTreeNode:void 0,data:this.renderer.renderTemplate(e)}}renderElement(e,t,i,s){const n=this.compressedTreeNodeProvider.getCompressedTreeNode(e.element);1===n.element.elements.length?(i.compressedTreeNode=void 0,this.renderer.renderElement(e,t,i.data,s)):(i.compressedTreeNode=n,this.renderer.renderCompressedElements(n,t,i.data,s))}disposeElement(e,t,i,s){var n,o,r,l;i.compressedTreeNode?null===(o=(n=this.renderer).disposeCompressedElements)||void 0===o||o.call(n,i.compressedTreeNode,t,i.data,s):null===(l=(r=this.renderer).disposeElement)||void 0===l||l.call(r,e,t,i.data,s)}disposeTemplate(e){this.renderer.disposeTemplate(e.data)}renderTwistie(e,t){return!!this.renderer.renderTwistie&&this.renderer.renderTwistie(e,t)}}b([v.B],y.prototype,"compressedTreeNodeProvider",null);class w extends _{constructor(e,t,i,s,n={}){const o=()=>this;super(e,t,i,s.map((e=>new y(o,e))),function(e,t){return t&&Object.assign(Object.assign({},t),{keyboardNavigationLabelProvider:t.keyboardNavigationLabelProvider&&{getKeyboardNavigationLabel(i){let s;try{s=e().getCompressedTreeNode(i)}catch(n){return t.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(i)}return 1===s.element.elements.length?t.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(i):t.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(s.element.elements)}}})}(o,n))}setChildren(e,t=l.f.empty(),i){this.model.setChildren(e,t,i)}createModel(e,t,i){return new f(e,t,i)}updateOptions(e={}){super.updateOptions(e),"undefined"!==typeof e.compressionEnabled&&this.model.setCompressionEnabled(e.compressionEnabled)}getCompressedTreeNode(e=null){return this.model.getCompressedTreeNode(e)}}},29907:(e,t,i)=>{i.d(t,{v:()=>r});var s=i(14366),n=i(11555),o=i(16624);class r{constructor(e,t,i={}){this.user=e,this.rootRef=null,this.nodes=new Map,this.nodesByIdentity=new Map,this.model=new s.G6(e,t,null,i),this.onDidSplice=this.model.onDidSplice,this.onDidChangeCollapseState=this.model.onDidChangeCollapseState,this.onDidChangeRenderNodeCount=this.model.onDidChangeRenderNodeCount,i.sorter&&(this.sorter={compare:(e,t)=>i.sorter.compare(e.element,t.element)}),this.identityProvider=i.identityProvider}setChildren(e,t=o.f.empty(),i={}){const s=this.getElementLocation(e);this._setChildren(s,this.preserveCollapseState(t),i)}_setChildren(e,t=o.f.empty(),i){const s=new Set,n=new Set;this.model.splice([...e,0],Number.MAX_VALUE,t,Object.assign(Object.assign({},i),{onDidCreateNode:e=>{var t;if(null===e.element)return;const o=e;if(s.add(o.element),this.nodes.set(o.element,o),this.identityProvider){const e=this.identityProvider.getId(o.element).toString();n.add(e),this.nodesByIdentity.set(e,o)}null===(t=i.onDidCreateNode)||void 0===t||t.call(i,o)},onDidDeleteNode:e=>{var t;if(null===e.element)return;const o=e;if(s.has(o.element)||this.nodes.delete(o.element),this.identityProvider){const e=this.identityProvider.getId(o.element).toString();n.has(e)||this.nodesByIdentity.delete(e)}null===(t=i.onDidDeleteNode)||void 0===t||t.call(i,o)}}))}preserveCollapseState(e=o.f.empty()){return this.sorter&&(e=[...e].sort(this.sorter.compare.bind(this.sorter))),o.f.map(e,(e=>{let t=this.nodes.get(e.element);if(!t&&this.identityProvider){const i=this.identityProvider.getId(e.element).toString();t=this.nodesByIdentity.get(i)}if(!t)return Object.assign(Object.assign({},e),{children:this.preserveCollapseState(e.children)});const i="boolean"===typeof e.collapsible?e.collapsible:t.collapsible,s="undefined"!==typeof e.collapsed?e.collapsed:t.collapsed;return Object.assign(Object.assign({},e),{collapsible:i,collapsed:s,children:this.preserveCollapseState(e.children)})}))}rerender(e){const t=this.getElementLocation(e);this.model.rerender(t)}getFirstElementChild(e=null){const t=this.getElementLocation(e);return this.model.getFirstElementChild(t)}has(e){return this.nodes.has(e)}getListIndex(e){const t=this.getElementLocation(e);return this.model.getListIndex(t)}getListRenderCount(e){const t=this.getElementLocation(e);return this.model.getListRenderCount(t)}isCollapsible(e){const t=this.getElementLocation(e);return this.model.isCollapsible(t)}setCollapsible(e,t){const i=this.getElementLocation(e);return this.model.setCollapsible(i,t)}isCollapsed(e){const t=this.getElementLocation(e);return this.model.isCollapsed(t)}setCollapsed(e,t,i){const s=this.getElementLocation(e);return this.model.setCollapsed(s,t,i)}expandTo(e){const t=this.getElementLocation(e);this.model.expandTo(t)}refilter(){this.model.refilter()}getNode(e=null){if(null===e)return this.model.getNode(this.model.rootRef);const t=this.nodes.get(e);if(!t)throw new n.jh(this.user,`Tree element not found: ${e}`);return t}getNodeLocation(e){return e.element}getParentNodeLocation(e){if(null===e)throw new n.jh(this.user,"Invalid getParentNodeLocation call");const t=this.nodes.get(e);if(!t)throw new n.jh(this.user,`Tree element not found: ${e}`);const i=this.model.getNodeLocation(t),s=this.model.getParentNodeLocation(i);return this.model.getNode(s).element}getElementLocation(e){if(null===e)return[];const t=this.nodes.get(e);if(!t)throw new n.jh(this.user,`Tree element not found: ${e}`);return this.model.getNodeLocation(t)}}},11555:(e,t,i)=>{var s;i.d(t,{Lx:()=>s,jh:()=>n,y2:()=>o}),function(e){e[e.Unknown=0]="Unknown",e[e.Twistie=1]="Twistie",e[e.Element=2]="Element",e[e.Filter=3]="Filter"}(s||(s={}));class n extends Error{constructor(e,t){super(`TreeError [${e}] ${t}`)}}class o{constructor(e){this.fn=e,this._map=new WeakMap}map(e){let t=this._map.get(e);return t||(t=this.fn(e),this._map.set(e,t)),t}}},27444:(e,t,i)=>{i.d(t,{x:()=>a});var s=i(90491),n=i(41828),o=i(24997),r=i(5644),l=i(55808);class a extends l.jG{onclick(e,t){this._register(s.ko(e,s.Bx.CLICK,(e=>t(new o.P(e)))))}onmousedown(e,t){this._register(s.ko(e,s.Bx.MOUSE_DOWN,(e=>t(new o.P(e)))))}onmouseover(e,t){this._register(s.ko(e,s.Bx.MOUSE_OVER,(e=>t(new o.P(e)))))}onmouseleave(e,t){this._register(s.ko(e,s.Bx.MOUSE_LEAVE,(e=>t(new o.P(e)))))}onkeydown(e,t){this._register(s.ko(e,s.Bx.KEY_DOWN,(e=>t(new n.Z(e)))))}onkeyup(e,t){this._register(s.ko(e,s.Bx.KEY_UP,(e=>t(new n.Z(e)))))}oninput(e,t){this._register(s.ko(e,s.Bx.INPUT,t))}onblur(e,t){this._register(s.ko(e,s.Bx.BLUR,t))}onfocus(e,t){this._register(s.ko(e,s.Bx.FOCUS,t))}ignoreGesture(e){r.q.ignoreTarget(e)}}},56495:(e,t,i)=>{i.d(t,{HJ:()=>c,LN:()=>a,YH:()=>d,rc:()=>l,wv:()=>h});var s=i(42464),n=i(55808),o=i(35819),r=function(e,t,i,s){return new(i||(i=Promise))((function(n,o){function r(e){try{a(s.next(e))}catch(t){o(t)}}function l(e){try{a(s.throw(e))}catch(t){o(t)}}function a(e){var t;e.done?n(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,l)}a((s=s.apply(e,t||[])).next())}))};class l extends n.jG{constructor(e,t="",i="",n=!0,o){super(),this._onDidChange=this._register(new s.vl),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=e,this._label=t,this._cssClass=i,this._enabled=n,this._actionCallback=o}get id(){return this._id}get label(){return this._label}set label(e){this._setLabel(e)}_setLabel(e){this._label!==e&&(this._label=e,this._onDidChange.fire({label:e}))}get tooltip(){return this._tooltip||""}set tooltip(e){this._setTooltip(e)}_setTooltip(e){this._tooltip!==e&&(this._tooltip=e,this._onDidChange.fire({tooltip:e}))}get class(){return this._cssClass}set class(e){this._setClass(e)}_setClass(e){this._cssClass!==e&&(this._cssClass=e,this._onDidChange.fire({class:e}))}get enabled(){return this._enabled}set enabled(e){this._setEnabled(e)}_setEnabled(e){this._enabled!==e&&(this._enabled=e,this._onDidChange.fire({enabled:e}))}get checked(){return this._checked}set checked(e){this._setChecked(e)}_setChecked(e){this._checked!==e&&(this._checked=e,this._onDidChange.fire({checked:e}))}run(e,t){return r(this,void 0,void 0,(function*(){this._actionCallback&&(yield this._actionCallback(e))}))}}class a extends n.jG{constructor(){super(...arguments),this._onBeforeRun=this._register(new s.vl),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new s.vl),this.onDidRun=this._onDidRun.event}run(e,t){return r(this,void 0,void 0,(function*(){if(!e.enabled)return;let i;this._onBeforeRun.fire({action:e});try{yield this.runAction(e,t)}catch(s){i=s}this._onDidRun.fire({action:e,error:i})}))}runAction(e,t){return r(this,void 0,void 0,(function*(){yield e.run(t)}))}}class h extends l{constructor(e){super(h.ID,e,e?"separator text":"separator"),this.checked=!1,this.enabled=!1}}h.ID="vs.actions.separator";class d{constructor(e,t,i,s){this.tooltip="",this.enabled=!0,this.checked=void 0,this.id=e,this.label=t,this.class=s,this._actions=i}get actions(){return this._actions}dispose(){}run(){return r(this,void 0,void 0,(function*(){}))}}class c extends l{constructor(){super(c.ID,o.kg("submenu.empty","(empty)"),void 0,!1)}}c.ID="vs.actions.empty"},48640:(e,t,i)=>{function s(e,t=0){return e[e.length-(1+t)]}function n(e){if(0===e.length)throw new Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function o(e,t,i=(e,t)=>e===t){if(e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(let s=0,n=e.length;s<n;s++)if(!i(e[s],t[s]))return!1;return!0}function r(e,t){const i=e.length-1;t<i&&(e[t]=e[i]),e.pop()}function l(e,t,i){return function(e,t){let i=0,s=e-1;for(;i<=s;){const e=(i+s)/2|0,n=t(e);if(n<0)i=e+1;else{if(!(n>0))return e;s=e-1}}return-(i+1)}(e.length,(s=>i(e[s],t)))}function a(e,t){let i=0,s=e.length;if(0===s)return 0;for(;i<s;){const n=Math.floor((i+s)/2);t(e[n])?s=n:i=n+1}return i}function h(e,t,i){if((e|=0)>=t.length)throw new TypeError("invalid index");const s=t[Math.floor(t.length*Math.random())],n=[],o=[],r=[];for(const l of t){const e=i(l,s);e<0?n.push(l):e>0?o.push(l):r.push(l)}return e<n.length?h(e,n,i):e<n.length+r.length?r[0]:h(e-(n.length+r.length),o,i)}function d(e,t){const i=[];let s;for(const n of e.slice(0).sort(t))s&&0===t(s[0],n)?s.push(n):(s=[n],i.push(s));return i}function c(e){return e.filter((e=>!!e))}function u(e){return!Array.isArray(e)||0===e.length}function p(e){return Array.isArray(e)&&e.length>0}function m(e,t=e=>e){const i=new Set;return e.filter((e=>{const s=t(e);return!i.has(s)&&(i.add(s),!0)}))}function g(e,t){const i=function(e,t){for(let i=e.length-1;i>=0;i--){if(t(e[i]))return i}return-1}(e,t);if(-1!==i)return e[i]}function f(e,t){return e.length>0?e[0]:t}function v(e,t){let i="number"===typeof t?e:0;"number"===typeof t?i=e:(i=0,t=e);const s=[];if(i<=t)for(let n=i;n<t;n++)s.push(n);else for(let n=i;n>t;n--)s.push(n);return s}function b(e,t,i){const s=e.slice(0,t),n=e.slice(t);return s.concat(i,n)}function _(e,t){const i=e.indexOf(t);i>-1&&(e.splice(i,1),e.unshift(t))}function y(e,t){const i=e.indexOf(t);i>-1&&(e.splice(i,1),e.push(t))}function w(e,t){for(const i of t)e.push(i)}function S(e){return Array.isArray(e)?e:[e]}function C(e,t,i,s){const n=D(e,t),o=e.splice(n,i);return function(e,t,i){const s=D(e,t),n=e.length,o=i.length;e.length=n+o;for(let r=n-1;r>=s;r--)e[r+o]=e[r];for(let r=0;r<o;r++)e[r+s]=i[r]}(e,n,s),o}function D(e,t){return t<0?Math.max(t+e.length,0):Math.min(t,e.length)}var E;function x(e,t){return(i,s)=>t(e(i),e(s))}i.d(t,{$z:()=>d,Ct:()=>u,E4:()=>w,EI:()=>p,El:()=>l,Fy:()=>f,Jw:()=>A,Ly:()=>I,RT:()=>s,SO:()=>h,U9:()=>N,UH:()=>r,Uk:()=>g,V4:()=>C,VE:()=>x,Yc:()=>c,_A:()=>_,_j:()=>S,aB:()=>a,aI:()=>o,bS:()=>n,dM:()=>m,j3:()=>T,nK:()=>b,r7:()=>y,vj:()=>k,y1:()=>v}),function(e){e.isLessThan=function(e){return e<0},e.isGreaterThan=function(e){return e>0},e.isNeitherLessOrGreaterThan=function(e){return 0===e},e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0}(E||(E={}));const N=(e,t)=>e-t;function k(e,t){if(0===e.length)return;let i=e[0];for(let s=1;s<e.length;s++){const n=e[s];t(n,i)>0&&(i=n)}return i}function A(e,t){if(0===e.length)return;let i=e[0];for(let s=1;s<e.length;s++){const n=e[s];t(n,i)>=0&&(i=n)}return i}function I(e,t){return k(e,((e,i)=>-t(e,i)))}class T{constructor(e){this.items=e,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(e){let t=this.firstIdx;for(;t<this.items.length&&e(this.items[t]);)t++;const i=t===this.firstIdx?null:this.items.slice(this.firstIdx,t);return this.firstIdx=t,i}takeFromEndWhile(e){let t=this.lastIdx;for(;t>=0&&e(this.items[t]);)t--;const i=t===this.lastIdx?null:this.items.slice(t+1,this.lastIdx+1);return this.lastIdx=t,i}peek(){if(0!==this.length)return this.items[this.firstIdx]}dequeue(){const e=this.items[this.firstIdx];return this.firstIdx++,e}takeCount(e){const t=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,t}}},46836:(e,t,i)=>{function s(e,t){if(!e)throw new Error(t?`Assertion failed (${t})`:"Assertion Failed")}i.d(t,{ok:()=>s})},20512:(e,t,i)=>{i.d(t,{$1:()=>_,AE:()=>N,EQ:()=>b,HC:()=>x,PK:()=>u,Qg:()=>d,SS:()=>c,Th:()=>f,Zv:()=>E,bI:()=>A,cx:()=>C,hW:()=>m,kb:()=>D,pc:()=>y,uC:()=>S,vb:()=>w,ve:()=>g,wR:()=>v});var s=i(69549),n=i(75909),o=i(42464),r=i(55808),l=i(55977),a=function(e,t,i,s){return new(i||(i=Promise))((function(n,o){function r(e){try{a(s.next(e))}catch(t){o(t)}}function l(e){try{a(s.throw(e))}catch(t){o(t)}}function a(e){var t;e.done?n(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,l)}a((s=s.apply(e,t||[])).next())}))},h=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,i=e[Symbol.asyncIterator];return i?i.call(e):(e="function"===typeof __values?__values(e):e[Symbol.iterator](),t={},s("next"),s("throw"),s("return"),t[Symbol.asyncIterator]=function(){return this},t);function s(i){t[i]=e[i]&&function(t){return new Promise((function(s,n){(function(e,t,i,s){Promise.resolve(s).then((function(t){e({value:t,done:i})}),t)})(s,n,(t=e[i](t)).done,t.value)}))}}};function d(e){return!!e&&"function"===typeof e.then}function c(e){const t=new s.Q,i=e(t.token),o=new Promise(((e,s)=>{const o=t.token.onCancellationRequested((()=>{o.dispose(),t.dispose(),s(new n.AL)}));Promise.resolve(i).then((i=>{o.dispose(),t.dispose(),e(i)}),(e=>{o.dispose(),t.dispose(),s(e)}))}));return new class{cancel(){t.cancel()}then(e,t){return o.then(e,t)}catch(e){return this.then(void 0,e)}finally(e){return o.finally(e)}}}function u(e,t,i){return new Promise(((s,n)=>{const o=t.onCancellationRequested((()=>{o.dispose(),s(i)}));e.then(s,n).finally((()=>o.dispose()))}))}class p{constructor(){this.activePromise=null,this.queuedPromise=null,this.queuedPromiseFactory=null}queue(e){if(this.activePromise){if(this.queuedPromiseFactory=e,!this.queuedPromise){const e=()=>{this.queuedPromise=null;const e=this.queue(this.queuedPromiseFactory);return this.queuedPromiseFactory=null,e};this.queuedPromise=new Promise((t=>{this.activePromise.then(e,e).then(t)}))}return new Promise(((e,t)=>{this.queuedPromise.then(e,t)}))}return this.activePromise=e(),new Promise(((e,t)=>{this.activePromise.then((t=>{this.activePromise=null,e(t)}),(e=>{this.activePromise=null,t(e)}))}))}}const m=Symbol("MicrotaskDelay");class g{constructor(e){this.defaultDelay=e,this.deferred=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}trigger(e,t=this.defaultDelay){this.task=e,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise(((e,t)=>{this.doResolve=e,this.doReject=t})).then((()=>{if(this.completionPromise=null,this.doResolve=null,this.task){const e=this.task;return this.task=null,e()}})));const i=()=>{var e;this.deferred=null,null===(e=this.doResolve)||void 0===e||e.call(this,null)};return this.deferred=t===m?(e=>{let t=!0;return queueMicrotask((()=>{t&&(t=!1,e())})),{isTriggered:()=>t,dispose:()=>{t=!1}}})(i):((e,t)=>{let i=!0;const s=setTimeout((()=>{i=!1,t()}),e);return{isTriggered:()=>i,dispose:()=>{clearTimeout(s),i=!1}}})(t,i),this.completionPromise}isTriggered(){var e;return!!(null===(e=this.deferred)||void 0===e?void 0:e.isTriggered())}cancel(){var e;this.cancelTimeout(),this.completionPromise&&(null===(e=this.doReject)||void 0===e||e.call(this,new n.AL),this.completionPromise=null)}cancelTimeout(){var e;null===(e=this.deferred)||void 0===e||e.dispose(),this.deferred=null}dispose(){this.cancel()}}class f{constructor(e){this.delayer=new g(e),this.throttler=new p}trigger(e,t){return this.delayer.trigger((()=>this.throttler.queue(e)),t)}dispose(){this.delayer.dispose()}}function v(e,t){return t?new Promise(((i,s)=>{const o=setTimeout((()=>{r.dispose(),i()}),e),r=t.onCancellationRequested((()=>{clearTimeout(o),r.dispose(),s(new n.AL)}))})):c((t=>v(e,t)))}function b(e,t=0){const i=setTimeout(e,t);return(0,r.s)((()=>clearTimeout(i)))}function _(e,t=e=>!!e,i=null){let s=0;const n=e.length,o=()=>{if(s>=n)return Promise.resolve(i);const r=e[s++];return Promise.resolve(r()).then((e=>t(e)?Promise.resolve(e):o()))};return o()}class y{constructor(e,t){this._token=-1,"function"===typeof e&&"number"===typeof t&&this.setIfNotSet(e,t)}dispose(){this.cancel()}cancel(){-1!==this._token&&(clearTimeout(this._token),this._token=-1)}cancelAndSet(e,t){this.cancel(),this._token=setTimeout((()=>{this._token=-1,e()}),t)}setIfNotSet(e,t){-1===this._token&&(this._token=setTimeout((()=>{this._token=-1,e()}),t))}}class w{constructor(){this._token=-1}dispose(){this.cancel()}cancel(){-1!==this._token&&(clearInterval(this._token),this._token=-1)}cancelAndSet(e,t){this.cancel(),this._token=setInterval((()=>{e()}),t)}}class S{constructor(e,t){this.timeoutToken=-1,this.runner=e,this.timeout=t,this.timeoutHandler=this.onTimeout.bind(this)}dispose(){this.cancel(),this.runner=null}cancel(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)}schedule(e=this.timeout){this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,e)}get delay(){return this.timeout}set delay(e){this.timeout=e}isScheduled(){return-1!==this.timeoutToken}onTimeout(){this.timeoutToken=-1,this.runner&&this.doRun()}doRun(){var e;null===(e=this.runner)||void 0===e||e.call(this)}}let C;C="function"!==typeof requestIdleCallback||"function"!==typeof cancelIdleCallback?e=>{(0,l._p)((()=>{if(t)return;const i=Date.now()+15;e(Object.freeze({didTimeout:!0,timeRemaining:()=>Math.max(0,i-Date.now())}))}));let t=!1;return{dispose(){t||(t=!0)}}}:(e,t)=>{const i=requestIdleCallback(e,"number"===typeof t?{timeout:t}:void 0);let s=!1;return{dispose(){s||(s=!0,cancelIdleCallback(i))}}};class D{constructor(e){this._didRun=!1,this._executor=()=>{try{this._value=e()}catch(t){this._error=t}finally{this._didRun=!0}},this._handle=C((()=>this._executor()))}dispose(){this._handle.dispose()}get value(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value}get isInitialized(){return this._didRun}}class E{constructor(){this.rejected=!1,this.resolved=!1,this.p=new Promise(((e,t)=>{this.completeCallback=e,this.errorCallback=t}))}get isRejected(){return this.rejected}get isSettled(){return this.rejected||this.resolved}complete(e){return new Promise((t=>{this.completeCallback(e),this.resolved=!0,t()}))}cancel(){new Promise((e=>{this.errorCallback(new n.AL),this.rejected=!0,e()}))}}var x;!function(e){e.settled=function(e){return a(this,void 0,void 0,(function*(){let t;const i=yield Promise.all(e.map((e=>e.then((e=>e),(e=>{t||(t=e)})))));if("undefined"!==typeof t)throw t;return i}))},e.withAsyncBody=function(e){return new Promise(((t,i)=>a(this,void 0,void 0,(function*(){try{yield e(t,i)}catch(s){i(s)}}))))}}(x||(x={}));class N{constructor(e){this._state=0,this._results=[],this._error=null,this._onStateChanged=new o.vl,queueMicrotask((()=>a(this,void 0,void 0,(function*(){const t={emitOne:e=>this.emitOne(e),emitMany:e=>this.emitMany(e),reject:e=>this.reject(e)};try{yield Promise.resolve(e(t)),this.resolve()}catch(i){this.reject(i)}finally{t.emitOne=void 0,t.emitMany=void 0,t.reject=void 0}}))))}static fromArray(e){return new N((t=>{t.emitMany(e)}))}static fromPromise(e){return new N((t=>a(this,void 0,void 0,(function*(){t.emitMany(yield e)}))))}static fromPromises(e){return new N((t=>a(this,void 0,void 0,(function*(){yield Promise.all(e.map((e=>a(this,void 0,void 0,(function*(){return t.emitOne(yield e)})))))}))))}static merge(e){return new N((t=>a(this,void 0,void 0,(function*(){yield Promise.all(e.map((e=>{var i,s;return a(this,void 0,void 0,(function*(){var n,o;try{for(i=h(e);!(s=yield i.next()).done;){const e=s.value;t.emitOne(e)}}catch(r){n={error:r}}finally{try{s&&!s.done&&(o=i.return)&&(yield o.call(i))}finally{if(n)throw n.error}}}))})))}))))}[Symbol.asyncIterator](){let e=0;return{next:()=>a(this,void 0,void 0,(function*(){for(;;){if(2===this._state)throw this._error;if(e<this._results.length)return{done:!1,value:this._results[e++]};if(1===this._state)return{done:!0,value:void 0};yield o.Jh.toPromise(this._onStateChanged.event)}}))}}static map(e,t){return new N((i=>a(this,void 0,void 0,(function*(){var s,n;try{for(var o,r=h(e);!(o=yield r.next()).done;){const e=o.value;i.emitOne(t(e))}}catch(l){s={error:l}}finally{try{o&&!o.done&&(n=r.return)&&(yield n.call(r))}finally{if(s)throw s.error}}}))))}map(e){return N.map(this,e)}static filter(e,t){return new N((i=>a(this,void 0,void 0,(function*(){var s,n;try{for(var o,r=h(e);!(o=yield r.next()).done;){const e=o.value;t(e)&&i.emitOne(e)}}catch(l){s={error:l}}finally{try{o&&!o.done&&(n=r.return)&&(yield n.call(r))}finally{if(s)throw s.error}}}))))}filter(e){return N.filter(this,e)}static coalesce(e){return N.filter(e,(e=>!!e))}coalesce(){return N.coalesce(this)}static toPromise(e){var t,i,s,n;return a(this,void 0,void 0,(function*(){const o=[];try{for(t=h(e);!(i=yield t.next()).done;){const e=i.value;o.push(e)}}catch(r){s={error:r}}finally{try{i&&!i.done&&(n=t.return)&&(yield n.call(t))}finally{if(s)throw s.error}}return o}))}toPromise(){return N.toPromise(this)}emitOne(e){0===this._state&&(this._results.push(e),this._onStateChanged.fire())}emitMany(e){0===this._state&&(this._results=this._results.concat(e),this._onStateChanged.fire())}resolve(){0===this._state&&(this._state=1,this._onStateChanged.fire())}reject(e){0===this._state&&(this._state=2,this._error=e,this._onStateChanged.fire())}}N.EMPTY=N.fromArray([]);class k extends N{constructor(e,t){super(t),this._source=e}cancel(){this._source.cancel()}}function A(e){const t=new s.Q,i=e(t.token);return new k(t,(e=>a(this,void 0,void 0,(function*(){var s,o;const r=t.token.onCancellationRequested((()=>{r.dispose(),t.dispose(),e.reject(new n.AL)}));try{try{for(var l,a=h(i);!(l=yield a.next()).done;){const i=l.value;if(t.token.isCancellationRequested)return;e.emitOne(i)}}catch(d){s={error:d}}finally{try{l&&!l.done&&(o=a.return)&&(yield o.call(a))}finally{if(s)throw s.error}}r.dispose(),t.dispose()}catch(c){r.dispose(),t.dispose(),e.reject(c)}}))))}},52756:(e,t,i)=>{i.d(t,{$l:()=>l,Gs:()=>u,MB:()=>r,Sw:()=>d,bb:()=>h,gN:()=>a,pJ:()=>c});var s=i(45764).Buffer;const n="undefined"!==typeof s;let o;class r{constructor(e){this.buffer=e,this.byteLength=this.buffer.byteLength}static wrap(e){return n&&!s.isBuffer(e)&&(e=s.from(e.buffer,e.byteOffset,e.byteLength)),new r(e)}toString(){return n?this.buffer.toString():(o||(o=new TextDecoder),o.decode(this.buffer))}}function l(e,t){return(e[t+0]|0)>>>0|e[t+1]<<8>>>0}function a(e,t,i){e[i+0]=255&t,t>>>=8,e[i+1]=255&t}function h(e,t){return e[t]*Math.pow(2,24)+e[t+1]*Math.pow(2,16)+e[t+2]*Math.pow(2,8)+e[t+3]}function d(e,t,i){e[i+3]=t,t>>>=8,e[i+2]=t,t>>>=8,e[i+1]=t,t>>>=8,e[i]=t}function c(e,t){return e[t]}function u(e,t,i){e[i]=t}},810:(e,t,i)=>{i.d(t,{V:()=>n,o:()=>s});class s{constructor(e){this.fn=e,this.lastCache=void 0,this.lastArgKey=void 0}get(e){const t=JSON.stringify(e);return this.lastArgKey!==t&&(this.lastArgKey=t,this.lastCache=this.fn(e)),this.lastCache}}class n{constructor(e){this.fn=e,this._map=new Map}get cachedValues(){return this._map}get(e){if(this._map.has(e))return this._map.get(e);const t=this.fn(e);return this._map.set(e,t),t}}},69549:(e,t,i)=>{i.d(t,{Q:()=>l,X:()=>o});var s=i(42464);const n=Object.freeze((function(e,t){const i=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(i)}}}));var o;!function(e){e.isCancellationToken=function(t){return t===e.None||t===e.Cancelled||(t instanceof r||!(!t||"object"!==typeof t)&&("boolean"===typeof t.isCancellationRequested&&"function"===typeof t.onCancellationRequested))},e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:s.Jh.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:n})}(o||(o={}));class r{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?n:(this._emitter||(this._emitter=new s.vl),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class l{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new r),this._token}cancel(){this._token?this._token instanceof r&&this._token.cancel():this._token=o.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof r&&this._token.dispose():this._token=o.None}}},74379:(e,t,i)=>{function s(e,t){const i=Math.pow(10,t);return Math.round(e*i)/i}i.d(t,{$J:()=>r,Q1:()=>l,bU:()=>n});class n{constructor(e,t,i,n=1){this._rgbaBrand=void 0,this.r=0|Math.min(255,Math.max(0,e)),this.g=0|Math.min(255,Math.max(0,t)),this.b=0|Math.min(255,Math.max(0,i)),this.a=s(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a}}class o{constructor(e,t,i,n){this._hslaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=s(Math.max(Math.min(1,t),0),3),this.l=s(Math.max(Math.min(1,i),0),3),this.a=s(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a}static fromRGBA(e){const t=e.r/255,i=e.g/255,s=e.b/255,n=e.a,r=Math.max(t,i,s),l=Math.min(t,i,s);let a=0,h=0;const d=(l+r)/2,c=r-l;if(c>0){switch(h=Math.min(d<=.5?c/(2*d):c/(2-2*d),1),r){case t:a=(i-s)/c+(i<s?6:0);break;case i:a=(s-t)/c+2;break;case s:a=(t-i)/c+4}a*=60,a=Math.round(a)}return new o(a,h,d,n)}static _hue2rgb(e,t,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?e+6*(t-e)*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}static toRGBA(e){const t=e.h/360,{s:i,l:s,a:r}=e;let l,a,h;if(0===i)l=a=h=s;else{const e=s<.5?s*(1+i):s+i-s*i,n=2*s-e;l=o._hue2rgb(n,e,t+1/3),a=o._hue2rgb(n,e,t),h=o._hue2rgb(n,e,t-1/3)}return new n(Math.round(255*l),Math.round(255*a),Math.round(255*h),r)}}class r{constructor(e,t,i,n){this._hsvaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=s(Math.max(Math.min(1,t),0),3),this.v=s(Math.max(Math.min(1,i),0),3),this.a=s(Math.max(Math.min(1,n),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a}static fromRGBA(e){const t=e.r/255,i=e.g/255,s=e.b/255,n=Math.max(t,i,s),o=n-Math.min(t,i,s),l=0===n?0:o/n;let a;return a=0===o?0:n===t?((i-s)/o%6+6)%6:n===i?(s-t)/o+2:(t-i)/o+4,new r(Math.round(60*a),l,n,e.a)}static toRGBA(e){const{h:t,s:i,v:s,a:o}=e,r=s*i,l=r*(1-Math.abs(t/60%2-1)),a=s-r;let[h,d,c]=[0,0,0];return t<60?(h=r,d=l):t<120?(h=l,d=r):t<180?(d=r,c=l):t<240?(d=l,c=r):t<300?(h=l,c=r):t<=360&&(h=r,c=l),h=Math.round(255*(h+a)),d=Math.round(255*(d+a)),c=Math.round(255*(c+a)),new n(h,d,c,o)}}class l{constructor(e){if(!e)throw new Error("Color needs a value");if(e instanceof n)this.rgba=e;else if(e instanceof o)this._hsla=e,this.rgba=o.toRGBA(e);else{if(!(e instanceof r))throw new Error("Invalid color ctor argument");this._hsva=e,this.rgba=r.toRGBA(e)}}static fromHex(e){return l.Format.CSS.parseHex(e)||l.red}get hsla(){return this._hsla?this._hsla:o.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:r.fromRGBA(this.rgba)}equals(e){return!!e&&n.equals(this.rgba,e.rgba)&&o.equals(this.hsla,e.hsla)&&r.equals(this.hsva,e.hsva)}getRelativeLuminance(){return s(.2126*l._relativeLuminanceForComponent(this.rgba.r)+.7152*l._relativeLuminanceForComponent(this.rgba.g)+.0722*l._relativeLuminanceForComponent(this.rgba.b),4)}static _relativeLuminanceForComponent(e){const t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}isLighter(){return(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3>=128}isLighterThan(e){return this.getRelativeLuminance()>e.getRelativeLuminance()}isDarkerThan(e){return this.getRelativeLuminance()<e.getRelativeLuminance()}lighten(e){return new l(new o(this.hsla.h,this.hsla.s,this.hsla.l+this.hsla.l*e,this.hsla.a))}darken(e){return new l(new o(this.hsla.h,this.hsla.s,this.hsla.l-this.hsla.l*e,this.hsla.a))}transparent(e){const{r:t,g:i,b:s,a:o}=this.rgba;return new l(new n(t,i,s,o*e))}isTransparent(){return 0===this.rgba.a}isOpaque(){return 1===this.rgba.a}opposite(){return new l(new n(255-this.rgba.r,255-this.rgba.g,255-this.rgba.b,this.rgba.a))}toString(){return this._toString||(this._toString=l.Format.CSS.format(this)),this._toString}static getLighterColor(e,t,i){if(e.isLighterThan(t))return e;i=i||.5;const s=e.getRelativeLuminance(),n=t.getRelativeLuminance();return i=i*(n-s)/n,e.lighten(i)}static getDarkerColor(e,t,i){if(e.isDarkerThan(t))return e;i=i||.5;const s=e.getRelativeLuminance();return i=i*(s-t.getRelativeLuminance())/s,e.darken(i)}}l.white=new l(new n(255,255,255,1)),l.black=new l(new n(0,0,0,1)),l.red=new l(new n(255,0,0,1)),l.blue=new l(new n(0,0,255,1)),l.green=new l(new n(0,255,0,1)),l.cyan=new l(new n(0,255,255,1)),l.lightgrey=new l(new n(211,211,211,1)),l.transparent=new l(new n(0,0,0,0)),function(e){let t;!function(t){let i;!function(t){function i(e){const t=e.toString(16);return 2!==t.length?"0"+t:t}function s(e){switch(e){case 48:return 0;case 49:return 1;case 50:return 2;case 51:return 3;case 52:return 4;case 53:return 5;case 54:return 6;case 55:return 7;case 56:return 8;case 57:return 9;case 97:case 65:return 10;case 98:case 66:return 11;case 99:case 67:return 12;case 100:case 68:return 13;case 101:case 69:return 14;case 102:case 70:return 15}return 0}t.formatRGB=function(t){return 1===t.rgba.a?`rgb(${t.rgba.r}, ${t.rgba.g}, ${t.rgba.b})`:e.Format.CSS.formatRGBA(t)},t.formatRGBA=function(e){return`rgba(${e.rgba.r}, ${e.rgba.g}, ${e.rgba.b}, ${+e.rgba.a.toFixed(2)})`},t.formatHSL=function(t){return 1===t.hsla.a?`hsl(${t.hsla.h}, ${(100*t.hsla.s).toFixed(2)}%, ${(100*t.hsla.l).toFixed(2)}%)`:e.Format.CSS.formatHSLA(t)},t.formatHSLA=function(e){return`hsla(${e.hsla.h}, ${(100*e.hsla.s).toFixed(2)}%, ${(100*e.hsla.l).toFixed(2)}%, ${e.hsla.a.toFixed(2)})`},t.formatHex=function(e){return`#${i(e.rgba.r)}${i(e.rgba.g)}${i(e.rgba.b)}`},t.formatHexA=function(t,s=!1){return s&&1===t.rgba.a?e.Format.CSS.formatHex(t):`#${i(t.rgba.r)}${i(t.rgba.g)}${i(t.rgba.b)}${i(Math.round(255*t.rgba.a))}`},t.format=function(t){return t.isOpaque()?e.Format.CSS.formatHex(t):e.Format.CSS.formatRGBA(t)},t.parseHex=function(t){const i=t.length;if(0===i)return null;if(35!==t.charCodeAt(0))return null;if(7===i){const i=16*s(t.charCodeAt(1))+s(t.charCodeAt(2)),o=16*s(t.charCodeAt(3))+s(t.charCodeAt(4)),r=16*s(t.charCodeAt(5))+s(t.charCodeAt(6));return new e(new n(i,o,r,1))}if(9===i){const i=16*s(t.charCodeAt(1))+s(t.charCodeAt(2)),o=16*s(t.charCodeAt(3))+s(t.charCodeAt(4)),r=16*s(t.charCodeAt(5))+s(t.charCodeAt(6)),l=16*s(t.charCodeAt(7))+s(t.charCodeAt(8));return new e(new n(i,o,r,l/255))}if(4===i){const i=s(t.charCodeAt(1)),o=s(t.charCodeAt(2)),r=s(t.charCodeAt(3));return new e(new n(16*i+i,16*o+o,16*r+r))}if(5===i){const i=s(t.charCodeAt(1)),o=s(t.charCodeAt(2)),r=s(t.charCodeAt(3)),l=s(t.charCodeAt(4));return new e(new n(16*i+i,16*o+o,16*r+r,(16*l+l)/255))}return null}}(i=t.CSS||(t.CSS={}))}(t=e.Format||(e.Format={}))}(l||(l={}))},80540:(e,t,i)=>{i.d(t,{Es:()=>o});var s=i(20512);const n=new s.kb((()=>{const e=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});return{collator:e,collatorIsNumeric:e.resolvedOptions().numeric}}));new s.kb((()=>({collator:new Intl.Collator(void 0,{numeric:!0})}))),new s.kb((()=>({collator:new Intl.Collator(void 0,{numeric:!0,sensitivity:"accent"})})));function o(e,t,i){const s=e.toLowerCase(),o=t.toLowerCase(),r=function(e,t,i){const s=e.toLowerCase(),n=t.toLowerCase(),o=s.startsWith(i),r=n.startsWith(i);if(o!==r)return o?-1:1;if(o&&r){if(s.length<n.length)return-1;if(s.length>n.length)return 1}return 0}(e,t,i);if(r)return r;const l=s.endsWith(i);if(l!==o.endsWith(i))return l?-1:1;const a=function(e,t){const i=e||"",s=t||"",o=n.value.collator.compare(i,s);return n.value.collatorIsNumeric&&0===o&&i!==s?i<s?-1:1:o}(s,o);return 0!==a?a:s.localeCompare(o)}},1304:(e,t,i)=>{function s(e,t,i){let s=null,n=null;if("function"===typeof i.value?(s="value",n=i.value,n.length):"function"===typeof i.get&&(s="get",n=i.get),!n)throw new Error("not supported");const o=`$memoize$${t}`;i[s]=function(...e){return this.hasOwnProperty(o)||Object.defineProperty(this,o,{configurable:!1,enumerable:!1,writable:!1,value:n.apply(this,e)}),this[o]}}i.d(t,{B:()=>s})},88608:(e,t,i)=>{i.d(t,{uP:()=>d,F1:()=>r});class s{constructor(e,t,i,s){this.originalStart=e,this.originalLength=t,this.modifiedStart=i,this.modifiedLength=s}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}var n=i(72302);class o{constructor(e){this.source=e}getElements(){const e=this.source,t=new Int32Array(e.length);for(let i=0,s=e.length;i<s;i++)t[i]=e.charCodeAt(i);return t}}function r(e,t,i){return new d(new o(e),new o(t)).ComputeDiff(i).changes}class l{static Assert(e,t){if(!e)throw new Error(t)}}class a{static Copy(e,t,i,s,n){for(let o=0;o<n;o++)i[s+o]=e[t+o]}static Copy2(e,t,i,s,n){for(let o=0;o<n;o++)i[s+o]=e[t+o]}}class h{constructor(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}MarkNextChange(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new s(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class d{constructor(e,t,i=null){this.ContinueProcessingPredicate=i,this._originalSequence=e,this._modifiedSequence=t;const[s,n,o]=d._getElements(e),[r,l,a]=d._getElements(t);this._hasStrings=o&&a,this._originalStringElements=s,this._originalElementsOrHash=n,this._modifiedStringElements=r,this._modifiedElementsOrHash=l,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"===typeof e[0]}static _getElements(e){const t=e.getElements();if(d._isStringArray(t)){const e=new Int32Array(t.length);for(let i=0,s=t.length;i<s;i++)e[i]=(0,n.e2)(t[i],0);return[t,e,!0]}return t instanceof Int32Array?[[],t,!1]:[[],new Int32Array(t),!1]}ElementsAreEqual(e,t){return this._originalElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._modifiedStringElements[t])}ElementsAreStrictEqual(e,t){if(!this.ElementsAreEqual(e,t))return!1;return d._getStrictElement(this._originalSequence,e)===d._getStrictElement(this._modifiedSequence,t)}static _getStrictElement(e,t){return"function"===typeof e.getStrictElement?e.getStrictElement(t):null}OriginalElementsAreEqual(e,t){return this._originalElementsOrHash[e]===this._originalElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._originalStringElements[t])}ModifiedElementsAreEqual(e,t){return this._modifiedElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._modifiedStringElements[e]===this._modifiedStringElements[t])}ComputeDiff(e){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,e)}_ComputeDiff(e,t,i,s,n){const o=[!1];let r=this.ComputeDiffRecursive(e,t,i,s,o);return n&&(r=this.PrettifyChanges(r)),{quitEarly:o[0],changes:r}}ComputeDiffRecursive(e,t,i,n,o){for(o[0]=!1;e<=t&&i<=n&&this.ElementsAreEqual(e,i);)e++,i++;for(;t>=e&&n>=i&&this.ElementsAreEqual(t,n);)t--,n--;if(e>t||i>n){let o;return i<=n?(l.Assert(e===t+1,"originalStart should only be one more than originalEnd"),o=[new s(e,0,i,n-i+1)]):e<=t?(l.Assert(i===n+1,"modifiedStart should only be one more than modifiedEnd"),o=[new s(e,t-e+1,i,0)]):(l.Assert(e===t+1,"originalStart should only be one more than originalEnd"),l.Assert(i===n+1,"modifiedStart should only be one more than modifiedEnd"),o=[]),o}const r=[0],a=[0],h=this.ComputeRecursionPoint(e,t,i,n,r,a,o),d=r[0],c=a[0];if(null!==h)return h;if(!o[0]){const r=this.ComputeDiffRecursive(e,d,i,c,o);let l=[];return l=o[0]?[new s(d+1,t-(d+1)+1,c+1,n-(c+1)+1)]:this.ComputeDiffRecursive(d+1,t,c+1,n,o),this.ConcatenateChanges(r,l)}return[new s(e,t-e+1,i,n-i+1)]}WALKTRACE(e,t,i,n,o,r,l,a,d,c,u,p,m,g,f,v,b,_){let y=null,w=null,S=new h,C=t,D=i,E=m[0]-v[0]-n,x=-1073741824,N=this.m_forwardHistory.length-1;do{const t=E+e;t===C||t<D&&d[t-1]<d[t+1]?(g=(u=d[t+1])-E-n,u<x&&S.MarkNextChange(),x=u,S.AddModifiedElement(u+1,g),E=t+1-e):(g=(u=d[t-1]+1)-E-n,u<x&&S.MarkNextChange(),x=u-1,S.AddOriginalElement(u,g+1),E=t-1-e),N>=0&&(e=(d=this.m_forwardHistory[N])[0],C=1,D=d.length-1)}while(--N>=-1);if(y=S.getReverseChanges(),_[0]){let e=m[0]+1,t=v[0]+1;if(null!==y&&y.length>0){const i=y[y.length-1];e=Math.max(e,i.getOriginalEnd()),t=Math.max(t,i.getModifiedEnd())}w=[new s(e,p-e+1,t,f-t+1)]}else{S=new h,C=r,D=l,E=m[0]-v[0]-a,x=1073741824,N=b?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const e=E+o;e===C||e<D&&c[e-1]>=c[e+1]?(g=(u=c[e+1]-1)-E-a,u>x&&S.MarkNextChange(),x=u+1,S.AddOriginalElement(u+1,g+1),E=e+1-o):(g=(u=c[e-1])-E-a,u>x&&S.MarkNextChange(),x=u,S.AddModifiedElement(u+1,g+1),E=e-1-o),N>=0&&(o=(c=this.m_reverseHistory[N])[0],C=1,D=c.length-1)}while(--N>=-1);w=S.getChanges()}return this.ConcatenateChanges(y,w)}ComputeRecursionPoint(e,t,i,n,o,r,l){let h=0,d=0,c=0,u=0,p=0,m=0;e--,i--,o[0]=0,r[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const g=t-e+(n-i),f=g+1,v=new Int32Array(f),b=new Int32Array(f),_=n-i,y=t-e,w=e-i,S=t-n,C=(y-_)%2===0;v[_]=e,b[y]=t,l[0]=!1;for(let D=1;D<=g/2+1;D++){let g=0,E=0;c=this.ClipDiagonalBound(_-D,D,_,f),u=this.ClipDiagonalBound(_+D,D,_,f);for(let e=c;e<=u;e+=2){h=e===c||e<u&&v[e-1]<v[e+1]?v[e+1]:v[e-1]+1,d=h-(e-_)-w;const i=h;for(;h<t&&d<n&&this.ElementsAreEqual(h+1,d+1);)h++,d++;if(v[e]=h,h+d>g+E&&(g=h,E=d),!C&&Math.abs(e-y)<=D-1&&h>=b[e])return o[0]=h,r[0]=d,i<=b[e]&&D<=1448?this.WALKTRACE(_,c,u,w,y,p,m,S,v,b,h,t,o,d,n,r,C,l):null}const x=(g-e+(E-i)-D)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(g,x))return l[0]=!0,o[0]=g,r[0]=E,x>0&&D<=1448?this.WALKTRACE(_,c,u,w,y,p,m,S,v,b,h,t,o,d,n,r,C,l):(e++,i++,[new s(e,t-e+1,i,n-i+1)]);p=this.ClipDiagonalBound(y-D,D,y,f),m=this.ClipDiagonalBound(y+D,D,y,f);for(let s=p;s<=m;s+=2){h=s===p||s<m&&b[s-1]>=b[s+1]?b[s+1]-1:b[s-1],d=h-(s-y)-S;const a=h;for(;h>e&&d>i&&this.ElementsAreEqual(h,d);)h--,d--;if(b[s]=h,C&&Math.abs(s-_)<=D&&h<=v[s])return o[0]=h,r[0]=d,a>=v[s]&&D<=1448?this.WALKTRACE(_,c,u,w,y,p,m,S,v,b,h,t,o,d,n,r,C,l):null}if(D<=1447){let e=new Int32Array(u-c+2);e[0]=_-c+1,a.Copy2(v,c,e,1,u-c+1),this.m_forwardHistory.push(e),e=new Int32Array(m-p+2),e[0]=y-p+1,a.Copy2(b,p,e,1,m-p+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(_,c,u,w,y,p,m,S,v,b,h,t,o,d,n,r,C,l)}PrettifyChanges(e){for(let t=0;t<e.length;t++){const i=e[t],s=t<e.length-1?e[t+1].originalStart:this._originalElementsOrHash.length,n=t<e.length-1?e[t+1].modifiedStart:this._modifiedElementsOrHash.length,o=i.originalLength>0,r=i.modifiedLength>0;for(;i.originalStart+i.originalLength<s&&i.modifiedStart+i.modifiedLength<n&&(!o||this.OriginalElementsAreEqual(i.originalStart,i.originalStart+i.originalLength))&&(!r||this.ModifiedElementsAreEqual(i.modifiedStart,i.modifiedStart+i.modifiedLength));){const e=this.ElementsAreStrictEqual(i.originalStart,i.modifiedStart);if(this.ElementsAreStrictEqual(i.originalStart+i.originalLength,i.modifiedStart+i.modifiedLength)&&!e)break;i.originalStart++,i.modifiedStart++}const l=[null];t<e.length-1&&this.ChangesOverlap(e[t],e[t+1],l)&&(e[t]=l[0],e.splice(t+1,1),t--)}for(let t=e.length-1;t>=0;t--){const i=e[t];let s=0,n=0;if(t>0){const i=e[t-1];s=i.originalStart+i.originalLength,n=i.modifiedStart+i.modifiedLength}const o=i.originalLength>0,r=i.modifiedLength>0;let l=0,a=this._boundaryScore(i.originalStart,i.originalLength,i.modifiedStart,i.modifiedLength);for(let e=1;;e++){const t=i.originalStart-e,h=i.modifiedStart-e;if(t<s||h<n)break;if(o&&!this.OriginalElementsAreEqual(t,t+i.originalLength))break;if(r&&!this.ModifiedElementsAreEqual(h,h+i.modifiedLength))break;const d=(t===s&&h===n?5:0)+this._boundaryScore(t,i.originalLength,h,i.modifiedLength);d>a&&(a=d,l=e)}i.originalStart-=l,i.modifiedStart-=l;const h=[null];t>0&&this.ChangesOverlap(e[t-1],e[t],h)&&(e[t-1]=h[0],e.splice(t,1),t++)}if(this._hasStrings)for(let t=1,i=e.length;t<i;t++){const i=e[t-1],s=e[t],n=s.originalStart-i.originalStart-i.originalLength,o=i.originalStart,r=s.originalStart+s.originalLength,l=r-o,a=i.modifiedStart,h=s.modifiedStart+s.modifiedLength,d=h-a;if(n<5&&l<20&&d<20){const e=this._findBetterContiguousSequence(o,l,a,d,n);if(e){const[t,o]=e;t===i.originalStart+i.originalLength&&o===i.modifiedStart+i.modifiedLength||(i.originalLength=t-i.originalStart,i.modifiedLength=o-i.modifiedStart,s.originalStart=t+n,s.modifiedStart=o+n,s.originalLength=r-s.originalStart,s.modifiedLength=h-s.modifiedStart)}}}return e}_findBetterContiguousSequence(e,t,i,s,n){if(t<n||s<n)return null;const o=e+t-n+1,r=i+s-n+1;let l=0,a=0,h=0;for(let d=e;d<o;d++)for(let e=i;e<r;e++){const t=this._contiguousSequenceScore(d,e,n);t>0&&t>l&&(l=t,a=d,h=e)}return l>0?[a,h]:null}_contiguousSequenceScore(e,t,i){let s=0;for(let n=0;n<i;n++){if(!this.ElementsAreEqual(e+n,t+n))return 0;s+=this._originalStringElements[e+n].length}return s}_OriginalIsBoundary(e){return e<=0||e>=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){const i=e+t;if(this._OriginalIsBoundary(i-1)||this._OriginalIsBoundary(i))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){const i=e+t;if(this._ModifiedIsBoundary(i-1)||this._ModifiedIsBoundary(i))return!0}return!1}_boundaryScore(e,t,i,s){return(this._OriginalRegionIsBoundary(e,t)?1:0)+(this._ModifiedRegionIsBoundary(i,s)?1:0)}ConcatenateChanges(e,t){const i=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],i)){const s=new Array(e.length+t.length-1);return a.Copy(e,0,s,0,e.length-1),s[e.length-1]=i[0],a.Copy(t,1,s,e.length,t.length-1),s}{const i=new Array(e.length+t.length);return a.Copy(e,0,i,0,e.length),a.Copy(t,0,i,e.length,t.length),i}}ChangesOverlap(e,t,i){if(l.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),l.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){const n=e.originalStart;let o=e.originalLength;const r=e.modifiedStart;let l=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(o=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(l=t.modifiedStart+t.modifiedLength-e.modifiedStart),i[0]=new s(n,o,r,l),!0}return i[0]=null,!1}ClipDiagonalBound(e,t,i,s){if(e>=0&&e<s)return e;const n=t%2===0;if(e<0){return n===(i%2===0)?0:1}return n===((s-i-1)%2===0)?s-1:s-2}}},42464:(e,t,i)=>{i.d(t,{Jh:()=>l,Wj:()=>b,at:()=>v,ci:()=>u,fV:()=>g,uI:()=>f,vl:()=>c});var s=i(75909),n=i(55808),o=i(47643),r=i(3499);var l;!function(e){function t(e){false}function i(e){return(t,i=null,s)=>{let n,o=!1;return n=e((e=>{if(!o)return n?n.dispose():o=!0,t.call(i,e)}),null,s),o&&n.dispose(),n}}function s(e,t,i){return a(((i,s=null,n)=>e((e=>i.call(s,t(e))),null,n)),i)}function o(e,t,i){return a(((i,s=null,n)=>e((e=>{t(e),i.call(s,e)}),null,n)),i)}function r(e,t,i){return a(((i,s=null,n)=>e((e=>t(e)&&i.call(s,e)),null,n)),i)}function l(e,t,i,n){let o=i;return s(e,(e=>(o=t(o,e),o)),n)}function a(e,i){let s;const n={onFirstListenerAdd(){s=e(o.fire,o)},onLastListenerRemove(){null===s||void 0===s||s.dispose()}};i||t();const o=new c(n);return null===i||void 0===i||i.add(o),o.event}function h(e,i,s=100,n=!1,o,r){let l,a,h,d=0;const u={leakWarningThreshold:o,onFirstListenerAdd(){l=e((e=>{d++,a=i(a,e),n&&!h&&(p.fire(a),a=void 0),clearTimeout(h),h=setTimeout((()=>{const e=a;a=void 0,h=void 0,(!n||d>1)&&p.fire(e),d=0}),s)}))},onLastListenerRemove(){l.dispose()}};r||t();const p=new c(u);return null===r||void 0===r||r.add(p),p.event}function d(e,t=(e,t)=>e===t,i){let s,n=!0;return r(e,(e=>{const i=n||!t(e,s);return n=!1,s=e,i}),i)}e.None=()=>n.jG.None,e.once=i,e.map=s,e.forEach=o,e.filter=r,e.signal=function(e){return e},e.any=function(...e){return(t,i=null,s)=>(0,n.qE)(...e.map((e=>e((e=>t.call(i,e)),null,s))))},e.reduce=l,e.debounce=h,e.latch=d,e.split=function(t,i,s){return[e.filter(t,i,s),e.filter(t,(e=>!i(e)),s)]},e.buffer=function(e,t=!1,i=[]){let s=i.slice(),n=e((e=>{s?s.push(e):r.fire(e)}));const o=()=>{null===s||void 0===s||s.forEach((e=>r.fire(e))),s=null},r=new c({onFirstListenerAdd(){n||(n=e((e=>r.fire(e))))},onFirstListenerDidAdd(){s&&(t?setTimeout(o):o())},onLastListenerRemove(){n&&n.dispose(),n=null}});return r.event};class u{constructor(e){this.event=e,this.disposables=new n.Cm}map(e){return new u(s(this.event,e,this.disposables))}forEach(e){return new u(o(this.event,e,this.disposables))}filter(e){return new u(r(this.event,e,this.disposables))}reduce(e,t){return new u(l(this.event,e,t,this.disposables))}latch(){return new u(d(this.event,void 0,this.disposables))}debounce(e,t=100,i=!1,s){return new u(h(this.event,e,t,i,s,this.disposables))}on(e,t,i){return this.event(e,t,i)}once(e,t,s){return i(this.event)(e,t,s)}dispose(){this.disposables.dispose()}}e.chain=function(e){return new u(e)},e.fromNodeEventEmitter=function(e,t,i=e=>e){const s=(...e)=>n.fire(i(...e)),n=new c({onFirstListenerAdd:()=>e.on(t,s),onLastListenerRemove:()=>e.removeListener(t,s)});return n.event},e.fromDOMEventEmitter=function(e,t,i=e=>e){const s=(...e)=>n.fire(i(...e)),n=new c({onFirstListenerAdd:()=>e.addEventListener(t,s),onLastListenerRemove:()=>e.removeEventListener(t,s)});return n.event},e.toPromise=function(e){return new Promise((t=>i(e)(t)))},e.runAndSubscribe=function(e,t){return t(void 0),e((e=>t(e)))},e.runAndSubscribeWithStore=function(e,t){let i=null;function s(e){null===i||void 0===i||i.dispose(),i=new n.Cm,t(e,i)}s(void 0);const o=e((e=>s(e)));return(0,n.s)((()=>{o.dispose(),null===i||void 0===i||i.dispose()}))};class p{constructor(e,i){this.obs=e,this._counter=0,this._hasChanged=!1;const s={onFirstListenerAdd:()=>{e.addObserver(this)},onLastListenerRemove:()=>{e.removeObserver(this)}};i||t(),this.emitter=new c(s),i&&i.add(this.emitter)}beginUpdate(e){this._counter++}handleChange(e,t){this._hasChanged=!0}endUpdate(e){0===--this._counter&&this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this.obs.get()))}}e.fromObservable=function(e,t){return new p(e,t).emitter.event}}(l||(l={}));class a{constructor(e){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${e}_${a._idPool++}`}start(e){this._stopWatch=new r.W(!0),this._listenerCount=e}stop(){if(this._stopWatch){const e=this._stopWatch.elapsed();this._elapsedOverall+=e,this._invocationCount+=1,this._stopWatch=void 0}}}a._idPool=0;class h{constructor(e){this.value=e}static create(){var e;return new h(null!==(e=(new Error).stack)&&void 0!==e?e:"")}print(){}}class d{constructor(e,t,i){this.callback=e,this.callbackThis=t,this.stack=i,this.subscription=new n.St}invoke(e){this.callback.call(this.callbackThis,e)}}class c{constructor(e){var t,i;this._disposed=!1,this._options=e,this._leakageMon=void 0,this._perfMon=(null===(t=this._options)||void 0===t?void 0:t._profName)?new a(this._options._profName):void 0,this._deliveryQueue=null===(i=this._options)||void 0===i?void 0:i.deliveryQueue}dispose(){var e,t,i,s;this._disposed||(this._disposed=!0,this._listeners&&this._listeners.clear(),null===(e=this._deliveryQueue)||void 0===e||e.clear(this),null===(i=null===(t=this._options)||void 0===t?void 0:t.onLastListenerRemove)||void 0===i||i.call(t),null===(s=this._leakageMon)||void 0===s||s.dispose())}get event(){return this._event||(this._event=(e,t,i)=>{var s,r,l;this._listeners||(this._listeners=new o.w);const a=this._listeners.isEmpty();let c,u;a&&(null===(s=this._options)||void 0===s?void 0:s.onFirstListenerAdd)&&this._options.onFirstListenerAdd(this),this._leakageMon&&this._listeners.size>=30&&(u=h.create(),c=this._leakageMon.check(u,this._listeners.size+1));const p=new d(e,t,u),m=this._listeners.push(p);a&&(null===(r=this._options)||void 0===r?void 0:r.onFirstListenerDidAdd)&&this._options.onFirstListenerDidAdd(this),(null===(l=this._options)||void 0===l?void 0:l.onListenerDidAdd)&&this._options.onListenerDidAdd(this,e,t);const g=p.subscription.set((()=>{if(null===c||void 0===c||c(),!this._disposed&&(m(),this._options&&this._options.onLastListenerRemove)){this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)}}));return i instanceof n.Cm?i.add(g):Array.isArray(i)&&i.push(g),g}),this._event}fire(e){var t,i;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new p);for(const t of this._listeners)this._deliveryQueue.push(this,t,e);null===(t=this._perfMon)||void 0===t||t.start(this._deliveryQueue.size),this._deliveryQueue.deliver(),null===(i=this._perfMon)||void 0===i||i.stop()}}}class u{constructor(){this._queue=new o.w}get size(){return this._queue.size}push(e,t,i){this._queue.push(new m(e,t,i))}clear(e){const t=new o.w;for(const i of this._queue)i.emitter!==e&&t.push(i);this._queue=t}deliver(){for(;this._queue.size>0;){const t=this._queue.shift();try{t.listener.invoke(t.event)}catch(e){(0,s.dz)(e)}}}}class p extends u{clear(e){this._queue.clear()}}class m{constructor(e,t,i){this.emitter=e,this.listener=t,this.event=i}}class g extends c{constructor(e){super(e),this._isPaused=0,this._eventQueue=new o.w,this._mergeFn=null===e||void 0===e?void 0:e.merge}pause(){this._isPaused++}resume(){if(0!==this._isPaused&&0===--this._isPaused)if(this._mergeFn){const e=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(e))}else for(;!this._isPaused&&0!==this._eventQueue.size;)super.fire(this._eventQueue.shift())}fire(e){this._listeners&&(0!==this._isPaused?this._eventQueue.push(e):super.fire(e))}}class f extends g{constructor(e){var t;super(e),this._delay=null!==(t=e.delay)&&void 0!==t?t:100}fire(e){this._handle||(this.pause(),this._handle=setTimeout((()=>{this._handle=void 0,this.resume()}),this._delay)),super.fire(e)}}class v{constructor(){this.buffers=[]}wrapEvent(e){return(t,i,s)=>e((e=>{const s=this.buffers[this.buffers.length-1];s?s.push((()=>t.call(i,e))):t.call(i,e)}),void 0,s)}bufferEvents(e){const t=[];this.buffers.push(t);const i=e();return this.buffers.pop(),t.forEach((e=>e())),i}}class b{constructor(){this.listening=!1,this.inputEvent=l.None,this.inputEventListener=n.jG.None,this.emitter=new c({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},78284:(e,t,i)=>{i.d(t,{No:()=>u,TH:()=>l,Zn:()=>h,_1:()=>d,kb:()=>a});var s=i(72142),n=i(55977),o=i(24638);function r(e){return 47===e||92===e}function l(e){return e.replace(/[\\/]/g,s.SA.sep)}function a(e){return-1===e.indexOf("/")&&(e=l(e)),/^[a-zA-Z]:(\/|$)/.test(e)&&(e="/"+e),e}function h(e,t=s.SA.sep){if(!e)return"";const i=e.length,n=e.charCodeAt(0);if(r(n)){if(r(e.charCodeAt(1))&&!r(e.charCodeAt(2))){let s=3;const n=s;for(;s<i&&!r(e.charCodeAt(s));s++);if(n!==s&&!r(e.charCodeAt(s+1)))for(s+=1;s<i;s++)if(r(e.charCodeAt(s)))return e.slice(0,s+1).replace(/[\\/]/g,t)}return t}if(c(n)&&58===e.charCodeAt(1))return r(e.charCodeAt(2))?e.slice(0,2)+t:e.slice(0,2);let o=e.indexOf("://");if(-1!==o)for(o+=3;o<i;o++)if(r(e.charCodeAt(o)))return e.slice(0,o+1);return""}function d(e,t,i,n=s.Vn){if(e===t)return!0;if(!e||!t)return!1;if(t.length>e.length)return!1;if(i){if(!(0,o.ns)(e,t))return!1;if(t.length===e.length)return!0;let i=t.length;return t.charAt(t.length-1)===n&&i--,e.charAt(i)===n}return t.charAt(t.length-1)!==n&&(t+=n),0===e.indexOf(t)}function c(e){return e>=65&&e<=90||e>=97&&e<=122}function u(e,t=n.uF){return!!t&&(c(e.charCodeAt(0))&&58===e.charCodeAt(1))}},79271:(e,t,i)=>{i.d(t,{J1:()=>S,Jo:()=>A,Nd:()=>$,Tt:()=>a,WJ:()=>I,WP:()=>r,dE:()=>h,dt:()=>U,ne:()=>W,or:()=>o,uU:()=>G,yr:()=>k});var s=i(14094),n=i(24638);function o(...e){return function(t,i){for(let s=0,n=e.length;s<n;s++){const n=e[s](t,i);if(n)return n}return null}}l.bind(void 0,!1);const r=l.bind(void 0,!0);function l(e,t,i){if(!i||i.length<t.length)return null;let s;return s=e?n.ns(i,t):0===i.indexOf(t),s?t.length>0?[{start:0,end:t.length}]:[]:null}function a(e,t){const i=t.toLowerCase().indexOf(e.toLowerCase());return-1===i?null:[{start:i,end:i+e.length}]}function h(e,t){return d(e.toLowerCase(),t.toLowerCase(),0,0)}function d(e,t,i,s){if(i===e.length)return[];if(s===t.length)return null;if(e[i]===t[s]){let n=null;return(n=d(e,t,i+1,s+1))?b({start:s,end:s+1},n):null}return d(e,t,i,s+1)}function c(e){return 97<=e&&e<=122}function u(e){return 65<=e&&e<=90}function p(e){return 48<=e&&e<=57}function m(e){return 32===e||9===e||10===e||13===e}const g=new Set;function f(e){return m(e)||g.has(e)}function v(e){return c(e)||u(e)||p(e)}function b(e,t){return 0===t.length?t=[e]:e.end===t[0].start?t[0].start=e.start:t.unshift(e),t}function _(e,t){for(let i=t;i<e.length;i++){const t=e.charCodeAt(i);if(u(t)||p(t)||i>0&&!v(e.charCodeAt(i-1)))return i}return e.length}function y(e,t,i,s){if(i===e.length)return[];if(s===t.length)return null;if(e[i]!==t[s].toLowerCase())return null;{let n=null,o=s+1;for(n=y(e,t,i+1,s+1);!n&&(o=_(t,o))<t.length;)n=y(e,t,i+1,o),o++;return null===n?null:b({start:s,end:s+1},n)}}function w(e,t){if(!t)return null;if(0===(t=t.trim()).length)return null;if(!function(e){let t=0,i=0,s=0,n=0;for(let o=0;o<e.length;o++)s=e.charCodeAt(o),u(s)&&t++,c(s)&&i++,m(s)&&n++;return 0!==t&&0!==i||0!==n?t<=5:e.length<=30}(e))return null;if(t.length>60)return null;const i=function(e){let t=0,i=0,s=0,n=0,o=0;for(let r=0;r<e.length;r++)o=e.charCodeAt(r),u(o)&&t++,c(o)&&i++,v(o)&&s++,p(o)&&n++;return{upperPercent:t/e.length,lowerPercent:i/e.length,alphaPercent:s/e.length,numericPercent:n/e.length}}(t);if(!function(e){const{upperPercent:t,lowerPercent:i,alphaPercent:s,numericPercent:n}=e;return i>.2&&t<.8&&s>.6&&n<.2}(i)){if(!function(e){const{upperPercent:t,lowerPercent:i}=e;return 0===i&&t>.6}(i))return null;t=t.toLowerCase()}let s=null,n=0;for(e=e.toLowerCase();n<t.length&&null===(s=y(e,t,0,n));)n=_(t,n+1);return s}function S(e,t,i=!1){if(!t||0===t.length)return null;let s=null,n=0;for(e=e.toLowerCase(),t=t.toLowerCase();n<t.length&&null===(s=C(e,t,0,n,i));)n=D(t,n+1);return s}function C(e,t,i,s,n){if(i===e.length)return[];if(s===t.length)return null;if(o=e.charCodeAt(i),r=t.charCodeAt(s),o===r||f(o)&&f(r)){let o=null,r=s+1;if(o=C(e,t,i+1,s+1,n),!n)for(;!o&&(r=D(t,r))<t.length;)o=C(e,t,i+1,r,n),r++;return null===o?null:b({start:s,end:s+1},o)}return null;var o,r}function D(e,t){for(let i=t;i<e.length;i++)if(f(e.charCodeAt(i))||i>0&&f(e.charCodeAt(i-1)))return i;return e.length}"()[]{}<>`'\"-/;:,.?!".split("").forEach((e=>g.add(e.charCodeAt(0))));const E=o(r,w,a),x=o(r,w,h),N=new s.qK(1e4);function k(e,t,i=!1){if("string"!==typeof e||"string"!==typeof t)return null;let s=N.get(e);s||(s=new RegExp(n.Bm(e),"i"),N.set(e,s));const o=s.exec(t);return o?[{start:o.index,end:o.index+o[0].length}]:i?x(e,t):E(e,t)}function A(e,t,i,s,n,o){const r=Math.min(13,e.length);for(;i<r;i++){const r=U(e,t,i,s,n,o,{firstMatchCanBeWeak:!1,boostFullMatch:!0});if(r)return r}return[0,o]}function I(e){if("undefined"===typeof e)return[];const t=[],i=e[1];for(let s=e.length-1;s>1;s--){const n=e[s]+i,o=t[t.length-1];o&&o.end===n?o.end=n+1:t.push({start:n,end:n+1})}return t}const T=128;function L(){const e=[],t=[];for(let i=0;i<=T;i++)t[i]=0;for(let i=0;i<=T;i++)e.push(t.slice(0));return e}function P(e){const t=[];for(let i=0;i<=e;i++)t[i]=0;return t}const O=P(2*T),B=P(2*T),M=L(),F=L(),R=L(),z=!1;function K(e,t){if(t<0||t>=e.length)return!1;const i=e.codePointAt(t);switch(i){case 95:case 45:case 46:case 32:case 47:case 92:case 39:case 34:case 58:case 36:case 60:case 62:case 40:case 41:case 91:case 93:case 123:case 125:return!0;case void 0:return!1;default:return!!n.Ss(i)}}function H(e,t){if(t<0||t>=e.length)return!1;switch(e.charCodeAt(t)){case 32:case 9:return!0;default:return!1}}function V(e,t,i){return t[e]!==i[e]}var W;!function(e){e.Default=[-100,0],e.isDefault=function(e){return!e||2===e.length&&-100===e[0]&&0===e[1]}}(W||(W={}));class ${constructor(e,t){this.firstMatchCanBeWeak=e,this.boostFullMatch=t}}function U(e,t,i,s,n,o,r=$.default){const l=e.length>T?T:e.length,a=s.length>T?T:s.length;if(i>=l||o>=a||l-i>a-o)return;if(!function(e,t,i,s,n,o,r=!1){for(;t<i&&n<o;)e[t]===s[n]&&(r&&(O[t]=n),t+=1),n+=1;return t===i}(t,i,l,n,o,a,!0))return;!function(e,t,i,s,n,o){let r=e-1,l=t-1;for(;r>=i&&l>=s;)n[r]===o[l]&&(B[r]=l,r--),l--}(l,a,i,o,t,n);let h=1,d=1,c=i,u=o;const p=[!1];for(h=1,c=i;c<l;h++,c++){const r=O[c],m=B[c],g=c+1<l?B[c+1]:a;for(d=r-o+1,u=r;u<g;d++,u++){let l=Number.MIN_SAFE_INTEGER,g=!1;u<=m&&(l=j(e,t,c,i,s,n,u,a,o,0===M[h-1][d-1],p));let f=0;l!==Number.MAX_SAFE_INTEGER&&(g=!0,f=l+F[h-1][d-1]);const v=u>r,b=v?F[h][d-1]+(M[h][d-1]>0?-5:0):0,_=u>r+1&&M[h][d-1]>0,y=_?F[h][d-2]+(M[h][d-2]>0?-5:0):0;if(_&&(!v||y>=b)&&(!g||y>=f))F[h][d]=y,R[h][d]=3,M[h][d]=0;else if(v&&(!g||b>=f))F[h][d]=b,R[h][d]=2,M[h][d]=0;else{if(!g)throw new Error("not possible");F[h][d]=f,R[h][d]=1,M[h][d]=M[h-1][d-1]+1}}}if(z&&function(e,t,i,s){e=e.substr(t),i=i.substr(s)}(e,i,s,o),!p[0]&&!r.firstMatchCanBeWeak)return;h--,d--;const m=[F[h][d],o];let g=0,f=0;for(;h>=1;){let e=d;do{const t=R[h][e];if(3===t)e-=2;else{if(2!==t)break;e-=1}}while(e>=1);g>1&&t[i+h-1]===n[o+d-1]&&!V(e+o-1,s,n)&&g+1>M[h][e]&&(e=d),e===d?g++:g=1,f||(f=e),h--,d=e-1,m.push(d)}a===l&&r.boostFullMatch&&(m[0]+=2);const v=f-l;return m[0]-=v,m}function j(e,t,i,s,n,o,r,l,a,h,d){if(t[i]!==o[r])return Number.MIN_SAFE_INTEGER;let c=1,u=!1;return r===i-s?c=e[i]===n[r]?7:5:!V(r,n,o)||0!==r&&V(r-1,n,o)?!K(o,r)||0!==r&&K(o,r-1)?(K(o,r-1)||H(o,r-1))&&(c=5,u=!0):c=5:(c=e[i]===n[r]?7:5,u=!0),c>1&&i===s&&(d[0]=!0),u||(u=V(r,n,o)||K(o,r-1)||H(o,r-1)),i===s?r>a&&(c-=u?3:5):c+=h?u?2:0:u?0:1,r+1===l&&(c-=u?3:5),c}function G(e,t,i,s,n,o,r){return function(e,t,i,s,n,o,r,l){let a=U(e,t,i,s,n,o,l);if(a&&!r)return a;if(e.length>=3){const t=Math.min(7,e.length-1);for(let r=i+1;r<t;r++){const t=q(e,r);if(t){const e=U(t,t.toLowerCase(),i,s,n,o,l);e&&(e[0]-=3,(!a||e[0]>a[0])&&(a=e))}}}return a}(e,t,i,s,n,o,!0,r)}function q(e,t){if(t+1>=e.length)return;const i=e[t],s=e[t+1];return i!==s?e.slice(0,t)+s+i+e.slice(t+2):void 0}$.default={boostFullMatch:!0,firstMatchCanBeWeak:!1}},8663:(e,t,i)=>{function s(e){const t=this;let i,s=!1;return function(){return s||(s=!0,i=e.apply(t,arguments)),i}}i.d(t,{O:()=>s})},50892:(e,t,i)=>{i.d(t,{YW:()=>T,qg:()=>L});var s=i(20512),n=i(78284),o=i(14094),r=i(72142),l=i(55977),a=i(24638),h=function(e,t,i,s){return new(i||(i=Promise))((function(n,o){function r(e){try{a(s.next(e))}catch(t){o(t)}}function l(e){try{a(s.throw(e))}catch(t){o(t)}}function a(e){var t;e.done?n(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,l)}a((s=s.apply(e,t||[])).next())}))};const d="**",c="/",u="[/\\\\]",p="[^/\\\\]",m=/\//g;function g(e,t){switch(e){case 0:return"";case 1:return`${p}*?`;default:return`(?:${u}|${p}+${u}${t?`|${u}${p}+`:""})*?`}}function f(e,t){if(!e)return[];const i=[];let s=!1,n=!1,o="";for(const r of e){switch(r){case t:if(!s&&!n){i.push(o),o="";continue}break;case"{":s=!0;break;case"}":s=!1;break;case"[":n=!0;break;case"]":n=!1}o+=r}return o&&i.push(o),i}function v(e){if(!e)return"";let t="";const i=f(e,c);if(i.every((e=>e===d)))t=".*";else{let e=!1;i.forEach(((s,n)=>{if(s===d){if(e)return;t+=g(2,n===i.length-1)}else{let e=!1,o="",r=!1,l="";for(const i of s)if("}"!==i&&e)o+=i;else if(!r||"]"===i&&l)switch(i){case"{":e=!0;continue;case"[":r=!0;continue;case"}":{const i=`(?:${f(o,",").map((e=>v(e))).join("|")})`;t+=i,e=!1,o="";break}case"]":t+="["+l+"]",r=!1,l="";break;case"?":t+=p;continue;case"*":t+=g(1);continue;default:t+=(0,a.bm)(i)}else{let e;e="-"===i?i:"^"!==i&&"!"!==i||l?i===c?"":(0,a.bm)(i):"^",l+=e}n<i.length-1&&(i[n+1]!==d||n+2<i.length)&&(t+=u)}e=s===d}))}return t}const b=/^\*\*\/\*\.[\w\.-]+$/,_=/^\*\*\/([\w\.-]+)\/?$/,y=/^{\*\*\/\*?[\w\.-]+\/?(,\*\*\/\*?[\w\.-]+\/?)*}$/,w=/^{\*\*\/\*?[\w\.-]+(\/(\*\*)?)?(,\*\*\/\*?[\w\.-]+(\/(\*\*)?)?)*}$/,S=/^\*\*((\/[\w\.-]+)+)\/?$/,C=/^([\w\.-]+(\/[\w\.-]+)*)\/?$/,D=new o.qK(1e4),E=function(){return!1},x=function(){return null};function N(e,t){if(!e)return x;let i;i="string"!==typeof e?e.pattern:e,i=i.trim();const s=`${i}_${!!t.trimForExclusions}`;let n,o=D.get(s);return o||(o=b.test(i)?function(e,t){return function(i,s){return"string"===typeof i&&i.endsWith(e)?t:null}}(i.substr(4),i):(n=_.exec(A(i,t)))?function(e,t){const i=`/${e}`,s=`\\${e}`,n=function(n,o){return"string"!==typeof n?null:o?o===e?t:null:n===e||n.endsWith(i)||n.endsWith(s)?t:null},o=[e];return n.basenames=o,n.patterns=[t],n.allBasenames=o,n}(n[1],i):(t.trimForExclusions?w:y).test(i)?function(e,t){const i=P(e.slice(1,-1).split(",").map((e=>N(e,t))).filter((e=>e!==x)),e),s=i.length;if(!s)return x;if(1===s)return i[0];const n=function(t,s){for(let n=0,o=i.length;n<o;n++)if(i[n](t,s))return e;return null},o=i.find((e=>!!e.allBasenames));o&&(n.allBasenames=o.allBasenames);const r=i.reduce(((e,t)=>t.allPaths?e.concat(t.allPaths):e),[]);r.length&&(n.allPaths=r);return n}(i,t):(n=S.exec(A(i,t)))?I(n[1].substr(1),i,!0):(n=C.exec(A(i,t)))?I(n[1],i,!1):function(e){try{const t=new RegExp(`^${v(e)}$`);return function(i){return t.lastIndex=0,"string"===typeof i&&t.test(i)?e:null}}catch(t){return x}}(i),D.set(s,o)),k(o,e)}function k(e,t){if("string"===typeof t)return e;const i=function(i,s){return(0,n._1)(i,t.base,!l.j9)?e(i.substr(t.base.length+1),s):null};return i.allBasenames=e.allBasenames,i.allPaths=e.allPaths,i.basenames=e.basenames,i.patterns=e.patterns,i}function A(e,t){return t.trimForExclusions&&e.endsWith("/**")?e.substr(0,e.length-2):e}function I(e,t,i){const s=r.Vn===r.SA.sep,n=s?e:e.replace(m,r.Vn),o=r.Vn+n,l=r.SA.sep+e;let a;return a=i?function(i,r){return"string"!==typeof i||i!==n&&!i.endsWith(o)&&(s||i!==e&&!i.endsWith(l))?null:t}:function(i,o){return"string"!==typeof i||i!==n&&(s||i!==e)?null:t},a.allPaths=[(i?"*/":"./")+e],a}function T(e,t,i){return!(!e||"string"!==typeof t)&&L(e)(t,void 0,i)}function L(e,t={}){if(!e)return E;if("string"===typeof e||function(e){const t=e;if(!t)return!1;return"string"===typeof t.base&&"string"===typeof t.pattern}(e)){const i=N(e,t);if(i===x)return E;const s=function(e,t){return!!i(e,t)};return i.allBasenames&&(s.allBasenames=i.allBasenames),i.allPaths&&(s.allPaths=i.allPaths),s}return function(e,t){const i=P(Object.getOwnPropertyNames(e).map((i=>function(e,t,i){if(!1===t)return x;const n=N(e,i);if(n===x)return x;if("boolean"===typeof t)return n;if(t){const i=t.when;if("string"===typeof i){const t=(t,o,r,l)=>{if(!l||!n(t,o))return null;const a=l(i.replace("$(basename)",r));return(0,s.Qg)(a)?a.then((t=>t?e:null)):a?e:null};return t.requiresSiblings=!0,t}}return n}(i,e[i],t))).filter((e=>e!==x))),n=i.length;if(!n)return x;if(!i.some((e=>!!e.requiresSiblings))){if(1===n)return i[0];const e=function(e,t){let n;for(let o=0,r=i.length;o<r;o++){const r=i[o](e,t);if("string"===typeof r)return r;(0,s.Qg)(r)&&(n||(n=[]),n.push(r))}return n?(()=>h(this,void 0,void 0,(function*(){for(const e of n){const t=yield e;if("string"===typeof t)return t}return null})))():null},t=i.find((e=>!!e.allBasenames));t&&(e.allBasenames=t.allBasenames);const o=i.reduce(((e,t)=>t.allPaths?e.concat(t.allPaths):e),[]);return o.length&&(e.allPaths=o),e}const o=function(e,t,n){let o,l;for(let a=0,h=i.length;a<h;a++){const h=i[a];h.requiresSiblings&&n&&(t||(t=(0,r.P8)(e)),o||(o=t.substr(0,t.length-(0,r.LC)(e).length)));const d=h(e,t,o,n);if("string"===typeof d)return d;(0,s.Qg)(d)&&(l||(l=[]),l.push(d))}return l?(()=>h(this,void 0,void 0,(function*(){for(const e of l){const t=yield e;if("string"===typeof t)return t}return null})))():null},l=i.find((e=>!!e.allBasenames));l&&(o.allBasenames=l.allBasenames);const a=i.reduce(((e,t)=>t.allPaths?e.concat(t.allPaths):e),[]);a.length&&(o.allPaths=a);return o}(e,t)}function P(e,t){const i=e.filter((e=>!!e.basenames));if(i.length<2)return e;const s=i.reduce(((e,t)=>{const i=t.basenames;return i?e.concat(i):e}),[]);let n;if(t){n=[];for(let e=0,i=s.length;e<i;e++)n.push(t)}else n=i.reduce(((e,t)=>{const i=t.patterns;return i?e.concat(i):e}),[]);const o=function(e,t){if("string"!==typeof e)return null;if(!t){let i;for(i=e.length;i>0;i--){const t=e.charCodeAt(i-1);if(47===t||92===t)break}t=e.substr(i)}const i=s.indexOf(t);return-1!==i?n[i]:null};o.basenames=s,o.patterns=n,o.allBasenames=s;const r=e.filter((e=>!e.basenames));return r.push(o),r}},72302:(e,t,i)=>{i.d(t,{e2:()=>l,sN:()=>o,tW:()=>n,v7:()=>c});var s=i(24638);function n(e){return o(e,0)}function o(e,t){switch(typeof e){case"object":return null===e?r(349,t):Array.isArray(e)?(i=e,s=r(104579,s=t),i.reduce(((e,t)=>o(t,e)),s)):function(e,t){return t=r(181387,t),Object.keys(e).sort().reduce(((t,i)=>(t=l(i,t),o(e[i],t))),t)}(e,t);case"string":return l(e,t);case"boolean":return function(e,t){return r(e?433:863,t)}(e,t);case"number":return r(e,t);case"undefined":return r(937,t);default:return r(617,t)}var i,s}function r(e,t){return(t<<5)-t+e|0}function l(e,t){t=r(149417,t);for(let i=0,s=e.length;i<s;i++)t=r(e.charCodeAt(i),t);return t}function a(e,t,i=32){const s=i-t;return(e<<t|(~((1<<s)-1)&e)>>>s)>>>0}function h(e,t=0,i=e.byteLength,s=0){for(let n=0;n<i;n++)e[t+n]=s}function d(e,t=32){return e instanceof ArrayBuffer?Array.from(new Uint8Array(e)).map((e=>e.toString(16).padStart(2,"0"))).join(""):function(e,t,i="0"){for(;e.length<t;)e=i+e;return e}((e>>>0).toString(16),t/4)}class c{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){const t=e.length;if(0===t)return;const i=this._buff;let n,o,r=this._buffLen,l=this._leftoverHighSurrogate;for(0!==l?(n=l,o=-1,l=0):(n=e.charCodeAt(0),o=0);;){let a=n;if(s.pc(n)){if(!(o+1<t)){l=n;break}{const t=e.charCodeAt(o+1);s.LJ(t)?(o++,a=s.z_(n,t)):a=65533}}else s.LJ(n)&&(a=65533);if(r=this._push(i,r,a),o++,!(o<t))break;n=e.charCodeAt(o)}this._buffLen=r,this._leftoverHighSurrogate=l}_push(e,t,i){return i<128?e[t++]=i:i<2048?(e[t++]=192|(1984&i)>>>6,e[t++]=128|(63&i)>>>0):i<65536?(e[t++]=224|(61440&i)>>>12,e[t++]=128|(4032&i)>>>6,e[t++]=128|(63&i)>>>0):(e[t++]=240|(1835008&i)>>>18,e[t++]=128|(258048&i)>>>12,e[t++]=128|(4032&i)>>>6,e[t++]=128|(63&i)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),d(this._h0)+d(this._h1)+d(this._h2)+d(this._h3)+d(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,h(this._buff,this._buffLen),this._buffLen>56&&(this._step(),h(this._buff));const e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){const e=c._bigBlock32,t=this._buffDV;for(let a=0;a<64;a+=4)e.setUint32(a,t.getUint32(a,!1),!1);for(let c=64;c<320;c+=4)e.setUint32(c,a(e.getUint32(c-12,!1)^e.getUint32(c-32,!1)^e.getUint32(c-56,!1)^e.getUint32(c-64,!1),1),!1);let i,s,n,o=this._h0,r=this._h1,l=this._h2,h=this._h3,d=this._h4;for(let c=0;c<80;c++)c<20?(i=r&l|~r&h,s=1518500249):c<40?(i=r^l^h,s=1859775393):c<60?(i=r&l|r&h|l&h,s=2400959708):(i=r^l^h,s=3395469782),n=a(o,5)+i+d+s+e.getUint32(4*c,!1)&4294967295,d=h,h=l,l=a(r,30),r=o,o=n;this._h0=this._h0+o&4294967295,this._h1=this._h1+r&4294967295,this._h2=this._h2+l&4294967295,this._h3=this._h3+h&4294967295,this._h4=this._h4+d&4294967295}}c._bigBlock32=new DataView(new ArrayBuffer(320))},86506:(e,t,i)=>{i.d(t,{Bc:()=>r,VS:()=>a,_W:()=>d,it:()=>l,nI:()=>c,oO:()=>h});var s=i(75909),n=i(88920),o=i(24638);class r{constructor(e="",t=!1){var i,n,o;if(this.value=e,"string"!==typeof this.value)throw(0,s.Qg)("value");"boolean"===typeof t?(this.isTrusted=t,this.supportThemeIcons=!1,this.supportHtml=!1):(this.isTrusted=null!==(i=t.isTrusted)&&void 0!==i?i:void 0,this.supportThemeIcons=null!==(n=t.supportThemeIcons)&&void 0!==n&&n,this.supportHtml=null!==(o=t.supportHtml)&&void 0!==o&&o)}appendText(e,t=0){var i;return this.value+=(i=this.supportThemeIcons?(0,n.m2)(e):e,i.replace(/[\\`*_{}[\]()#+\-!]/g,"\\$&")).replace(/([ \t]+)/g,((e,t)=>"&nbsp;".repeat(t.length))).replace(/\>/gm,"\\>").replace(/\n/g,1===t?"\\\n":"\n\n"),this}appendMarkdown(e){return this.value+=e,this}appendCodeblock(e,t){return this.value+="\n```",this.value+=e,this.value+="\n",this.value+=t,this.value+="\n```\n",this}appendLink(e,t,i){return this.value+="[",this.value+=this._escape(t,"]"),this.value+="](",this.value+=this._escape(String(e),")"),i&&(this.value+=` "${this._escape(this._escape(i,'"'),")")}"`),this.value+=")",this}_escape(e,t){const i=new RegExp((0,o.bm)(t),"g");return e.replace(i,((t,i)=>"\\"!==e.charAt(i-1)?`\\${t}`:t))}}function l(e){return a(e)?!e.value:!Array.isArray(e)||e.every(l)}function a(e){return e instanceof r||!(!e||"object"!==typeof e)&&("string"===typeof e.value&&("boolean"===typeof e.isTrusted||void 0===e.isTrusted)&&("boolean"===typeof e.supportThemeIcons||void 0===e.supportThemeIcons))}function h(e){return e.replace(/"/g,"&quot;")}function d(e){return e?e.replace(/\\([\\`*_{}[\]()#+\-.!])/g,"$1"):e}function c(e){const t=[],i=e.split("|").map((e=>e.trim()));e=i[0];const s=i[1];if(s){const e=/height=(\d+)/.exec(s),i=/width=(\d+)/.exec(s),n=e?e[1]:"",o=i?i[1]:"",r=isFinite(parseInt(o)),l=isFinite(parseInt(n));r&&t.push(`width="${o}"`),l&&t.push(`height="${n}"`)}return{href:e,dimensions:t}}},88920:(e,t,i)=>{i.d(t,{_k:()=>g,m2:()=>d,pS:()=>m,pz:()=>f,sA:()=>u});var s=i(88106),n=i(79271),o=i(24638);const r="$(",l=new RegExp(`\\$\\(${s.j3.iconNameExpression}(?:${s.j3.iconModifierExpression})?\\)`,"g"),a=new RegExp(s.j3.iconNameCharacter),h=new RegExp(`(\\\\)?${l.source}`,"g");function d(e){return e.replace(h,((e,t)=>t?e:`\\${e}`))}const c=new RegExp(`\\\\${l.source}`,"g");function u(e){return e.replace(c,(e=>`\\${e}`))}const p=new RegExp(`(\\s)?(\\\\)?${l.source}(\\s)?`,"g");function m(e){return-1===e.indexOf(r)?e:e.replace(p,((e,t,i,s)=>i?e:t||s||""))}function g(e){const t=e.indexOf(r);return-1===t?{text:e}:function(e,t){const i=[];let s="";function n(e){if(e){s+=e;for(const t of e)i.push(c)}}let o,l,h=-1,d="",c=0,u=t;const p=e.length;n(e.substr(0,t));for(;u<p;){if(o=e[u],l=e[u+1],o===r[0]&&l===r[1])h=u,n(d),d=r,u++;else if(")"===o&&-1!==h){c+=u-h+1,h=-1,d=""}else-1!==h?a.test(o)?d+=o:(n(d),h=-1,d=""):n(o);u++}return n(d),{text:s,iconOffsets:i}}(e,t)}function f(e,t,i=!1){const{text:s,iconOffsets:r}=t;if(!r||0===r.length)return(0,n.yr)(e,s,i);const l=(0,o.NB)(s," "),a=s.length-l.length,h=(0,n.yr)(e,l,i);if(h)for(const n of h){const e=r[n.start+a]+a;n.start+=e,n.end+=e}return h}},81090:(e,t,i)=>{i.d(t,{n:()=>s,r:()=>n});class s{constructor(e){this._prefix=e,this._lastId=0}nextId(){return this._prefix+ ++this._lastId}}const n=new s("id#")},16624:(e,t,i)=>{var s;i.d(t,{f:()=>s}),function(e){e.is=function(e){return e&&"object"===typeof e&&"function"===typeof e[Symbol.iterator]};const t=Object.freeze([]);function i(t,i=Number.POSITIVE_INFINITY){const s=[];if(0===i)return[s,t];const n=t[Symbol.iterator]();for(let o=0;o<i;o++){const t=n.next();if(t.done)return[s,e.empty()];s.push(t.value)}return[s,{[Symbol.iterator]:()=>n}]}e.empty=function(){return t},e.single=function*(e){yield e},e.from=function(e){return e||t},e.isEmpty=function(e){return!e||!0===e[Symbol.iterator]().next().done},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,t){for(const i of e)if(t(i))return!0;return!1},e.find=function(e,t){for(const i of e)if(t(i))return i},e.filter=function*(e,t){for(const i of e)t(i)&&(yield i)},e.map=function*(e,t){let i=0;for(const s of e)yield t(s,i++)},e.concat=function*(...e){for(const t of e)for(const e of t)yield e},e.concatNested=function*(e){for(const t of e)for(const e of t)yield e},e.reduce=function(e,t,i){let s=i;for(const n of e)s=t(s,n);return s},e.forEach=function(e,t){let i=0;for(const s of e)t(s,i++)},e.slice=function*(e,t,i=e.length){for(t<0&&(t+=e.length),i<0?i+=e.length:i>e.length&&(i=e.length);t<i;t++)yield e[t]},e.consume=i,e.collect=function(e){return i(e)[0]},e.equals=function(e,t,i=(e,t)=>e===t){const s=e[Symbol.iterator](),n=t[Symbol.iterator]();for(;;){const e=s.next(),t=n.next();if(e.done!==t.done)return!1;if(e.done)return!0;if(!i(e.value,t.value))return!1}}}(s||(s={}))},45325:(e,t,i)=>{i.d(t,{Fo:()=>u,YM:()=>m,m5:()=>g,uw:()=>l});class s{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const n=new s,o=new s,r=new s,l=new Array(230),a={},h=[],d=Object.create(null),c=Object.create(null),u=[],p=[];for(let f=0;f<=193;f++)u[f]=-1;for(let f=0;f<=127;f++)p[f]=-1;var m;function g(e,t){return(e|(65535&t)<<16>>>0)>>>0}!function(){const e="",t=[[0,1,0,"None",0,"unknown",0,"VK_UNKNOWN",e,e],[0,1,1,"Hyper",0,e,0,e,e,e],[0,1,2,"Super",0,e,0,e,e,e],[0,1,3,"Fn",0,e,0,e,e,e],[0,1,4,"FnLock",0,e,0,e,e,e],[0,1,5,"Suspend",0,e,0,e,e,e],[0,1,6,"Resume",0,e,0,e,e,e],[0,1,7,"Turbo",0,e,0,e,e,e],[0,1,8,"Sleep",0,e,0,"VK_SLEEP",e,e],[0,1,9,"WakeUp",0,e,0,e,e,e],[31,0,10,"KeyA",31,"A",65,"VK_A",e,e],[32,0,11,"KeyB",32,"B",66,"VK_B",e,e],[33,0,12,"KeyC",33,"C",67,"VK_C",e,e],[34,0,13,"KeyD",34,"D",68,"VK_D",e,e],[35,0,14,"KeyE",35,"E",69,"VK_E",e,e],[36,0,15,"KeyF",36,"F",70,"VK_F",e,e],[37,0,16,"KeyG",37,"G",71,"VK_G",e,e],[38,0,17,"KeyH",38,"H",72,"VK_H",e,e],[39,0,18,"KeyI",39,"I",73,"VK_I",e,e],[40,0,19,"KeyJ",40,"J",74,"VK_J",e,e],[41,0,20,"KeyK",41,"K",75,"VK_K",e,e],[42,0,21,"KeyL",42,"L",76,"VK_L",e,e],[43,0,22,"KeyM",43,"M",77,"VK_M",e,e],[44,0,23,"KeyN",44,"N",78,"VK_N",e,e],[45,0,24,"KeyO",45,"O",79,"VK_O",e,e],[46,0,25,"KeyP",46,"P",80,"VK_P",e,e],[47,0,26,"KeyQ",47,"Q",81,"VK_Q",e,e],[48,0,27,"KeyR",48,"R",82,"VK_R",e,e],[49,0,28,"KeyS",49,"S",83,"VK_S",e,e],[50,0,29,"KeyT",50,"T",84,"VK_T",e,e],[51,0,30,"KeyU",51,"U",85,"VK_U",e,e],[52,0,31,"KeyV",52,"V",86,"VK_V",e,e],[53,0,32,"KeyW",53,"W",87,"VK_W",e,e],[54,0,33,"KeyX",54,"X",88,"VK_X",e,e],[55,0,34,"KeyY",55,"Y",89,"VK_Y",e,e],[56,0,35,"KeyZ",56,"Z",90,"VK_Z",e,e],[22,0,36,"Digit1",22,"1",49,"VK_1",e,e],[23,0,37,"Digit2",23,"2",50,"VK_2",e,e],[24,0,38,"Digit3",24,"3",51,"VK_3",e,e],[25,0,39,"Digit4",25,"4",52,"VK_4",e,e],[26,0,40,"Digit5",26,"5",53,"VK_5",e,e],[27,0,41,"Digit6",27,"6",54,"VK_6",e,e],[28,0,42,"Digit7",28,"7",55,"VK_7",e,e],[29,0,43,"Digit8",29,"8",56,"VK_8",e,e],[30,0,44,"Digit9",30,"9",57,"VK_9",e,e],[21,0,45,"Digit0",21,"0",48,"VK_0",e,e],[3,1,46,"Enter",3,"Enter",13,"VK_RETURN",e,e],[9,1,47,"Escape",9,"Escape",27,"VK_ESCAPE",e,e],[1,1,48,"Backspace",1,"Backspace",8,"VK_BACK",e,e],[2,1,49,"Tab",2,"Tab",9,"VK_TAB",e,e],[10,1,50,"Space",10,"Space",32,"VK_SPACE",e,e],[83,0,51,"Minus",83,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[81,0,52,"Equal",81,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[87,0,53,"BracketLeft",87,"[",219,"VK_OEM_4","[","OEM_4"],[89,0,54,"BracketRight",89,"]",221,"VK_OEM_6","]","OEM_6"],[88,0,55,"Backslash",88,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,0,56,"IntlHash",0,e,0,e,e,e],[80,0,57,"Semicolon",80,";",186,"VK_OEM_1",";","OEM_1"],[90,0,58,"Quote",90,"'",222,"VK_OEM_7","'","OEM_7"],[86,0,59,"Backquote",86,"`",192,"VK_OEM_3","`","OEM_3"],[82,0,60,"Comma",82,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[84,0,61,"Period",84,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[85,0,62,"Slash",85,"/",191,"VK_OEM_2","/","OEM_2"],[8,1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL",e,e],[59,1,64,"F1",59,"F1",112,"VK_F1",e,e],[60,1,65,"F2",60,"F2",113,"VK_F2",e,e],[61,1,66,"F3",61,"F3",114,"VK_F3",e,e],[62,1,67,"F4",62,"F4",115,"VK_F4",e,e],[63,1,68,"F5",63,"F5",116,"VK_F5",e,e],[64,1,69,"F6",64,"F6",117,"VK_F6",e,e],[65,1,70,"F7",65,"F7",118,"VK_F7",e,e],[66,1,71,"F8",66,"F8",119,"VK_F8",e,e],[67,1,72,"F9",67,"F9",120,"VK_F9",e,e],[68,1,73,"F10",68,"F10",121,"VK_F10",e,e],[69,1,74,"F11",69,"F11",122,"VK_F11",e,e],[70,1,75,"F12",70,"F12",123,"VK_F12",e,e],[0,1,76,"PrintScreen",0,e,0,e,e,e],[79,1,77,"ScrollLock",79,"ScrollLock",145,"VK_SCROLL",e,e],[7,1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE",e,e],[19,1,79,"Insert",19,"Insert",45,"VK_INSERT",e,e],[14,1,80,"Home",14,"Home",36,"VK_HOME",e,e],[11,1,81,"PageUp",11,"PageUp",33,"VK_PRIOR",e,e],[20,1,82,"Delete",20,"Delete",46,"VK_DELETE",e,e],[13,1,83,"End",13,"End",35,"VK_END",e,e],[12,1,84,"PageDown",12,"PageDown",34,"VK_NEXT",e,e],[17,1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",e],[15,1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",e],[18,1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",e],[16,1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",e],[78,1,89,"NumLock",78,"NumLock",144,"VK_NUMLOCK",e,e],[108,1,90,"NumpadDivide",108,"NumPad_Divide",111,"VK_DIVIDE",e,e],[103,1,91,"NumpadMultiply",103,"NumPad_Multiply",106,"VK_MULTIPLY",e,e],[106,1,92,"NumpadSubtract",106,"NumPad_Subtract",109,"VK_SUBTRACT",e,e],[104,1,93,"NumpadAdd",104,"NumPad_Add",107,"VK_ADD",e,e],[3,1,94,"NumpadEnter",3,e,0,e,e,e],[94,1,95,"Numpad1",94,"NumPad1",97,"VK_NUMPAD1",e,e],[95,1,96,"Numpad2",95,"NumPad2",98,"VK_NUMPAD2",e,e],[96,1,97,"Numpad3",96,"NumPad3",99,"VK_NUMPAD3",e,e],[97,1,98,"Numpad4",97,"NumPad4",100,"VK_NUMPAD4",e,e],[98,1,99,"Numpad5",98,"NumPad5",101,"VK_NUMPAD5",e,e],[99,1,100,"Numpad6",99,"NumPad6",102,"VK_NUMPAD6",e,e],[100,1,101,"Numpad7",100,"NumPad7",103,"VK_NUMPAD7",e,e],[101,1,102,"Numpad8",101,"NumPad8",104,"VK_NUMPAD8",e,e],[102,1,103,"Numpad9",102,"NumPad9",105,"VK_NUMPAD9",e,e],[93,1,104,"Numpad0",93,"NumPad0",96,"VK_NUMPAD0",e,e],[107,1,105,"NumpadDecimal",107,"NumPad_Decimal",110,"VK_DECIMAL",e,e],[92,0,106,"IntlBackslash",92,"OEM_102",226,"VK_OEM_102",e,e],[58,1,107,"ContextMenu",58,"ContextMenu",93,e,e,e],[0,1,108,"Power",0,e,0,e,e,e],[0,1,109,"NumpadEqual",0,e,0,e,e,e],[71,1,110,"F13",71,"F13",124,"VK_F13",e,e],[72,1,111,"F14",72,"F14",125,"VK_F14",e,e],[73,1,112,"F15",73,"F15",126,"VK_F15",e,e],[74,1,113,"F16",74,"F16",127,"VK_F16",e,e],[75,1,114,"F17",75,"F17",128,"VK_F17",e,e],[76,1,115,"F18",76,"F18",129,"VK_F18",e,e],[77,1,116,"F19",77,"F19",130,"VK_F19",e,e],[0,1,117,"F20",0,e,0,"VK_F20",e,e],[0,1,118,"F21",0,e,0,"VK_F21",e,e],[0,1,119,"F22",0,e,0,"VK_F22",e,e],[0,1,120,"F23",0,e,0,"VK_F23",e,e],[0,1,121,"F24",0,e,0,"VK_F24",e,e],[0,1,122,"Open",0,e,0,e,e,e],[0,1,123,"Help",0,e,0,e,e,e],[0,1,124,"Select",0,e,0,e,e,e],[0,1,125,"Again",0,e,0,e,e,e],[0,1,126,"Undo",0,e,0,e,e,e],[0,1,127,"Cut",0,e,0,e,e,e],[0,1,128,"Copy",0,e,0,e,e,e],[0,1,129,"Paste",0,e,0,e,e,e],[0,1,130,"Find",0,e,0,e,e,e],[0,1,131,"AudioVolumeMute",112,"AudioVolumeMute",173,"VK_VOLUME_MUTE",e,e],[0,1,132,"AudioVolumeUp",113,"AudioVolumeUp",175,"VK_VOLUME_UP",e,e],[0,1,133,"AudioVolumeDown",114,"AudioVolumeDown",174,"VK_VOLUME_DOWN",e,e],[105,1,134,"NumpadComma",105,"NumPad_Separator",108,"VK_SEPARATOR",e,e],[110,0,135,"IntlRo",110,"ABNT_C1",193,"VK_ABNT_C1",e,e],[0,1,136,"KanaMode",0,e,0,e,e,e],[0,0,137,"IntlYen",0,e,0,e,e,e],[0,1,138,"Convert",0,e,0,e,e,e],[0,1,139,"NonConvert",0,e,0,e,e,e],[0,1,140,"Lang1",0,e,0,e,e,e],[0,1,141,"Lang2",0,e,0,e,e,e],[0,1,142,"Lang3",0,e,0,e,e,e],[0,1,143,"Lang4",0,e,0,e,e,e],[0,1,144,"Lang5",0,e,0,e,e,e],[0,1,145,"Abort",0,e,0,e,e,e],[0,1,146,"Props",0,e,0,e,e,e],[0,1,147,"NumpadParenLeft",0,e,0,e,e,e],[0,1,148,"NumpadParenRight",0,e,0,e,e,e],[0,1,149,"NumpadBackspace",0,e,0,e,e,e],[0,1,150,"NumpadMemoryStore",0,e,0,e,e,e],[0,1,151,"NumpadMemoryRecall",0,e,0,e,e,e],[0,1,152,"NumpadMemoryClear",0,e,0,e,e,e],[0,1,153,"NumpadMemoryAdd",0,e,0,e,e,e],[0,1,154,"NumpadMemorySubtract",0,e,0,e,e,e],[0,1,155,"NumpadClear",126,"Clear",12,"VK_CLEAR",e,e],[0,1,156,"NumpadClearEntry",0,e,0,e,e,e],[5,1,0,e,5,"Ctrl",17,"VK_CONTROL",e,e],[4,1,0,e,4,"Shift",16,"VK_SHIFT",e,e],[6,1,0,e,6,"Alt",18,"VK_MENU",e,e],[57,1,0,e,57,"Meta",0,"VK_COMMAND",e,e],[5,1,157,"ControlLeft",5,e,0,"VK_LCONTROL",e,e],[4,1,158,"ShiftLeft",4,e,0,"VK_LSHIFT",e,e],[6,1,159,"AltLeft",6,e,0,"VK_LMENU",e,e],[57,1,160,"MetaLeft",57,e,0,"VK_LWIN",e,e],[5,1,161,"ControlRight",5,e,0,"VK_RCONTROL",e,e],[4,1,162,"ShiftRight",4,e,0,"VK_RSHIFT",e,e],[6,1,163,"AltRight",6,e,0,"VK_RMENU",e,e],[57,1,164,"MetaRight",57,e,0,"VK_RWIN",e,e],[0,1,165,"BrightnessUp",0,e,0,e,e,e],[0,1,166,"BrightnessDown",0,e,0,e,e,e],[0,1,167,"MediaPlay",0,e,0,e,e,e],[0,1,168,"MediaRecord",0,e,0,e,e,e],[0,1,169,"MediaFastForward",0,e,0,e,e,e],[0,1,170,"MediaRewind",0,e,0,e,e,e],[114,1,171,"MediaTrackNext",119,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK",e,e],[115,1,172,"MediaTrackPrevious",120,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK",e,e],[116,1,173,"MediaStop",121,"MediaStop",178,"VK_MEDIA_STOP",e,e],[0,1,174,"Eject",0,e,0,e,e,e],[117,1,175,"MediaPlayPause",122,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE",e,e],[0,1,176,"MediaSelect",123,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT",e,e],[0,1,177,"LaunchMail",124,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL",e,e],[0,1,178,"LaunchApp2",125,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2",e,e],[0,1,179,"LaunchApp1",0,e,0,"VK_MEDIA_LAUNCH_APP1",e,e],[0,1,180,"SelectTask",0,e,0,e,e,e],[0,1,181,"LaunchScreenSaver",0,e,0,e,e,e],[0,1,182,"BrowserSearch",115,"BrowserSearch",170,"VK_BROWSER_SEARCH",e,e],[0,1,183,"BrowserHome",116,"BrowserHome",172,"VK_BROWSER_HOME",e,e],[112,1,184,"BrowserBack",117,"BrowserBack",166,"VK_BROWSER_BACK",e,e],[113,1,185,"BrowserForward",118,"BrowserForward",167,"VK_BROWSER_FORWARD",e,e],[0,1,186,"BrowserStop",0,e,0,"VK_BROWSER_STOP",e,e],[0,1,187,"BrowserRefresh",0,e,0,"VK_BROWSER_REFRESH",e,e],[0,1,188,"BrowserFavorites",0,e,0,"VK_BROWSER_FAVORITES",e,e],[0,1,189,"ZoomToggle",0,e,0,e,e,e],[0,1,190,"MailReply",0,e,0,e,e,e],[0,1,191,"MailForward",0,e,0,e,e,e],[0,1,192,"MailSend",0,e,0,e,e,e],[109,1,0,e,109,"KeyInComposition",229,e,e,e],[111,1,0,e,111,"ABNT_C2",194,"VK_ABNT_C2",e,e],[91,1,0,e,91,"OEM_8",223,"VK_OEM_8",e,e],[0,1,0,e,0,e,0,"VK_KANA",e,e],[0,1,0,e,0,e,0,"VK_HANGUL",e,e],[0,1,0,e,0,e,0,"VK_JUNJA",e,e],[0,1,0,e,0,e,0,"VK_FINAL",e,e],[0,1,0,e,0,e,0,"VK_HANJA",e,e],[0,1,0,e,0,e,0,"VK_KANJI",e,e],[0,1,0,e,0,e,0,"VK_CONVERT",e,e],[0,1,0,e,0,e,0,"VK_NONCONVERT",e,e],[0,1,0,e,0,e,0,"VK_ACCEPT",e,e],[0,1,0,e,0,e,0,"VK_MODECHANGE",e,e],[0,1,0,e,0,e,0,"VK_SELECT",e,e],[0,1,0,e,0,e,0,"VK_PRINT",e,e],[0,1,0,e,0,e,0,"VK_EXECUTE",e,e],[0,1,0,e,0,e,0,"VK_SNAPSHOT",e,e],[0,1,0,e,0,e,0,"VK_HELP",e,e],[0,1,0,e,0,e,0,"VK_APPS",e,e],[0,1,0,e,0,e,0,"VK_PROCESSKEY",e,e],[0,1,0,e,0,e,0,"VK_PACKET",e,e],[0,1,0,e,0,e,0,"VK_DBE_SBCSCHAR",e,e],[0,1,0,e,0,e,0,"VK_DBE_DBCSCHAR",e,e],[0,1,0,e,0,e,0,"VK_ATTN",e,e],[0,1,0,e,0,e,0,"VK_CRSEL",e,e],[0,1,0,e,0,e,0,"VK_EXSEL",e,e],[0,1,0,e,0,e,0,"VK_EREOF",e,e],[0,1,0,e,0,e,0,"VK_PLAY",e,e],[0,1,0,e,0,e,0,"VK_ZOOM",e,e],[0,1,0,e,0,e,0,"VK_NONAME",e,e],[0,1,0,e,0,e,0,"VK_PA1",e,e],[0,1,0,e,0,e,0,"VK_OEM_CLEAR",e,e]],i=[],s=[];for(const m of t){const[e,t,g,f,v,b,_,y,w,S]=m;if(s[g]||(s[g]=!0,h[g]=f,d[f]=g,c[f.toLowerCase()]=g,t&&(u[g]=v,0!==v&&3!==v&&5!==v&&4!==v&&6!==v&&57!==v&&(p[v]=g))),!i[v]){if(i[v]=!0,!b)throw new Error(`String representation missing for key code ${v} around scan code ${f}`);n.define(v,b),o.define(v,w||b),r.define(v,S||w||b)}_&&(l[_]=v),y&&(a[y]=v)}p[3]=46}(),function(e){e.toString=function(e){return n.keyCodeToStr(e)},e.fromString=function(e){return n.strToKeyCode(e)},e.toUserSettingsUS=function(e){return o.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return r.keyCodeToStr(e)},e.fromUserSettings=function(e){return o.strToKeyCode(e)||r.strToKeyCode(e)},e.toElectronAccelerator=function(e){if(e>=93&&e<=108)return null;switch(e){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return n.keyCodeToStr(e)}}(m||(m={}))},40513:(e,t,i)=>{i.d(t,{Of:()=>o,r0:()=>r,rr:()=>l});var s=i(35819);class n{constructor(e,t,i=t){this.modifierLabels=[null],this.modifierLabels[2]=e,this.modifierLabels[1]=t,this.modifierLabels[3]=i}toLabel(e,t,i){if(0===t.length)return null;const s=[];for(let n=0,o=t.length;n<o;n++){const o=t[n],r=i(o);if(null===r)return null;s[n]=a(o,r,this.modifierLabels[e])}return s.join(" ")}}const o=new n({ctrlKey:"\u2303",shiftKey:"\u21e7",altKey:"\u2325",metaKey:"\u2318",separator:""},{ctrlKey:s.kg({key:"ctrlKey",comment:["This is the short form for the Control key on the keyboard"]},"Ctrl"),shiftKey:s.kg({key:"shiftKey",comment:["This is the short form for the Shift key on the keyboard"]},"Shift"),altKey:s.kg({key:"altKey",comment:["This is the short form for the Alt key on the keyboard"]},"Alt"),metaKey:s.kg({key:"windowsKey",comment:["This is the short form for the Windows key on the keyboard"]},"Windows"),separator:"+"},{ctrlKey:s.kg({key:"ctrlKey",comment:["This is the short form for the Control key on the keyboard"]},"Ctrl"),shiftKey:s.kg({key:"shiftKey",comment:["This is the short form for the Shift key on the keyboard"]},"Shift"),altKey:s.kg({key:"altKey",comment:["This is the short form for the Alt key on the keyboard"]},"Alt"),metaKey:s.kg({key:"superKey",comment:["This is the short form for the Super key on the keyboard"]},"Super"),separator:"+"}),r=new n({ctrlKey:s.kg({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:s.kg({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:s.kg({key:"optKey.long",comment:["This is the long form for the Alt/Option key on the keyboard"]},"Option"),metaKey:s.kg({key:"cmdKey.long",comment:["This is the long form for the Command key on the keyboard"]},"Command"),separator:"+"},{ctrlKey:s.kg({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:s.kg({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:s.kg({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:s.kg({key:"windowsKey.long",comment:["This is the long form for the Windows key on the keyboard"]},"Windows"),separator:"+"},{ctrlKey:s.kg({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:s.kg({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:s.kg({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:s.kg({key:"superKey.long",comment:["This is the long form for the Super key on the keyboard"]},"Super"),separator:"+"}),l=new n({ctrlKey:"Ctrl",shiftKey:"Shift",altKey:"Alt",metaKey:"Cmd",separator:"+"},{ctrlKey:"Ctrl",shiftKey:"Shift",altKey:"Alt",metaKey:"Super",separator:"+"});new n({ctrlKey:"ctrl",shiftKey:"shift",altKey:"alt",metaKey:"cmd",separator:"+"},{ctrlKey:"ctrl",shiftKey:"shift",altKey:"alt",metaKey:"win",separator:"+"},{ctrlKey:"ctrl",shiftKey:"shift",altKey:"alt",metaKey:"meta",separator:"+"});function a(e,t,i){if(null===t)return"";const s=[];return e.ctrlKey&&s.push(i.ctrlKey),e.shiftKey&&s.push(i.shiftKey),e.altKey&&s.push(i.altKey),e.metaKey&&s.push(i.metaKey),""!==t&&s.push(t),s.join(i.separator)}},31401:(e,t,i)=>{i.d(t,{QB:()=>a,ZU:()=>n,h$:()=>r,p:()=>l,z5:()=>h});var s=i(75909);function n(e,t){if(0===e)return null;const i=(65535&e)>>>0,s=(4294901760&e)>>>16;return new l(0!==s?[o(i,t),o(s,t)]:[o(i,t)])}function o(e,t){const i=!!(2048&e),s=!!(256&e);return new r(2===t?s:i,!!(1024&e),!!(512&e),2===t?i:s,255&e)}class r{constructor(e,t,i,s,n){this.ctrlKey=e,this.shiftKey=t,this.altKey=i,this.metaKey=s,this.keyCode=n}equals(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode}isModifierKey(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode}toChord(){return new l([this])}isDuplicateModifierCase(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode}}class l{constructor(e){if(0===e.length)throw(0,s.Qg)("parts");this.parts=e}}class a{constructor(e,t,i,s,n,o){this.ctrlKey=e,this.shiftKey=t,this.altKey=i,this.metaKey=s,this.keyLabel=n,this.keyAriaLabel=o}}class h{}},57312:(e,t,i)=>{i.d(t,{d:()=>s});class s{constructor(e){this.executor=e,this._didRun=!1}getValue(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}},47643:(e,t,i)=>{i.d(t,{w:()=>n});class s{constructor(e){this.element=e,this.next=s.Undefined,this.prev=s.Undefined}}s.Undefined=new s(void 0);class n{constructor(){this._first=s.Undefined,this._last=s.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===s.Undefined}clear(){let e=this._first;for(;e!==s.Undefined;){const t=e.next;e.prev=s.Undefined,e.next=s.Undefined,e=t}this._first=s.Undefined,this._last=s.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const i=new s(e);if(this._first===s.Undefined)this._first=i,this._last=i;else if(t){const e=this._last;this._last=i,i.prev=e,e.next=i}else{const e=this._first;this._first=i,i.next=e,e.prev=i}this._size+=1;let n=!1;return()=>{n||(n=!0,this._remove(i))}}shift(){if(this._first!==s.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==s.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==s.Undefined&&e.next!==s.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===s.Undefined&&e.next===s.Undefined?(this._first=s.Undefined,this._last=s.Undefined):e.next===s.Undefined?(this._last=this._last.prev,this._last.next=s.Undefined):e.prev===s.Undefined&&(this._first=this._first.next,this._first.prev=s.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==s.Undefined;)yield e.element,e=e.next}}},14094:(e,t,i)=>{i.d(t,{cB:()=>c,fT:()=>p,qK:()=>g});var s,n,o=i(24638);class r{constructor(){this._value="",this._pos=0}reset(e){return this._value=e,this._pos=0,this}next(){return this._pos+=1,this}hasNext(){return this._pos<this._value.length-1}cmp(e){return e.charCodeAt(0)-this._value.charCodeAt(this._pos)}value(){return this._value[this._pos]}}class l{constructor(e=!0){this._caseSensitive=e}reset(e){return this._value=e,this._from=0,this._to=0,this.next()}hasNext(){return this._to<this._value.length}next(){this._from=this._to;let e=!0;for(;this._to<this._value.length;this._to++){if(46===this._value.charCodeAt(this._to)){if(!e)break;this._from++}else e=!1}return this}cmp(e){return this._caseSensitive?(0,o.lF)(e,this._value,0,e.length,this._from,this._to):(0,o.zd)(e,this._value,0,e.length,this._from,this._to)}value(){return this._value.substring(this._from,this._to)}}class a{constructor(e=!0,t=!0){this._splitOnBackslash=e,this._caseSensitive=t}reset(e){this._from=0,this._to=0,this._value=e,this._valueLen=e.length;for(let t=e.length-1;t>=0;t--,this._valueLen--){const e=this._value.charCodeAt(t);if(!(47===e||this._splitOnBackslash&&92===e))break}return this.next()}hasNext(){return this._to<this._valueLen}next(){this._from=this._to;let e=!0;for(;this._to<this._valueLen;this._to++){const t=this._value.charCodeAt(this._to);if(47===t||this._splitOnBackslash&&92===t){if(!e)break;this._from++}else e=!1}return this}cmp(e){return this._caseSensitive?(0,o.lF)(e,this._value,0,e.length,this._from,this._to):(0,o.zd)(e,this._value,0,e.length,this._from,this._to)}value(){return this._value.substring(this._from,this._to)}}class h{constructor(e,t){this._ignorePathCasing=e,this._ignoreQueryAndFragment=t,this._states=[],this._stateIdx=0}reset(e){return this._value=e,this._states=[],this._value.scheme&&this._states.push(1),this._value.authority&&this._states.push(2),this._value.path&&(this._pathIterator=new a(!1,!this._ignorePathCasing(e)),this._pathIterator.reset(e.path),this._pathIterator.value()&&this._states.push(3)),this._ignoreQueryAndFragment(e)||(this._value.query&&this._states.push(4),this._value.fragment&&this._states.push(5)),this._stateIdx=0,this}next(){return 3===this._states[this._stateIdx]&&this._pathIterator.hasNext()?this._pathIterator.next():this._stateIdx+=1,this}hasNext(){return 3===this._states[this._stateIdx]&&this._pathIterator.hasNext()||this._stateIdx<this._states.length-1}cmp(e){if(1===this._states[this._stateIdx])return(0,o.W1)(e,this._value.scheme);if(2===this._states[this._stateIdx])return(0,o.W1)(e,this._value.authority);if(3===this._states[this._stateIdx])return this._pathIterator.cmp(e);if(4===this._states[this._stateIdx])return(0,o.UD)(e,this._value.query);if(5===this._states[this._stateIdx])return(0,o.UD)(e,this._value.fragment);throw new Error}value(){if(1===this._states[this._stateIdx])return this._value.scheme;if(2===this._states[this._stateIdx])return this._value.authority;if(3===this._states[this._stateIdx])return this._pathIterator.value();if(4===this._states[this._stateIdx])return this._value.query;if(5===this._states[this._stateIdx])return this._value.fragment;throw new Error}}class d{constructor(){this.height=1}rotateLeft(){const e=this.right;return this.right=e.left,e.left=this,this.updateHeight(),e.updateHeight(),e}rotateRight(){const e=this.left;return this.left=e.right,e.right=this,this.updateHeight(),e.updateHeight(),e}updateHeight(){this.height=1+Math.max(this.heightLeft,this.heightRight)}balanceFactor(){return this.heightRight-this.heightLeft}get heightLeft(){var e,t;return null!==(t=null===(e=this.left)||void 0===e?void 0:e.height)&&void 0!==t?t:0}get heightRight(){var e,t;return null!==(t=null===(e=this.right)||void 0===e?void 0:e.height)&&void 0!==t?t:0}}class c{constructor(e){this._iter=e}static forUris(e=()=>!1,t=()=>!1){return new c(new h(e,t))}static forStrings(){return new c(new r)}static forConfigKeys(){return new c(new l)}clear(){this._root=void 0}set(e,t){const i=this._iter.reset(e);let s;this._root||(this._root=new d,this._root.segment=i.value());const n=[];for(s=this._root;;){const e=i.cmp(s.segment);if(e>0)s.left||(s.left=new d,s.left.segment=i.value()),n.push([-1,s]),s=s.left;else if(e<0)s.right||(s.right=new d,s.right.segment=i.value()),n.push([1,s]),s=s.right;else{if(!i.hasNext())break;i.next(),s.mid||(s.mid=new d,s.mid.segment=i.value()),n.push([0,s]),s=s.mid}}const o=s.value;s.value=t,s.key=e;for(let r=n.length-1;r>=0;r--){const e=n[r][1];e.updateHeight();const t=e.balanceFactor();if(t<-1||t>1){const t=n[r][0],i=n[r+1][0];if(1===t&&1===i)n[r][1]=e.rotateLeft();else if(-1===t&&-1===i)n[r][1]=e.rotateRight();else if(1===t&&-1===i)e.right=n[r+1][1]=n[r+1][1].rotateRight(),n[r][1]=e.rotateLeft();else{if(-1!==t||1!==i)throw new Error;e.left=n[r+1][1]=n[r+1][1].rotateLeft(),n[r][1]=e.rotateRight()}if(r>0)switch(n[r-1][0]){case-1:n[r-1][1].left=n[r][1];break;case 1:n[r-1][1].right=n[r][1];break;case 0:n[r-1][1].mid=n[r][1]}else this._root=n[0][1]}}return o}get(e){var t;return null===(t=this._getNode(e))||void 0===t?void 0:t.value}_getNode(e){const t=this._iter.reset(e);let i=this._root;for(;i;){const e=t.cmp(i.segment);if(e>0)i=i.left;else if(e<0)i=i.right;else{if(!t.hasNext())break;t.next(),i=i.mid}}return i}has(e){const t=this._getNode(e);return!(void 0===(null===t||void 0===t?void 0:t.value)&&void 0===(null===t||void 0===t?void 0:t.mid))}delete(e){return this._delete(e,!1)}deleteSuperstr(e){return this._delete(e,!0)}_delete(e,t){var i;const s=this._iter.reset(e),n=[];let o=this._root;for(;o;){const e=s.cmp(o.segment);if(e>0)n.push([-1,o]),o=o.left;else if(e<0)n.push([1,o]),o=o.right;else{if(!s.hasNext())break;s.next(),n.push([0,o]),o=o.mid}}if(o){if(t?(o.left=void 0,o.mid=void 0,o.right=void 0,o.height=1):(o.key=void 0,o.value=void 0),!o.mid&&!o.value)if(o.left&&o.right){const e=this._min(o.right),{key:t,value:i,segment:s}=e;this._delete(e.key,!1),o.key=t,o.value=i,o.segment=s}else{const e=null!==(i=o.left)&&void 0!==i?i:o.right;if(n.length>0){const[t,i]=n[n.length-1];switch(t){case-1:i.left=e;break;case 0:i.mid=e;break;case 1:i.right=e}}else this._root=e}for(let e=n.length-1;e>=0;e--){const t=n[e][1];t.updateHeight();const i=t.balanceFactor();if(i>1?(t.right.balanceFactor()>=0||(t.right=t.right.rotateRight()),n[e][1]=t.rotateLeft()):i<-1&&(t.left.balanceFactor()<=0||(t.left=t.left.rotateLeft()),n[e][1]=t.rotateRight()),e>0)switch(n[e-1][0]){case-1:n[e-1][1].left=n[e][1];break;case 1:n[e-1][1].right=n[e][1];break;case 0:n[e-1][1].mid=n[e][1]}else this._root=n[0][1]}}}_min(e){for(;e.left;)e=e.left;return e}findSubstr(e){const t=this._iter.reset(e);let i,s=this._root;for(;s;){const e=t.cmp(s.segment);if(e>0)s=s.left;else if(e<0)s=s.right;else{if(!t.hasNext())break;t.next(),i=s.value||i,s=s.mid}}return s&&s.value||i}findSuperstr(e){const t=this._iter.reset(e);let i=this._root;for(;i;){const e=t.cmp(i.segment);if(e>0)i=i.left;else if(e<0)i=i.right;else{if(!t.hasNext())return i.mid?this._entries(i.mid):void 0;t.next(),i=i.mid}}}forEach(e){for(const[t,i]of this)e(i,t)}*[Symbol.iterator](){yield*this._entries(this._root)}*_entries(e){e&&(e.left&&(yield*this._entries(e.left)),e.value&&(yield[e.key,e.value]),e.mid&&(yield*this._entries(e.mid)),e.right&&(yield*this._entries(e.right)))}}class u{constructor(e,t){this.uri=e,this.value=t}}class p{constructor(e,t){this[s]="ResourceMap",e instanceof p?(this.map=new Map(e.map),this.toKey=null!==t&&void 0!==t?t:p.defaultToKey):(this.map=new Map,this.toKey=null!==e&&void 0!==e?e:p.defaultToKey)}set(e,t){return this.map.set(this.toKey(e),new u(e,t)),this}get(e){var t;return null===(t=this.map.get(this.toKey(e)))||void 0===t?void 0:t.value}has(e){return this.map.has(this.toKey(e))}get size(){return this.map.size}clear(){this.map.clear()}delete(e){return this.map.delete(this.toKey(e))}forEach(e,t){"undefined"!==typeof t&&(e=e.bind(t));for(const[i,s]of this.map)e(s.value,s.uri,this)}*values(){for(const e of this.map.values())yield e.value}*keys(){for(const e of this.map.values())yield e.uri}*entries(){for(const e of this.map.values())yield[e.uri,e.value]}*[(s=Symbol.toStringTag,Symbol.iterator)](){for(const[,e]of this.map)yield[e.uri,e.value]}}p.defaultToKey=e=>e.toString();class m{constructor(){this[n]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var e;return null===(e=this._head)||void 0===e?void 0:e.value}get last(){var e;return null===(e=this._tail)||void 0===e?void 0:e.value}has(e){return this._map.has(e)}get(e,t=0){const i=this._map.get(e);if(i)return 0!==t&&this.touch(i,t),i.value}set(e,t,i=0){let s=this._map.get(e);if(s)s.value=t,0!==i&&this.touch(s,i);else{switch(s={key:e,value:t,next:void 0,previous:void 0},i){case 0:case 2:default:this.addItemLast(s);break;case 1:this.addItemFirst(s)}this._map.set(e,s),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){const t=this._map.get(e);if(t)return this._map.delete(e),this.removeItem(t),this._size--,t.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,t){const i=this._state;let s=this._head;for(;s;){if(t?e.bind(t)(s.value,s.key,this):e(s.value,s.key,this),this._state!==i)throw new Error("LinkedMap got modified during iteration.");s=s.next}}keys(){const e=this,t=this._state;let i=this._head;const s={[Symbol.iterator]:()=>s,next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");if(i){const e={value:i.key,done:!1};return i=i.next,e}return{value:void 0,done:!0}}};return s}values(){const e=this,t=this._state;let i=this._head;const s={[Symbol.iterator]:()=>s,next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");if(i){const e={value:i.value,done:!1};return i=i.next,e}return{value:void 0,done:!0}}};return s}entries(){const e=this,t=this._state;let i=this._head;const s={[Symbol.iterator]:()=>s,next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");if(i){const e={value:[i.key,i.value],done:!1};return i=i.next,e}return{value:void 0,done:!0}}};return s}[(n=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(e){if(e>=this.size)return;if(0===e)return void this.clear();let t=this._head,i=this.size;for(;t&&i>e;)this._map.delete(t.key),t=t.next,i--;this._head=t,this._size=i,t&&(t.previous=void 0),this._state++}addItemFirst(e){if(this._head||this._tail){if(!this._head)throw new Error("Invalid list");e.next=this._head,this._head.previous=e}else this._tail=e;this._head=e,this._state++}addItemLast(e){if(this._head||this._tail){if(!this._tail)throw new Error("Invalid list");e.previous=this._tail,this._tail.next=e}else this._head=e;this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{const t=e.next,i=e.previous;if(!t||!i)throw new Error("Invalid list");t.previous=i,i.next=t}e.next=void 0,e.previous=void 0,this._state++}touch(e,t){if(!this._head||!this._tail)throw new Error("Invalid list");if(1===t||2===t)if(1===t){if(e===this._head)return;const t=e.next,i=e.previous;e===this._tail?(i.next=void 0,this._tail=i):(t.previous=i,i.next=t),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(2===t){if(e===this._tail)return;const t=e.next,i=e.previous;e===this._head?(t.previous=void 0,this._head=t):(t.previous=i,i.next=t),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}toJSON(){const e=[];return this.forEach(((t,i)=>{e.push([i,t])})),e}fromJSON(e){this.clear();for(const[t,i]of e)this.set(t,i)}}class g extends m{constructor(e,t=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,t),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get(e,t=2){return super.get(e,t)}peek(e){return super.get(e,0)}set(e,t){return super.set(e,t,2),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}}},92410:(e,t,i)=>{i.d(t,{q:()=>o});var s=i(52756),n=i(65698);function o(e){let t=JSON.parse(e);return t=r(t),t}function r(e,t=0){if(!e||t>200)return e;if("object"===typeof e){switch(e.$mid){case 1:return n.r.revive(e);case 2:return new RegExp(e.source,e.flags);case 14:return new Date(e.source)}if(e instanceof s.MB||e instanceof Uint8Array)return e;if(Array.isArray(e))for(let i=0;i<e.length;++i)e[i]=r(e[i],t+1);else for(const i in e)Object.hasOwnProperty.call(e,i)&&(e[i]=r(e[i],t+1))}return e}},21298:(e,t,i)=>{i.d(t,{K:()=>s});const s=Object.freeze({text:"text/plain",binary:"application/octet-stream",unknown:"application/unknown",markdown:"text/markdown",latex:"text/latex",uriList:"text/uri-list"})},46442:(e,t,i)=>{i.d(t,{Ez:()=>r,ny:()=>s,zl:()=>a});var s,n=i(55977),o=i(65698);!function(e){e.inMemory="inmemory",e.vscode="vscode",e.internal="private",e.walkThrough="walkThrough",e.walkThroughSnippet="walkThroughSnippet",e.http="http",e.https="https",e.file="file",e.mailto="mailto",e.untitled="untitled",e.data="data",e.command="command",e.vscodeRemote="vscode-remote",e.vscodeRemoteResource="vscode-remote-resource",e.vscodeUserData="vscode-userdata",e.vscodeCustomEditor="vscode-custom-editor",e.vscodeNotebook="vscode-notebook",e.vscodeNotebookCell="vscode-notebook-cell",e.vscodeNotebookCellMetadata="vscode-notebook-cell-metadata",e.vscodeNotebookCellOutput="vscode-notebook-cell-output",e.vscodeInteractive="vscode-interactive",e.vscodeInteractiveInput="vscode-interactive-input",e.vscodeSettings="vscode-settings",e.vscodeWorkspaceTrust="vscode-workspace-trust",e.vscodeTerminal="vscode-terminal",e.webviewPanel="webview-panel",e.vscodeWebview="vscode-webview",e.extension="extension",e.vscodeFileResource="vscode-file",e.tmp="tmp",e.vsls="vsls"}(s||(s={}));const r=new class{constructor(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null,this._remoteResourcesPath=`/${s.vscodeRemoteResource}`}setPreferredWebSchema(e){this._preferredWebSchema=e}rewrite(e){if(this._delegate)return this._delegate(e);const t=e.authority;let i=this._hosts[t];i&&-1!==i.indexOf(":")&&(i=`[${i}]`);const r=this._ports[t],l=this._connectionTokens[t];let a=`path=${encodeURIComponent(e.path)}`;return"string"===typeof l&&(a+=`&tkn=${encodeURIComponent(l)}`),o.r.from({scheme:n.HZ?this._preferredWebSchema:s.vscodeRemoteResource,authority:`${i}:${r}`,path:this._remoteResourcesPath,query:a})}};class l{asBrowserUri(e,t){const i=this.toUri(e,t);return i.scheme===s.vscodeRemote?r.rewrite(i):i.scheme===s.file&&(n.ib||n.p7&&n.zQ.origin===`${s.vscodeFileResource}://${l.FALLBACK_AUTHORITY}`)?i.with({scheme:s.vscodeFileResource,authority:i.authority||l.FALLBACK_AUTHORITY,query:null,fragment:null}):i}toUri(e,t){return o.r.isUri(e)?e:o.r.parse(t.toUrl(e))}}l.FALLBACK_AUTHORITY="vscode-app";const a=new l},89142:(e,t,i)=>{function s(e,t,i){return Math.min(Math.max(e,t),i)}i.d(t,{Uq:()=>n,mu:()=>o,qE:()=>s});class n{constructor(){this._n=1,this._val=0}update(e){return this._val=this._val+(e-this._val)/this._n,this._n+=1,this._val}get value(){return this._val}}class o{constructor(e){this._n=0,this._val=0,this._values=[],this._index=0,this._sum=0,this._values=new Array(e),this._values.fill(0,0,e)}update(e){const t=this._values[this._index];return this._values[this._index]=e,this._index=(this._index+1)%this._values.length,this._sum-=t,this._sum+=e,this._n<this._values.length&&(this._n+=1),this._val=this._sum/this._n,this._val}get value(){return this._val}}},61460:(e,t,i)=>{i.d(t,{Go:()=>n,PI:()=>l,aI:()=>d,co:()=>h,ol:()=>o});var s=i(59713);function n(e){if(!e||"object"!==typeof e)return e;if(e instanceof RegExp)return e;const t=Array.isArray(e)?[]:{};return Object.keys(e).forEach((i=>{e[i]&&"object"===typeof e[i]?t[i]=n(e[i]):t[i]=e[i]})),t}function o(e){if(!e||"object"!==typeof e)return e;const t=[e];for(;t.length>0;){const e=t.shift();Object.freeze(e);for(const i in e)if(r.call(e,i)){const n=e[i];"object"!==typeof n||Object.isFrozen(n)||(0,s.iu)(n)||t.push(n)}}return e}const r=Object.prototype.hasOwnProperty;function l(e,t){return a(e,t,new Set)}function a(e,t,i){if((0,s.z)(e))return e;const n=t(e);if("undefined"!==typeof n)return n;if((0,s.cy)(e)){const s=[];for(const n of e)s.push(a(n,t,i));return s}if((0,s.Gv)(e)){if(i.has(e))throw new Error("Cannot clone recursive data-structure");i.add(e);const s={};for(const n in e)r.call(e,n)&&(s[n]=a(e[n],t,i));return i.delete(e),s}return e}function h(e,t,i=!0){return(0,s.Gv)(e)?((0,s.Gv)(t)&&Object.keys(t).forEach((n=>{n in e?i&&((0,s.Gv)(e[n])&&(0,s.Gv)(t[n])?h(e[n],t[n],i):e[n]=t[n]):e[n]=t[n]})),e):t}function d(e,t){if(e===t)return!0;if(null===e||void 0===e||null===t||void 0===t)return!1;if(typeof e!==typeof t)return!1;if("object"!==typeof e)return!1;if(Array.isArray(e)!==Array.isArray(t))return!1;let i,s;if(Array.isArray(e)){if(e.length!==t.length)return!1;for(i=0;i<e.length;i++)if(!d(e[i],t[i]))return!1}else{const n=[];for(s in e)n.push(s);n.sort();const o=[];for(s in t)o.push(s);if(o.sort(),!d(n,o))return!1;for(i=0;i<n.length;i++)if(!d(e[n[i]],t[n[i]]))return!1}return!0}},72142:(e,t,i)=>{i.d(t,{P8:()=>E,pD:()=>D,LC:()=>x,S8:()=>w,SA:()=>y,V8:()=>C,hd:()=>S,Vn:()=>N,IN:()=>_});var s=i(55977),n=i(88295);let o;if("undefined"!==typeof s.zQ.vscode&&"undefined"!==typeof s.zQ.vscode.process){const e=s.zQ.vscode.process;o={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd:()=>e.cwd()}}else o="undefined"!==typeof n?{get platform(){return n.platform},get arch(){return n.arch},get env(){return{}},cwd:()=>({}.VSCODE_CWD||n.cwd())}:{get platform(){return s.uF?"win32":s.zx?"darwin":"linux"},get arch(){},get env(){return{}},cwd:()=>"/"};const r=o.cwd,l=(o.env,o.platform),a=46,h=47,d=92,c=58;class u extends Error{constructor(e,t,i){let s;"string"===typeof t&&0===t.indexOf("not ")?(s="must not be",t=t.replace(/^not /,"")):s="must be";const n=-1!==e.indexOf(".")?"property":"argument";let o=`The "${e}" ${n} ${s} of type ${t}`;o+=". Received type "+typeof i,super(o),this.code="ERR_INVALID_ARG_TYPE"}}function p(e,t){if("string"!==typeof e)throw new u(t,"string",e)}function m(e){return e===h||e===d}function g(e){return e===h}function f(e){return e>=65&&e<=90||e>=97&&e<=122}function v(e,t,i,s){let n="",o=0,r=-1,l=0,d=0;for(let c=0;c<=e.length;++c){if(c<e.length)d=e.charCodeAt(c);else{if(s(d))break;d=h}if(s(d)){if(r===c-1||1===l);else if(2===l){if(n.length<2||2!==o||n.charCodeAt(n.length-1)!==a||n.charCodeAt(n.length-2)!==a){if(n.length>2){const e=n.lastIndexOf(i);-1===e?(n="",o=0):(n=n.slice(0,e),o=n.length-1-n.lastIndexOf(i)),r=c,l=0;continue}if(0!==n.length){n="",o=0,r=c,l=0;continue}}t&&(n+=n.length>0?`${i}..`:"..",o=2)}else n.length>0?n+=`${i}${e.slice(r+1,c)}`:n=e.slice(r+1,c),o=c-r-1;r=c,l=0}else d===a&&-1!==l?++l:l=-1}return n}function b(e,t){if(null===t||"object"!==typeof t)throw new u("pathObject","Object",t);const i=t.dir||t.root,s=t.base||`${t.name||""}${t.ext||""}`;return i?i===t.root?`${i}${s}`:`${i}${e}${s}`:s}const _={resolve(...e){let t="",i="",s=!1;for(let n=e.length-1;n>=-1;n--){let o;if(n>=0){if(o=e[n],p(o,"path"),0===o.length)continue}else 0===t.length?o=r():(o={}[`=${t}`]||r(),(void 0===o||o.slice(0,2).toLowerCase()!==t.toLowerCase()&&o.charCodeAt(2)===d)&&(o=`${t}\\`));const l=o.length;let a=0,h="",u=!1;const g=o.charCodeAt(0);if(1===l)m(g)&&(a=1,u=!0);else if(m(g))if(u=!0,m(o.charCodeAt(1))){let e=2,t=e;for(;e<l&&!m(o.charCodeAt(e));)e++;if(e<l&&e!==t){const i=o.slice(t,e);for(t=e;e<l&&m(o.charCodeAt(e));)e++;if(e<l&&e!==t){for(t=e;e<l&&!m(o.charCodeAt(e));)e++;e!==l&&e===t||(h=`\\\\${i}\\${o.slice(t,e)}`,a=e)}}}else a=1;else f(g)&&o.charCodeAt(1)===c&&(h=o.slice(0,2),a=2,l>2&&m(o.charCodeAt(2))&&(u=!0,a=3));if(h.length>0)if(t.length>0){if(h.toLowerCase()!==t.toLowerCase())continue}else t=h;if(s){if(t.length>0)break}else if(i=`${o.slice(a)}\\${i}`,s=u,u&&t.length>0)break}return i=v(i,!s,"\\",m),s?`${t}\\${i}`:`${t}${i}`||"."},normalize(e){p(e,"path");const t=e.length;if(0===t)return".";let i,s=0,n=!1;const o=e.charCodeAt(0);if(1===t)return g(o)?"\\":e;if(m(o))if(n=!0,m(e.charCodeAt(1))){let n=2,o=n;for(;n<t&&!m(e.charCodeAt(n));)n++;if(n<t&&n!==o){const r=e.slice(o,n);for(o=n;n<t&&m(e.charCodeAt(n));)n++;if(n<t&&n!==o){for(o=n;n<t&&!m(e.charCodeAt(n));)n++;if(n===t)return`\\\\${r}\\${e.slice(o)}\\`;n!==o&&(i=`\\\\${r}\\${e.slice(o,n)}`,s=n)}}}else s=1;else f(o)&&e.charCodeAt(1)===c&&(i=e.slice(0,2),s=2,t>2&&m(e.charCodeAt(2))&&(n=!0,s=3));let r=s<t?v(e.slice(s),!n,"\\",m):"";return 0!==r.length||n||(r="."),r.length>0&&m(e.charCodeAt(t-1))&&(r+="\\"),void 0===i?n?`\\${r}`:r:n?`${i}\\${r}`:`${i}${r}`},isAbsolute(e){p(e,"path");const t=e.length;if(0===t)return!1;const i=e.charCodeAt(0);return m(i)||t>2&&f(i)&&e.charCodeAt(1)===c&&m(e.charCodeAt(2))},join(...e){if(0===e.length)return".";let t,i;for(let o=0;o<e.length;++o){const s=e[o];p(s,"path"),s.length>0&&(void 0===t?t=i=s:t+=`\\${s}`)}if(void 0===t)return".";let s=!0,n=0;if("string"===typeof i&&m(i.charCodeAt(0))){++n;const e=i.length;e>1&&m(i.charCodeAt(1))&&(++n,e>2&&(m(i.charCodeAt(2))?++n:s=!1))}if(s){for(;n<t.length&&m(t.charCodeAt(n));)n++;n>=2&&(t=`\\${t.slice(n)}`)}return _.normalize(t)},relative(e,t){if(p(e,"from"),p(t,"to"),e===t)return"";const i=_.resolve(e),s=_.resolve(t);if(i===s)return"";if((e=i.toLowerCase())===(t=s.toLowerCase()))return"";let n=0;for(;n<e.length&&e.charCodeAt(n)===d;)n++;let o=e.length;for(;o-1>n&&e.charCodeAt(o-1)===d;)o--;const r=o-n;let l=0;for(;l<t.length&&t.charCodeAt(l)===d;)l++;let a=t.length;for(;a-1>l&&t.charCodeAt(a-1)===d;)a--;const h=a-l,c=r<h?r:h;let u=-1,m=0;for(;m<c;m++){const i=e.charCodeAt(n+m);if(i!==t.charCodeAt(l+m))break;i===d&&(u=m)}if(m!==c){if(-1===u)return s}else{if(h>c){if(t.charCodeAt(l+m)===d)return s.slice(l+m+1);if(2===m)return s.slice(l+m)}r>c&&(e.charCodeAt(n+m)===d?u=m:2===m&&(u=3)),-1===u&&(u=0)}let g="";for(m=n+u+1;m<=o;++m)m!==o&&e.charCodeAt(m)!==d||(g+=0===g.length?"..":"\\..");return l+=u,g.length>0?`${g}${s.slice(l,a)}`:(s.charCodeAt(l)===d&&++l,s.slice(l,a))},toNamespacedPath(e){if("string"!==typeof e)return e;if(0===e.length)return"";const t=_.resolve(e);if(t.length<=2)return e;if(t.charCodeAt(0)===d){if(t.charCodeAt(1)===d){const e=t.charCodeAt(2);if(63!==e&&e!==a)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(f(t.charCodeAt(0))&&t.charCodeAt(1)===c&&t.charCodeAt(2)===d)return`\\\\?\\${t}`;return e},dirname(e){p(e,"path");const t=e.length;if(0===t)return".";let i=-1,s=0;const n=e.charCodeAt(0);if(1===t)return m(n)?e:".";if(m(n)){if(i=s=1,m(e.charCodeAt(1))){let n=2,o=n;for(;n<t&&!m(e.charCodeAt(n));)n++;if(n<t&&n!==o){for(o=n;n<t&&m(e.charCodeAt(n));)n++;if(n<t&&n!==o){for(o=n;n<t&&!m(e.charCodeAt(n));)n++;if(n===t)return e;n!==o&&(i=s=n+1)}}}}else f(n)&&e.charCodeAt(1)===c&&(i=t>2&&m(e.charCodeAt(2))?3:2,s=i);let o=-1,r=!0;for(let l=t-1;l>=s;--l)if(m(e.charCodeAt(l))){if(!r){o=l;break}}else r=!1;if(-1===o){if(-1===i)return".";o=i}return e.slice(0,o)},basename(e,t){void 0!==t&&p(t,"ext"),p(e,"path");let i,s=0,n=-1,o=!0;if(e.length>=2&&f(e.charCodeAt(0))&&e.charCodeAt(1)===c&&(s=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let r=t.length-1,l=-1;for(i=e.length-1;i>=s;--i){const a=e.charCodeAt(i);if(m(a)){if(!o){s=i+1;break}}else-1===l&&(o=!1,l=i+1),r>=0&&(a===t.charCodeAt(r)?-1===--r&&(n=i):(r=-1,n=l))}return s===n?n=l:-1===n&&(n=e.length),e.slice(s,n)}for(i=e.length-1;i>=s;--i)if(m(e.charCodeAt(i))){if(!o){s=i+1;break}}else-1===n&&(o=!1,n=i+1);return-1===n?"":e.slice(s,n)},extname(e){p(e,"path");let t=0,i=-1,s=0,n=-1,o=!0,r=0;e.length>=2&&e.charCodeAt(1)===c&&f(e.charCodeAt(0))&&(t=s=2);for(let l=e.length-1;l>=t;--l){const t=e.charCodeAt(l);if(m(t)){if(!o){s=l+1;break}}else-1===n&&(o=!1,n=l+1),t===a?-1===i?i=l:1!==r&&(r=1):-1!==i&&(r=-1)}return-1===i||-1===n||0===r||1===r&&i===n-1&&i===s+1?"":e.slice(i,n)},format:b.bind(null,"\\"),parse(e){p(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const i=e.length;let s=0,n=e.charCodeAt(0);if(1===i)return m(n)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(m(n)){if(s=1,m(e.charCodeAt(1))){let t=2,n=t;for(;t<i&&!m(e.charCodeAt(t));)t++;if(t<i&&t!==n){for(n=t;t<i&&m(e.charCodeAt(t));)t++;if(t<i&&t!==n){for(n=t;t<i&&!m(e.charCodeAt(t));)t++;t===i?s=t:t!==n&&(s=t+1)}}}}else if(f(n)&&e.charCodeAt(1)===c){if(i<=2)return t.root=t.dir=e,t;if(s=2,m(e.charCodeAt(2))){if(3===i)return t.root=t.dir=e,t;s=3}}s>0&&(t.root=e.slice(0,s));let o=-1,r=s,l=-1,h=!0,d=e.length-1,u=0;for(;d>=s;--d)if(n=e.charCodeAt(d),m(n)){if(!h){r=d+1;break}}else-1===l&&(h=!1,l=d+1),n===a?-1===o?o=d:1!==u&&(u=1):-1!==o&&(u=-1);return-1!==l&&(-1===o||0===u||1===u&&o===l-1&&o===r+1?t.base=t.name=e.slice(r,l):(t.name=e.slice(r,o),t.base=e.slice(r,l),t.ext=e.slice(o,l))),t.dir=r>0&&r!==s?e.slice(0,r-1):t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},y={resolve(...e){let t="",i=!1;for(let s=e.length-1;s>=-1&&!i;s--){const n=s>=0?e[s]:r();p(n,"path"),0!==n.length&&(t=`${n}/${t}`,i=n.charCodeAt(0)===h)}return t=v(t,!i,"/",g),i?`/${t}`:t.length>0?t:"."},normalize(e){if(p(e,"path"),0===e.length)return".";const t=e.charCodeAt(0)===h,i=e.charCodeAt(e.length-1)===h;return 0===(e=v(e,!t,"/",g)).length?t?"/":i?"./":".":(i&&(e+="/"),t?`/${e}`:e)},isAbsolute:e=>(p(e,"path"),e.length>0&&e.charCodeAt(0)===h),join(...e){if(0===e.length)return".";let t;for(let i=0;i<e.length;++i){const s=e[i];p(s,"path"),s.length>0&&(void 0===t?t=s:t+=`/${s}`)}return void 0===t?".":y.normalize(t)},relative(e,t){if(p(e,"from"),p(t,"to"),e===t)return"";if((e=y.resolve(e))===(t=y.resolve(t)))return"";const i=e.length,s=i-1,n=t.length-1,o=s<n?s:n;let r=-1,l=0;for(;l<o;l++){const i=e.charCodeAt(1+l);if(i!==t.charCodeAt(1+l))break;i===h&&(r=l)}if(l===o)if(n>o){if(t.charCodeAt(1+l)===h)return t.slice(1+l+1);if(0===l)return t.slice(1+l)}else s>o&&(e.charCodeAt(1+l)===h?r=l:0===l&&(r=0));let a="";for(l=1+r+1;l<=i;++l)l!==i&&e.charCodeAt(l)!==h||(a+=0===a.length?"..":"/..");return`${a}${t.slice(1+r)}`},toNamespacedPath:e=>e,dirname(e){if(p(e,"path"),0===e.length)return".";const t=e.charCodeAt(0)===h;let i=-1,s=!0;for(let n=e.length-1;n>=1;--n)if(e.charCodeAt(n)===h){if(!s){i=n;break}}else s=!1;return-1===i?t?"/":".":t&&1===i?"//":e.slice(0,i)},basename(e,t){void 0!==t&&p(t,"ext"),p(e,"path");let i,s=0,n=-1,o=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let r=t.length-1,l=-1;for(i=e.length-1;i>=0;--i){const a=e.charCodeAt(i);if(a===h){if(!o){s=i+1;break}}else-1===l&&(o=!1,l=i+1),r>=0&&(a===t.charCodeAt(r)?-1===--r&&(n=i):(r=-1,n=l))}return s===n?n=l:-1===n&&(n=e.length),e.slice(s,n)}for(i=e.length-1;i>=0;--i)if(e.charCodeAt(i)===h){if(!o){s=i+1;break}}else-1===n&&(o=!1,n=i+1);return-1===n?"":e.slice(s,n)},extname(e){p(e,"path");let t=-1,i=0,s=-1,n=!0,o=0;for(let r=e.length-1;r>=0;--r){const l=e.charCodeAt(r);if(l!==h)-1===s&&(n=!1,s=r+1),l===a?-1===t?t=r:1!==o&&(o=1):-1!==t&&(o=-1);else if(!n){i=r+1;break}}return-1===t||-1===s||0===o||1===o&&t===s-1&&t===i+1?"":e.slice(t,s)},format:b.bind(null,"/"),parse(e){p(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const i=e.charCodeAt(0)===h;let s;i?(t.root="/",s=1):s=0;let n=-1,o=0,r=-1,l=!0,d=e.length-1,c=0;for(;d>=s;--d){const t=e.charCodeAt(d);if(t!==h)-1===r&&(l=!1,r=d+1),t===a?-1===n?n=d:1!==c&&(c=1):-1!==n&&(c=-1);else if(!l){o=d+1;break}}if(-1!==r){const s=0===o&&i?1:o;-1===n||0===c||1===c&&n===r-1&&n===o+1?t.base=t.name=e.slice(s,r):(t.name=e.slice(s,n),t.base=e.slice(s,r),t.ext=e.slice(n,r))}return o>0?t.dir=e.slice(0,o-1):i&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};y.win32=_.win32=_,y.posix=_.posix=y;const w="win32"===l?_.normalize:y.normalize,S="win32"===l?_.resolve:y.resolve,C="win32"===l?_.relative:y.relative,D="win32"===l?_.dirname:y.dirname,E="win32"===l?_.basename:y.basename,x="win32"===l?_.extname:y.extname,N="win32"===l?_.sep:y.sep},55977:(e,t,i)=>{i.d(t,{BH:()=>P,H8:()=>K,HZ:()=>A,OS:()=>M,UP:()=>W,_p:()=>B,cm:()=>z,gm:()=>H,ib:()=>k,j9:()=>N,nr:()=>V,p7:()=>I,uF:()=>E,un:()=>T,zQ:()=>y,zx:()=>x});var s,n=i(35819),o=i(88295);const r="en";let l,a,h=!1,d=!1,c=!1,u=!1,p=!1,m=!1,g=!1,f=!1,v=!1,b=r,_=null;const y="object"===typeof self?self:"object"===typeof i.g?i.g:{};let w;"undefined"!==typeof y.vscode&&"undefined"!==typeof y.vscode.process?w=y.vscode.process:"undefined"!==typeof o&&(w=o);const S="string"===typeof(null===(s=null===w||void 0===w?void 0:w.versions)||void 0===s?void 0:s.electron),C=S&&"renderer"===(null===w||void 0===w?void 0:w.type);if("object"!==typeof navigator||C){if("object"===typeof w){h="win32"===w.platform,d="darwin"===w.platform,c="linux"===w.platform,u=c&&!!w.env.SNAP&&!!w.env.SNAP_REVISION,g=S,v=!!w.env.CI||!!w.env.BUILD_ARTIFACTSTAGINGDIRECTORY,l=r,b=r;const e=w.env.VSCODE_NLS_CONFIG;if(e)try{const t=JSON.parse(e),i=t.availableLanguages["*"];l=t.locale,b=i||r,_=t._translationsConfigFile}catch($){}p=!0}}else{a=navigator.userAgent,h=a.indexOf("Windows")>=0,d=a.indexOf("Macintosh")>=0,f=(a.indexOf("Macintosh")>=0||a.indexOf("iPad")>=0||a.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,c=a.indexOf("Linux")>=0,m=!0;l=n.AM(n.kg({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"))||r,b=l}let D=0;d?D=1:h?D=3:c&&(D=2);const E=h,x=d,N=c,k=p,A=m,I=m&&"function"===typeof y.importScripts,T=f,L=a,P=b,O="function"===typeof y.postMessage&&!y.importScripts,B=(()=>{if(O){const e=[];y.addEventListener("message",(t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let i=0,s=e.length;i<s;i++){const s=e[i];if(s.id===t.data.vscodeScheduleAsyncWork)return e.splice(i,1),void s.callback()}}));let t=0;return i=>{const s=++t;e.push({id:s,callback:i}),y.postMessage({vscodeScheduleAsyncWork:s},"*")}}return e=>setTimeout(e)})(),M=d||f?2:h?1:3;let F=!0,R=!1;function z(){if(!R){R=!0;const e=new Uint8Array(2);e[0]=1,e[1]=2;const t=new Uint16Array(e.buffer);F=513===t[0]}return F}const K=!!(L&&L.indexOf("Chrome")>=0),H=!!(L&&L.indexOf("Firefox")>=0),V=!!(!K&&L&&L.indexOf("Safari")>=0),W=!!(L&&L.indexOf("Edg/")>=0);L&&L.indexOf("Android")},43545:(e,t,i)=>{var s;i.d(t,{Q:()=>s}),function(e){function t(e,t){if(e.start>=t.end||t.start>=e.end)return{start:0,end:0};const i=Math.max(e.start,t.start),s=Math.min(e.end,t.end);return s-i<=0?{start:0,end:0}:{start:i,end:s}}function i(e){return e.end-e.start<=0}e.intersect=t,e.isEmpty=i,e.intersects=function(e,s){return!i(t(e,s))},e.relativeComplement=function(e,t){const s=[],n={start:e.start,end:Math.min(t.start,e.end)},o={start:Math.max(t.end,e.start),end:e.end};return i(n)||s.push(n),i(o)||s.push(o),s}}(s||(s={}))},68959:(e,t,i)=>{i.d(t,{yE:()=>r});var s=i(42464),n=i(55808);class o{constructor(e,t,i,s,n,o,r){this._forceIntegerValues=e,this._scrollStateBrand=void 0,this._forceIntegerValues&&(t|=0,i|=0,s|=0,n|=0,o|=0,r|=0),this.rawScrollLeft=s,this.rawScrollTop=r,t<0&&(t=0),s+t>i&&(s=i-t),s<0&&(s=0),n<0&&(n=0),r+n>o&&(r=o-n),r<0&&(r=0),this.width=t,this.scrollWidth=i,this.scrollLeft=s,this.height=n,this.scrollHeight=o,this.scrollTop=r}equals(e){return this.rawScrollLeft===e.rawScrollLeft&&this.rawScrollTop===e.rawScrollTop&&this.width===e.width&&this.scrollWidth===e.scrollWidth&&this.scrollLeft===e.scrollLeft&&this.height===e.height&&this.scrollHeight===e.scrollHeight&&this.scrollTop===e.scrollTop}withScrollDimensions(e,t){return new o(this._forceIntegerValues,"undefined"!==typeof e.width?e.width:this.width,"undefined"!==typeof e.scrollWidth?e.scrollWidth:this.scrollWidth,t?this.rawScrollLeft:this.scrollLeft,"undefined"!==typeof e.height?e.height:this.height,"undefined"!==typeof e.scrollHeight?e.scrollHeight:this.scrollHeight,t?this.rawScrollTop:this.scrollTop)}withScrollPosition(e){return new o(this._forceIntegerValues,this.width,this.scrollWidth,"undefined"!==typeof e.scrollLeft?e.scrollLeft:this.rawScrollLeft,this.height,this.scrollHeight,"undefined"!==typeof e.scrollTop?e.scrollTop:this.rawScrollTop)}createScrollEvent(e,t){const i=this.width!==e.width,s=this.scrollWidth!==e.scrollWidth,n=this.scrollLeft!==e.scrollLeft,o=this.height!==e.height,r=this.scrollHeight!==e.scrollHeight,l=this.scrollTop!==e.scrollTop;return{inSmoothScrolling:t,oldWidth:e.width,oldScrollWidth:e.scrollWidth,oldScrollLeft:e.scrollLeft,width:this.width,scrollWidth:this.scrollWidth,scrollLeft:this.scrollLeft,oldHeight:e.height,oldScrollHeight:e.scrollHeight,oldScrollTop:e.scrollTop,height:this.height,scrollHeight:this.scrollHeight,scrollTop:this.scrollTop,widthChanged:i,scrollWidthChanged:s,scrollLeftChanged:n,heightChanged:o,scrollHeightChanged:r,scrollTopChanged:l}}}class r extends n.jG{constructor(e){super(),this._scrollableBrand=void 0,this._onScroll=this._register(new s.vl),this.onScroll=this._onScroll.event,this._smoothScrollDuration=e.smoothScrollDuration,this._scheduleAtNextAnimationFrame=e.scheduleAtNextAnimationFrame,this._state=new o(e.forceIntegerValues,0,0,0,0,0,0),this._smoothScrolling=null}dispose(){this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),super.dispose()}setSmoothScrollDuration(e){this._smoothScrollDuration=e}validateScrollPosition(e){return this._state.withScrollPosition(e)}getScrollDimensions(){return this._state}setScrollDimensions(e,t){var i;const s=this._state.withScrollDimensions(e,t);this._setState(s,Boolean(this._smoothScrolling)),null===(i=this._smoothScrolling)||void 0===i||i.acceptScrollDimensions(this._state)}getFutureScrollPosition(){return this._smoothScrolling?this._smoothScrolling.to:this._state}getCurrentScrollPosition(){return this._state}setScrollPositionNow(e){const t=this._state.withScrollPosition(e);this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),this._setState(t,!1)}setScrollPositionSmooth(e,t){if(0===this._smoothScrollDuration)return this.setScrollPositionNow(e);if(this._smoothScrolling){e={scrollLeft:"undefined"===typeof e.scrollLeft?this._smoothScrolling.to.scrollLeft:e.scrollLeft,scrollTop:"undefined"===typeof e.scrollTop?this._smoothScrolling.to.scrollTop:e.scrollTop};const i=this._state.withScrollPosition(e);if(this._smoothScrolling.to.scrollLeft===i.scrollLeft&&this._smoothScrolling.to.scrollTop===i.scrollTop)return;let s;s=t?new h(this._smoothScrolling.from,i,this._smoothScrolling.startTime,this._smoothScrolling.duration):this._smoothScrolling.combine(this._state,i,this._smoothScrollDuration),this._smoothScrolling.dispose(),this._smoothScrolling=s}else{const t=this._state.withScrollPosition(e);this._smoothScrolling=h.start(this._state,t,this._smoothScrollDuration)}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame((()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())}))}_performSmoothScrolling(){if(!this._smoothScrolling)return;const e=this._smoothScrolling.tick(),t=this._state.withScrollPosition(e);return this._setState(t,!0),this._smoothScrolling?e.isDone?(this._smoothScrolling.dispose(),void(this._smoothScrolling=null)):void(this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame((()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())}))):void 0}_setState(e,t){const i=this._state;i.equals(e)||(this._state=e,this._onScroll.fire(this._state.createScrollEvent(i,t)))}}class l{constructor(e,t,i){this.scrollLeft=e,this.scrollTop=t,this.isDone=i}}function a(e,t){const i=t-e;return function(t){return e+i*(1-function(e){return Math.pow(e,3)}(1-t))}}class h{constructor(e,t,i,s){this.from=e,this.to=t,this.duration=s,this.startTime=i,this.animationFrameDisposable=null,this._initAnimations()}_initAnimations(){this.scrollLeft=this._initAnimation(this.from.scrollLeft,this.to.scrollLeft,this.to.width),this.scrollTop=this._initAnimation(this.from.scrollTop,this.to.scrollTop,this.to.height)}_initAnimation(e,t,i){if(Math.abs(e-t)>2.5*i){let r,l;return e<t?(r=e+.75*i,l=t-.75*i):(r=e-.75*i,l=t+.75*i),s=a(e,r),n=a(l,t),o=.33,function(e){return e<o?s(e/o):n((e-o)/(1-o))}}var s,n,o;return a(e,t)}dispose(){null!==this.animationFrameDisposable&&(this.animationFrameDisposable.dispose(),this.animationFrameDisposable=null)}acceptScrollDimensions(e){this.to=e.withScrollPosition(this.to),this._initAnimations()}tick(){return this._tick(Date.now())}_tick(e){const t=(e-this.startTime)/this.duration;if(t<1){const e=this.scrollLeft(t),i=this.scrollTop(t);return new l(e,i,!1)}return new l(this.to.scrollLeft,this.to.scrollTop,!0)}combine(e,t,i){return h.start(e,t,i)}static start(e,t,i){i+=10;const s=Date.now()-10;return new h(e,t,s,i)}}},77721:(e,t,i)=>{i.d(t,{A:()=>o});var s,n=i(24638);!function(e){e[e.Ignore=0]="Ignore",e[e.Info=1]="Info",e[e.Warning=2]="Warning",e[e.Error=3]="Error"}(s||(s={})),function(e){const t="error",i="warning",s="info";e.fromValue=function(o){return o?n.Q_(t,o)?e.Error:n.Q_(i,o)||n.Q_("warn",o)?e.Warning:n.Q_(s,o)?e.Info:e.Ignore:e.Ignore},e.toString=function(n){switch(n){case e.Error:return t;case e.Warning:return i;case e.Info:return s;default:return"ignore"}}}(s||(s={}));const o=s},3499:(e,t,i)=>{i.d(t,{W:()=>o});var s=i(55977);const n=s.zQ.performance&&"function"===typeof s.zQ.performance.now;class o{constructor(e){this._highResolution=n&&e,this._startTime=this._now(),this._stopTime=-1}static create(e=!0){return new o(e)}stop(){this._stopTime=this._now()}elapsed(){return-1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?s.zQ.performance.now():Date.now()}}},24638:(e,t,i)=>{i.d(t,{$X:()=>q,AV:()=>r,BO:()=>p,Bm:()=>m,Bq:()=>c,DB:()=>N,E_:()=>$,GP:()=>a,HG:()=>y,LJ:()=>B,LU:()=>J,Lv:()=>k,MV:()=>H,NB:()=>u,OS:()=>f,Q_:()=>I,Qp:()=>L,RH:()=>b,S8:()=>oe,Ss:()=>Q,UD:()=>C,UU:()=>w,Vi:()=>P,W1:()=>E,Wd:()=>se,Wv:()=>A,Z5:()=>F,_J:()=>G,aC:()=>j,bm:()=>d,eY:()=>v,ih:()=>h,iy:()=>K,km:()=>z,lF:()=>D,lT:()=>S,m:()=>V,ne:()=>Y,ns:()=>T,pc:()=>O,r_:()=>X,tk:()=>ee,tl:()=>re,uz:()=>_,wB:()=>g,y_:()=>le,zY:()=>Z,z_:()=>M,zd:()=>x});var s,n=i(810),o=i(57312);function r(e){return!e||"string"!==typeof e||0===e.trim().length}const l=/{(\d+)}/g;function a(e,...t){return 0===t.length?e:e.replace(l,(function(e,i){const s=parseInt(i,10);return isNaN(s)||s<0||s>=t.length?e:t[s]}))}function h(e){return e.replace(/[<>&]/g,(function(e){switch(e){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";default:return e}}))}function d(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function c(e,t=" "){return p(u(e,t),t)}function u(e,t){if(!e||!t)return e;const i=t.length;if(0===i||0===e.length)return e;let s=0;for(;e.indexOf(t,s)===s;)s+=i;return e.substring(s)}function p(e,t){if(!e||!t)return e;const i=t.length,s=e.length;if(0===i||0===s)return e;let n=s,o=-1;for(;o=e.lastIndexOf(t,n-1),-1!==o&&o+i===n;){if(0===o)return"";n=o}return e.substring(0,n)}function m(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function g(e){return e.replace(/\*/g,"")}function f(e,t,i={}){if(!e)throw new Error("Cannot create regex from empty string");t||(e=d(e)),i.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));let s="";return i.global&&(s+="g"),i.matchCase||(s+="i"),i.multiline&&(s+="m"),i.unicode&&(s+="u"),new RegExp(e,s)}function v(e){if("^"===e.source||"^$"===e.source||"$"===e.source||"^\\s*$"===e.source)return!1;return!(!e.exec("")||0!==e.lastIndex)}function b(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")}function _(e){return e.split(/\r\n|\r|\n/)}function y(e){for(let t=0,i=e.length;t<i;t++){const i=e.charCodeAt(t);if(32!==i&&9!==i)return t}return-1}function w(e,t=0,i=e.length){for(let s=t;s<i;s++){const i=e.charCodeAt(s);if(32!==i&&9!==i)return e.substring(t,s)}return e.substring(t,i)}function S(e,t=e.length-1){for(let i=t;i>=0;i--){const t=e.charCodeAt(i);if(32!==t&&9!==t)return i}return-1}function C(e,t){return e<t?-1:e>t?1:0}function D(e,t,i=0,s=e.length,n=0,o=t.length){for(;i<s&&n<o;i++,n++){const s=e.charCodeAt(i),o=t.charCodeAt(n);if(s<o)return-1;if(s>o)return 1}const r=s-i,l=o-n;return r<l?-1:r>l?1:0}function E(e,t){return x(e,t,0,e.length,0,t.length)}function x(e,t,i=0,s=e.length,n=0,o=t.length){for(;i<s&&n<o;i++,n++){let r=e.charCodeAt(i),l=t.charCodeAt(n);if(r===l)continue;if(r>=128||l>=128)return D(e.toLowerCase(),t.toLowerCase(),i,s,n,o);k(r)&&(r-=32),k(l)&&(l-=32);const a=r-l;if(0!==a)return a}const r=s-i,l=o-n;return r<l?-1:r>l?1:0}function N(e){return e>=48&&e<=57}function k(e){return e>=97&&e<=122}function A(e){return e>=65&&e<=90}function I(e,t){return e.length===t.length&&0===x(e,t)}function T(e,t){const i=t.length;return!(t.length>e.length)&&0===x(e,t,0,i)}function L(e,t){const i=Math.min(e.length,t.length);let s;for(s=0;s<i;s++)if(e.charCodeAt(s)!==t.charCodeAt(s))return s;return i}function P(e,t){const i=Math.min(e.length,t.length);let s;const n=e.length-1,o=t.length-1;for(s=0;s<i;s++)if(e.charCodeAt(n-s)!==t.charCodeAt(o-s))return s;return i}function O(e){return 55296<=e&&e<=56319}function B(e){return 56320<=e&&e<=57343}function M(e,t){return t-56320+(e-55296<<10)+65536}function F(e,t,i){const s=e.charCodeAt(i);if(O(s)&&i+1<t){const t=e.charCodeAt(i+1);if(B(t))return M(s,t)}return s}class R{constructor(e,t=0){this._str=e,this._len=e.length,this._offset=t}get offset(){return this._offset}setOffset(e){this._offset=e}prevCodePoint(){const e=function(e,t){const i=e.charCodeAt(t-1);if(B(i)&&t>1){const s=e.charCodeAt(t-2);if(O(s))return M(s,i)}return i}(this._str,this._offset);return this._offset-=e>=65536?2:1,e}nextCodePoint(){const e=F(this._str,this._len,this._offset);return this._offset+=e>=65536?2:1,e}eol(){return this._offset>=this._len}}class z{constructor(e,t=0){this._iterator=new R(e,t)}get offset(){return this._iterator.offset}nextGraphemeLength(){const e=ie.getInstance(),t=this._iterator,i=t.offset;let s=e.getGraphemeBreakType(t.nextCodePoint());for(;!t.eol();){const i=t.offset,n=e.getGraphemeBreakType(t.nextCodePoint());if(te(s,n)){t.setOffset(i);break}s=n}return t.offset-i}prevGraphemeLength(){const e=ie.getInstance(),t=this._iterator,i=t.offset;let s=e.getGraphemeBreakType(t.prevCodePoint());for(;t.offset>0;){const i=t.offset,n=e.getGraphemeBreakType(t.prevCodePoint());if(te(n,s)){t.setOffset(i);break}s=n}return i-t.offset}eol(){return this._iterator.eol()}}function K(e,t){return new z(e,t).nextGraphemeLength()}function H(e,t){return new z(e,t).prevGraphemeLength()}function V(e,t){t>0&&B(e.charCodeAt(t))&&t--;const i=t+K(e,t);return[i-H(e,i),i]}const W=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA\u07FE-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u088E\u08A0-\u08C9\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDC7\uFDF0-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE35\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDD23\uDE80-\uDEA9\uDEAD-\uDF45\uDF51-\uDF81\uDF86-\uDFF6]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD4B-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function $(e){return W.test(e)}const U=/^[\t\n\r\x20-\x7E]*$/;function j(e){return U.test(e)}const G=/[\u2028\u2029]/;function q(e){return G.test(e)}function Y(e){return e>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function Q(e){return e>=127462&&e<=127487||8986===e||8987===e||9200===e||9203===e||e>=9728&&e<=10175||11088===e||11093===e||e>=127744&&e<=128591||e>=128640&&e<=128764||e>=128992&&e<=129008||e>=129280&&e<=129535||e>=129648&&e<=129782}const X=String.fromCharCode(65279);function J(e){return!!(e&&e.length>0&&65279===e.charCodeAt(0))}function Z(e,t=!1){return!!e&&(t&&(e=e.replace(/\\./g,"")),e.toLowerCase()!==e)}function ee(e){return(e%=52)<26?String.fromCharCode(97+e):String.fromCharCode(65+e-26)}function te(e,t){return 0===e?5!==t&&7!==t:(2!==e||3!==t)&&(4===e||2===e||3===e||(4===t||2===t||3===t||(8!==e||8!==t&&9!==t&&11!==t&&12!==t)&&((11!==e&&9!==e||9!==t&&10!==t)&&((12!==e&&10!==e||10!==t)&&(5!==t&&13!==t&&(7!==t&&(1!==e&&((13!==e||14!==t)&&(6!==e||6!==t)))))))))}class ie{constructor(){this._data=JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}static getInstance(){return ie._INSTANCE||(ie._INSTANCE=new ie),ie._INSTANCE}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;const t=this._data,i=t.length/3;let s=1;for(;s<=i;)if(e<t[3*s])s*=2;else{if(!(e>t[3*s+1]))return t[3*s+2];s=2*s+1}return 0}}function se(e,t){if(0===e)return 0;const i=function(e,t){const i=new R(t,e);let s=i.prevCodePoint();for(;ne(s)||65039===s||8419===s;){if(0===i.offset)return;s=i.prevCodePoint()}if(!Q(s))return;let n=i.offset;if(n>0){8205===i.prevCodePoint()&&(n=i.offset)}return n}(e,t);if(void 0!==i)return i;const s=new R(t,e);return s.prevCodePoint(),s.offset}function ne(e){return 127995<=e&&e<=127999}ie._INSTANCE=null;const oe="\xa0";class re{constructor(e){this.confusableDictionary=e}static getInstance(e){return re.cache.get(Array.from(e))}static getLocales(){return re._locales.getValue()}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}s=re,re.ambiguousCharacterData=new o.d((()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}'))),re.cache=new n.o((e=>{function t(e){const t=new Map;for(let i=0;i<e.length;i+=2)t.set(e[i],e[i+1]);return t}function i(e,t){if(!e)return t;const i=new Map;for(const[s,n]of e)t.has(s)&&i.set(s,n);return i}const n=s.ambiguousCharacterData.getValue();let o,r=e.filter((e=>!e.startsWith("_")&&e in n));0===r.length&&(r=["_default"]);for(const s of r){o=i(o,t(n[s]))}const l=function(e,t){const i=new Map(e);for(const[s,n]of t)i.set(s,n);return i}(t(n._common),o);return new re(l)})),re._locales=new o.d((()=>Object.keys(re.ambiguousCharacterData.getValue()).filter((e=>!e.startsWith("_")))));class le{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return this._data||(this._data=new Set(le.getRawData())),this._data}static isInvisibleCharacter(e){return le.getData().has(e)}static get codePoints(){return le.getData()}}le._data=void 0},59713:(e,t,i)=>{function s(e){return Array.isArray(e)}function n(e){return"string"===typeof e}function o(e){return"object"===typeof e&&null!==e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function r(e){const t=Object.getPrototypeOf(Uint8Array);return"object"===typeof e&&e instanceof t}function l(e){return"number"===typeof e&&!isNaN(e)}function a(e){return!!e&&"function"===typeof e[Symbol.iterator]}function h(e){return!0===e||!1===e}function d(e){return"undefined"===typeof e}function c(e){return!u(e)}function u(e){return d(e)||null===e}function p(e,t){if(!e)throw new Error(t?`Unexpected type, expected '${t}'`:"Unexpected type")}function m(e){if(u(e))throw new Error("Assertion Failed: argument is undefined or null");return e}function g(e){return"function"===typeof e}function f(e,t){const i=Math.min(e.length,t.length);for(let s=0;s<i;s++)v(e[s],t[s])}function v(e,t){if(n(t)){if(typeof e!==t)throw new Error(`argument does not match constraint: typeof ${t}`)}else if(g(t)){try{if(e instanceof t)return}catch(i){}if(!u(e)&&e.constructor===t)return;if(1===t.length&&!0===t.call(void 0,e))return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function b(e){const t=[];for(const i of function(e){let t=[],i=Object.getPrototypeOf(e);for(;Object.prototype!==i;)t=t.concat(Object.getOwnPropertyNames(i)),i=Object.getPrototypeOf(i);return t}(e))"function"===typeof e[i]&&t.push(i);return t}function _(e,t){const i=e=>function(){const i=Array.prototype.slice.call(arguments,0);return t(e,i)},s={};for(const n of e)s[n]=i(n);return s}function y(e){return null===e?void 0:e}function w(e,t="Unreachable"){throw new Error(t)}i.d(t,{Et:()=>l,Gv:()=>o,Kg:()=>n,Lm:()=>h,O9:()=>c,Tn:()=>g,UH:()=>y,V0:()=>b,b0:()=>d,cy:()=>s,eU:()=>m,iu:()=>r,j:()=>p,jx:()=>f,kT:()=>_,xZ:()=>a,xb:()=>w,z:()=>u})},59166:(e,t,i)=>{function s(e){return e<0?0:e>255?255:0|e}function n(e){return e<0?0:e>4294967295?4294967295:0|e}i.d(t,{W:()=>s,j:()=>n})}}]);