parse-dashboard 9.2.0 → 9.3.0-alpha.1

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 (95) hide show
  1. package/Parse-Dashboard/public/bundles/1056.bundle.js +1 -0
  2. package/Parse-Dashboard/public/bundles/1151.bundle.js +1 -0
  3. package/Parse-Dashboard/public/bundles/1256.bundle.js +1 -0
  4. package/Parse-Dashboard/public/bundles/1272.bundle.js +1 -0
  5. package/Parse-Dashboard/public/bundles/1356.bundle.js +1 -0
  6. package/Parse-Dashboard/public/bundles/1440.bundle.js +1 -0
  7. package/Parse-Dashboard/public/bundles/1675.bundle.js +1 -0
  8. package/Parse-Dashboard/public/bundles/1987.bundle.js +1 -0
  9. package/Parse-Dashboard/public/bundles/2499.bundle.js +2 -0
  10. package/Parse-Dashboard/public/bundles/2499.bundle.js.LICENSE.txt +6 -0
  11. package/Parse-Dashboard/public/bundles/2794.bundle.js +1 -0
  12. package/Parse-Dashboard/public/bundles/2823.bundle.js +2 -0
  13. package/Parse-Dashboard/public/bundles/2823.bundle.js.LICENSE.txt +1 -0
  14. package/Parse-Dashboard/public/bundles/2955.bundle.js +1 -0
  15. package/Parse-Dashboard/public/bundles/2972.bundle.js +1 -0
  16. package/Parse-Dashboard/public/bundles/3120.bundle.js +1 -0
  17. package/Parse-Dashboard/public/bundles/3212.bundle.js +1 -0
  18. package/Parse-Dashboard/public/bundles/3227.bundle.js +1 -0
  19. package/Parse-Dashboard/public/bundles/3412.bundle.js +1 -0
  20. package/Parse-Dashboard/public/bundles/3839.bundle.js +1 -0
  21. package/Parse-Dashboard/public/bundles/3871.bundle.js +1 -0
  22. package/Parse-Dashboard/public/bundles/4056.bundle.js +1 -0
  23. package/Parse-Dashboard/public/bundles/4062.bundle.js +1 -0
  24. package/Parse-Dashboard/public/bundles/4069.bundle.js +1 -0
  25. package/Parse-Dashboard/public/bundles/4097.bundle.js +1 -0
  26. package/Parse-Dashboard/public/bundles/4438.bundle.js +1 -0
  27. package/Parse-Dashboard/public/bundles/448.bundle.js +1 -1
  28. package/Parse-Dashboard/public/bundles/4760.bundle.js +2 -0
  29. package/Parse-Dashboard/public/bundles/4760.bundle.js.LICENSE.txt +6 -0
  30. package/Parse-Dashboard/public/bundles/4837.bundle.js +1 -0
  31. package/Parse-Dashboard/public/bundles/490.bundle.js +1 -0
  32. package/Parse-Dashboard/public/bundles/5147.bundle.js +1 -0
  33. package/Parse-Dashboard/public/bundles/5166.bundle.js +1 -0
  34. package/Parse-Dashboard/public/bundles/5281.bundle.js +2 -0
  35. package/Parse-Dashboard/public/bundles/5281.bundle.js.LICENSE.txt +44 -0
  36. package/Parse-Dashboard/public/bundles/5521.bundle.js +1 -0
  37. package/Parse-Dashboard/public/bundles/580.bundle.js +1 -0
  38. package/Parse-Dashboard/public/bundles/5834.bundle.js +1 -0
  39. package/Parse-Dashboard/public/bundles/5851.bundle.js +1 -0
  40. package/Parse-Dashboard/public/bundles/5866.bundle.js +1 -0
  41. package/Parse-Dashboard/public/bundles/5967.bundle.js +1 -0
  42. package/Parse-Dashboard/public/bundles/6079.bundle.js +1 -0
  43. package/Parse-Dashboard/public/bundles/6214.bundle.js +1 -0
  44. package/Parse-Dashboard/public/bundles/6490.bundle.js +1 -0
  45. package/Parse-Dashboard/public/bundles/6556.bundle.js +1 -0
  46. package/Parse-Dashboard/public/bundles/6562.bundle.js +2 -0
  47. package/Parse-Dashboard/public/bundles/6562.bundle.js.LICENSE.txt +6 -0
  48. package/Parse-Dashboard/public/bundles/6727.bundle.js +1 -0
  49. package/Parse-Dashboard/public/bundles/7110.bundle.js +1 -0
  50. package/Parse-Dashboard/public/bundles/7214.bundle.js +2 -0
  51. package/Parse-Dashboard/public/bundles/7214.bundle.js.LICENSE.txt +6 -0
  52. package/Parse-Dashboard/public/bundles/7413.bundle.js +1 -0
  53. package/Parse-Dashboard/public/bundles/7537.bundle.js +1 -0
  54. package/Parse-Dashboard/public/bundles/7775.bundle.js +1 -0
  55. package/Parse-Dashboard/public/bundles/792.bundle.js +1 -0
  56. package/Parse-Dashboard/public/bundles/802.bundle.js +1 -0
  57. package/Parse-Dashboard/public/bundles/8058.bundle.js +1 -0
  58. package/Parse-Dashboard/public/bundles/8445.bundle.js +1 -0
  59. package/Parse-Dashboard/public/bundles/9096.bundle.js +1 -0
  60. package/Parse-Dashboard/public/bundles/9174.bundle.js +1 -0
  61. package/Parse-Dashboard/public/bundles/9433.bundle.js +1 -0
  62. package/Parse-Dashboard/public/bundles/9794.bundle.js +1 -0
  63. package/Parse-Dashboard/public/bundles/9895.bundle.js +1 -0
  64. package/Parse-Dashboard/public/bundles/dashboard.bundle.js +1 -1
  65. package/Parse-Dashboard/public/bundles/dashboard.bundle.js.LICENSE.txt +39 -75
  66. package/Parse-Dashboard/public/bundles/img/f6283f7ccaed1249d9eb.ttf +0 -0
  67. package/Parse-Dashboard/public/bundles/login.bundle.js +1 -1
  68. package/Parse-Dashboard/public/bundles/login.bundle.js.LICENSE.txt +21 -14
  69. package/Parse-Dashboard/server.js +9 -2
  70. package/package.json +21 -16
  71. package/Parse-Dashboard/public/bundles/120.bundle.js +0 -1
  72. package/Parse-Dashboard/public/bundles/183.bundle.js +0 -1
  73. package/Parse-Dashboard/public/bundles/19.bundle.js +0 -1
  74. package/Parse-Dashboard/public/bundles/221.bundle.js +0 -1
  75. package/Parse-Dashboard/public/bundles/372.bundle.js +0 -1
  76. package/Parse-Dashboard/public/bundles/573.bundle.js +0 -1
  77. package/Parse-Dashboard/public/bundles/578.bundle.js +0 -1
  78. package/Parse-Dashboard/public/bundles/584.bundle.js +0 -1
  79. package/Parse-Dashboard/public/bundles/629.bundle.js +0 -1
  80. package/Parse-Dashboard/public/bundles/643.bundle.js +0 -1
  81. package/Parse-Dashboard/public/bundles/647.bundle.js +0 -1
  82. package/Parse-Dashboard/public/bundles/701.bundle.js +0 -1
  83. package/Parse-Dashboard/public/bundles/729.bundle.js +0 -1
  84. package/Parse-Dashboard/public/bundles/75.bundle.js +0 -1
  85. package/Parse-Dashboard/public/bundles/753.bundle.js +0 -1
  86. package/Parse-Dashboard/public/bundles/817.bundle.js +0 -1
  87. package/Parse-Dashboard/public/bundles/844.bundle.js +0 -1
  88. package/Parse-Dashboard/public/bundles/862.bundle.js +0 -1
  89. package/Parse-Dashboard/public/bundles/866.bundle.js +0 -1
  90. package/Parse-Dashboard/public/bundles/874.bundle.js +0 -1
  91. package/Parse-Dashboard/public/bundles/881.bundle.js +0 -1
  92. package/Parse-Dashboard/public/bundles/929.bundle.js +0 -1
  93. package/Parse-Dashboard/public/bundles/950.bundle.js +0 -1
  94. package/Parse-Dashboard/public/bundles/97.bundle.js +0 -1
  95. package/Parse-Dashboard/public/bundles/976.bundle.js +0 -1
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 2823.bundle.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[2823],{29689(e,t,n){n.d(t,{Dy:()=>s,H8:()=>d,Qu:()=>p,Tc:()=>c,c8:()=>u,gm:()=>l,m0:()=>g,nr:()=>h,pR:()=>r});var i=n(5657);class o{constructor(){this.mapWindowIdToZoomFactor=new Map}static{this.INSTANCE=new o}getZoomFactor(e){return this.mapWindowIdToZoomFactor.get(this.getWindowId(e))??1}getWindowId(e){return e.vscodeWindowId}}function s(e,t,n){"string"==typeof t&&(t=e.matchMedia(t)),t.addEventListener("change",n)}function r(e){return o.INSTANCE.getZoomFactor(e)}const a=navigator.userAgent,l=a.indexOf("Firefox")>=0,c=a.indexOf("AppleWebKit")>=0,d=a.indexOf("Chrome")>=0,h=!d&&a.indexOf("Safari")>=0,u=!d&&!h&&c,g=(a.indexOf("Electron/"),a.indexOf("Android")>=0);let f=!1;if("function"==typeof i.G.matchMedia){const e=i.G.matchMedia("(display-mode: standalone) or (display-mode: window-controls-overlay)"),t=i.G.matchMedia("(display-mode: fullscreen)");f=e.matches,s(i.G,e,({matches:e})=>{f&&t.matches||(f=e)})}function p(){return f}},65677(e,t,n){n.d(t,{e:()=>r});var i=n(29689),o=n(5657),s=n(34591);const r={clipboard:{writeText:s.ib||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:s.ib||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText)},keyboard:s.ib||i.Qu()?0:navigator.keyboard||i.nr?1:2,touch:"ontouchstart"in o.G||navigator.maxTouchPoints>0,pointerEvents:o.G.PointerEvent&&("ontouchstart"in o.G||navigator.maxTouchPoints>0)}},80081(e,t,n){n.d(t,{$:()=>Fe,BC:()=>Ee,BK:()=>G,Be:()=>P,Bx:()=>_e,CE:()=>Ue,Cl:()=>ee,Di:()=>Xe,Ej:()=>K,Er:()=>ke,Fv:()=>L,H4:()=>Y,Hs:()=>Ie,Ij:()=>R,Iv:()=>_,L9:()=>H,Ln:()=>Re,Mc:()=>et,OK:()=>X,Oq:()=>N,PG:()=>W,Pl:()=>Me,Q2:()=>v,QX:()=>Z,TT:()=>Ye,Tf:()=>Ge,Tr:()=>q,U2:()=>we,U3:()=>I,WU:()=>Ve,Wt:()=>me,X7:()=>ie,XD:()=>Q,Xc:()=>E,ZF:()=>k,a:()=>se,a4:()=>$e,b2:()=>M,bo:()=>He,bq:()=>ne,cL:()=>U,fg:()=>B,fs:()=>Le,fz:()=>re,gI:()=>qe,h:()=>Je,i0:()=>Ke,jD:()=>ze,jG:()=>te,jh:()=>le,ko:()=>O,kx:()=>Se,li:()=>de,mU:()=>j,nR:()=>oe,nY:()=>Ce,pN:()=>Ze,q3:()=>T,sb:()=>be,sd:()=>Te,tG:()=>V,vT:()=>Be,w5:()=>Ae,w_:()=>D,wk:()=>xe,xZ:()=>ve,y6:()=>$,yt:()=>je,zK:()=>De,zk:()=>w});var i=n(29689),o=n(65677),s=n(39526),r=n(5015),a=n(55842),l=n(48275),c=n(98137),d=n(55202),h=n(80194),u=n(19964),g=n(34591),f=n(73236),p=n(5657);const{registerWindow:m,getWindow:w,getDocument:y,getWindows:b,getWindowsCount:C,getWindowId:v,getWindowById:k,hasWindow:S,onDidRegisterWindow:_,onWillUnregisterWindow:T,onDidUnregisterWindow:L}=function(){const e=new Map;(0,p.y)(p.G,1);const t={window:p.G,disposables:new h.Cm};e.set(p.G.vscodeWindowId,t);const n=new c.vl,i=new c.vl,o=new c.vl;return{onDidRegisterWindow:n.event,onWillUnregisterWindow:o.event,onDidUnregisterWindow:i.event,registerWindow(t){if(e.has(t.vscodeWindowId))return h.jG.None;const s=new h.Cm,r={window:t,disposables:s.add(new h.Cm)};return e.set(t.vscodeWindowId,r),s.add((0,h.s)(()=>{e.delete(t.vscodeWindowId),i.fire(t)})),s.add(O(t,_e.BEFORE_UNLOAD,()=>{o.fire(t)})),n.fire(r),s},getWindows:()=>e.values(),getWindowsCount:()=>e.size,getWindowId:e=>e.vscodeWindowId,hasWindow:t=>e.has(t),getWindowById:function(n,i){return("number"==typeof n?e.get(n):void 0)??(i?t:void 0)},getWindow(e){const t=e;if(t?.ownerDocument?.defaultView)return t.ownerDocument.defaultView.window;const n=e;return n?.view?n.view.window:p.G},getDocument:e=>w(e).document}}();function D(e){for(;e.firstChild;)e.firstChild.remove()}class x{constructor(e,t,n,i){this._node=e,this._type=t,this._handler=n,this._options=i||!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 O(e,t,n,i){return new x(e,t,n,i)}function A(e,t){return function(n){return t(new r.P(e,n))}}const M=function(e,t,n,i){let o=n;return"click"===t||"mousedown"===t||"contextmenu"===t?o=A(w(e),n):"keydown"!==t&&"keypress"!==t&&"keyup"!==t||(o=function(e){return function(t){return e(new s.Z(t))}}(n)),O(e,t,o,i)},E=function(e,t,n){return function(e,t,n){return O(e,g.un&&o.e.pointerEvents?_e.POINTER_DOWN:_e.MOUSE_DOWN,t,n)}(e,A(w(e),t),n)};function I(e,t,n){return(0,a.b7)(e,t,n)}class R extends a.A0{constructor(e,t){super(e,t)}}let N,W;class P extends a.vb{constructor(e){super(),this.defaultTarget=e&&w(e)}cancelAndSet(e,t,n){return super.cancelAndSet(e,t,n??this.defaultTarget)}}class F{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 H(e){return w(e).getComputedStyle(e,null)}function V(e,t){const n=w(e),i=n.document;if(e!==i.body)return new B(e.clientWidth,e.clientHeight);if(g.un&&n?.visualViewport)return new B(n.visualViewport.width,n.visualViewport.height);if(n?.innerWidth&&n.innerHeight)return new B(n.innerWidth,n.innerHeight);if(i.body&&i.body.clientWidth&&i.body.clientHeight)return new B(i.body.clientWidth,i.body.clientHeight);if(i.documentElement&&i.documentElement.clientWidth&&i.documentElement.clientHeight)return new B(i.documentElement.clientWidth,i.documentElement.clientHeight);if(t)return V(t);throw new Error("Unable to figure out browser width and height")}!function(){const e=new Map,t=new Map,n=new Map,i=new Map;W=(o,s,r=0)=>{const a=v(o),l=new F(s,r);let c=e.get(a);return c||(c=[],e.set(a,c)),c.push(l),n.get(a)||(n.set(a,!0),o.requestAnimationFrame(()=>(o=>{n.set(o,!1);const s=e.get(o)??[];for(t.set(o,s),e.set(o,[]),i.set(o,!0);s.length>0;)s.sort(F.sort),s.shift().execute();i.set(o,!1)})(a))),l},N=(e,n,o)=>{const s=v(e);if(i.get(s)){const e=new F(n,o);let i=t.get(s);return i||(i=[],t.set(s,i)),i.push(e),e}return W(e,n,o)}}();class z{static convertToPixels(e,t){return parseFloat(t)||0}static getDimension(e,t,n){const i=H(e),o=i?i.getPropertyValue(t):"0";return z.convertToPixels(e,o)}static getBorderLeftWidth(e){return z.getDimension(e,"border-left-width","borderLeftWidth")}static getBorderRightWidth(e){return z.getDimension(e,"border-right-width","borderRightWidth")}static getBorderTopWidth(e){return z.getDimension(e,"border-top-width","borderTopWidth")}static getBorderBottomWidth(e){return z.getDimension(e,"border-bottom-width","borderBottomWidth")}static getPaddingLeft(e){return z.getDimension(e,"padding-left","paddingLeft")}static getPaddingRight(e){return z.getDimension(e,"padding-right","paddingRight")}static getPaddingTop(e){return z.getDimension(e,"padding-top","paddingTop")}static getPaddingBottom(e){return z.getDimension(e,"padding-bottom","paddingBottom")}static getMarginLeft(e){return z.getDimension(e,"margin-left","marginLeft")}static getMarginTop(e){return z.getDimension(e,"margin-top","marginTop")}static getMarginRight(e){return z.getDimension(e,"margin-right","marginRight")}static getMarginBottom(e){return z.getDimension(e,"margin-bottom","marginBottom")}}class B{static{this.None=new B(0,0)}constructor(e,t){this.width=e,this.height=t}with(e=this.width,t=this.height){return e!==this.width||t!==this.height?new B(e,t):this}static is(e){return"object"==typeof e&&"number"==typeof e.height&&"number"==typeof e.width}static lift(e){return e instanceof B?e:new B(e.width,e.height)}static equals(e,t){return e===t||!(!e||!t)&&e.width===t.width&&e.height===t.height}}function U(e){let t=e.offsetParent,n=e.offsetTop,i=e.offsetLeft;for(;null!==(e=e.parentNode)&&e!==e.ownerDocument.body&&e!==e.ownerDocument.documentElement;){n-=e.scrollTop;const o=J(e)?null:H(e);o&&(i-="rtl"!==o.direction?e.scrollLeft:-e.scrollLeft),e===t&&(i+=z.getBorderLeftWidth(e),n+=z.getBorderTopWidth(e),n+=e.offsetTop,i+=e.offsetLeft,t=e.offsetParent)}return{left:i,top:n}}function K(e,t,n){"number"==typeof t&&(e.style.width=`${t}px`),"number"==typeof n&&(e.style.height=`${n}px`)}function G(e){const t=e.getBoundingClientRect(),n=w(e);return{left:t.left+n.scrollX,top:t.top+n.scrollY,width:t.width,height:t.height}}function j(e){let t=e,n=1;do{const e=H(t).zoom;null!=e&&"1"!==e&&(n*=e),t=t.parentElement}while(null!==t&&t!==t.ownerDocument.documentElement);return n}function q(e){const t=z.getMarginLeft(e)+z.getMarginRight(e);return e.offsetWidth+t}function $(e){const t=z.getBorderLeftWidth(e)+z.getBorderRightWidth(e),n=z.getPaddingLeft(e)+z.getPaddingRight(e);return e.offsetWidth-t-n}function Y(e){const t=z.getBorderTopWidth(e)+z.getBorderBottomWidth(e),n=z.getPaddingTop(e)+z.getPaddingBottom(e);return e.offsetHeight-t-n}function X(e){const t=z.getMarginTop(e)+z.getMarginBottom(e);return e.offsetHeight+t}function Z(e,t){return Boolean(t?.contains(e))}function Q(e,t,n){return!!function(e,t,n){for(;e&&e.nodeType===e.ELEMENT_NODE;){if(e.classList.contains(t))return e;if(n)if("string"==typeof n){if(e.classList.contains(n))return null}else if(e===n)return null;e=e.parentNode}return null}(e,t,n)}function J(e){return e&&!!e.host&&!!e.mode}function ee(e){return!!te(e)}function te(e){for(;e.parentNode;){if(e===e.ownerDocument?.body)return null;e=e.parentNode}return J(e)?e:null}function ne(){let e=se().activeElement;for(;e?.shadowRoot;)e=e.shadowRoot.activeElement;return e}function ie(e){return ne()===e}function oe(e){return Z(ne(),e)}function se(){return C()<=1?p.G.document:Array.from(b()).map(({window:e})=>e.document).find(e=>e.hasFocus())??p.G.document}function re(){const e=se();return e.defaultView?.window??p.G}const ae=new Map;function le(){return new ce}class ce{constructor(){this._currentCssStyle="",this._styleSheet=void 0}setStyle(e){e!==this._currentCssStyle&&(this._currentCssStyle=e,this._styleSheet?this._styleSheet.innerText=e:this._styleSheet=de(p.G.document.head,t=>t.innerText=e))}dispose(){this._styleSheet&&(this._styleSheet.remove(),this._styleSheet=void 0)}}function de(e=p.G.document.head,t,n){const i=document.createElement("style");if(i.type="text/css",i.media="screen",t?.(i),e.appendChild(i),n&&n.add((0,h.s)(()=>i.remove())),e===p.G.document.head){const e=new Set;ae.set(i,e);for(const{window:t,disposables:o}of b()){if(t===p.G)continue;const s=o.add(he(i,e,t));n?.add(s)}}return i}function he(e,t,n){const i=new h.Cm,o=e.cloneNode(!0);n.document.head.appendChild(o),i.add((0,h.s)(()=>o.remove()));for(const t of pe(e))o.sheet?.insertRule(t.cssText,o.sheet?.cssRules.length);return i.add(ue.observe(e,i,{childList:!0})(()=>{o.textContent=e.textContent})),t.add(o),i.add((0,h.s)(()=>t.delete(o))),i}const ue=new class{constructor(){this.mutationObservers=new Map}observe(e,t,n){let i=this.mutationObservers.get(e);i||(i=new Map,this.mutationObservers.set(e,i));const o=(0,f.tW)(n);let s=i.get(o);if(s)s.users+=1;else{const r=new c.vl,a=new MutationObserver(e=>r.fire(e));a.observe(e,n);const l=s={users:1,observer:a,onDidMutate:r.event};t.add((0,h.s)(()=>{l.users-=1,0===l.users&&(r.dispose(),a.disconnect(),i?.delete(o),0===i?.size&&this.mutationObservers.delete(e))})),i.set(o,s)}return s.onDidMutate}};let ge=null;function fe(){return ge||(ge=de()),ge}function pe(e){return e?.sheet?.rules?e.sheet.rules:e?.sheet?.cssRules?e.sheet.cssRules:[]}function me(e,t,n=fe()){if(n&&t){n.sheet?.insertRule(`${e} {${t}}`,0);for(const i of ae.get(n)??[])me(e,t,i)}}function we(e,t=fe()){if(!t)return;const n=pe(t),i=[];for(let t=0;t<n.length;t++){const o=n[t];ye(o)&&-1!==o.selectorText.indexOf(e)&&i.push(t)}for(let e=i.length-1;e>=0;e--)t.sheet?.deleteRule(i[e]);for(const n of ae.get(t)??[])we(e,n)}function ye(e){return"string"==typeof e.selectorText}function be(e){return e instanceof HTMLElement||e instanceof w(e).HTMLElement}function Ce(e){return e instanceof HTMLAnchorElement||e instanceof w(e).HTMLAnchorElement}function ve(e){return e instanceof SVGElement||e instanceof w(e).SVGElement}function ke(e){return e instanceof MouseEvent||e instanceof w(e).MouseEvent}function Se(e){return e instanceof KeyboardEvent||e instanceof w(e).KeyboardEvent}const _e={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",PASTE:"paste",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:i.Tc?"webkitAnimationStart":"animationstart",ANIMATION_END:i.Tc?"webkitAnimationEnd":"animationend",ANIMATION_ITERATION:i.Tc?"webkitAnimationIteration":"animationiteration"};function Te(e){const t=e;return!(!t||"function"!=typeof t.preventDefault||"function"!=typeof t.stopPropagation)}const Le={stop:(e,t)=>(e.preventDefault(),t&&e.stopPropagation(),e)};function De(e){const t=[];for(let n=0;e&&e.nodeType===e.ELEMENT_NODE;n++)t[n]=e.scrollTop,e=e.parentNode;return t}function xe(e,t){for(let n=0;e&&e.nodeType===e.ELEMENT_NODE;n++)e.scrollTop!==t[n]&&(e.scrollTop=t[n]),e=e.parentNode}class Oe extends h.jG{static hasFocusWithin(e){if(be(e)){const t=te(e);return Z(t?t.activeElement:e.ownerDocument.activeElement,e)}{const t=e;return Z(t.document.activeElement,t.document)}}constructor(e){super(),this._onDidFocus=this._register(new c.vl),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new c.vl),this.onDidBlur=this._onDidBlur.event;let t=Oe.hasFocusWithin(e),n=!1;const i=()=>{n=!1,t||(t=!0,this._onDidFocus.fire())},o=()=>{t&&(n=!0,(be(e)?w(e):e).setTimeout(()=>{n&&(n=!1,t=!1,this._onDidBlur.fire())},0))};this._refreshStateHandler=()=>{Oe.hasFocusWithin(e)!==t&&(t?o():i())},this._register(O(e,_e.FOCUS,i,!0)),this._register(O(e,_e.BLUR,o,!0)),be(e)&&(this._register(O(e,_e.FOCUS_IN,()=>this._refreshStateHandler())),this._register(O(e,_e.FOCUS_OUT,()=>this._refreshStateHandler())))}}function Ae(e){return new Oe(e)}function Me(e,t){return e.after(t),t}function Ee(e,...t){if(e.append(...t),1===t.length&&"string"!=typeof t[0])return t[0]}function Ie(e,t){return e.insertBefore(t,e.firstChild),t}function Re(e,...t){e.innerText="",Ee(e,...t)}const Ne=/([\w\-]+)?(#([\w\-]+))?((\.([\w\-]+))*)/;var We;function Pe(e,t,n,...i){const o=Ne.exec(t);if(!o)throw new Error("Bad use of emmet");const s=o[1]||"div";let r;return r=e!==We.HTML?document.createElementNS(e,s):document.createElement(s),o[3]&&(r.id=o[3]),o[4]&&(r.className=o[4].replace(/\./g," ").trim()),n&&Object.entries(n).forEach(([e,t])=>{void 0!==t&&(/^on\w+$/.test(e)?r[e]=t:"selected"===e?t&&r.setAttribute(e,"true"):r.setAttribute(e,t))}),r.append(...i),r}function Fe(e,t,...n){return Pe(We.HTML,e,t,...n)}function He(e,...t){e?Ve(...t):ze(...t)}function Ve(...e){for(const t of e)t.style.display="",t.removeAttribute("aria-hidden")}function ze(...e){for(const t of e)t.style.display="none",t.setAttribute("aria-hidden","true")}function Be(e,t){const n=e.devicePixelRatio*t;return Math.max(1,Math.floor(n))/e.devicePixelRatio}function Ue(e){p.G.open(e,"_blank","noopener")}function Ke(e,t){const n=()=>{t(),i=W(e,n)};let i=W(e,n);return(0,h.s)(()=>i.dispose())}function Ge(e){return e?`url('${u.zl.uriToBrowserUri(e).toString(!0).replace(/'/g,"%27")}')`:"url('')"}function je(e){return`'${e.replace(/'/g,"%27")}'`}function qe(e,t){if(void 0!==e){const n=e.match(/^\s*var\((.+)\)$/);if(n){const e=n[1].split(",",2);return 2===e.length&&(t=qe(e[1].trim(),t)),`var(${e[0]}, ${t})`}return e}return t}function $e(e,t=!1){const n=document.createElement("a");return d.$w("afterSanitizeAttributes",i=>{for(const o of["href","src"])if(i.hasAttribute(o)){const s=i.getAttribute(o);if("href"===o&&s.startsWith("#"))continue;if(n.href=s,!e.includes(n.protocol.replace(/:$/,""))){if(t&&"src"===o&&n.href.startsWith("data:"))continue;i.removeAttribute(o)}}}),(0,h.s)(()=>{d.SV("afterSanitizeAttributes")})}!function(e){e.HTML="http://www.w3.org/1999/xhtml",e.SVG="http://www.w3.org/2000/svg"}(We||(We={})),Fe.SVG=function(e,t,...n){return Pe(We.SVG,e,t,...n)},u.Ez.setPreferredWebSchema(/^https:/.test(p.G.location.href)?"https":"http");const Ye=Object.freeze(["a","abbr","b","bdo","blockquote","br","caption","cite","code","col","colgroup","dd","del","details","dfn","div","dl","dt","em","figcaption","figure","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","label","li","mark","ol","p","pre","q","rp","rt","ruby","samp","small","small","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","time","tr","tt","u","ul","var","video","wbr"]);Object.freeze({ALLOWED_TAGS:["a","button","blockquote","code","div","h1","h2","h3","h4","h5","h6","hr","input","label","li","p","pre","select","small","span","strong","textarea","ul","ol"],ALLOWED_ATTR:["href","data-href","data-command","target","title","name","src","alt","class","id","role","tabindex","style","data-code","width","height","align","x-dispatch","required","checked","placeholder","type","start"],RETURN_DOM:!1,RETURN_DOM_FRAGMENT:!1,RETURN_TRUSTED_TYPE:!0});class Xe extends c.vl{constructor(){super(),this._subscriptions=new h.Cm,this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1},this._subscriptions.add(c.Jh.runAndSubscribe(_,({window:e,disposables:t})=>this.registerListeners(e,t),{window:p.G,disposables:this._subscriptions}))}registerListeners(e,t){t.add(O(e,"keydown",e=>{if(e.defaultPrevented)return;const t=new s.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)),t.add(O(e,"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)),t.add(O(e.document.body,"mousedown",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),t.add(O(e.document.body,"mouseup",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),t.add(O(e.document.body,"mousemove",e=>{e.buttons&&(this._keyStatus.lastKeyPressed=void 0)},!0)),t.add(O(e,"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 Xe.instance||(Xe.instance=new Xe),Xe.instance}dispose(){super.dispose(),this._subscriptions.dispose()}}class Ze extends h.jG{constructor(e,t){super(),this.element=e,this.callbacks=t,this.counter=0,this.dragStartTime=0,this.registerListeners()}registerListeners(){this.callbacks.onDragStart&&this._register(O(this.element,_e.DRAG_START,e=>{this.callbacks.onDragStart?.(e)})),this.callbacks.onDrag&&this._register(O(this.element,_e.DRAG,e=>{this.callbacks.onDrag?.(e)})),this._register(O(this.element,_e.DRAG_ENTER,e=>{this.counter++,this.dragStartTime=e.timeStamp,this.callbacks.onDragEnter?.(e)})),this._register(O(this.element,_e.DRAG_OVER,e=>{e.preventDefault(),this.callbacks.onDragOver?.(e,e.timeStamp-this.dragStartTime)})),this._register(O(this.element,_e.DRAG_LEAVE,e=>{this.counter--,0===this.counter&&(this.dragStartTime=0,this.callbacks.onDragLeave?.(e))})),this._register(O(this.element,_e.DRAG_END,e=>{this.counter=0,this.dragStartTime=0,this.callbacks.onDragEnd?.(e)})),this._register(O(this.element,_e.DROP,e=>{this.counter=0,this.dragStartTime=0,this.callbacks.onDrop?.(e)}))}}const Qe=/(?<tag>[\w\-]+)?(?:#(?<id>[\w\-]+))?(?<class>(?:\.(?:[\w\-]+))*)(?:@(?<name>(?:[\w\_])+))?/;function Je(e,...t){let n,i;Array.isArray(t[0])?(n={},i=t[0]):(n=t[0]||{},i=t[1]);const o=Qe.exec(e);if(!o||!o.groups)throw new Error("Bad use of h");const s=o.groups.tag||"div",r=document.createElement(s);o.groups.id&&(r.id=o.groups.id);const a=[];if(o.groups.class)for(const e of o.groups.class.split("."))""!==e&&a.push(e);if(void 0!==n.className)for(const e of n.className.split("."))""!==e&&a.push(e);a.length>0&&(r.className=a.join(" "));const l={};if(o.groups.name&&(l[o.groups.name]=r),i)for(const e of i)be(e)?r.appendChild(e):"string"==typeof e?r.append(e):"root"in e&&(Object.assign(l,e),r.appendChild(e.root));for(const[e,t]of Object.entries(n))if("className"!==e)if("style"===e)for(const[e,n]of Object.entries(t))r.style.setProperty(tt(e),"number"==typeof n?n+"px":""+n);else"tabIndex"===e?r.tabIndex=t:r.setAttribute(tt(e),t.toString());return l.root=r,l}function et(e,...t){let n,i;Array.isArray(t[0])?(n={},i=t[0]):(n=t[0]||{},i=t[1]);const o=Qe.exec(e);if(!o||!o.groups)throw new Error("Bad use of h");const s=o.groups.tag||"div",r=document.createElementNS("http://www.w3.org/2000/svg",s);o.groups.id&&(r.id=o.groups.id);const a=[];if(o.groups.class)for(const e of o.groups.class.split("."))""!==e&&a.push(e);if(void 0!==n.className)for(const e of n.className.split("."))""!==e&&a.push(e);a.length>0&&(r.className=a.join(" "));const l={};if(o.groups.name&&(l[o.groups.name]=r),i)for(const e of i)be(e)?r.appendChild(e):"string"==typeof e?r.append(e):"root"in e&&(Object.assign(l,e),r.appendChild(e.root));for(const[e,t]of Object.entries(n))if("className"!==e)if("style"===e)for(const[e,n]of Object.entries(t))r.style.setProperty(tt(e),"number"==typeof n?n+"px":""+n);else"tabIndex"===e?r.tabIndex=t:r.setAttribute(tt(e),t.toString());return l.root=r,l}function tt(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}},55202(e,t,n){n.d(t,{$w:()=>ne,SV:()=>ie,aj:()=>te});const{entries:i,setPrototypeOf:o,isFrozen:s,getPrototypeOf:r,getOwnPropertyDescriptor:a}=Object;let{freeze:l,seal:c,create:d}=Object,{apply:h,construct:u}="undefined"!=typeof Reflect&&Reflect;l||(l=function(e){return e}),c||(c=function(e){return e}),h||(h=function(e,t,n){return e.apply(t,n)}),u||(u=function(e,t){return new e(...t)});const g=L(Array.prototype.forEach),f=L(Array.prototype.pop),p=L(Array.prototype.push),m=L(String.prototype.toLowerCase),w=L(String.prototype.toString),y=L(String.prototype.match),b=L(String.prototype.replace),C=L(String.prototype.indexOf),v=L(String.prototype.trim),k=L(Object.prototype.hasOwnProperty),S=L(RegExp.prototype.test),_=(T=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return u(T,t)});var T;function L(e){return function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return h(e,t,i)}}function D(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:m;o&&o(e,null);let i=t.length;for(;i--;){let o=t[i];if("string"==typeof o){const e=n(o);e!==o&&(s(t)||(t[i]=e),o=e)}e[o]=!0}return e}function x(e){for(let t=0;t<e.length;t++)k(e,t)||(e[t]=null);return e}function O(e){const t=d(null);for(const[n,o]of i(e))k(e,n)&&(Array.isArray(o)?t[n]=x(o):o&&"object"==typeof o&&o.constructor===Object?t[n]=O(o):t[n]=o);return t}function A(e,t){for(;null!==e;){const n=a(e,t);if(n){if(n.get)return L(n.get);if("function"==typeof n.value)return L(n.value)}e=r(e)}return function(){return null}}const M=l(["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"]),E=l(["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"]),I=l(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),R=l(["animate","color-profile","cursor","discard","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"]),N=l(["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","mprescripts"]),W=l(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),P=l(["#text"]),F=l(["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","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","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","wrap","xmlns","slot"]),H=l(["accent-height","accumulate","additive","alignment-baseline","amplitude","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","exponent","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","intercept","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","slope","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","tablevalues","targetx","targety","transform","transform-origin","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"]),V=l(["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=l(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),B=c(/\{\{[\w\W]*|[\w\W]*\}\}/gm),U=c(/<%[\w\W]*|[\w\W]*%>/gm),K=c(/\${[\w\W]*}/gm),G=c(/^data-[\-\w.\u00B7-\uFFFF]/),j=c(/^aria-[\-\w]+$/),q=c(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),$=c(/^(?:\w+script|data):/i),Y=c(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),X=c(/^html$/i),Z=c(/^[a-z][.\w]*(-[.\w]+)+$/i);var Q=Object.freeze({__proto__:null,MUSTACHE_EXPR:B,ERB_EXPR:U,TMPLIT_EXPR:K,DATA_ATTR:G,ARIA_ATTR:j,IS_ALLOWED_URI:q,IS_SCRIPT_OR_DATA:$,ATTR_WHITESPACE:Y,DOCTYPE_NAME:X,CUSTOM_ELEMENT:Z});const J=function(){return"undefined"==typeof window?null:window};var ee=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:J();const n=t=>e(t);if(n.version="3.1.7",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;let{document:o}=t;const s=o,r=s.currentScript,{DocumentFragment:a,HTMLTemplateElement:c,Node:h,Element:u,NodeFilter:T,NamedNodeMap:L=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:x,DOMParser:B,trustedTypes:U}=t,K=u.prototype,G=A(K,"cloneNode"),j=A(K,"remove"),$=A(K,"nextSibling"),Y=A(K,"childNodes"),Z=A(K,"parentNode");if("function"==typeof c){const e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let ee,te="";const{implementation:ne,createNodeIterator:ie,createDocumentFragment:oe,getElementsByTagName:se}=o,{importNode:re}=s;let ae={};n.isSupported="function"==typeof i&&"function"==typeof Z&&ne&&void 0!==ne.createHTMLDocument;const{MUSTACHE_EXPR:le,ERB_EXPR:ce,TMPLIT_EXPR:de,DATA_ATTR:he,ARIA_ATTR:ue,IS_SCRIPT_OR_DATA:ge,ATTR_WHITESPACE:fe,CUSTOM_ELEMENT:pe}=Q;let{IS_ALLOWED_URI:me}=Q,we=null;const ye=D({},[...M,...E,...I,...N,...P]);let be=null;const Ce=D({},[...F,...H,...V,...z]);let ve=Object.seal(d(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ke=null,Se=null,_e=!0,Te=!0,Le=!1,De=!0,xe=!1,Oe=!0,Ae=!1,Me=!1,Ee=!1,Ie=!1,Re=!1,Ne=!1,We=!0,Pe=!1,Fe=!0,He=!1,Ve={},ze=null;const Be=D({},["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"]);let Ue=null;const Ke=D({},["audio","video","img","source","image","track"]);let Ge=null;const je=D({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),qe="http://www.w3.org/1998/Math/MathML",$e="http://www.w3.org/2000/svg",Ye="http://www.w3.org/1999/xhtml";let Xe=Ye,Ze=!1,Qe=null;const Je=D({},[qe,$e,Ye],w);let et=null;const tt=["application/xhtml+xml","text/html"];let nt=null,it=null;const ot=o.createElement("form"),st=function(e){return e instanceof RegExp||e instanceof Function},rt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!it||it!==e){if(e&&"object"==typeof e||(e={}),e=O(e),et=-1===tt.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,nt="application/xhtml+xml"===et?w:m,we=k(e,"ALLOWED_TAGS")?D({},e.ALLOWED_TAGS,nt):ye,be=k(e,"ALLOWED_ATTR")?D({},e.ALLOWED_ATTR,nt):Ce,Qe=k(e,"ALLOWED_NAMESPACES")?D({},e.ALLOWED_NAMESPACES,w):Je,Ge=k(e,"ADD_URI_SAFE_ATTR")?D(O(je),e.ADD_URI_SAFE_ATTR,nt):je,Ue=k(e,"ADD_DATA_URI_TAGS")?D(O(Ke),e.ADD_DATA_URI_TAGS,nt):Ke,ze=k(e,"FORBID_CONTENTS")?D({},e.FORBID_CONTENTS,nt):Be,ke=k(e,"FORBID_TAGS")?D({},e.FORBID_TAGS,nt):{},Se=k(e,"FORBID_ATTR")?D({},e.FORBID_ATTR,nt):{},Ve=!!k(e,"USE_PROFILES")&&e.USE_PROFILES,_e=!1!==e.ALLOW_ARIA_ATTR,Te=!1!==e.ALLOW_DATA_ATTR,Le=e.ALLOW_UNKNOWN_PROTOCOLS||!1,De=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,xe=e.SAFE_FOR_TEMPLATES||!1,Oe=!1!==e.SAFE_FOR_XML,Ae=e.WHOLE_DOCUMENT||!1,Ie=e.RETURN_DOM||!1,Re=e.RETURN_DOM_FRAGMENT||!1,Ne=e.RETURN_TRUSTED_TYPE||!1,Ee=e.FORCE_BODY||!1,We=!1!==e.SANITIZE_DOM,Pe=e.SANITIZE_NAMED_PROPS||!1,Fe=!1!==e.KEEP_CONTENT,He=e.IN_PLACE||!1,me=e.ALLOWED_URI_REGEXP||q,Xe=e.NAMESPACE||Ye,ve=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&st(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ve.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&st(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ve.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(ve.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),xe&&(Te=!1),Re&&(Ie=!0),Ve&&(we=D({},P),be=[],!0===Ve.html&&(D(we,M),D(be,F)),!0===Ve.svg&&(D(we,E),D(be,H),D(be,z)),!0===Ve.svgFilters&&(D(we,I),D(be,H),D(be,z)),!0===Ve.mathMl&&(D(we,N),D(be,V),D(be,z))),e.ADD_TAGS&&(we===ye&&(we=O(we)),D(we,e.ADD_TAGS,nt)),e.ADD_ATTR&&(be===Ce&&(be=O(be)),D(be,e.ADD_ATTR,nt)),e.ADD_URI_SAFE_ATTR&&D(Ge,e.ADD_URI_SAFE_ATTR,nt),e.FORBID_CONTENTS&&(ze===Be&&(ze=O(ze)),D(ze,e.FORBID_CONTENTS,nt)),Fe&&(we["#text"]=!0),Ae&&D(we,["html","head","body"]),we.table&&(D(we,["tbody"]),delete ke.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw _('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw _('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ee=e.TRUSTED_TYPES_POLICY,te=ee.createHTML("")}else void 0===ee&&(ee=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const i="data-tt-policy-suffix";t&&t.hasAttribute(i)&&(n=t.getAttribute(i));const o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(U,r)),null!==ee&&"string"==typeof te&&(te=ee.createHTML(""));l&&l(e),it=e}},at=D({},["mi","mo","mn","ms","mtext"]),lt=D({},["annotation-xml"]),ct=D({},["title","style","font","a","script"]),dt=D({},[...E,...I,...R]),ht=D({},[...N,...W]),ut=function(e){p(n.removed,{element:e});try{Z(e).removeChild(e)}catch(t){j(e)}},gt=function(e,t){try{p(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!be[e])if(Ie||Re)try{ut(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},ft=function(e){let t=null,n=null;if(Ee)e="<remove></remove>"+e;else{const t=y(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===et&&Xe===Ye&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const i=ee?ee.createHTML(e):e;if(Xe===Ye)try{t=(new B).parseFromString(i,et)}catch(e){}if(!t||!t.documentElement){t=ne.createDocument(Xe,"template",null);try{t.documentElement.innerHTML=Ze?te:i}catch(e){}}const s=t.body||t.documentElement;return e&&n&&s.insertBefore(o.createTextNode(n),s.childNodes[0]||null),Xe===Ye?se.call(t,Ae?"html":"body")[0]:Ae?t.documentElement:s},pt=function(e){return ie.call(e.ownerDocument||e,e,T.SHOW_ELEMENT|T.SHOW_COMMENT|T.SHOW_TEXT|T.SHOW_PROCESSING_INSTRUCTION|T.SHOW_CDATA_SECTION,null)},mt=function(e){return e instanceof x&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof L)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},wt=function(e){return"function"==typeof h&&e instanceof h},yt=function(e,t,i){ae[e]&&g(ae[e],e=>{e.call(n,t,i,it)})},bt=function(e){let t=null;if(yt("beforeSanitizeElements",e,null),mt(e))return ut(e),!0;const i=nt(e.nodeName);if(yt("uponSanitizeElement",e,{tagName:i,allowedTags:we}),e.hasChildNodes()&&!wt(e.firstElementChild)&&S(/<[/\w]/g,e.innerHTML)&&S(/<[/\w]/g,e.textContent))return ut(e),!0;if(7===e.nodeType)return ut(e),!0;if(Oe&&8===e.nodeType&&S(/<[/\w]/g,e.data))return ut(e),!0;if(!we[i]||ke[i]){if(!ke[i]&&vt(i)){if(ve.tagNameCheck instanceof RegExp&&S(ve.tagNameCheck,i))return!1;if(ve.tagNameCheck instanceof Function&&ve.tagNameCheck(i))return!1}if(Fe&&!ze[i]){const t=Z(e)||e.parentNode,n=Y(e)||e.childNodes;if(n&&t)for(let i=n.length-1;i>=0;--i){const o=G(n[i],!0);o.__removalCount=(e.__removalCount||0)+1,t.insertBefore(o,$(e))}}return ut(e),!0}return e instanceof u&&!function(e){let t=Z(e);t&&t.tagName||(t={namespaceURI:Xe,tagName:"template"});const n=m(e.tagName),i=m(t.tagName);return!!Qe[e.namespaceURI]&&(e.namespaceURI===$e?t.namespaceURI===Ye?"svg"===n:t.namespaceURI===qe?"svg"===n&&("annotation-xml"===i||at[i]):Boolean(dt[n]):e.namespaceURI===qe?t.namespaceURI===Ye?"math"===n:t.namespaceURI===$e?"math"===n&&lt[i]:Boolean(ht[n]):e.namespaceURI===Ye?!(t.namespaceURI===$e&&!lt[i])&&!(t.namespaceURI===qe&&!at[i])&&!ht[n]&&(ct[n]||!dt[n]):!("application/xhtml+xml"!==et||!Qe[e.namespaceURI]))}(e)?(ut(e),!0):"noscript"!==i&&"noembed"!==i&&"noframes"!==i||!S(/<\/no(script|embed|frames)/i,e.innerHTML)?(xe&&3===e.nodeType&&(t=e.textContent,g([le,ce,de],e=>{t=b(t,e," ")}),e.textContent!==t&&(p(n.removed,{element:e.cloneNode()}),e.textContent=t)),yt("afterSanitizeElements",e,null),!1):(ut(e),!0)},Ct=function(e,t,n){if(We&&("id"===t||"name"===t)&&(n in o||n in ot))return!1;if(Te&&!Se[t]&&S(he,t));else if(_e&&S(ue,t));else if(!be[t]||Se[t]){if(!(vt(e)&&(ve.tagNameCheck instanceof RegExp&&S(ve.tagNameCheck,e)||ve.tagNameCheck instanceof Function&&ve.tagNameCheck(e))&&(ve.attributeNameCheck instanceof RegExp&&S(ve.attributeNameCheck,t)||ve.attributeNameCheck instanceof Function&&ve.attributeNameCheck(t))||"is"===t&&ve.allowCustomizedBuiltInElements&&(ve.tagNameCheck instanceof RegExp&&S(ve.tagNameCheck,n)||ve.tagNameCheck instanceof Function&&ve.tagNameCheck(n))))return!1}else if(Ge[t]);else if(S(me,b(n,fe,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==C(n,"data:")||!Ue[e])if(Le&&!S(ge,b(n,fe,"")));else if(n)return!1;return!0},vt=function(e){return"annotation-xml"!==e&&y(e,pe)},kt=function(e){yt("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const i={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:be};let o=t.length;for(;o--;){const s=t[o],{name:r,namespaceURI:a,value:l}=s,c=nt(r);let d="value"===r?l:v(l);if(i.attrName=c,i.attrValue=d,i.keepAttr=!0,i.forceKeepAttr=void 0,yt("uponSanitizeAttribute",e,i),d=i.attrValue,i.forceKeepAttr)continue;if(gt(r,e),!i.keepAttr)continue;if(!De&&S(/\/>/i,d)){gt(r,e);continue}xe&&g([le,ce,de],e=>{d=b(d,e," ")});const h=nt(e.nodeName);if(Ct(h,c,d))if(!Pe||"id"!==c&&"name"!==c||(gt(r,e),d="user-content-"+d),Oe&&S(/((--!?|])>)|<\/(style|title)/i,d))gt(r,e);else{if(ee&&"object"==typeof U&&"function"==typeof U.getAttributeType)if(a);else switch(U.getAttributeType(h,c)){case"TrustedHTML":d=ee.createHTML(d);break;case"TrustedScriptURL":d=ee.createScriptURL(d)}try{a?e.setAttributeNS(a,r,d):e.setAttribute(r,d),mt(e)?ut(e):f(n.removed)}catch(e){}}}yt("afterSanitizeAttributes",e,null)},St=function e(t){let n=null;const i=pt(t);for(yt("beforeSanitizeShadowDOM",t,null);n=i.nextNode();)yt("uponSanitizeShadowNode",n,null),bt(n)||(n.content instanceof a&&e(n.content),kt(n));yt("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null,o=null,r=null,l=null;if(Ze=!e,Ze&&(e="\x3c!--\x3e"),"string"!=typeof e&&!wt(e)){if("function"!=typeof e.toString)throw _("toString is not a function");if("string"!=typeof(e=e.toString()))throw _("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Me||rt(t),n.removed=[],"string"==typeof e&&(He=!1),He){if(e.nodeName){const t=nt(e.nodeName);if(!we[t]||ke[t])throw _("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof h)i=ft("\x3c!----\x3e"),o=i.ownerDocument.importNode(e,!0),1===o.nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?i=o:i.appendChild(o);else{if(!Ie&&!xe&&!Ae&&-1===e.indexOf("<"))return ee&&Ne?ee.createHTML(e):e;if(i=ft(e),!i)return Ie?null:Ne?te:""}i&&Ee&&ut(i.firstChild);const c=pt(He?e:i);for(;r=c.nextNode();)bt(r)||(r.content instanceof a&&St(r.content),kt(r));if(He)return e;if(Ie){if(Re)for(l=oe.call(i.ownerDocument);i.firstChild;)l.appendChild(i.firstChild);else l=i;return(be.shadowroot||be.shadowrootmode)&&(l=re.call(s,l,!0)),l}let d=Ae?i.outerHTML:i.innerHTML;return Ae&&we["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&S(X,i.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+i.ownerDocument.doctype.name+">\n"+d),xe&&g([le,ce,de],e=>{d=b(d,e," ")}),ee&&Ne?ee.createHTML(d):d},n.setConfig=function(){rt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Me=!0},n.clearConfig=function(){it=null,Me=!1},n.isValidAttribute=function(e,t,n){it||rt({});const i=nt(e),o=nt(t);return Ct(i,o,n)},n.addHook=function(e,t){"function"==typeof t&&(ae[e]=ae[e]||[],p(ae[e],t))},n.removeHook=function(e){if(ae[e])return f(ae[e])},n.removeHooks=function(e){ae[e]&&(ae[e]=[])},n.removeAllHooks=function(){ae={}},n}();ee.version,ee.isSupported;const te=ee.sanitize,ne=(ee.setConfig,ee.clearConfig,ee.isValidAttribute,ee.addHook),ie=ee.removeHook;ee.removeHooks,ee.removeAllHooks},9735(e,t,n){n.d(t,{D:()=>i,Z:()=>s});class i{constructor(e){this.domNode=e,this._maxWidth="",this._width="",this._height="",this._top="",this._left="",this._bottom="",this._right="",this._paddingLeft="",this._fontFamily="",this._fontWeight="",this._fontSize="",this._fontStyle="",this._fontFeatureSettings="",this._fontVariationSettings="",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=o(e);this._maxWidth!==t&&(this._maxWidth=t,this.domNode.style.maxWidth=this._maxWidth)}setWidth(e){const t=o(e);this._width!==t&&(this._width=t,this.domNode.style.width=this._width)}setHeight(e){const t=o(e);this._height!==t&&(this._height=t,this.domNode.style.height=this._height)}setTop(e){const t=o(e);this._top!==t&&(this._top=t,this.domNode.style.top=this._top)}setLeft(e){const t=o(e);this._left!==t&&(this._left=t,this.domNode.style.left=this._left)}setBottom(e){const t=o(e);this._bottom!==t&&(this._bottom=t,this.domNode.style.bottom=this._bottom)}setRight(e){const t=o(e);this._right!==t&&(this._right=t,this.domNode.style.right=this._right)}setPaddingLeft(e){const t=o(e);this._paddingLeft!==t&&(this._paddingLeft=t,this.domNode.style.paddingLeft=this._paddingLeft)}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=o(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)}setFontVariationSettings(e){this._fontVariationSettings!==e&&(this._fontVariationSettings=e,this.domNode.style.fontVariationSettings=this._fontVariationSettings)}setTextDecoration(e){this._textDecoration!==e&&(this._textDecoration=e,this.domNode.style.textDecoration=this._textDecoration)}setLineHeight(e){const t=o(e);this._lineHeight!==t&&(this._lineHeight=t,this.domNode.style.lineHeight=this._lineHeight)}setLetterSpacing(e){const t=o(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 o(e){return"number"==typeof e?`${e}px`:e}function s(e){return new i(e)}},28108(e,t,n){n.d(t,{_:()=>s});var i=n(80081),o=n(80194);class s{constructor(){this._hooks=new o.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 n=this._onStopCallback;this._onStopCallback=null,e&&n&&n(t)}isMonitoring(){return!!this._pointerMoveCallback}startMonitoring(e,t,n,s,r){this.isMonitoring()&&this.stopMonitoring(!1),this._pointerMoveCallback=s,this._onStopCallback=r;let a=e;try{e.setPointerCapture(t),this._hooks.add((0,o.s)(()=>{try{e.releasePointerCapture(t)}catch(e){}}))}catch(t){a=i.zk(e)}this._hooks.add(i.ko(a,i.Bx.POINTER_MOVE,e=>{e.buttons===n?(e.preventDefault(),this._pointerMoveCallback(e)):this.stopMonitoring(!0)})),this._hooks.add(i.ko(a,i.Bx.POINTER_UP,e=>this.stopMonitoring(!0)))}}},39526(e,t,n){n.d(t,{Z:()=>c});var i=n(29689),o=n(11151),s=n(13471),r=n(34591);const a=r.zx?256:2048,l=r.zx?2048:256;class c{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.altGraphKey=t.getModifierState?.("AltGraph"),this.keyCode=function(e){if(e.charCode){const t=String.fromCharCode(e.charCode).toUpperCase();return o.YM.fromString(t)}const t=e.keyCode;if(3===t)return 7;if(i.gm)switch(t){case 59:return 85;case 60:if(r.j9)return 97;break;case 61:return 86;case 107:return 109;case 109:return 111;case 173:return 88;case 224:if(r.zx)return 57}else if(i.Tc){if(r.zx&&93===t)return 57;if(!r.zx&&92===t)return 57}return o.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._asKeyCodeChord=this._computeKeyCodeChord()}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()}toKeyCodeChord(){return this._asKeyCodeChord}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|=a),this.altKey&&(t|=512),this.shiftKey&&(t|=1024),this.metaKey&&(t|=l),t|=e,t}_computeKeyCodeChord(){let e=0;return 5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(e=this.keyCode),new s.dG(this.ctrlKey,this.shiftKey,this.altKey,this.metaKey,e)}}},5015(e,t,n){n.d(t,{P:()=>l,$:()=>c});var i=n(29689);const o=new WeakMap;function s(e){if(!e.parent||e.parent===e)return null;try{const t=e.location,n=e.parent.location;if("null"!==t.origin&&"null"!==n.origin&&t.origin!==n.origin)return null}catch(e){return null}return e.parent}class r{static getSameOriginWindowChain(e){let t=o.get(e);if(!t){t=[],o.set(e,t);let n,i=e;do{n=s(i),n?t.push({window:new WeakRef(i),iframeElement:i.frameElement||null}):t.push({window:new WeakRef(i),iframeElement:null}),i=n}while(i)}return t.slice(0)}static getPositionOfChildWindowRelativeToAncestorWindow(e,t){if(!t||e===t)return{top:0,left:0};let n=0,i=0;const o=this.getSameOriginWindowChain(e);for(const e of o){const o=e.window.deref();if(n+=o?.scrollY??0,i+=o?.scrollX??0,o===t)break;if(!e.iframeElement)break;const s=e.iframeElement.getBoundingClientRect();n+=s.top,i+=s.left}return{top:n,left:i}}}var a=n(34591);class l{constructor(e,t){this.timestamp=Date.now(),this.browserEvent=t,this.leftButton=0===t.button,this.middleButton=1===t.button,this.rightButton=2===t.button,this.buttons=t.buttons,this.target=t.target,this.detail=t.detail||1,"dblclick"===t.type&&(this.detail=2),this.ctrlKey=t.ctrlKey,this.shiftKey=t.shiftKey,this.altKey=t.altKey,this.metaKey=t.metaKey,"number"==typeof t.pageX?(this.posx=t.pageX,this.posy=t.pageY):(this.posx=t.clientX+this.target.ownerDocument.body.scrollLeft+this.target.ownerDocument.documentElement.scrollLeft,this.posy=t.clientY+this.target.ownerDocument.body.scrollTop+this.target.ownerDocument.documentElement.scrollTop);const n=r.getPositionOfChildWindowRelativeToAncestorWindow(e,t.view);this.posx-=n.left,this.posy-=n.top}preventDefault(){this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent.stopPropagation()}}class c{constructor(e,t=0,n=0){this.browserEvent=e||null,this.target=e?e.target||e.targetNode||e.srcElement:null,this.deltaY=n,this.deltaX=t;let o=!1;if(i.H8){const e=navigator.userAgent.match(/Chrome\/(\d+)/);o=(e?parseInt(e[1]):123)<=122}if(e){const t=e,n=e,s=e.view?.devicePixelRatio||1;if(void 0!==t.wheelDeltaY)this.deltaY=o?t.wheelDeltaY/(120*s):t.wheelDeltaY/120;else if(void 0!==n.VERTICAL_AXIS&&n.axis===n.VERTICAL_AXIS)this.deltaY=-n.detail/3;else if("wheel"===e.type){const t=e;t.deltaMode===t.DOM_DELTA_LINE?i.gm&&!a.zx?this.deltaY=-e.deltaY/3:this.deltaY=-e.deltaY:this.deltaY=-e.deltaY/40}if(void 0!==t.wheelDeltaX)i.nr&&a.uF?this.deltaX=-t.wheelDeltaX/120:this.deltaX=o?t.wheelDeltaX/(120*s):t.wheelDeltaX/120;else if(void 0!==n.HORIZONTAL_AXIS&&n.axis===n.HORIZONTAL_AXIS)this.deltaX=-e.detail/3;else if("wheel"===e.type){const t=e;t.deltaMode===t.DOM_DELTA_LINE?i.gm&&!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=o?e.wheelDelta/(120*s):e.wheelDelta/120)}}preventDefault(){this.browserEvent?.preventDefault()}stopPropagation(){this.browserEvent?.stopPropagation()}}},5657(e,t,n){function i(e,t){const n=e;"number"!=typeof n.vscodeWindowId&&Object.defineProperty(n,"vscodeWindowId",{get:()=>t})}n.d(t,{G:()=>o,y:()=>i});const o=window},81158(e,t,n){function i(e,t=0){return e[e.length-(1+t)]}function o(e){if(0===e.length)throw new Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function s(e,t,n=(e,t)=>e===t){if(e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(let i=0,o=e.length;i<o;i++)if(!n(e[i],t[i]))return!1;return!0}function r(e,t){const n=e.length-1;t<n&&(e[t]=e[n]),e.pop()}function a(e,t,n){return function(e,t){let n=0,i=e-1;for(;n<=i;){const e=(n+i)/2|0,o=t(e);if(o<0)n=e+1;else{if(!(o>0))return e;i=e-1}}return-(n+1)}(e.length,i=>n(e[i],t))}function l(e,t,n){if((e|=0)>=t.length)throw new TypeError("invalid index");const i=t[Math.floor(t.length*Math.random())],o=[],s=[],r=[];for(const e of t){const t=n(e,i);t<0?o.push(e):t>0?s.push(e):r.push(e)}return e<o.length?l(e,o,n):e<o.length+r.length?r[0]:l(e-(o.length+r.length),s,n)}function c(e,t){const n=[];let i;for(const o of e.slice(0).sort(t))i&&0===t(i[0],o)?i.push(o):(i=[o],n.push(i));return n}function*d(e,t){let n,i;for(const o of e)void 0!==i&&t(i,o)?n.push(o):(n&&(yield n),n=[o]),i=o;n&&(yield n)}function h(e,t){for(let n=0;n<=e.length;n++)t(0===n?void 0:e[n-1],n===e.length?void 0:e[n])}function u(e,t){for(let n=0;n<e.length;n++)t(0===n?void 0:e[n-1],e[n],n+1===e.length?void 0:e[n+1])}function g(e){return e.filter(e=>!!e)}function f(e){let t=0;for(let n=0;n<e.length;n++)e[n]&&(e[t]=e[n],t+=1);e.length=t}function p(e){return!Array.isArray(e)||0===e.length}function m(e){return Array.isArray(e)&&e.length>0}function w(e,t=e=>e){const n=new Set;return e.filter(e=>{const i=t(e);return!n.has(i)&&(n.add(i),!0)})}function y(e,t){return e.length>0?e[0]:t}function b(e,t){let n="number"==typeof t?e:0;"number"==typeof t?n=e:(n=0,t=e);const i=[];if(n<=t)for(let e=n;e<t;e++)i.push(e);else for(let e=n;e>t;e--)i.push(e);return i}function C(e,t,n){const i=e.slice(0,t),o=e.slice(t);return i.concat(n,o)}function v(e,t){const n=e.indexOf(t);n>-1&&(e.splice(n,1),e.unshift(t))}function k(e,t){const n=e.indexOf(t);n>-1&&(e.splice(n,1),e.push(t))}function S(e,t){for(const n of t)e.push(n)}function _(e){return Array.isArray(e)?e:[e]}function T(e,t,n,i){const o=L(e,t);let s=e.splice(o,n);return void 0===s&&(s=[]),function(e,t,n){const i=L(e,t),o=e.length,s=n.length;e.length=o+s;for(let t=o-1;t>=i;t--)e[t+s]=e[t];for(let t=0;t<s;t++)e[t+i]=n[t]}(e,o,i),s}function L(e,t){return t<0?Math.max(t+e.length,0):Math.min(t,e.length)}var D;function x(e,t){return(n,i)=>t(e(n),e(i))}function O(...e){return(t,n)=>{for(const i of e){const e=i(t,n);if(!D.isNeitherLessOrGreaterThan(e))return e}return D.neitherLessOrGreaterThan}}n.d(t,{$z:()=>c,Ct:()=>p,E4:()=>S,EI:()=>m,El:()=>a,Fy:()=>y,Hw:()=>E,RT:()=>i,SK:()=>f,SO:()=>l,TS:()=>M,U9:()=>A,UH:()=>r,V4:()=>T,VE:()=>x,Yc:()=>g,_A:()=>v,_j:()=>_,aI:()=>s,bS:()=>o,c1:()=>R,dM:()=>w,j3:()=>I,kj:()=>u,n:()=>d,nH:()=>O,nK:()=>C,pN:()=>h,r7:()=>k,t9:()=>N,y1:()=>b}),function(e){e.isLessThan=function(e){return e<0},e.isLessThanOrEqual=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}(D||(D={}));const A=(e,t)=>e-t,M=(e,t)=>A(e?1:0,t?1:0);function E(e){return(t,n)=>-e(t,n)}class I{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 n=t===this.firstIdx?null:this.items.slice(this.firstIdx,t);return this.firstIdx=t,n}takeFromEndWhile(e){let t=this.lastIdx;for(;t>=0&&e(this.items[t]);)t--;const n=t===this.lastIdx?null:this.items.slice(t+1,this.lastIdx+1);return this.lastIdx=t,n}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}}class R{static{this.empty=new R(e=>{})}constructor(e){this.iterate=e}toArray(){const e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(e){return new R(t=>this.iterate(n=>!e(n)||t(n)))}map(e){return new R(t=>this.iterate(n=>t(e(n))))}findLast(e){let t;return this.iterate(n=>(e(n)&&(t=n),!0)),t}findLastMaxBy(e){let t,n=!0;return this.iterate(i=>((n||D.isGreaterThan(e(i,t)))&&(n=!1,t=i),!0)),t}}class N{constructor(e){this._indexMap=e}static createSortPermutation(e,t){const n=Array.from(e.keys()).sort((n,i)=>t(e[n],e[i]));return new N(n)}apply(e){return e.map((t,n)=>e[this._indexMap[n]])}inverse(){const e=this._indexMap.slice();for(let t=0;t<this._indexMap.length;t++)e[this._indexMap[t]]=t;return new N(e)}}},64914(e,t,n){n.d(t,{Ft:()=>a,V7:()=>r,Xo:()=>l,ok:()=>o,xb:()=>s});var i=n(48275);function o(e,t){if(!e)throw new Error(t?`Assertion failed (${t})`:"Assertion Failed")}function s(e,t="Unreachable"){throw new Error(t)}function r(e){e||(0,i.dz)(new i.D7("Soft Assertion Failed"))}function a(e){e()||(e(),(0,i.dz)(new i.D7("Assertion Failed")))}function l(e,t){let n=0;for(;n<e.length-1;){if(!t(e[n],e[n+1]))return!1;n++}return!0}},55842(e,t,n){n.d(t,{$1:()=>w,$6:()=>v,A0:()=>S,AE:()=>D,EQ:()=>m,F6:()=>_,HC:()=>L,PK:()=>h,Qg:()=>c,SS:()=>d,Th:()=>f,Zv:()=>T,b7:()=>k,bI:()=>O,pc:()=>y,uC:()=>C,vb:()=>b,ve:()=>g,wR:()=>p});var i=n(91851),o=n(48275),s=n(98137),r=n(80194),a=n(34591),l=n(88331);function c(e){return!!e&&"function"==typeof e.then}function d(e){const t=new i.Qi,n=e(t.token),s=new Promise((e,i)=>{const s=t.token.onCancellationRequested(()=>{s.dispose(),i(new o.AL)});Promise.resolve(n).then(n=>{s.dispose(),t.dispose(),e(n)},e=>{s.dispose(),t.dispose(),i(e)})});return new class{cancel(){t.cancel(),t.dispose()}then(e,t){return s.then(e,t)}catch(e){return this.then(void 0,e)}finally(e){return s.finally(e)}}}function h(e,t,n){return new Promise((i,o)=>{const s=t.onCancellationRequested(()=>{s.dispose(),i(n)});e.then(i,o).finally(()=>s.dispose())})}class u{constructor(){this.isDisposed=!1,this.activePromise=null,this.queuedPromise=null,this.queuedPromiseFactory=null}queue(e){if(this.isDisposed)return Promise.reject(new Error("Throttler is disposed"));if(this.activePromise){if(this.queuedPromiseFactory=e,!this.queuedPromise){const e=()=>{if(this.queuedPromise=null,this.isDisposed)return;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)})})}dispose(){this.isDisposed=!0}}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 n=()=>{this.deferred=null,this.doResolve?.(null)};return this.deferred=t===l.h?(e=>{let t=!0;return queueMicrotask(()=>{t&&(t=!1,e())}),{isTriggered:()=>t,dispose:()=>{t=!1}}})(n):((e,t)=>{let n=!0;const i=setTimeout(()=>{n=!1,t()},e);return{isTriggered:()=>n,dispose:()=>{clearTimeout(i),n=!1}}})(t,n),this.completionPromise}isTriggered(){return!!this.deferred?.isTriggered()}cancel(){this.cancelTimeout(),this.completionPromise&&(this.doReject?.(new o.AL),this.completionPromise=null)}cancelTimeout(){this.deferred?.dispose(),this.deferred=null}dispose(){this.cancel()}}class f{constructor(e){this.delayer=new g(e),this.throttler=new u}trigger(e,t){return this.delayer.trigger(()=>this.throttler.queue(e),t)}cancel(){this.delayer.cancel()}dispose(){this.delayer.dispose(),this.throttler.dispose()}}function p(e,t){return t?new Promise((n,i)=>{const s=setTimeout(()=>{r.dispose(),n()},e),r=t.onCancellationRequested(()=>{clearTimeout(s),r.dispose(),i(new o.AL)})}):d(t=>p(e,t))}function m(e,t=0,n){const i=setTimeout(()=>{e(),n&&o.dispose()},t),o=(0,r.s)(()=>{clearTimeout(i),n?.deleteAndLeak(o)});return n?.add(o),o}function w(e,t=e=>!!e,n=null){let i=0;const o=e.length,s=()=>{if(i>=o)return Promise.resolve(n);const r=e[i++];return Promise.resolve(r()).then(e=>t(e)?Promise.resolve(e):s())};return s()}class y{constructor(e,t){this._isDisposed=!1,this._token=-1,"function"==typeof e&&"number"==typeof t&&this.setIfNotSet(e,t)}dispose(){this.cancel(),this._isDisposed=!0}cancel(){-1!==this._token&&(clearTimeout(this._token),this._token=-1)}cancelAndSet(e,t){if(this._isDisposed)throw new o.D7("Calling 'cancelAndSet' on a disposed TimeoutTimer");this.cancel(),this._token=setTimeout(()=>{this._token=-1,e()},t)}setIfNotSet(e,t){if(this._isDisposed)throw new o.D7("Calling 'setIfNotSet' on a disposed TimeoutTimer");-1===this._token&&(this._token=setTimeout(()=>{this._token=-1,e()},t))}}class b{constructor(){this.disposable=void 0,this.isDisposed=!1}cancel(){this.disposable?.dispose(),this.disposable=void 0}cancelAndSet(e,t,n=globalThis){if(this.isDisposed)throw new o.D7("Calling 'cancelAndSet' on a disposed IntervalTimer");this.cancel();const i=n.setInterval(()=>{e()},t);this.disposable=(0,r.s)(()=>{n.clearInterval(i),this.disposable=void 0})}dispose(){this.cancel(),this.isDisposed=!0}}class C{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(){this.runner?.()}}let v,k;k="function"!=typeof globalThis.requestIdleCallback||"function"!=typeof globalThis.cancelIdleCallback?(e,t)=>{(0,a._p)(()=>{if(n)return;const e=Date.now()+15,i={didTimeout:!0,timeRemaining:()=>Math.max(0,e-Date.now())};t(Object.freeze(i))});let n=!1;return{dispose(){n||(n=!0)}}}:(e,t,n)=>{const i=e.requestIdleCallback(t,"number"==typeof n?{timeout:n}:void 0);let o=!1;return{dispose(){o||(o=!0,e.cancelIdleCallback(i))}}},v=e=>k(globalThis,e);class S{constructor(e,t){this._didRun=!1,this._executor=()=>{try{this._value=t()}catch(e){this._error=e}finally{this._didRun=!0}},this._handle=k(e,()=>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 _ extends S{constructor(e){super(globalThis,e)}}class T{get isRejected(){return 1===this.outcome?.outcome}get isSettled(){return!!this.outcome}constructor(){this.p=new Promise((e,t)=>{this.completeCallback=e,this.errorCallback=t})}complete(e){return new Promise(t=>{this.completeCallback(e),this.outcome={outcome:0,value:e},t()})}error(e){return new Promise(t=>{this.errorCallback(e),this.outcome={outcome:1,value:e},t()})}cancel(){return this.error(new o.AL)}}var L;!function(e){e.settled=async function(e){let t;const n=await Promise.all(e.map(e=>e.then(e=>e,e=>{t||(t=e)})));if(void 0!==t)throw t;return n},e.withAsyncBody=function(e){return new Promise(async(t,n)=>{try{await e(t,n)}catch(e){n(e)}})}}(L||(L={}));class D{static fromArray(e){return new D(t=>{t.emitMany(e)})}static fromPromise(e){return new D(async t=>{t.emitMany(await e)})}static fromPromises(e){return new D(async t=>{await Promise.all(e.map(async e=>t.emitOne(await e)))})}static merge(e){return new D(async t=>{await Promise.all(e.map(async e=>{for await(const n of e)t.emitOne(n)}))})}static{this.EMPTY=D.fromArray([])}constructor(e,t){this._state=0,this._results=[],this._error=null,this._onReturn=t,this._onStateChanged=new s.vl,queueMicrotask(async()=>{const t={emitOne:e=>this.emitOne(e),emitMany:e=>this.emitMany(e),reject:e=>this.reject(e)};try{await Promise.resolve(e(t)),this.resolve()}catch(e){this.reject(e)}finally{t.emitOne=void 0,t.emitMany=void 0,t.reject=void 0}})}[Symbol.asyncIterator](){let e=0;return{next:async()=>{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};await s.Jh.toPromise(this._onStateChanged.event)}},return:async()=>(this._onReturn?.(),{done:!0,value:void 0})}}static map(e,t){return new D(async n=>{for await(const i of e)n.emitOne(t(i))})}map(e){return D.map(this,e)}static filter(e,t){return new D(async n=>{for await(const i of e)t(i)&&n.emitOne(i)})}filter(e){return D.filter(this,e)}static coalesce(e){return D.filter(e,e=>!!e)}coalesce(){return D.coalesce(this)}static async toPromise(e){const t=[];for await(const n of e)t.push(n);return t}toPromise(){return D.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())}}class x extends D{constructor(e,t){super(t),this._source=e}cancel(){this._source.cancel()}}function O(e){const t=new i.Qi,n=e(t.token);return new x(t,async e=>{const i=t.token.onCancellationRequested(()=>{i.dispose(),t.dispose(),e.reject(new o.AL)});try{for await(const i of n){if(t.token.isCancellationRequested)return;e.emitOne(i)}i.dispose(),t.dispose()}catch(n){i.dispose(),t.dispose(),e.reject(n)}})}},5537(e,t,n){function i(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}n.d(t,{$J:()=>r,Q1:()=>a,bU:()=>o,hB:()=>s});class o{constructor(e,t,n,o=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,n)),this.a=i(Math.max(Math.min(1,o),0),3)}static equals(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a}}class s{constructor(e,t,n,o){this._hslaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=i(Math.max(Math.min(1,t),0),3),this.l=i(Math.max(Math.min(1,n),0),3),this.a=i(Math.max(Math.min(1,o),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,n=e.g/255,i=e.b/255,o=e.a,r=Math.max(t,n,i),a=Math.min(t,n,i);let l=0,c=0;const d=(a+r)/2,h=r-a;if(h>0){switch(c=Math.min(d<=.5?h/(2*d):h/(2-2*d),1),r){case t:l=(n-i)/h+(n<i?6:0);break;case n:l=(i-t)/h+2;break;case i:l=(t-n)/h+4}l*=60,l=Math.round(l)}return new s(l,c,d,o)}static _hue2rgb(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}static toRGBA(e){const t=e.h/360,{s:n,l:i,a:r}=e;let a,l,c;if(0===n)a=l=c=i;else{const e=i<.5?i*(1+n):i+n-i*n,o=2*i-e;a=s._hue2rgb(o,e,t+1/3),l=s._hue2rgb(o,e,t),c=s._hue2rgb(o,e,t-1/3)}return new o(Math.round(255*a),Math.round(255*l),Math.round(255*c),r)}}class r{constructor(e,t,n,o){this._hsvaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=i(Math.max(Math.min(1,t),0),3),this.v=i(Math.max(Math.min(1,n),0),3),this.a=i(Math.max(Math.min(1,o),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,n=e.g/255,i=e.b/255,o=Math.max(t,n,i),s=o-Math.min(t,n,i),a=0===o?0:s/o;let l;return l=0===s?0:o===t?((n-i)/s%6+6)%6:o===n?(i-t)/s+2:(t-n)/s+4,new r(Math.round(60*l),a,o,e.a)}static toRGBA(e){const{h:t,s:n,v:i,a:s}=e,r=i*n,a=r*(1-Math.abs(t/60%2-1)),l=i-r;let[c,d,h]=[0,0,0];return t<60?(c=r,d=a):t<120?(c=a,d=r):t<180?(d=r,h=a):t<240?(d=a,h=r):t<300?(c=a,h=r):t<=360&&(c=r,h=a),c=Math.round(255*(c+l)),d=Math.round(255*(d+l)),h=Math.round(255*(h+l)),new o(c,d,h,s)}}class a{static fromHex(e){return a.Format.CSS.parseHex(e)||a.red}static equals(e,t){return!e&&!t||!(!e||!t)&&e.equals(t)}get hsla(){return this._hsla?this._hsla:s.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:r.fromRGBA(this.rgba)}constructor(e){if(!e)throw new Error("Color needs a value");if(e instanceof o)this.rgba=e;else if(e instanceof s)this._hsla=e,this.rgba=s.toRGBA(e);else{if(!(e instanceof r))throw new Error("Invalid color ctor argument");this._hsva=e,this.rgba=r.toRGBA(e)}}equals(e){return!!e&&o.equals(this.rgba,e.rgba)&&s.equals(this.hsla,e.hsla)&&r.equals(this.hsva,e.hsva)}getRelativeLuminance(){return i(.2126*a._relativeLuminanceForComponent(this.rgba.r)+.7152*a._relativeLuminanceForComponent(this.rgba.g)+.0722*a._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 a(new s(this.hsla.h,this.hsla.s,this.hsla.l+this.hsla.l*e,this.hsla.a))}darken(e){return new a(new s(this.hsla.h,this.hsla.s,this.hsla.l-this.hsla.l*e,this.hsla.a))}transparent(e){const{r:t,g:n,b:i,a:s}=this.rgba;return new a(new o(t,n,i,s*e))}isTransparent(){return 0===this.rgba.a}isOpaque(){return 1===this.rgba.a}opposite(){return new a(new o(255-this.rgba.r,255-this.rgba.g,255-this.rgba.b,this.rgba.a))}makeOpaque(e){if(this.isOpaque()||1!==e.rgba.a)return this;const{r:t,g:n,b:i,a:s}=this.rgba;return new a(new o(e.rgba.r-s*(e.rgba.r-t),e.rgba.g-s*(e.rgba.g-n),e.rgba.b-s*(e.rgba.b-i),1))}toString(){return this._toString||(this._toString=a.Format.CSS.format(this)),this._toString}static getLighterColor(e,t,n){if(e.isLighterThan(t))return e;n=n||.5;const i=e.getRelativeLuminance(),o=t.getRelativeLuminance();return n=n*(o-i)/o,e.lighten(n)}static getDarkerColor(e,t,n){if(e.isDarkerThan(t))return e;n=n||.5;const i=e.getRelativeLuminance();return n=n*(i-t.getRelativeLuminance())/i,e.darken(n)}static{this.white=new a(new o(255,255,255,1))}static{this.black=new a(new o(0,0,0,1))}static{this.red=new a(new o(255,0,0,1))}static{this.blue=new a(new o(0,0,255,1))}static{this.green=new a(new o(0,255,0,1))}static{this.cyan=new a(new o(0,255,255,1))}static{this.lightgrey=new a(new o(211,211,211,1))}static{this.transparent=new a(new o(0,0,0,0))}}!function(e){let t;!function(t){let n;!function(t){function n(e){const t=e.toString(16);return 2!==t.length?"0"+t:t}function i(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`#${n(e.rgba.r)}${n(e.rgba.g)}${n(e.rgba.b)}`},t.formatHexA=function(t,i=!1){return i&&1===t.rgba.a?e.Format.CSS.formatHex(t):`#${n(t.rgba.r)}${n(t.rgba.g)}${n(t.rgba.b)}${n(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 n=t.length;if(0===n)return null;if(35!==t.charCodeAt(0))return null;if(7===n){const n=16*i(t.charCodeAt(1))+i(t.charCodeAt(2)),s=16*i(t.charCodeAt(3))+i(t.charCodeAt(4)),r=16*i(t.charCodeAt(5))+i(t.charCodeAt(6));return new e(new o(n,s,r,1))}if(9===n){const n=16*i(t.charCodeAt(1))+i(t.charCodeAt(2)),s=16*i(t.charCodeAt(3))+i(t.charCodeAt(4)),r=16*i(t.charCodeAt(5))+i(t.charCodeAt(6)),a=16*i(t.charCodeAt(7))+i(t.charCodeAt(8));return new e(new o(n,s,r,a/255))}if(4===n){const n=i(t.charCodeAt(1)),s=i(t.charCodeAt(2)),r=i(t.charCodeAt(3));return new e(new o(16*n+n,16*s+s,16*r+r))}if(5===n){const n=i(t.charCodeAt(1)),s=i(t.charCodeAt(2)),r=i(t.charCodeAt(3)),a=i(t.charCodeAt(4));return new e(new o(16*n+n,16*s+s,16*r+r,(16*a+a)/255))}return null}}(n=t.CSS||(t.CSS={}))}(t=e.Format||(e.Format={}))}(a||(a={}))},73236(e,t,n){n.d(t,{e2:()=>a,sN:()=>s,tW:()=>o,v7:()=>h});var i=n(54312);function o(e){return s(e,0)}function s(e,t){switch(typeof e){case"object":return null===e?r(349,t):Array.isArray(e)?(n=e,i=r(104579,i=t),n.reduce((e,t)=>s(t,e),i)):function(e,t){return t=r(181387,t),Object.keys(e).sort().reduce((t,n)=>(t=a(n,t),s(e[n],t)),t)}(e,t);case"string":return a(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 n,i}function r(e,t){return(t<<5)-t+e|0}function a(e,t){t=r(149417,t);for(let n=0,i=e.length;n<i;n++)t=r(e.charCodeAt(n),t);return t}function l(e,t,n=32){const i=n-t;return(e<<t|(~((1<<i)-1)&e)>>>i)>>>0}function c(e,t=0,n=e.byteLength,i=0){for(let o=0;o<n;o++)e[t+o]=i}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,n="0"){for(;e.length<t;)e=n+e;return e}((e>>>0).toString(16),t/4)}class h{static{this._bigBlock32=new DataView(new ArrayBuffer(320))}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 n=this._buff;let o,s,r=this._buffLen,a=this._leftoverHighSurrogate;for(0!==a?(o=a,s=-1,a=0):(o=e.charCodeAt(0),s=0);;){let l=o;if(i.pc(o)){if(!(s+1<t)){a=o;break}{const t=e.charCodeAt(s+1);i.LJ(t)?(s++,l=i.z_(o,t)):l=65533}}else i.LJ(o)&&(l=65533);if(r=this._push(n,r,l),s++,!(s<t))break;o=e.charCodeAt(s)}this._buffLen=r,this._leftoverHighSurrogate=a}_push(e,t,n){return n<128?e[t++]=n:n<2048?(e[t++]=192|(1984&n)>>>6,e[t++]=128|(63&n)>>>0):n<65536?(e[t++]=224|(61440&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0):(e[t++]=240|(1835008&n)>>>18,e[t++]=128|(258048&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>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,c(this._buff,this._buffLen),this._buffLen>56&&(this._step(),c(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=h._bigBlock32,t=this._buffDV;for(let n=0;n<64;n+=4)e.setUint32(n,t.getUint32(n,!1),!1);for(let t=64;t<320;t+=4)e.setUint32(t,l(e.getUint32(t-12,!1)^e.getUint32(t-32,!1)^e.getUint32(t-56,!1)^e.getUint32(t-64,!1),1),!1);let n,i,o,s=this._h0,r=this._h1,a=this._h2,c=this._h3,d=this._h4;for(let t=0;t<80;t++)t<20?(n=r&a|~r&c,i=1518500249):t<40?(n=r^a^c,i=1859775393):t<60?(n=r&a|r&c|a&c,i=2400959708):(n=r^a^c,i=3395469782),o=l(s,5)+n+d+i+e.getUint32(4*t,!1)&4294967295,d=c,c=a,a=l(r,30),r=s,s=o;this._h0=this._h0+s&4294967295,this._h1=this._h1+r&4294967295,this._h2=this._h2+a&4294967295,this._h3=this._h3+c&4294967295,this._h4=this._h4+d&4294967295}}},13471(e,t,n){n.d(t,{FW:()=>l,Zv:()=>o,dG:()=>r,z5:()=>c});var i=n(48275);function o(e,t){if("number"==typeof e){if(0===e)return null;const n=(65535&e)>>>0,i=(4294901760&e)>>>16;return new a(0!==i?[s(n,t),s(i,t)]:[s(n,t)])}{const n=[];for(let i=0;i<e.length;i++)n.push(s(e[i],t));return new a(n)}}function s(e,t){const n=!!(2048&e),i=!!(256&e);return new r(2===t?i:n,!!(1024&e),!!(512&e),2===t?n:i,255&e)}class r{constructor(e,t,n,i,o){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=i,this.keyCode=o}equals(e){return e instanceof r&&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}isDuplicateModifierCase(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode}}class a{constructor(e){if(0===e.length)throw(0,i.Qg)("chords");this.chords=e}}class l{constructor(e,t,n,i,o,s){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=i,this.keyLabel=o,this.keyAriaLabel=s}}class c{}},19964(e,t,n){n.d(t,{Ez:()=>h,SJ:()=>f,fV:()=>d,ny:()=>i,v$:()=>c,zl:()=>g});var i,o=n(48275),s=n(34591),r=n(54312),a=n(89516),l=n(41095);function c(e,t){return a.r.isUri(e)?(0,r.Q_)(e.scheme,t):(0,r.ns)(e,t+":")}function d(e,...t){return t.some(t=>c(e,t))}!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.vscodeManagedRemoteResource="vscode-managed-remote-resource",e.vscodeUserData="vscode-userdata",e.vscodeCustomEditor="vscode-custom-editor",e.vscodeNotebookCell="vscode-notebook-cell",e.vscodeNotebookCellMetadata="vscode-notebook-cell-metadata",e.vscodeNotebookCellMetadataDiff="vscode-notebook-cell-metadata-diff",e.vscodeNotebookCellOutput="vscode-notebook-cell-output",e.vscodeNotebookCellOutputDiff="vscode-notebook-cell-output-diff",e.vscodeNotebookMetadata="vscode-notebook-metadata",e.vscodeInteractiveInput="vscode-interactive-input",e.vscodeSettings="vscode-settings",e.vscodeWorkspaceTrust="vscode-workspace-trust",e.vscodeTerminal="vscode-terminal",e.vscodeChatCodeBlock="vscode-chat-code-block",e.vscodeChatCodeCompareBlock="vscode-chat-code-compare-block",e.vscodeChatSesssion="vscode-chat-editor",e.webviewPanel="webview-panel",e.vscodeWebview="vscode-webview",e.extension="extension",e.vscodeFileResource="vscode-file",e.tmp="tmp",e.vsls="vsls",e.vscodeSourceControl="vscode-scm",e.commentsInput="comment",e.codeSetting="code-setting",e.outputChannel="output"}(i||(i={}));const h=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._serverRootPath="/"}setPreferredWebSchema(e){this._preferredWebSchema=e}get _remoteResourcesPath(){return l.SA.join(this._serverRootPath,i.vscodeRemoteResource)}rewrite(e){if(this._delegate)try{return this._delegate(e)}catch(t){return o.dz(t),e}const t=e.authority;let n=this._hosts[t];n&&-1!==n.indexOf(":")&&-1===n.indexOf("[")&&(n=`[${n}]`);const r=this._ports[t],l=this._connectionTokens[t];let c=`path=${encodeURIComponent(e.path)}`;return"string"==typeof l&&(c+=`&tkn=${encodeURIComponent(l)}`),a.r.from({scheme:s.HZ?this._preferredWebSchema:i.vscodeRemoteResource,authority:`${n}:${r}`,path:this._remoteResourcesPath,query:c})}};class u{static{this.FALLBACK_AUTHORITY="vscode-app"}asBrowserUri(e){const t=this.toUri(e);return this.uriToBrowserUri(t)}uriToBrowserUri(e){return e.scheme===i.vscodeRemote?h.rewrite(e):e.scheme!==i.file||!s.ib&&s.lg!==`${i.vscodeFileResource}://${u.FALLBACK_AUTHORITY}`?e:e.with({scheme:i.vscodeFileResource,authority:e.authority||u.FALLBACK_AUTHORITY,query:null,fragment:null})}toUri(e,t){if(a.r.isUri(e))return e;if(globalThis._VSCODE_FILE_ROOT){const t=globalThis._VSCODE_FILE_ROOT;if(/^\w[\w\d+.-]*:\/\//.test(t))return a.r.joinPath(a.r.parse(t,!0),e);const n=l.fj(t,e);return a.r.file(n)}return a.r.parse(t.toUrl(e))}}const g=new u;var f;!function(e){const t=new Map([["1",{"Cross-Origin-Opener-Policy":"same-origin"}],["2",{"Cross-Origin-Embedder-Policy":"require-corp"}],["3",{"Cross-Origin-Opener-Policy":"same-origin","Cross-Origin-Embedder-Policy":"require-corp"}]]);e.CoopAndCoep=Object.freeze(t.get("3"));const n="vscode-coi";e.getHeadersFromQuery=function(e){let i;"string"==typeof e?i=new URL(e).searchParams:e instanceof URL?i=e.searchParams:a.r.isUri(e)&&(i=new URL(e.toString(!0)).searchParams);const o=i?.get(n);if(o)return t.get(o)},e.addSearchParam=function(e,t,i){if(!globalThis.crossOriginIsolated)return;const o=t&&i?"3":i?"2":"1";e instanceof URLSearchParams?e.set(n,o):e[n]=o}}(f||(f={}))},37926(e,t,n){n.d(t,{Go:()=>o,PI:()=>a,V0:()=>h,aI:()=>d,co:()=>c,kT:()=>u,ol:()=>s});var i=n(52739);function o(e){if(!e||"object"!=typeof e)return e;if(e instanceof RegExp)return e;const t=Array.isArray(e)?[]:{};return Object.entries(e).forEach(([e,n])=>{t[e]=n&&"object"==typeof n?o(n):n}),t}function s(e){if(!e||"object"!=typeof e)return e;const t=[e];for(;t.length>0;){const e=t.shift();Object.freeze(e);for(const n in e)if(r.call(e,n)){const o=e[n];"object"!=typeof o||Object.isFrozen(o)||(0,i.iu)(o)||t.push(o)}}return e}const r=Object.prototype.hasOwnProperty;function a(e,t){return l(e,t,new Set)}function l(e,t,n){if((0,i.z)(e))return e;const o=t(e);if(void 0!==o)return o;if(Array.isArray(e)){const i=[];for(const o of e)i.push(l(o,t,n));return i}if((0,i.Gv)(e)){if(n.has(e))throw new Error("Cannot clone recursive data-structure");n.add(e);const i={};for(const o in e)r.call(e,o)&&(i[o]=l(e[o],t,n));return n.delete(e),i}return e}function c(e,t,n=!0){return(0,i.Gv)(e)?((0,i.Gv)(t)&&Object.keys(t).forEach(o=>{o in e?n&&((0,i.Gv)(e[o])&&(0,i.Gv)(t[o])?c(e[o],t[o],n):e[o]=t[o]):e[o]=t[o]}),e):t}function d(e,t){if(e===t)return!0;if(null==e||null==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 n,i;if(Array.isArray(e)){if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(!d(e[n],t[n]))return!1}else{const o=[];for(i in e)o.push(i);o.sort();const s=[];for(i in t)s.push(i);if(s.sort(),!d(o,s))return!1;for(n=0;n<o.length;n++)if(!d(e[o[n]],t[o[n]]))return!1}return!0}function h(e){const t=[];for(const n of function(e){let t=[];for(;Object.prototype!==e;)t=t.concat(Object.getOwnPropertyNames(e)),e=Object.getPrototypeOf(e);return t}(e))"function"==typeof e[n]&&t.push(n);return t}function u(e,t){const n=e=>function(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)},i={};for(const t of e)i[t]=n(t);return i}},54312(e,t,n){n.d(t,{$X:()=>$,AV:()=>s,BO:()=>g,Bm:()=>f,Bq:()=>h,DB:()=>D,E_:()=>K,GP:()=>a,HG:()=>C,LJ:()=>N,LU:()=>Q,Lv:()=>x,MV:()=>z,NB:()=>u,OS:()=>m,Q_:()=>A,Qp:()=>E,S8:()=>se,Ss:()=>X,UD:()=>S,UU:()=>v,Vi:()=>I,W1:()=>T,Wd:()=>ie,Wv:()=>O,Z5:()=>P,_J:()=>q,aC:()=>j,bm:()=>d,eY:()=>w,en:()=>b,ih:()=>c,iy:()=>V,jy:()=>l,km:()=>H,lF:()=>_,lT:()=>k,m:()=>B,ne:()=>Y,ns:()=>M,pc:()=>R,r_:()=>Z,tk:()=>ee,tl:()=>re,uz:()=>y,wB:()=>p,y_:()=>ae,zY:()=>J,z_:()=>W,zd:()=>L});var i=n(19248),o=n(20990);function s(e){return!e||"string"!=typeof e||0===e.trim().length}const r=/{(\d+)}/g;function a(e,...t){return 0===t.length?e:e.replace(r,function(e,n){const i=parseInt(n,10);return isNaN(i)||i<0||i>=t.length?e:t[i]})}function l(e){return e.replace(/[<>"'&]/g,e=>{switch(e){case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case"'":return"&apos;";case"&":return"&amp;"}return e})}function c(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 h(e,t=" "){return g(u(e,t),t)}function u(e,t){if(!e||!t)return e;const n=t.length;if(0===n||0===e.length)return e;let i=0;for(;e.indexOf(t,i)===i;)i+=n;return e.substring(i)}function g(e,t){if(!e||!t)return e;const n=t.length,i=e.length;if(0===n||0===i)return e;let o=i,s=-1;for(;s=e.lastIndexOf(t,o-1),-1!==s&&s+n===o;){if(0===s)return"";o=s}return e.substring(0,o)}function f(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function p(e){return e.replace(/\*/g,"")}function m(e,t,n={}){if(!e)throw new Error("Cannot create regex from empty string");t||(e=d(e)),n.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));let i="";return n.global&&(i+="g"),n.matchCase||(i+="i"),n.multiline&&(i+="m"),n.unicode&&(i+="u"),new RegExp(e,i)}function w(e){return"^"!==e.source&&"^$"!==e.source&&"$"!==e.source&&"^\\s*$"!==e.source&&!(!e.exec("")||0!==e.lastIndex)}function y(e){return e.split(/\r\n|\r|\n/)}function b(e){const t=[],n=e.split(/(\r\n|\r|\n)/);for(let e=0;e<Math.ceil(n.length/2);e++)t.push(n[2*e]+(n[2*e+1]??""));return t}function C(e){for(let t=0,n=e.length;t<n;t++){const n=e.charCodeAt(t);if(32!==n&&9!==n)return t}return-1}function v(e,t=0,n=e.length){for(let i=t;i<n;i++){const n=e.charCodeAt(i);if(32!==n&&9!==n)return e.substring(t,i)}return e.substring(t,n)}function k(e,t=e.length-1){for(let n=t;n>=0;n--){const t=e.charCodeAt(n);if(32!==t&&9!==t)return n}return-1}function S(e,t){return e<t?-1:e>t?1:0}function _(e,t,n=0,i=e.length,o=0,s=t.length){for(;n<i&&o<s;n++,o++){const i=e.charCodeAt(n),s=t.charCodeAt(o);if(i<s)return-1;if(i>s)return 1}const r=i-n,a=s-o;return r<a?-1:r>a?1:0}function T(e,t){return L(e,t,0,e.length,0,t.length)}function L(e,t,n=0,i=e.length,o=0,s=t.length){for(;n<i&&o<s;n++,o++){let r=e.charCodeAt(n),a=t.charCodeAt(o);if(r===a)continue;if(r>=128||a>=128)return _(e.toLowerCase(),t.toLowerCase(),n,i,o,s);x(r)&&(r-=32),x(a)&&(a-=32);const l=r-a;if(0!==l)return l}const r=i-n,a=s-o;return r<a?-1:r>a?1:0}function D(e){return e>=48&&e<=57}function x(e){return e>=97&&e<=122}function O(e){return e>=65&&e<=90}function A(e,t){return e.length===t.length&&0===L(e,t)}function M(e,t){const n=t.length;return!(t.length>e.length)&&0===L(e,t,0,n)}function E(e,t){const n=Math.min(e.length,t.length);let i;for(i=0;i<n;i++)if(e.charCodeAt(i)!==t.charCodeAt(i))return i;return n}function I(e,t){const n=Math.min(e.length,t.length);let i;const o=e.length-1,s=t.length-1;for(i=0;i<n;i++)if(e.charCodeAt(o-i)!==t.charCodeAt(s-i))return i;return n}function R(e){return 55296<=e&&e<=56319}function N(e){return 56320<=e&&e<=57343}function W(e,t){return t-56320+(e-55296<<10)+65536}function P(e,t,n){const i=e.charCodeAt(n);if(R(i)&&n+1<t){const t=e.charCodeAt(n+1);if(N(t))return W(i,t)}return i}class F{get offset(){return this._offset}constructor(e,t=0){this._str=e,this._len=e.length,this._offset=t}setOffset(e){this._offset=e}prevCodePoint(){const e=function(e,t){const n=e.charCodeAt(t-1);if(N(n)&&t>1){const i=e.charCodeAt(t-2);if(R(i))return W(i,n)}return n}(this._str,this._offset);return this._offset-=e>=65536?2:1,e}nextCodePoint(){const e=P(this._str,this._len,this._offset);return this._offset+=e>=65536?2:1,e}eol(){return this._offset>=this._len}}class H{get offset(){return this._iterator.offset}constructor(e,t=0){this._iterator=new F(e,t)}nextGraphemeLength(){const e=ne.getInstance(),t=this._iterator,n=t.offset;let i=e.getGraphemeBreakType(t.nextCodePoint());for(;!t.eol();){const n=t.offset,o=e.getGraphemeBreakType(t.nextCodePoint());if(te(i,o)){t.setOffset(n);break}i=o}return t.offset-n}prevGraphemeLength(){const e=ne.getInstance(),t=this._iterator,n=t.offset;let i=e.getGraphemeBreakType(t.prevCodePoint());for(;t.offset>0;){const n=t.offset,o=e.getGraphemeBreakType(t.prevCodePoint());if(te(o,i)){t.setOffset(n);break}i=o}return n-t.offset}eol(){return this._iterator.eol()}}function V(e,t){return new H(e,t).nextGraphemeLength()}function z(e,t){return new H(e,t).prevGraphemeLength()}function B(e,t){t>0&&N(e.charCodeAt(t))&&t--;const n=t+V(e,t);return[n-z(e,n),n]}let U;function K(e){return U||(U=/(?:[\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])/),U.test(e)}const G=/^[\t\n\r\x20-\x7E]*$/;function j(e){return G.test(e)}const q=/[\u2028\u2029]/;function $(e){return q.test(e)}function Y(e){return e>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function X(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 Z=String.fromCharCode(65279);function Q(e){return!!(e&&e.length>0&&65279===e.charCodeAt(0))}function J(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 ne{static{this._INSTANCE=null}static getInstance(){return ne._INSTANCE||(ne._INSTANCE=new ne),ne._INSTANCE}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]")}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;const t=this._data,n=t.length/3;let i=1;for(;i<=n;)if(e<t[3*i])i*=2;else{if(!(e>t[3*i+1]))return t[3*i+2];i=2*i+1}return 0}}function ie(e,t){if(0===e)return 0;const n=function(e,t){const n=new F(t,e);let i=n.prevCodePoint();for(;oe(i)||65039===i||8419===i;){if(0===n.offset)return;i=n.prevCodePoint()}if(!X(i))return;let o=n.offset;return o>0&&8205===n.prevCodePoint()&&(o=n.offset),o}(e,t);if(void 0!==n)return n;const i=new F(t,e);return i.prevCodePoint(),i.offset}function oe(e){return 127995<=e&&e<=127999}const se=" ";class re{static{this.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,119846,109],"_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]}'))}static{this.cache=new i.o5({getCacheKey:JSON.stringify},e=>{function t(e){const t=new Map;for(let n=0;n<e.length;n+=2)t.set(e[n],e[n+1]);return t}function n(e,t){if(!e)return t;const n=new Map;for(const[i,o]of e)t.has(i)&&n.set(i,o);return n}const i=this.ambiguousCharacterData.value;let o,s=e.filter(e=>!e.startsWith("_")&&e in i);0===s.length&&(s=["_default"]);for(const e of s)o=n(o,t(i[e]));const r=function(e,t){const n=new Map(e);for(const[e,i]of t)n.set(e,i);return n}(t(i._common),o);return new re(r)})}static getInstance(e){return re.cache.get(Array.from(e))}static{this._locales=new o.d(()=>Object.keys(re.ambiguousCharacterData.value).filter(e=>!e.startsWith("_")))}static getLocales(){return re._locales.value}constructor(e){this.confusableDictionary=e}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}class ae{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{this._data=void 0}static getData(){return this._data||(this._data=new Set(ae.getRawData())),this._data}static isInvisibleCharacter(e){return ae.getData().has(e)}static get codePoints(){return ae.getData()}}},88331(e,t,n){n.d(t,{h:()=>i});const i=Symbol("MicrotaskDelay")},82776(e,t,n){n.d(t,{HP:()=>m,MouseTargetFactory:()=>S,Or:()=>p,dQ:()=>y});var i,o=n(85962),s=n(79867),r=n(30693),a=n(93881),l=n(27329),c=n(69881),d=n(80081),h=n(71765),u=n(20990);class g{constructor(e=null){this.hitTarget=e,this.type=0}}class f{get hitTarget(){return this.spanNode}constructor(e,t,n){this.position=e,this.spanNode=t,this.injectedText=n,this.type=1}}!function(e){e.createFromDOMInfo=function(e,t,n){const i=e.getPositionFromDOMInfo(t,n);return i?new f(i,t,null):new g(t)}}(i||(i={}));class p{constructor(e,t){this.lastViewCursorsRenderData=e,this.lastTextareaPosition=t}}class m{static _deduceRage(e,t=null){return!t&&e?new l.Q(e.lineNumber,e.column,e.lineNumber,e.column):t??null}static createUnknown(e,t,n){return{type:0,element:e,mouseColumn:t,position:n,range:this._deduceRage(n)}}static createTextarea(e,t){return{type:1,element:e,mouseColumn:t,position:null,range:null}}static createMargin(e,t,n,i,o,s){return{type:e,element:t,mouseColumn:n,position:i,range:o,detail:s}}static createViewZone(e,t,n,i,o){return{type:e,element:t,mouseColumn:n,position:i,range:this._deduceRage(i),detail:o}}static createContentText(e,t,n,i,o){return{type:6,element:e,mouseColumn:t,position:n,range:this._deduceRage(n,i),detail:o}}static createContentEmpty(e,t,n,i){return{type:7,element:e,mouseColumn:t,position:n,range:this._deduceRage(n),detail:i}}static createContentWidget(e,t,n){return{type:9,element:e,mouseColumn:t,position:null,range:null,detail:n}}static createScrollbar(e,t,n){return{type:11,element:e,mouseColumn:t,position:n,range:this._deduceRage(n)}}static createOverlayWidget(e,t,n){return{type:12,element:e,mouseColumn:t,position:null,range:null,detail:n}}static createOutsideEditor(e,t,n,i){return{type:13,element:null,mouseColumn:e,position:t,range:this._deduceRage(t),outsidePosition:n,outsideDistance:i}}static _typeToString(e){return 1===e?"TEXTAREA":2===e?"GUTTER_GLYPH_MARGIN":3===e?"GUTTER_LINE_NUMBERS":4===e?"GUTTER_LINE_DECORATIONS":5===e?"GUTTER_VIEW_ZONE":6===e?"CONTENT_TEXT":7===e?"CONTENT_EMPTY":8===e?"CONTENT_VIEW_ZONE":9===e?"CONTENT_WIDGET":10===e?"OVERVIEW_RULER":11===e?"SCROLLBAR":12===e?"OVERLAY_WIDGET":"UNKNOWN"}static toString(e){return this._typeToString(e.type)+": "+e.position+" - "+e.range+" - "+JSON.stringify(e.detail)}}class w{static isTextArea(e){return 2===e.length&&3===e[0]&&7===e[1]}static isChildOfViewLines(e){return e.length>=4&&3===e[0]&&8===e[3]}static isStrictChildOfViewLines(e){return e.length>4&&3===e[0]&&8===e[3]}static isChildOfScrollableElement(e){return e.length>=2&&3===e[0]&&6===e[1]}static isChildOfMinimap(e){return e.length>=2&&3===e[0]&&9===e[1]}static isChildOfContentWidgets(e){return e.length>=4&&3===e[0]&&1===e[3]}static isChildOfOverflowGuard(e){return e.length>=1&&3===e[0]}static isChildOfOverflowingContentWidgets(e){return e.length>=1&&2===e[0]}static isChildOfOverlayWidgets(e){return e.length>=2&&3===e[0]&&4===e[1]}static isChildOfOverflowingOverlayWidgets(e){return e.length>=1&&5===e[0]}}class y{constructor(e,t,n){this.viewModel=e.viewModel;const i=e.configuration.options;this.layoutInfo=i.get(146),this.viewDomNode=t.viewDomNode,this.lineHeight=i.get(67),this.stickyTabStops=i.get(117),this.typicalHalfwidthCharacterWidth=i.get(50).typicalHalfwidthCharacterWidth,this.lastRenderData=n,this._context=e,this._viewHelper=t}getZoneAtCoord(e){return y.getZoneAtCoord(this._context,e)}static getZoneAtCoord(e,t){const n=e.viewLayout.getWhitespaceAtVerticalOffset(t);if(n){const i=n.verticalOffset+n.height/2,o=e.viewModel.getLineCount();let s,r=null,l=null;return n.afterLineNumber!==o&&(l=new a.y(n.afterLineNumber+1,1)),n.afterLineNumber>0&&(r=new a.y(n.afterLineNumber,e.viewModel.getLineMaxColumn(n.afterLineNumber))),s=null===l?r:null===r?l:t<i?r:l,{viewZoneId:n.id,afterLineNumber:n.afterLineNumber,positionBefore:r,positionAfter:l,position:s}}return null}getFullLineRangeAtCoord(e){if(this._context.viewLayout.isAfterLines(e)){const e=this._context.viewModel.getLineCount(),t=this._context.viewModel.getLineMaxColumn(e);return{range:new l.Q(e,t,e,t),isAfterLines:!0}}const t=this._context.viewLayout.getLineNumberAtVerticalOffset(e),n=this._context.viewModel.getLineMaxColumn(t);return{range:new l.Q(t,1,t,n),isAfterLines:!1}}getLineNumberAtVerticalOffset(e){return this._context.viewLayout.getLineNumberAtVerticalOffset(e)}isAfterLines(e){return this._context.viewLayout.isAfterLines(e)}isInTopPadding(e){return this._context.viewLayout.isInTopPadding(e)}isInBottomPadding(e){return this._context.viewLayout.isInBottomPadding(e)}getVerticalOffsetForLineNumber(e){return this._context.viewLayout.getVerticalOffsetForLineNumber(e)}findAttribute(e,t){return y._findAttribute(e,t,this._viewHelper.viewDomNode)}static _findAttribute(e,t,n){for(;e&&e!==e.ownerDocument.body;){if(e.hasAttribute&&e.hasAttribute(t))return e.getAttribute(t);if(e===n)return null;e=e.parentNode}return null}getLineWidth(e){return this._viewHelper.getLineWidth(e)}visibleRangeForPosition(e,t){return this._viewHelper.visibleRangeForPosition(e,t)}getPositionFromDOMInfo(e,t){return this._viewHelper.getPositionFromDOMInfo(e,t)}getCurrentScrollTop(){return this._context.viewLayout.getCurrentScrollTop()}getCurrentScrollLeft(){return this._context.viewLayout.getCurrentScrollLeft()}}class b{constructor(e,t,n,i){this.editorPos=t,this.pos=n,this.relativePos=i,this.mouseVerticalOffset=Math.max(0,e.getCurrentScrollTop()+this.relativePos.y),this.mouseContentHorizontalOffset=e.getCurrentScrollLeft()+this.relativePos.x-e.layoutInfo.contentLeft,this.isInMarginArea=this.relativePos.x<e.layoutInfo.contentLeft&&this.relativePos.x>=e.layoutInfo.glyphMarginLeft,this.isInContentArea=!this.isInMarginArea,this.mouseColumn=Math.max(0,S._getMouseColumn(this.mouseContentHorizontalOffset,e.typicalHalfwidthCharacterWidth))}}class C extends b{get target(){return this._useHitTestTarget?this.hitTestResult.value.hitTarget:this._eventTarget}get targetPath(){return this._targetPathCacheElement!==this.target&&(this._targetPathCacheElement=this.target,this._targetPathCacheValue=s.L.collect(this.target,this._ctx.viewDomNode)),this._targetPathCacheValue}constructor(e,t,n,i,o){super(e,t,n,i),this.hitTestResult=new u.d(()=>S.doHitTest(this._ctx,this)),this._targetPathCacheElement=null,this._targetPathCacheValue=new Uint8Array(0),this._ctx=e,this._eventTarget=o;const s=Boolean(this._eventTarget);this._useHitTestTarget=!s}toString(){return`pos(${this.pos.x},${this.pos.y}), editorPos(${this.editorPos.x},${this.editorPos.y}), relativePos(${this.relativePos.x},${this.relativePos.y}), mouseVerticalOffset: ${this.mouseVerticalOffset}, mouseContentHorizontalOffset: ${this.mouseContentHorizontalOffset}\n\ttarget: ${this.target?this.target.outerHTML:null}`}get wouldBenefitFromHitTestTargetSwitch(){return!this._useHitTestTarget&&null!==this.hitTestResult.value.hitTarget&&this.target!==this.hitTestResult.value.hitTarget}switchToHitTestTarget(){this._useHitTestTarget=!0}_getMouseColumn(e=null){return e&&e.column<this._ctx.viewModel.getLineMaxColumn(e.lineNumber)?c.A.visibleColumnFromColumn(this._ctx.viewModel.getLineContent(e.lineNumber),e.column,this._ctx.viewModel.model.getOptions().tabSize)+1:this.mouseColumn}fulfillUnknown(e=null){return m.createUnknown(this.target,this._getMouseColumn(e),e)}fulfillTextarea(){return m.createTextarea(this.target,this._getMouseColumn())}fulfillMargin(e,t,n,i){return m.createMargin(e,this.target,this._getMouseColumn(t),t,n,i)}fulfillViewZone(e,t,n){return m.createViewZone(e,this.target,this._getMouseColumn(t),t,n)}fulfillContentText(e,t,n){return m.createContentText(this.target,this._getMouseColumn(e),e,t,n)}fulfillContentEmpty(e,t){return m.createContentEmpty(this.target,this._getMouseColumn(e),e,t)}fulfillContentWidget(e){return m.createContentWidget(this.target,this._getMouseColumn(),e)}fulfillScrollbar(e){return m.createScrollbar(this.target,this._getMouseColumn(e),e)}fulfillOverlayWidget(e){return m.createOverlayWidget(this.target,this._getMouseColumn(),e)}}const v={isAfterLines:!0};function k(e){return{isAfterLines:!1,horizontalDistanceToText:e}}class S{constructor(e,t){this._context=e,this._viewHelper=t}mouseTargetIsWidget(e){const t=e.target,n=s.L.collect(t,this._viewHelper.viewDomNode);return!!(w.isChildOfContentWidgets(n)||w.isChildOfOverflowingContentWidgets(n)||w.isChildOfOverlayWidgets(n)||w.isChildOfOverflowingOverlayWidgets(n))}createMouseTarget(e,t,n,i,o){const s=new y(this._context,this._viewHelper,e),r=new C(s,t,n,i,o);try{const e=S._createMouseTarget(s,r);if(6===e.type&&s.stickyTabStops&&null!==e.position){const t=S._snapToSoftTabBoundary(e.position,s.viewModel),n=l.Q.fromPositions(t,t).plusRange(e.range);return r.fulfillContentText(t,n,e.detail)}return e}catch(e){return r.fulfillUnknown()}}static _createMouseTarget(e,t){if(null===t.target)return t.fulfillUnknown();const n=t;let i=null;return w.isChildOfOverflowGuard(t.targetPath)||w.isChildOfOverflowingContentWidgets(t.targetPath)||w.isChildOfOverflowingOverlayWidgets(t.targetPath)||(i=i||t.fulfillUnknown()),i=i||S._hitTestContentWidget(e,n),i=i||S._hitTestOverlayWidget(e,n),i=i||S._hitTestMinimap(e,n),i=i||S._hitTestScrollbarSlider(e,n),i=i||S._hitTestViewZone(e,n),i=i||S._hitTestMargin(e,n),i=i||S._hitTestViewCursor(e,n),i=i||S._hitTestTextArea(e,n),i=i||S._hitTestViewLines(e,n),i=i||S._hitTestScrollbar(e,n),i||t.fulfillUnknown()}static _hitTestContentWidget(e,t){if(w.isChildOfContentWidgets(t.targetPath)||w.isChildOfOverflowingContentWidgets(t.targetPath)){const n=e.findAttribute(t.target,"widgetId");return n?t.fulfillContentWidget(n):t.fulfillUnknown()}return null}static _hitTestOverlayWidget(e,t){if(w.isChildOfOverlayWidgets(t.targetPath)||w.isChildOfOverflowingOverlayWidgets(t.targetPath)){const n=e.findAttribute(t.target,"widgetId");return n?t.fulfillOverlayWidget(n):t.fulfillUnknown()}return null}static _hitTestViewCursor(e,t){if(t.target){const n=e.lastRenderData.lastViewCursorsRenderData;for(const e of n)if(t.target===e.domNode)return t.fulfillContentText(e.position,null,{mightBeForeignElement:!1,injectedText:null})}if(t.isInContentArea){const n=e.lastRenderData.lastViewCursorsRenderData,i=t.mouseContentHorizontalOffset,o=t.mouseVerticalOffset;for(const s of n){if(i<s.contentLeft)continue;if(i>s.contentLeft+s.width)continue;const n=e.getVerticalOffsetForLineNumber(s.position.lineNumber);if(n<=o&&o<=n+s.height)return t.fulfillContentText(s.position,null,{mightBeForeignElement:!1,injectedText:null})}}return null}static _hitTestViewZone(e,t){const n=e.getZoneAtCoord(t.mouseVerticalOffset);if(n){const e=t.isInContentArea?8:5;return t.fulfillViewZone(e,n.position,n)}return null}static _hitTestTextArea(e,t){return w.isTextArea(t.targetPath)?e.lastRenderData.lastTextareaPosition?t.fulfillContentText(e.lastRenderData.lastTextareaPosition,null,{mightBeForeignElement:!1,injectedText:null}):t.fulfillTextarea():null}static _hitTestMargin(e,t){if(t.isInMarginArea){const n=e.getFullLineRangeAtCoord(t.mouseVerticalOffset),i=n.range.getStartPosition();let o=Math.abs(t.relativePos.x);const s={isAfterLines:n.isAfterLines,glyphMarginLeft:e.layoutInfo.glyphMarginLeft,glyphMarginWidth:e.layoutInfo.glyphMarginWidth,lineNumbersWidth:e.layoutInfo.lineNumbersWidth,offsetX:o};if(o-=e.layoutInfo.glyphMarginLeft,o<=e.layoutInfo.glyphMarginWidth){const r=e.viewModel.coordinatesConverter.convertViewPositionToModelPosition(n.range.getStartPosition()),a=e.viewModel.glyphLanes.getLanesAtLine(r.lineNumber);return s.glyphMarginLane=a[Math.floor(o/e.lineHeight)],t.fulfillMargin(2,i,n.range,s)}return o-=e.layoutInfo.glyphMarginWidth,o<=e.layoutInfo.lineNumbersWidth?t.fulfillMargin(3,i,n.range,s):(o-=e.layoutInfo.lineNumbersWidth,t.fulfillMargin(4,i,n.range,s))}return null}static _hitTestViewLines(e,t){if(!w.isChildOfViewLines(t.targetPath))return null;if(e.isInTopPadding(t.mouseVerticalOffset))return t.fulfillContentEmpty(new a.y(1,1),v);if(e.isAfterLines(t.mouseVerticalOffset)||e.isInBottomPadding(t.mouseVerticalOffset)){const n=e.viewModel.getLineCount(),i=e.viewModel.getLineMaxColumn(n);return t.fulfillContentEmpty(new a.y(n,i),v)}if(w.isStrictChildOfViewLines(t.targetPath)){const n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset);if(0===e.viewModel.getLineLength(n)){const i=e.getLineWidth(n),o=k(t.mouseContentHorizontalOffset-i);return t.fulfillContentEmpty(new a.y(n,1),o)}const i=e.getLineWidth(n);if(t.mouseContentHorizontalOffset>=i){const o=k(t.mouseContentHorizontalOffset-i),s=new a.y(n,e.viewModel.getLineMaxColumn(n));return t.fulfillContentEmpty(s,o)}}const n=t.hitTestResult.value;return 1===n.type?S.createMouseTargetFromHitTestPosition(e,t,n.spanNode,n.position,n.injectedText):t.wouldBenefitFromHitTestTargetSwitch?(t.switchToHitTestTarget(),this._createMouseTarget(e,t)):t.fulfillUnknown()}static _hitTestMinimap(e,t){if(w.isChildOfMinimap(t.targetPath)){const n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),i=e.viewModel.getLineMaxColumn(n);return t.fulfillScrollbar(new a.y(n,i))}return null}static _hitTestScrollbarSlider(e,t){if(w.isChildOfScrollableElement(t.targetPath)&&t.target&&1===t.target.nodeType){const n=t.target.className;if(n&&/\b(slider|scrollbar)\b/.test(n)){const n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),i=e.viewModel.getLineMaxColumn(n);return t.fulfillScrollbar(new a.y(n,i))}}return null}static _hitTestScrollbar(e,t){if(w.isChildOfScrollableElement(t.targetPath)){const n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),i=e.viewModel.getLineMaxColumn(n);return t.fulfillScrollbar(new a.y(n,i))}return null}getMouseColumn(e){const t=this._context.configuration.options,n=t.get(146),i=this._context.viewLayout.getCurrentScrollLeft()+e.x-n.contentLeft;return S._getMouseColumn(i,t.get(50).typicalHalfwidthCharacterWidth)}static _getMouseColumn(e,t){return e<0?1:Math.round(e/t)+1}static createMouseTargetFromHitTestPosition(e,t,n,i,o){const s=i.lineNumber,r=i.column,c=e.getLineWidth(s);if(t.mouseContentHorizontalOffset>c){const e=k(t.mouseContentHorizontalOffset-c);return t.fulfillContentEmpty(i,e)}const h=e.visibleRangeForPosition(s,r);if(!h)return t.fulfillUnknown(i);const u=h.left;if(Math.abs(t.mouseContentHorizontalOffset-u)<1)return t.fulfillContentText(i,null,{mightBeForeignElement:!!o,injectedText:o});const g=[];if(g.push({offset:h.left,column:r}),r>1){const t=e.visibleRangeForPosition(s,r-1);t&&g.push({offset:t.left,column:r-1})}if(r<e.viewModel.getLineMaxColumn(s)){const t=e.visibleRangeForPosition(s,r+1);t&&g.push({offset:t.left,column:r+1})}g.sort((e,t)=>e.offset-t.offset);const f=t.pos.toClientCoordinates(d.zk(e.viewDomNode)),p=n.getBoundingClientRect(),m=p.left<=f.clientX&&f.clientX<=p.right;let w=null;for(let e=1;e<g.length;e++){const n=g[e-1],o=g[e];if(n.offset<=t.mouseContentHorizontalOffset&&t.mouseContentHorizontalOffset<=o.offset){w=new l.Q(s,n.column,s,o.column),i=Math.abs(n.offset-t.mouseContentHorizontalOffset)<Math.abs(o.offset-t.mouseContentHorizontalOffset)?new a.y(s,n.column):new a.y(s,o.column);break}}return t.fulfillContentText(i,w,{mightBeForeignElement:!m||!!o,injectedText:o})}static _doHitTestWithCaretRangeFromPoint(e,t){const n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),i=e.getVerticalOffsetForLineNumber(n),s=i+e.lineHeight;if(!(n===e.viewModel.getLineCount()&&t.mouseVerticalOffset>s)){const n=Math.floor((i+s)/2);let r=t.pos.y+(n-t.mouseVerticalOffset);r<=t.editorPos.y&&(r=t.editorPos.y+1),r>=t.editorPos.y+t.editorPos.height&&(r=t.editorPos.y+t.editorPos.height-1);const a=new o.nz(t.pos.x,r),l=this._actualDoHitTestWithCaretRangeFromPoint(e,a.toClientCoordinates(d.zk(e.viewDomNode)));if(1===l.type)return l}return this._actualDoHitTestWithCaretRangeFromPoint(e,t.pos.toClientCoordinates(d.zk(e.viewDomNode)))}static _actualDoHitTestWithCaretRangeFromPoint(e,t){const n=d.jG(e.viewDomNode);let o;if(o=n?void 0===n.caretRangeFromPoint?function(e,t,n){const i=document.createRange();let o=e.elementFromPoint(t,n);if(null!==o){for(;o&&o.firstChild&&o.firstChild.nodeType!==o.firstChild.TEXT_NODE&&o.lastChild&&o.lastChild.firstChild;)o=o.lastChild;const e=o.getBoundingClientRect(),n=d.zk(o),s=`${n.getComputedStyle(o,null).getPropertyValue("font-style")} ${n.getComputedStyle(o,null).getPropertyValue("font-variant")} ${n.getComputedStyle(o,null).getPropertyValue("font-weight")} ${n.getComputedStyle(o,null).getPropertyValue("font-size")}/${n.getComputedStyle(o,null).getPropertyValue("line-height")} ${n.getComputedStyle(o,null).getPropertyValue("font-family")}`,r=o.innerText;let a,l=e.left,c=0;if(t>e.left+e.width)c=r.length;else{const e=_.getInstance();for(let n=0;n<r.length+1;n++){if(a=e.getCharWidth(r.charAt(n),s)/2,l+=a,t<l){c=n;break}l+=a}}i.setStart(o.firstChild,c),i.setEnd(o.firstChild,c)}return i}(n,t.clientX,t.clientY):n.caretRangeFromPoint(t.clientX,t.clientY):e.viewDomNode.ownerDocument.caretRangeFromPoint(t.clientX,t.clientY),!o||!o.startContainer)return new g;const s=o.startContainer;if(s.nodeType===s.TEXT_NODE){const t=s.parentNode,n=t?t.parentNode:null,a=n?n.parentNode:null;return(a&&a.nodeType===a.ELEMENT_NODE?a.className:null)===r.Gb.CLASS_NAME?i.createFromDOMInfo(e,t,o.startOffset):new g(s.parentNode)}if(s.nodeType===s.ELEMENT_NODE){const t=s.parentNode,n=t?t.parentNode:null;return(n&&n.nodeType===n.ELEMENT_NODE?n.className:null)===r.Gb.CLASS_NAME?i.createFromDOMInfo(e,s,s.textContent.length):new g(s)}return new g}static _doHitTestWithCaretPositionFromPoint(e,t){const n=e.viewDomNode.ownerDocument.caretPositionFromPoint(t.clientX,t.clientY);if(n.offsetNode.nodeType===n.offsetNode.TEXT_NODE){const t=n.offsetNode.parentNode,o=t?t.parentNode:null,s=o?o.parentNode:null;return(s&&s.nodeType===s.ELEMENT_NODE?s.className:null)===r.Gb.CLASS_NAME?i.createFromDOMInfo(e,n.offsetNode.parentNode,n.offset):new g(n.offsetNode.parentNode)}if(n.offsetNode.nodeType===n.offsetNode.ELEMENT_NODE){const t=n.offsetNode.parentNode,o=t&&t.nodeType===t.ELEMENT_NODE?t.className:null,s=t?t.parentNode:null,a=s&&s.nodeType===s.ELEMENT_NODE?s.className:null;if(o===r.Gb.CLASS_NAME){const t=n.offsetNode.childNodes[Math.min(n.offset,n.offsetNode.childNodes.length-1)];if(t)return i.createFromDOMInfo(e,t,0)}else if(a===r.Gb.CLASS_NAME)return i.createFromDOMInfo(e,n.offsetNode,0)}return new g(n.offsetNode)}static _snapToSoftTabBoundary(e,t){const n=t.getLineContent(e.lineNumber),{tabSize:i}=t.model.getOptions(),o=h.s.atomicPosition(n,e.column-1,i,2);return-1!==o?new a.y(e.lineNumber,o+1):e}static doHitTest(e,t){let n=new g;if("function"==typeof e.viewDomNode.ownerDocument.caretRangeFromPoint?n=this._doHitTestWithCaretRangeFromPoint(e,t):e.viewDomNode.ownerDocument.caretPositionFromPoint&&(n=this._doHitTestWithCaretPositionFromPoint(e,t.pos.toClientCoordinates(d.zk(e.viewDomNode)))),1===n.type){const t=e.viewModel.getInjectedTextAt(n.position),i=e.viewModel.normalizePosition(n.position,2);!t&&i.equals(n.position)||(n=new f(i,n.spanNode,t))}return n}}class _{static{this._INSTANCE=null}static getInstance(){return _._INSTANCE||(_._INSTANCE=new _),_._INSTANCE}constructor(){this._cache={},this._canvas=document.createElement("canvas")}getCharWidth(e,t){const n=e+t;if(this._cache[n])return this._cache[n];const i=this._canvas.getContext("2d");i.font=t;const o=i.measureText(e).width;return this._cache[n]=o,o}}},85962(e,t,n){n.d(t,{$z:()=>m,BA:()=>y,DW:()=>w,Hh:()=>d,Qn:()=>b,dO:()=>p,i_:()=>f,nz:()=>c,wt:()=>g});var i=n(80081),o=n(28108),s=n(5015),r=n(55842),a=n(80194),l=n(72955);class c{constructor(e,t){this.x=e,this.y=t,this._pageCoordinatesBrand=void 0}toClientCoordinates(e){return new d(this.x-e.scrollX,this.y-e.scrollY)}}class d{constructor(e,t){this.clientX=e,this.clientY=t,this._clientCoordinatesBrand=void 0}toPageCoordinates(e){return new c(this.clientX+e.scrollX,this.clientY+e.scrollY)}}class h{constructor(e,t,n,i){this.x=e,this.y=t,this.width=n,this.height=i,this._editorPagePositionBrand=void 0}}class u{constructor(e,t){this.x=e,this.y=t,this._positionRelativeToEditorBrand=void 0}}function g(e){const t=i.BK(e);return new h(t.left,t.top,t.width,t.height)}function f(e,t,n){const i=t.width/e.offsetWidth,o=t.height/e.offsetHeight,s=(n.x-t.x)/i,r=(n.y-t.y)/o;return new u(s,r)}class p extends s.P{constructor(e,t,n){super(i.zk(n),e),this._editorMouseEventBrand=void 0,this.isFromPointerCapture=t,this.pos=new c(this.posx,this.posy),this.editorPos=g(n),this.relativePos=f(n,this.editorPos,this.pos)}}class m{constructor(e){this._editorViewDomNode=e}_create(e){return new p(e,!1,this._editorViewDomNode)}onContextMenu(e,t){return i.ko(e,"contextmenu",e=>{t(this._create(e))})}onMouseUp(e,t){return i.ko(e,"mouseup",e=>{t(this._create(e))})}onMouseDown(e,t){return i.ko(e,i.Bx.MOUSE_DOWN,e=>{t(this._create(e))})}onPointerDown(e,t){return i.ko(e,i.Bx.POINTER_DOWN,e=>{t(this._create(e),e.pointerId)})}onMouseLeave(e,t){return i.ko(e,i.Bx.MOUSE_LEAVE,e=>{t(this._create(e))})}onMouseMove(e,t){return i.ko(e,"mousemove",e=>t(this._create(e)))}}class w{constructor(e){this._editorViewDomNode=e}_create(e){return new p(e,!1,this._editorViewDomNode)}onPointerUp(e,t){return i.ko(e,"pointerup",e=>{t(this._create(e))})}onPointerDown(e,t){return i.ko(e,i.Bx.POINTER_DOWN,e=>{t(this._create(e),e.pointerId)})}onPointerLeave(e,t){return i.ko(e,i.Bx.POINTER_LEAVE,e=>{t(this._create(e))})}onPointerMove(e,t){return i.ko(e,"pointermove",e=>t(this._create(e)))}}class y extends a.jG{constructor(e){super(),this._editorViewDomNode=e,this._globalPointerMoveMonitor=this._register(new o._),this._keydownListener=null}startMonitoring(e,t,n,o,s){this._keydownListener=i.b2(e.ownerDocument,"keydown",e=>{e.toKeyCodeChord().isModifierKey()||this._globalPointerMoveMonitor.stopMonitoring(!0,e.browserEvent)},!0),this._globalPointerMoveMonitor.startMonitoring(e,t,n,e=>{o(new p(e,!0,this._editorViewDomNode))},e=>{this._keydownListener.dispose(),s(e)})}stopMonitoring(){this._globalPointerMoveMonitor.stopMonitoring(!0)}}class b{static{this._idPool=0}constructor(e){this._editor=e,this._instanceId=++b._idPool,this._counter=0,this._rules=new Map,this._garbageCollectionScheduler=new r.uC(()=>this.garbageCollect(),1e3)}createClassNameRef(e){const t=this.getOrCreateRule(e);return t.increaseRefCount(),{className:t.className,dispose:()=>{t.decreaseRefCount(),this._garbageCollectionScheduler.schedule()}}}getOrCreateRule(e){const t=this.computeUniqueKey(e);let n=this._rules.get(t);if(!n){const o=this._counter++;n=new C(t,`dyn-rule-${this._instanceId}-${o}`,i.Cl(this._editor.getContainerDomNode())?this._editor.getContainerDomNode():void 0,e),this._rules.set(t,n)}return n}computeUniqueKey(e){return JSON.stringify(e)}garbageCollect(){for(const e of this._rules.values())e.hasReferences()||(this._rules.delete(e.key),e.dispose())}}class C{constructor(e,t,n,o){this.key=e,this.className=t,this.properties=o,this._referenceCount=0,this._styleElementDisposables=new a.Cm,this._styleElement=i.li(n,void 0,this._styleElementDisposables),this._styleElement.textContent=this.getCssText(this.className,this.properties)}getCssText(e,t){let n=`.${e} {`;for(const e in t){const i=t[e];let o;o="object"==typeof i?(0,l.GuP)(i.id):i,n+=`\n\t${v(e)}: ${o};`}return n+="\n}",n}dispose(){this._styleElementDisposables.dispose(),this._styleElement=void 0}increaseRefCount(){this._referenceCount++}decreaseRefCount(){this._referenceCount--}hasReferences(){return this._referenceCount>0}}function v(e){return e.replace(/(^[A-Z])/,([e])=>e.toLowerCase()).replace(/([A-Z])/g,([e])=>`-${e.toLowerCase()}`)}},61204(e,t,n){n.d(t,{BG:()=>s,IO:()=>a,Y:()=>r,eh:()=>o,pj:()=>c,qN:()=>l});class i{constructor(e,t){this._restrictedRenderingContextBrand=void 0,this._viewLayout=e,this.viewportData=t,this.scrollWidth=this._viewLayout.getScrollWidth(),this.scrollHeight=this._viewLayout.getScrollHeight(),this.visibleRange=this.viewportData.visibleRange,this.bigNumbersDelta=this.viewportData.bigNumbersDelta;const n=this._viewLayout.getCurrentViewport();this.scrollTop=n.top,this.scrollLeft=n.left,this.viewportWidth=n.width,this.viewportHeight=n.height}getScrolledTopFromAbsoluteTop(e){return e-this.scrollTop}getVerticalOffsetForLineNumber(e,t){return this._viewLayout.getVerticalOffsetForLineNumber(e,t)}getVerticalOffsetAfterLineNumber(e,t){return this._viewLayout.getVerticalOffsetAfterLineNumber(e,t)}getDecorationsInViewport(){return this.viewportData.getDecorationsInViewport()}}class o extends i{constructor(e,t,n){super(e,t),this._renderingContextBrand=void 0,this._viewLines=n}linesVisibleRangesForRange(e,t){return this._viewLines.linesVisibleRangesForRange(e,t)}visibleRangeForPosition(e){return this._viewLines.visibleRangeForPosition(e)}}class s{constructor(e,t,n,i){this.outsideRenderedLine=e,this.lineNumber=t,this.ranges=n,this.continuesOnNextLine=i}}class r{static from(e){const t=new Array(e.length);for(let n=0,i=e.length;n<i;n++){const i=e[n];t[n]=new r(i.left,i.width)}return t}constructor(e,t){this._horizontalRangeBrand=void 0,this.left=Math.round(e),this.width=Math.round(t)}toString(){return`[${this.left},${this.width}]`}}class a{constructor(e,t){this._floatHorizontalRangeBrand=void 0,this.left=e,this.width=t}toString(){return`[${this.left},${this.width}]`}static compare(e,t){return e.left-t.left}}class l{constructor(e,t){this.outsideRenderedLine=e,this.originalLeft=t,this.left=Math.round(this.originalLeft)}}class c{constructor(e,t){this.outsideRenderedLine=e,this.ranges=t}}},79867(e,t,n){n.d(t,{L:()=>s,p:()=>o});var i=n(75177);class o extends i.i{constructor(e){super(),this._context=e,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}}class s{static write(e,t){e.setAttribute("data-mprt",String(t))}static read(e){const t=e.getAttribute("data-mprt");return null===t?0:parseInt(t,10)}static collect(e,t){const n=[];let i=0;for(;e&&e!==e.ownerDocument.body&&e!==t;)e.nodeType===e.ELEMENT_NODE&&(n[i++]=this.read(e)),e=e.parentElement;const o=new Uint8Array(i);for(let e=0;e<i;e++)o[e]=n[i-e-1];return o}}},30693(e,t,n){n.d(t,{Gb:()=>p,Ax:()=>f,rk:()=>C});var i=n(29689),o=n(9735),s=n(34591),r=n(61204);class a{static _createRange(){return this._handyReadyRange||(this._handyReadyRange=document.createRange()),this._handyReadyRange}static _detachRange(e,t){e.selectNodeContents(t)}static _readClientRects(e,t,n,i,o){const s=this._createRange();try{return s.setStart(e,t),s.setEnd(n,i),s.getClientRects()}catch(e){return null}finally{this._detachRange(s,o)}}static _mergeAdjacentRanges(e){if(1===e.length)return e;e.sort(r.IO.compare);const t=[];let n=0,i=e[0];for(let o=1,s=e.length;o<s;o++){const s=e[o];i.left+i.width+.9>=s.left?i.width=Math.max(i.width,s.left+s.width-i.left):(t[n++]=i,i=s)}return t[n++]=i,t}static _createHorizontalRangesFromClientRects(e,t,n){if(!e||0===e.length)return null;const i=[];for(let o=0,s=e.length;o<s;o++){const s=e[o];i[o]=new r.IO(Math.max(0,(s.left-t)/n),s.width/n)}return this._mergeAdjacentRanges(i)}static readHorizontalRanges(e,t,n,i,o,s){const r=e.children.length-1;if(0>r)return null;if((t=Math.min(r,Math.max(0,t)))===(i=Math.min(r,Math.max(0,i)))&&n===o&&0===n&&!e.children[t].firstChild){const n=e.children[t].getClientRects();return s.markDidDomLayout(),this._createHorizontalRangesFromClientRects(n,s.clientRectDeltaLeft,s.clientRectScale)}t!==i&&i>0&&0===o&&(i--,o=1073741824);let a=e.children[t].firstChild,l=e.children[i].firstChild;if(a&&l||(!a&&0===n&&t>0&&(a=e.children[t-1].firstChild,n=1073741824),!l&&0===o&&i>0&&(l=e.children[i-1].firstChild,o=1073741824)),!a||!l)return null;n=Math.min(a.textContent.length,Math.max(0,n)),o=Math.min(l.textContent.length,Math.max(0,o));const c=this._readClientRects(a,n,l,o,s.endNode);return s.markDidDomLayout(),this._createHorizontalRangesFromClientRects(c,s.clientRectDeltaLeft,s.clientRectScale)}}var l=n(88434),c=n(85319),d=n(73559),h=n(67720);const u=!!s.ib||!(s.j9||i.gm||i.nr);let g=!0;class f{constructor(e,t){this.themeType=t;const n=e.options,i=n.get(50),o=n.get(38);this.renderWhitespace="off"===o?n.get(100):"none",this.renderControlCharacters=n.get(95),this.spaceWidth=i.spaceWidth,this.middotWidth=i.middotWidth,this.wsmiddotWidth=i.wsmiddotWidth,this.useMonospaceOptimizations=i.isMonospace&&!n.get(33),this.canUseHalfwidthRightwardsArrow=i.canUseHalfwidthRightwardsArrow,this.lineHeight=n.get(67),this.stopRenderingLineAfter=n.get(118),this.fontLigatures=n.get(51)}equals(e){return this.themeType===e.themeType&&this.renderWhitespace===e.renderWhitespace&&this.renderControlCharacters===e.renderControlCharacters&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.wsmiddotWidth===e.wsmiddotWidth&&this.useMonospaceOptimizations===e.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.lineHeight===e.lineHeight&&this.stopRenderingLineAfter===e.stopRenderingLineAfter&&this.fontLigatures===e.fontLigatures}}class p{static{this.CLASS_NAME="view-line"}constructor(e){this._options=e,this._isMaybeInvalid=!0,this._renderedViewLine=null}getDomNode(){return this._renderedViewLine&&this._renderedViewLine.domNode?this._renderedViewLine.domNode.domNode:null}setDomNode(e){if(!this._renderedViewLine)throw new Error("I have no rendered view line to set the dom node to...");this._renderedViewLine.domNode=(0,o.Z)(e)}onContentChanged(){this._isMaybeInvalid=!0}onTokensChanged(){this._isMaybeInvalid=!0}onDecorationsChanged(){this._isMaybeInvalid=!0}onOptionsChanged(e){this._isMaybeInvalid=!0,this._options=e}onSelectionChanged(){return!(!(0,d.Bb)(this._options.themeType)&&"selection"!==this._options.renderWhitespace||(this._isMaybeInvalid=!0,0))}renderLine(e,t,n,i,o){if(!1===this._isMaybeInvalid)return!1;this._isMaybeInvalid=!1;const s=i.getViewLineRenderingData(e),r=this._options,a=l.d.filter(s.inlineDecorations,e,s.minColumn,s.maxColumn);let f=null;if((0,d.Bb)(r.themeType)||"selection"===this._options.renderWhitespace){const t=i.selections;for(const n of t){if(n.endLineNumber<e||n.startLineNumber>e)continue;const t=n.startLineNumber===e?n.startColumn:s.minColumn,i=n.endLineNumber===e?n.endColumn:s.maxColumn;t<i&&((0,d.Bb)(r.themeType)&&a.push(new l.d(t,i,"inline-selected-text",0)),"selection"===this._options.renderWhitespace&&(f||(f=[]),f.push(new c.MT(t-1,i-1))))}}const w=new c.zL(r.useMonospaceOptimizations,r.canUseHalfwidthRightwardsArrow,s.content,s.continuesWithWrappedLine,s.isBasicASCII,s.containsRTL,s.minColumn-1,s.tokens,a,s.tabSize,s.startVisibleColumn,r.spaceWidth,r.middotWidth,r.wsmiddotWidth,r.stopRenderingLineAfter,r.renderWhitespace,r.renderControlCharacters,r.fontLigatures!==h.Bc.OFF,f);if(this._renderedViewLine&&this._renderedViewLine.input.equals(w))return!1;o.appendString('<div style="top:'),o.appendString(String(t)),o.appendString("px;height:"),o.appendString(String(n)),o.appendString('px;" class="'),o.appendString(p.CLASS_NAME),o.appendString('">');const y=(0,c.UW)(w,o);o.appendString("</div>");let C=null;return g&&u&&s.isBasicASCII&&r.useMonospaceOptimizations&&0===y.containsForeignElements&&(C=new m(this._renderedViewLine?this._renderedViewLine.domNode:null,w,y.characterMapping)),C||(C=b(this._renderedViewLine?this._renderedViewLine.domNode:null,w,y.characterMapping,y.containsRTL,y.containsForeignElements)),this._renderedViewLine=C,!0}layoutLine(e,t,n){this._renderedViewLine&&this._renderedViewLine.domNode&&(this._renderedViewLine.domNode.setTop(t),this._renderedViewLine.domNode.setHeight(n))}getWidth(e){return this._renderedViewLine?this._renderedViewLine.getWidth(e):0}getWidthIsFast(){return!this._renderedViewLine||this._renderedViewLine.getWidthIsFast()}needsMonospaceFontCheck(){return!!this._renderedViewLine&&this._renderedViewLine instanceof m}monospaceAssumptionsAreValid(){return this._renderedViewLine&&this._renderedViewLine instanceof m?this._renderedViewLine.monospaceAssumptionsAreValid():g}onMonospaceAssumptionsInvalidated(){this._renderedViewLine&&this._renderedViewLine instanceof m&&(this._renderedViewLine=this._renderedViewLine.toSlowRenderedLine())}getVisibleRangesForRange(e,t,n,i){if(!this._renderedViewLine)return null;t=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,t)),n=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,n));const o=this._renderedViewLine.input.stopRenderingLineAfter;if(-1!==o&&t>o+1&&n>o+1)return new r.pj(!0,[new r.IO(this.getWidth(i),0)]);-1!==o&&t>o+1&&(t=o+1),-1!==o&&n>o+1&&(n=o+1);const s=this._renderedViewLine.getVisibleRangesForRange(e,t,n,i);return s&&s.length>0?new r.pj(!1,s):null}getColumnOfNodeOffset(e,t){return this._renderedViewLine?this._renderedViewLine.getColumnOfNodeOffset(e,t):1}}class m{constructor(e,t,n){this._cachedWidth=-1,this.domNode=e,this.input=t;const i=Math.floor(t.lineContent.length/300);if(i>0){this._keyColumnPixelOffsetCache=new Float32Array(i);for(let e=0;e<i;e++)this._keyColumnPixelOffsetCache[e]=-1}else this._keyColumnPixelOffsetCache=null;this._characterMapping=n,this._charWidth=t.spaceWidth}getWidth(e){if(!this.domNode||this.input.lineContent.length<300){const e=this._characterMapping.getHorizontalOffset(this._characterMapping.length);return Math.round(this._charWidth*e)}return-1===this._cachedWidth&&(this._cachedWidth=this._getReadingTarget(this.domNode).offsetWidth,e?.markDidDomLayout()),this._cachedWidth}getWidthIsFast(){return this.input.lineContent.length<300||-1!==this._cachedWidth}monospaceAssumptionsAreValid(){if(!this.domNode)return g;if(this.input.lineContent.length<300){const e=this.getWidth(null),t=this.domNode.domNode.firstChild.offsetWidth;Math.abs(e-t)>=2&&(console.warn("monospace assumptions have been violated, therefore disabling monospace optimizations!"),g=!1)}return g}toSlowRenderedLine(){return b(this.domNode,this.input,this._characterMapping,!1,0)}getVisibleRangesForRange(e,t,n,i){const o=this._getColumnPixelOffset(e,t,i),s=this._getColumnPixelOffset(e,n,i);return[new r.IO(o,s-o)]}_getColumnPixelOffset(e,t,n){if(t<=300){const e=this._characterMapping.getHorizontalOffset(t);return this._charWidth*e}const i=Math.floor((t-1)/300)-1,o=300*(i+1)+1;let s=-1;if(this._keyColumnPixelOffsetCache&&(s=this._keyColumnPixelOffsetCache[i],-1===s&&(s=this._actualReadPixelOffset(e,o,n),this._keyColumnPixelOffsetCache[i]=s)),-1===s){const e=this._characterMapping.getHorizontalOffset(t);return this._charWidth*e}const r=this._characterMapping.getHorizontalOffset(o),a=this._characterMapping.getHorizontalOffset(t);return s+this._charWidth*(a-r)}_getReadingTarget(e){return e.domNode.firstChild}_actualReadPixelOffset(e,t,n){if(!this.domNode)return-1;const i=this._characterMapping.getDomPosition(t),o=a.readHorizontalRanges(this._getReadingTarget(this.domNode),i.partIndex,i.charIndex,i.partIndex,i.charIndex,n);return o&&0!==o.length?o[0].left:-1}getColumnOfNodeOffset(e,t){return C(this._characterMapping,e,t)}}class w{constructor(e,t,n,i,o){if(this.domNode=e,this.input=t,this._characterMapping=n,this._isWhitespaceOnly=/^\s*$/.test(t.lineContent),this._containsForeignElements=o,this._cachedWidth=-1,this._pixelOffsetCache=null,!i||0===this._characterMapping.length){this._pixelOffsetCache=new Float32Array(Math.max(2,this._characterMapping.length+1));for(let e=0,t=this._characterMapping.length;e<=t;e++)this._pixelOffsetCache[e]=-1}}_getReadingTarget(e){return e.domNode.firstChild}getWidth(e){return this.domNode?(-1===this._cachedWidth&&(this._cachedWidth=this._getReadingTarget(this.domNode).offsetWidth,e?.markDidDomLayout()),this._cachedWidth):0}getWidthIsFast(){return-1!==this._cachedWidth}getVisibleRangesForRange(e,t,n,i){if(!this.domNode)return null;if(null!==this._pixelOffsetCache){const o=this._readPixelOffset(this.domNode,e,t,i);if(-1===o)return null;const s=this._readPixelOffset(this.domNode,e,n,i);return-1===s?null:[new r.IO(o,s-o)]}return this._readVisibleRangesForRange(this.domNode,e,t,n,i)}_readVisibleRangesForRange(e,t,n,i,o){if(n===i){const i=this._readPixelOffset(e,t,n,o);return-1===i?null:[new r.IO(i,0)]}return this._readRawVisibleRangesForRange(e,n,i,o)}_readPixelOffset(e,t,n,i){if(0===this._characterMapping.length){if(0===this._containsForeignElements)return 0;if(2===this._containsForeignElements)return 0;if(1===this._containsForeignElements)return this.getWidth(i);const t=this._getReadingTarget(e);return t.firstChild?(i.markDidDomLayout(),t.firstChild.offsetWidth):0}if(null!==this._pixelOffsetCache){const o=this._pixelOffsetCache[n];if(-1!==o)return o;const s=this._actualReadPixelOffset(e,t,n,i);return this._pixelOffsetCache[n]=s,s}return this._actualReadPixelOffset(e,t,n,i)}_actualReadPixelOffset(e,t,n,i){if(0===this._characterMapping.length){const t=a.readHorizontalRanges(this._getReadingTarget(e),0,0,0,0,i);return t&&0!==t.length?t[0].left:-1}if(n===this._characterMapping.length&&this._isWhitespaceOnly&&0===this._containsForeignElements)return this.getWidth(i);const o=this._characterMapping.getDomPosition(n),s=a.readHorizontalRanges(this._getReadingTarget(e),o.partIndex,o.charIndex,o.partIndex,o.charIndex,i);if(!s||0===s.length)return-1;const r=s[0].left;if(this.input.isBasicASCII){const e=this._characterMapping.getHorizontalOffset(n),t=Math.round(this.input.spaceWidth*e);if(Math.abs(t-r)<=1)return t}return r}_readRawVisibleRangesForRange(e,t,n,i){if(1===t&&n===this._characterMapping.length)return[new r.IO(0,this.getWidth(i))];const o=this._characterMapping.getDomPosition(t),s=this._characterMapping.getDomPosition(n);return a.readHorizontalRanges(this._getReadingTarget(e),o.partIndex,o.charIndex,s.partIndex,s.charIndex,i)}getColumnOfNodeOffset(e,t){return C(this._characterMapping,e,t)}}class y extends w{_readVisibleRangesForRange(e,t,n,i,o){const s=super._readVisibleRangesForRange(e,t,n,i,o);if(!s||0===s.length||n===i||1===n&&i===this._characterMapping.length)return s;if(!this.input.containsRTL){const n=this._readPixelOffset(e,t,i,o);if(-1!==n){const e=s[s.length-1];e.left<n&&(e.width=n-e.left)}}return s}}const b=i.Tc?function(e,t,n,i,o){return new y(e,t,n,i,o)}:function(e,t,n,i,o){return new w(e,t,n,i,o)};function C(e,t,n){const i=t.textContent.length;let o=-1;for(;t;)t=t.previousSibling,o++;return e.getColumn(new c.wZ(o,n),i)}},67720(e,t,n){n.d(t,{$C:()=>I,BE:()=>H,Bc:()=>O,O4:()=>_,Of:()=>W,XR:()=>N,hZ:()=>g,jT:()=>x,jU:()=>F,ls:()=>v,lw:()=>d,m9:()=>D,n0:()=>h,qB:()=>z,r_:()=>A,wA:()=>b,xZ:()=>E,xq:()=>c,zM:()=>w});var i=n(81158),o=n(37926),s=n(34591),r=n(98282),a=n(46098),l=n(14425);const c=8;class d{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class h{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class u{constructor(e,t,n,i){this.id=e,this.name=t,this.defaultValue=n,this.schema=i}applyUpdate(e,t){return f(e,t)}compute(e,t,n){return n}}class g{constructor(e,t){this.newValue=e,this.didChange=t}}function f(e,t){if("object"!=typeof e||"object"!=typeof t||!e||!t)return new g(t,e!==t);if(Array.isArray(e)||Array.isArray(t)){const n=Array.isArray(e)&&Array.isArray(t)&&i.aI(e,t);return new g(t,!n)}let n=!1;for(const i in t)if(t.hasOwnProperty(i)){const o=f(e[i],t[i]);o.didChange&&(e[i]=o.newValue,n=!0)}return new g(e,n)}class p{constructor(e){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0}applyUpdate(e,t){return f(e,t)}validate(e){return this.defaultValue}}class m{constructor(e,t,n,i){this.id=e,this.name=t,this.defaultValue=n,this.schema=i}applyUpdate(e,t){return f(e,t)}validate(e){return void 0===e?this.defaultValue:e}compute(e,t,n){return n}}function w(e,t){return void 0===e?t:"false"!==e&&Boolean(e)}class y extends m{constructor(e,t,n,i=void 0){void 0!==i&&(i.type="boolean",i.default=n),super(e,t,n,i)}validate(e){return w(e,this.defaultValue)}}function b(e,t,n,i){if(void 0===e)return t;let o=parseInt(e,10);return isNaN(o)?t:(o=Math.max(n,o),o=Math.min(i,o),0|o)}class C extends m{static clampedInt(e,t,n,i){return b(e,t,n,i)}constructor(e,t,n,i,o,s=void 0){void 0!==s&&(s.type="integer",s.default=n,s.minimum=i,s.maximum=o),super(e,t,n,s),this.minimum=i,this.maximum=o}validate(e){return C.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}function v(e,t,n,i){if(void 0===e)return t;const o=k.float(e,t);return k.clamp(o,n,i)}class k extends m{static clamp(e,t,n){return e<t?t:e>n?n:e}static float(e,t){if("number"==typeof e)return e;if(void 0===e)return t;const n=parseFloat(e);return isNaN(n)?t:n}constructor(e,t,n,i,o){void 0!==o&&(o.type="number",o.default=n),super(e,t,n,o),this.validationFn=i}validate(e){return this.validationFn(k.float(e,this.defaultValue))}}class S extends m{static string(e,t){return"string"!=typeof e?t:e}constructor(e,t,n,i=void 0){void 0!==i&&(i.type="string",i.default=n),super(e,t,n,i)}validate(e){return S.string(e,this.defaultValue)}}function _(e,t,n,i){return"string"!=typeof e?t:i&&e in i?i[e]:-1===n.indexOf(e)?t:e}class T extends m{constructor(e,t,n,i,o=void 0){void 0!==o&&(o.type="string",o.enum=i,o.default=n),super(e,t,n,o),this._allowedValues=i}validate(e){return _(e,this.defaultValue,this._allowedValues)}}class L extends u{constructor(e,t,n,i,o,s,r=void 0){void 0!==r&&(r.type="string",r.enum=o,r.default=i),super(e,t,n,r),this._allowedValues=o,this._convert=s}validate(e){return"string"!=typeof e||-1===this._allowedValues.indexOf(e)?this.defaultValue:this._convert(e)}}var D,x;!function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(D||(D={}));class O extends u{static{this.OFF='"liga" off, "calt" off'}static{this.ON='"liga" on, "calt" on'}constructor(){super(51,"fontLigatures",O.OFF,{anyOf:[{type:"boolean",description:l.kg("fontLigatures","Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.")},{type:"string",description:l.kg("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:l.kg("fontLigaturesGeneral","Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."),default:!1})}validate(e){return void 0===e?this.defaultValue:"string"==typeof e?"false"===e||0===e.length?O.OFF:"true"===e?O.ON:e:Boolean(e)?O.ON:O.OFF}}class A extends u{static{this.OFF="normal"}static{this.TRANSLATE="translate"}constructor(){super(54,"fontVariations",A.OFF,{anyOf:[{type:"boolean",description:l.kg("fontVariations","Enables/Disables the translation from font-weight to font-variation-settings. Change this to a string for fine-grained control of the 'font-variation-settings' CSS property.")},{type:"string",description:l.kg("fontVariationSettings","Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings.")}],description:l.kg("fontVariationsGeneral","Configures font variations. Can be either a boolean to enable/disable the translation from font-weight to font-variation-settings or a string for the value of the CSS 'font-variation-settings' property."),default:!1})}validate(e){return void 0===e?this.defaultValue:"string"==typeof e?"false"===e?A.OFF:"true"===e?A.TRANSLATE:e:Boolean(e)?A.TRANSLATE:A.OFF}compute(e,t,n){return e.fontInfo.fontVariationSettings}}class M extends u{static{this.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"]}static{this.MINIMUM_VALUE=1}static{this.MAXIMUM_VALUE=1e3}constructor(){super(53,"fontWeight",F.fontWeight,{anyOf:[{type:"number",minimum:M.MINIMUM_VALUE,maximum:M.MAXIMUM_VALUE,errorMessage:l.kg("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:M.SUGGESTION_VALUES}],default:F.fontWeight,description:l.kg("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(e){return"normal"===e||"bold"===e?e:String(C.clampedInt(e,F.fontWeight,M.MINIMUM_VALUE,M.MAXIMUM_VALUE))}}class E extends p{constructor(){super(146)}compute(e,t,n){return E.computeLayout(t,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio,glyphMarginDecorationLaneCount:e.glyphMarginDecorationLaneCount})}static computeContainedMinimapLineCount(e){const t=e.height/e.lineHeight,n=Math.floor(e.paddingTop/e.lineHeight);let i=Math.floor(e.paddingBottom/e.lineHeight);e.scrollBeyondLastLine&&(i=Math.max(i,t-1));const o=(n+e.viewLineCount+i)/(e.pixelRatio*e.height);return{typicalViewportLineCount:t,extraLinesBeforeFirstLine:n,extraLinesBeyondLastLine:i,desiredRatio:o,minimapLineCount:Math.floor(e.viewLineCount/o)}}static _computeMinimapLayout(e,t){const n=e.outerWidth,i=e.outerHeight,o=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(o*i),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:i};const s=t.stableMinimapLayoutInput,r=s&&e.outerHeight===s.outerHeight&&e.lineHeight===s.lineHeight&&e.typicalHalfwidthCharacterWidth===s.typicalHalfwidthCharacterWidth&&e.pixelRatio===s.pixelRatio&&e.scrollBeyondLastLine===s.scrollBeyondLastLine&&e.paddingTop===s.paddingTop&&e.paddingBottom===s.paddingBottom&&e.minimap.enabled===s.minimap.enabled&&e.minimap.side===s.minimap.side&&e.minimap.size===s.minimap.size&&e.minimap.showSlider===s.minimap.showSlider&&e.minimap.renderCharacters===s.minimap.renderCharacters&&e.minimap.maxColumn===s.minimap.maxColumn&&e.minimap.scale===s.minimap.scale&&e.verticalScrollbarWidth===s.verticalScrollbarWidth&&e.isViewportWrapping===s.isViewportWrapping,a=e.lineHeight,l=e.typicalHalfwidthCharacterWidth,d=e.scrollBeyondLastLine,h=e.minimap.renderCharacters;let u=o>=2?Math.round(2*e.minimap.scale):e.minimap.scale;const g=e.minimap.maxColumn,f=e.minimap.size,p=e.minimap.side,m=e.verticalScrollbarWidth,w=e.viewLineCount,y=e.remainingWidth,b=e.isViewportWrapping,C=h?2:3;let v=Math.floor(o*i);const k=v/o;let S=!1,_=!1,T=C*u,L=u/o,D=1;if("fill"===f||"fit"===f){const{typicalViewportLineCount:n,extraLinesBeforeFirstLine:s,extraLinesBeyondLastLine:l,desiredRatio:c,minimapLineCount:h}=E.computeContainedMinimapLineCount({viewLineCount:w,scrollBeyondLastLine:d,paddingTop:e.paddingTop,paddingBottom:e.paddingBottom,height:i,lineHeight:a,pixelRatio:o});if(w/h>1)S=!0,_=!0,u=1,T=1,L=u/o;else{let i=!1,d=u+1;if("fit"===f){const e=Math.ceil((s+w+l)*T);b&&r&&y<=t.stableFitRemainingWidth?(i=!0,d=t.stableFitMaxMinimapScale):i=e>v}if("fill"===f||i){S=!0;const i=u;T=Math.min(a*o,Math.max(1,Math.floor(1/c))),b&&r&&y<=t.stableFitRemainingWidth&&(d=t.stableFitMaxMinimapScale),u=Math.min(d,Math.max(1,Math.floor(T/C))),u>i&&(D=Math.min(2,u/i)),L=u/o/D,v=Math.ceil(Math.max(n,s+w+l)*T),b?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=y,t.stableFitMaxMinimapScale=u):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0)}}}const x=Math.floor(g*L),O=Math.min(x,Math.max(0,Math.floor((y-m-2)*L/(l+L)))+c);let A=Math.floor(o*O);const M=A/o;return A=Math.floor(A*D),{renderMinimap:h?1:2,minimapLeft:"left"===p?0:n-O-m,minimapWidth:O,minimapHeightIsEditorHeight:S,minimapIsSampling:_,minimapScale:u,minimapLineHeight:T,minimapCanvasInnerWidth:A,minimapCanvasInnerHeight:v,minimapCanvasOuterWidth:M,minimapCanvasOuterHeight:k}}static computeLayout(e,t){const n=0|t.outerWidth,i=0|t.outerHeight,o=0|t.lineHeight,s=0|t.lineNumbersDigitCount,r=t.typicalHalfwidthCharacterWidth,a=t.maxDigitWidth,l=t.pixelRatio,c=t.viewLineCount,d=e.get(138),u="inherit"===d?e.get(137):d,g="inherit"===u?e.get(133):u,f=e.get(136),p=t.isDominatedByLongLines,m=e.get(57),w=0!==e.get(68).renderType,y=e.get(69),b=e.get(106),C=e.get(84),v=e.get(73),k=e.get(104),S=k.verticalScrollbarSize,_=k.verticalHasArrows,T=k.arrowSize,L=k.horizontalScrollbarSize,D=e.get(43),x="never"!==e.get(111);let O=e.get(66);D&&x&&(O+=16);let A=0;if(w){const e=Math.max(s,y);A=Math.round(e*a)}let M=0;m&&(M=o*t.glyphMarginDecorationLaneCount);let I=0,R=I+M,N=R+A,W=N+O;const P=n-M-A-O;let F=!1,H=!1,V=-1;"inherit"===u&&p?(F=!0,H=!0):"on"===g||"bounded"===g?H=!0:"wordWrapColumn"===g&&(V=f);const z=E._computeMinimapLayout({outerWidth:n,outerHeight:i,lineHeight:o,typicalHalfwidthCharacterWidth:r,pixelRatio:l,scrollBeyondLastLine:b,paddingTop:C.top,paddingBottom:C.bottom,minimap:v,verticalScrollbarWidth:S,viewLineCount:c,remainingWidth:P,isViewportWrapping:H},t.memory||new h);0!==z.renderMinimap&&0===z.minimapLeft&&(I+=z.minimapWidth,R+=z.minimapWidth,N+=z.minimapWidth,W+=z.minimapWidth);const B=P-z.minimapWidth,U=Math.max(1,Math.floor((B-S-2)/r)),K=_?T:0;return H&&(V=Math.max(1,U),"bounded"===g&&(V=Math.min(V,f))),{width:n,height:i,glyphMarginLeft:I,glyphMarginWidth:M,glyphMarginDecorationLaneCount:t.glyphMarginDecorationLaneCount,lineNumbersLeft:R,lineNumbersWidth:A,decorationsLeft:N,decorationsWidth:O,contentLeft:W,contentWidth:B,minimap:z,viewportColumn:U,isWordWrapMinified:F,isViewportWrapping:H,wrappingColumn:V,verticalScrollbarWidth:S,horizontalScrollbarHeight:L,overviewRuler:{top:K,width:S,height:i-2*K,right:0}}}}function I(e){const t=e.get(99);return"editable"===t?e.get(92):"on"!==t}function R(e,t){if("string"!=typeof e)return t;switch(e){case"hidden":return 2;case"visible":return 3;default:return 1}}!function(e){e.Off="off",e.OnCode="onCode",e.On="on"}(x||(x={}));const N="inUntrustedWorkspace",W={allowedCharacters:"editor.unicodeHighlight.allowedCharacters",invisibleCharacters:"editor.unicodeHighlight.invisibleCharacters",nonBasicASCII:"editor.unicodeHighlight.nonBasicASCII",ambiguousCharacters:"editor.unicodeHighlight.ambiguousCharacters",includeComments:"editor.unicodeHighlight.includeComments",includeStrings:"editor.unicodeHighlight.includeStrings",allowedLocales:"editor.unicodeHighlight.allowedLocales"};function P(e,t,n){const i=n.indexOf(e);return-1===i?t:n[i]}const F={fontFamily:s.zx?"Menlo, Monaco, 'Courier New', monospace":s.j9?"'Droid Sans Mono', 'monospace', monospace":"Consolas, 'Courier New', monospace",fontWeight:"normal",fontSize:s.zx?12:14,lineHeight:0,letterSpacing:0},H=[];function V(e){return H[e.id]=e,e}const z={acceptSuggestionOnCommitCharacter:V(new y(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:l.kg("acceptSuggestionOnCommitCharacter","Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.")})),acceptSuggestionOnEnter:V(new T(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",l.kg("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:l.kg("acceptSuggestionOnEnter","Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")})),accessibilitySupport:V(new class extends u{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[l.kg("accessibilitySupport.auto","Use platform APIs to detect when a Screen Reader is attached."),l.kg("accessibilitySupport.on","Optimize for usage with a Screen Reader."),l.kg("accessibilitySupport.off","Assume a screen reader is not attached.")],default:"auto",tags:["accessibility"],description:l.kg("accessibilitySupport","Controls if the UI should run in a mode where it is optimized for screen readers.")})}validate(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(e,t,n){return 0===n?e.accessibilitySupport:n}}),accessibilityPageSize:V(new C(3,"accessibilityPageSize",10,1,1073741824,{description:l.kg("accessibilityPageSize","Controls the number of lines in the editor that can be read out by a screen reader at once. When we detect a screen reader we automatically set the default to be 500. Warning: this has a performance implication for numbers larger than the default."),tags:["accessibility"]})),ariaLabel:V(new S(4,"ariaLabel",l.kg("editorViewAccessibleLabel","Editor content"))),ariaRequired:V(new y(5,"ariaRequired",!1,void 0)),screenReaderAnnounceInlineSuggestion:V(new y(8,"screenReaderAnnounceInlineSuggestion",!0,{description:l.kg("screenReaderAnnounceInlineSuggestion","Control whether inline suggestions are announced by a screen reader."),tags:["accessibility"]})),autoClosingBrackets:V(new T(6,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",l.kg("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),l.kg("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],description:l.kg("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingComments:V(new T(7,"autoClosingComments","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",l.kg("editor.autoClosingComments.languageDefined","Use language configurations to determine when to autoclose comments."),l.kg("editor.autoClosingComments.beforeWhitespace","Autoclose comments only when the cursor is to the left of whitespace."),""],description:l.kg("autoClosingComments","Controls whether the editor should automatically close comments after the user adds an opening comment.")})),autoClosingDelete:V(new T(9,"autoClosingDelete","auto",["always","auto","never"],{enumDescriptions:["",l.kg("editor.autoClosingDelete.auto","Remove adjacent closing quotes or brackets only if they were automatically inserted."),""],description:l.kg("autoClosingDelete","Controls whether the editor should remove adjacent closing quotes or brackets when deleting.")})),autoClosingOvertype:V(new T(10,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",l.kg("editor.autoClosingOvertype.auto","Type over closing quotes or brackets only if they were automatically inserted."),""],description:l.kg("autoClosingOvertype","Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:V(new T(11,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",l.kg("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),l.kg("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],description:l.kg("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:V(new L(12,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],function(e){switch(e){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}},{enumDescriptions:[l.kg("editor.autoIndent.none","The editor will not insert indentation automatically."),l.kg("editor.autoIndent.keep","The editor will keep the current line's indentation."),l.kg("editor.autoIndent.brackets","The editor will keep the current line's indentation and honor language defined brackets."),l.kg("editor.autoIndent.advanced","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),l.kg("editor.autoIndent.full","The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.")],description:l.kg("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),automaticLayout:V(new y(13,"automaticLayout",!1)),autoSurround:V(new T(14,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[l.kg("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),l.kg("editor.autoSurround.quotes","Surround with quotes but not brackets."),l.kg("editor.autoSurround.brackets","Surround with brackets but not quotes."),""],description:l.kg("autoSurround","Controls whether the editor should automatically surround selections when typing quotes or brackets.")})),bracketPairColorization:V(new class extends u{constructor(){const e={enabled:r.R.bracketPairColorizationOptions.enabled,independentColorPoolPerBracketType:r.R.bracketPairColorizationOptions.independentColorPoolPerBracketType};super(15,"bracketPairColorization",e,{"editor.bracketPairColorization.enabled":{type:"boolean",default:e.enabled,markdownDescription:l.kg("bracketPairColorization.enabled","Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.","`#workbench.colorCustomizations#`")},"editor.bracketPairColorization.independentColorPoolPerBracketType":{type:"boolean",default:e.independentColorPoolPerBracketType,description:l.kg("bracketPairColorization.independentColorPoolPerBracketType","Controls whether each bracket type has its own independent color pool.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{enabled:w(t.enabled,this.defaultValue.enabled),independentColorPoolPerBracketType:w(t.independentColorPoolPerBracketType,this.defaultValue.independentColorPoolPerBracketType)}}}),bracketPairGuides:V(new class extends u{constructor(){const e={bracketPairs:!1,bracketPairsHorizontal:"active",highlightActiveBracketPair:!0,indentation:!0,highlightActiveIndentation:!0};super(16,"guides",e,{"editor.guides.bracketPairs":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[l.kg("editor.guides.bracketPairs.true","Enables bracket pair guides."),l.kg("editor.guides.bracketPairs.active","Enables bracket pair guides only for the active bracket pair."),l.kg("editor.guides.bracketPairs.false","Disables bracket pair guides.")],default:e.bracketPairs,description:l.kg("editor.guides.bracketPairs","Controls whether bracket pair guides are enabled or not.")},"editor.guides.bracketPairsHorizontal":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[l.kg("editor.guides.bracketPairsHorizontal.true","Enables horizontal guides as addition to vertical bracket pair guides."),l.kg("editor.guides.bracketPairsHorizontal.active","Enables horizontal guides only for the active bracket pair."),l.kg("editor.guides.bracketPairsHorizontal.false","Disables horizontal bracket pair guides.")],default:e.bracketPairsHorizontal,description:l.kg("editor.guides.bracketPairsHorizontal","Controls whether horizontal bracket pair guides are enabled or not.")},"editor.guides.highlightActiveBracketPair":{type:"boolean",default:e.highlightActiveBracketPair,description:l.kg("editor.guides.highlightActiveBracketPair","Controls whether the editor should highlight the active bracket pair.")},"editor.guides.indentation":{type:"boolean",default:e.indentation,description:l.kg("editor.guides.indentation","Controls whether the editor should render indent guides.")},"editor.guides.highlightActiveIndentation":{type:["boolean","string"],enum:[!0,"always",!1],enumDescriptions:[l.kg("editor.guides.highlightActiveIndentation.true","Highlights the active indent guide."),l.kg("editor.guides.highlightActiveIndentation.always","Highlights the active indent guide even if bracket guides are highlighted."),l.kg("editor.guides.highlightActiveIndentation.false","Do not highlight the active indent guide.")],default:e.highlightActiveIndentation,description:l.kg("editor.guides.highlightActiveIndentation","Controls whether the editor should highlight the active indent guide.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{bracketPairs:P(t.bracketPairs,this.defaultValue.bracketPairs,[!0,!1,"active"]),bracketPairsHorizontal:P(t.bracketPairsHorizontal,this.defaultValue.bracketPairsHorizontal,[!0,!1,"active"]),highlightActiveBracketPair:w(t.highlightActiveBracketPair,this.defaultValue.highlightActiveBracketPair),indentation:w(t.indentation,this.defaultValue.indentation),highlightActiveIndentation:P(t.highlightActiveIndentation,this.defaultValue.highlightActiveIndentation,[!0,!1,"always"])}}}),stickyTabStops:V(new y(117,"stickyTabStops",!1,{description:l.kg("stickyTabStops","Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.")})),codeLens:V(new y(17,"codeLens",!0,{description:l.kg("codeLens","Controls whether the editor shows CodeLens.")})),codeLensFontFamily:V(new S(18,"codeLensFontFamily","",{description:l.kg("codeLensFontFamily","Controls the font family for CodeLens.")})),codeLensFontSize:V(new C(19,"codeLensFontSize",0,0,100,{type:"number",default:0,minimum:0,maximum:100,markdownDescription:l.kg("codeLensFontSize","Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used.")})),colorDecorators:V(new y(20,"colorDecorators",!0,{description:l.kg("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")})),colorDecoratorActivatedOn:V(new T(149,"colorDecoratorsActivatedOn","clickAndHover",["clickAndHover","hover","click"],{enumDescriptions:[l.kg("editor.colorDecoratorActivatedOn.clickAndHover","Make the color picker appear both on click and hover of the color decorator"),l.kg("editor.colorDecoratorActivatedOn.hover","Make the color picker appear on hover of the color decorator"),l.kg("editor.colorDecoratorActivatedOn.click","Make the color picker appear on click of the color decorator")],description:l.kg("colorDecoratorActivatedOn","Controls the condition to make a color picker appear from a color decorator")})),colorDecoratorsLimit:V(new C(21,"colorDecoratorsLimit",500,1,1e6,{markdownDescription:l.kg("colorDecoratorsLimit","Controls the max number of color decorators that can be rendered in an editor at once.")})),columnSelection:V(new y(22,"columnSelection",!1,{description:l.kg("columnSelection","Enable that the selection with the mouse and keys is doing column selection.")})),comments:V(new class extends u{constructor(){const e={insertSpace:!0,ignoreEmptyLines:!0};super(23,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:l.kg("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:l.kg("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{insertSpace:w(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:w(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}),contextmenu:V(new y(24,"contextmenu",!0)),copyWithSyntaxHighlighting:V(new y(25,"copyWithSyntaxHighlighting",!0,{description:l.kg("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:V(new L(26,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],function(e){switch(e){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}},{description:l.kg("cursorBlinking","Control the cursor animation style.")})),cursorSmoothCaretAnimation:V(new T(27,"cursorSmoothCaretAnimation","off",["off","explicit","on"],{enumDescriptions:[l.kg("cursorSmoothCaretAnimation.off","Smooth caret animation is disabled."),l.kg("cursorSmoothCaretAnimation.explicit","Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture."),l.kg("cursorSmoothCaretAnimation.on","Smooth caret animation is always enabled.")],description:l.kg("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")})),cursorStyle:V(new L(28,"cursorStyle",D.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],function(e){switch(e){case"line":return D.Line;case"block":return D.Block;case"underline":return D.Underline;case"line-thin":return D.LineThin;case"block-outline":return D.BlockOutline;case"underline-thin":return D.UnderlineThin}},{description:l.kg("cursorStyle","Controls the cursor style.")})),cursorSurroundingLines:V(new C(29,"cursorSurroundingLines",0,0,1073741824,{description:l.kg("cursorSurroundingLines","Controls the minimal number of visible leading lines (minimum 0) and trailing lines (minimum 1) surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors.")})),cursorSurroundingLinesStyle:V(new T(30,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[l.kg("cursorSurroundingLinesStyle.default","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),l.kg("cursorSurroundingLinesStyle.all","`cursorSurroundingLines` is enforced always.")],markdownDescription:l.kg("cursorSurroundingLinesStyle","Controls when `#editor.cursorSurroundingLines#` should be enforced.")})),cursorWidth:V(new C(31,"cursorWidth",0,0,1073741824,{markdownDescription:l.kg("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:V(new y(32,"disableLayerHinting",!1)),disableMonospaceOptimizations:V(new y(33,"disableMonospaceOptimizations",!1)),domReadOnly:V(new y(34,"domReadOnly",!1)),dragAndDrop:V(new y(35,"dragAndDrop",!0,{description:l.kg("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:V(new class extends y{constructor(){super(37,"emptySelectionClipboard",!0,{description:l.kg("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,t,n){return n&&e.emptySelectionClipboard}}),dropIntoEditor:V(new class extends u{constructor(){const e={enabled:!0,showDropSelector:"afterDrop"};super(36,"dropIntoEditor",e,{"editor.dropIntoEditor.enabled":{type:"boolean",default:e.enabled,markdownDescription:l.kg("dropIntoEditor.enabled","Controls whether you can drag and drop a file into a text editor by holding down the `Shift` key (instead of opening the file in an editor).")},"editor.dropIntoEditor.showDropSelector":{type:"string",markdownDescription:l.kg("dropIntoEditor.showDropSelector","Controls if a widget is shown when dropping files into the editor. This widget lets you control how the file is dropped."),enum:["afterDrop","never"],enumDescriptions:[l.kg("dropIntoEditor.showDropSelector.afterDrop","Show the drop selector widget after a file is dropped into the editor."),l.kg("dropIntoEditor.showDropSelector.never","Never show the drop selector widget. Instead the default drop provider is always used.")],default:"afterDrop"}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{enabled:w(t.enabled,this.defaultValue.enabled),showDropSelector:_(t.showDropSelector,this.defaultValue.showDropSelector,["afterDrop","never"])}}}),stickyScroll:V(new class extends u{constructor(){const e={enabled:!0,maxLineCount:5,defaultModel:"outlineModel",scrollWithEditor:!0};super(116,"stickyScroll",e,{"editor.stickyScroll.enabled":{type:"boolean",default:e.enabled,description:l.kg("editor.stickyScroll.enabled","Shows the nested current scopes during the scroll at the top of the editor."),tags:["experimental"]},"editor.stickyScroll.maxLineCount":{type:"number",default:e.maxLineCount,minimum:1,maximum:20,description:l.kg("editor.stickyScroll.maxLineCount","Defines the maximum number of sticky lines to show.")},"editor.stickyScroll.defaultModel":{type:"string",enum:["outlineModel","foldingProviderModel","indentationModel"],default:e.defaultModel,description:l.kg("editor.stickyScroll.defaultModel","Defines the model to use for determining which lines to stick. If the outline model does not exist, it will fall back on the folding provider model which falls back on the indentation model. This order is respected in all three cases.")},"editor.stickyScroll.scrollWithEditor":{type:"boolean",default:e.scrollWithEditor,description:l.kg("editor.stickyScroll.scrollWithEditor","Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{enabled:w(t.enabled,this.defaultValue.enabled),maxLineCount:C.clampedInt(t.maxLineCount,this.defaultValue.maxLineCount,1,20),defaultModel:_(t.defaultModel,this.defaultValue.defaultModel,["outlineModel","foldingProviderModel","indentationModel"]),scrollWithEditor:w(t.scrollWithEditor,this.defaultValue.scrollWithEditor)}}}),experimentalWhitespaceRendering:V(new T(38,"experimentalWhitespaceRendering","svg",["svg","font","off"],{enumDescriptions:[l.kg("experimentalWhitespaceRendering.svg","Use a new rendering method with svgs."),l.kg("experimentalWhitespaceRendering.font","Use a new rendering method with font characters."),l.kg("experimentalWhitespaceRendering.off","Use the stable rendering method.")],description:l.kg("experimentalWhitespaceRendering","Controls whether whitespace is rendered with a new, experimental method.")})),extraEditorClassName:V(new S(39,"extraEditorClassName","")),fastScrollSensitivity:V(new k(40,"fastScrollSensitivity",5,e=>e<=0?5:e,{markdownDescription:l.kg("fastScrollSensitivity","Scrolling speed multiplier when pressing `Alt`.")})),find:V(new class extends u{constructor(){const e={cursorMoveOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(41,"find",e,{"editor.find.cursorMoveOnType":{type:"boolean",default:e.cursorMoveOnType,description:l.kg("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"string",enum:["never","always","selection"],default:e.seedSearchStringFromSelection,enumDescriptions:[l.kg("editor.find.seedSearchStringFromSelection.never","Never seed search string from the editor selection."),l.kg("editor.find.seedSearchStringFromSelection.always","Always seed search string from the editor selection, including word at cursor position."),l.kg("editor.find.seedSearchStringFromSelection.selection","Only seed search string from the editor selection.")],description:l.kg("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:e.autoFindInSelection,enumDescriptions:[l.kg("editor.find.autoFindInSelection.never","Never turn on Find in Selection automatically (default)."),l.kg("editor.find.autoFindInSelection.always","Always turn on Find in Selection automatically."),l.kg("editor.find.autoFindInSelection.multiline","Turn on Find in Selection automatically when multiple lines of content are selected.")],description:l.kg("find.autoFindInSelection","Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:l.kg("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:s.zx},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:l.kg("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:e.loop,description:l.kg("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{cursorMoveOnType:w(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:"boolean"==typeof e.seedSearchStringFromSelection?e.seedSearchStringFromSelection?"always":"never":_(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:"boolean"==typeof e.autoFindInSelection?e.autoFindInSelection?"always":"never":_(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:w(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:w(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:w(t.loop,this.defaultValue.loop)}}}),fixedOverflowWidgets:V(new y(42,"fixedOverflowWidgets",!1)),folding:V(new y(43,"folding",!0,{description:l.kg("folding","Controls whether the editor has code folding enabled.")})),foldingStrategy:V(new T(44,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[l.kg("foldingStrategy.auto","Use a language-specific folding strategy if available, else the indentation-based one."),l.kg("foldingStrategy.indentation","Use the indentation-based folding strategy.")],description:l.kg("foldingStrategy","Controls the strategy for computing folding ranges.")})),foldingHighlight:V(new y(45,"foldingHighlight",!0,{description:l.kg("foldingHighlight","Controls whether the editor should highlight folded ranges.")})),foldingImportsByDefault:V(new y(46,"foldingImportsByDefault",!1,{description:l.kg("foldingImportsByDefault","Controls whether the editor automatically collapses import ranges.")})),foldingMaximumRegions:V(new C(47,"foldingMaximumRegions",5e3,10,65e3,{description:l.kg("foldingMaximumRegions","The maximum number of foldable regions. Increasing this value may result in the editor becoming less responsive when the current source has a large number of foldable regions.")})),unfoldOnClickAfterEndOfLine:V(new y(48,"unfoldOnClickAfterEndOfLine",!1,{description:l.kg("unfoldOnClickAfterEndOfLine","Controls whether clicking on the empty content after a folded line will unfold the line.")})),fontFamily:V(new S(49,"fontFamily",F.fontFamily,{description:l.kg("fontFamily","Controls the font family.")})),fontInfo:V(new class extends p{constructor(){super(50)}compute(e,t,n){return e.fontInfo}}),fontLigatures2:V(new O),fontSize:V(new class extends m{constructor(){super(52,"fontSize",F.fontSize,{type:"number",minimum:6,maximum:100,default:F.fontSize,description:l.kg("fontSize","Controls the font size in pixels.")})}validate(e){const t=k.float(e,this.defaultValue);return 0===t?F.fontSize:k.clamp(t,6,100)}compute(e,t,n){return e.fontInfo.fontSize}}),fontWeight:V(new M),fontVariations:V(new A),formatOnPaste:V(new y(55,"formatOnPaste",!1,{description:l.kg("formatOnPaste","Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.")})),formatOnType:V(new y(56,"formatOnType",!1,{description:l.kg("formatOnType","Controls whether the editor should automatically format the line after typing.")})),glyphMargin:V(new y(57,"glyphMargin",!0,{description:l.kg("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:V(new class extends u{constructor(){const e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",multipleTests:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:"",alternativeTestsCommand:""},t={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[l.kg("editor.gotoLocation.multiple.peek","Show Peek view of the results (default)"),l.kg("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a Peek view"),l.kg("editor.gotoLocation.multiple.goto","Go to the primary result and enable Peek-less navigation to others")]},n=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];super(58,"gotoLocation",e,{"editor.gotoLocation.multiple":{deprecationMessage:l.kg("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":{description:l.kg("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleTypeDefinitions":{description:l.kg("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleDeclarations":{description:l.kg("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleImplementations":{description:l.kg("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleReferences":{description:l.kg("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist."),...t},"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:e.alternativeDefinitionCommand,enum:n,description:l.kg("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:e.alternativeTypeDefinitionCommand,enum:n,description:l.kg("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:e.alternativeDeclarationCommand,enum:n,description:l.kg("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:e.alternativeImplementationCommand,enum:n,description:l.kg("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:e.alternativeReferenceCommand,enum:n,description:l.kg("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{multiple:_(t.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:t.multipleDefinitions??_(t.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:t.multipleTypeDefinitions??_(t.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:t.multipleDeclarations??_(t.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:t.multipleImplementations??_(t.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:t.multipleReferences??_(t.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),multipleTests:t.multipleTests??_(t.multipleTests,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:S.string(t.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:S.string(t.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:S.string(t.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:S.string(t.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:S.string(t.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand),alternativeTestsCommand:S.string(t.alternativeTestsCommand,this.defaultValue.alternativeTestsCommand)}}}),hideCursorInOverviewRuler:V(new y(59,"hideCursorInOverviewRuler",!1,{description:l.kg("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")})),hover:V(new class extends u{constructor(){const e={enabled:!0,delay:300,hidingDelay:300,sticky:!0,above:!0};super(60,"hover",e,{"editor.hover.enabled":{type:"boolean",default:e.enabled,description:l.kg("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,minimum:0,maximum:1e4,description:l.kg("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:l.kg("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")},"editor.hover.hidingDelay":{type:"integer",minimum:0,default:e.hidingDelay,description:l.kg("hover.hidingDelay","Controls the delay in milliseconds after which the hover is hidden. Requires `editor.hover.sticky` to be enabled.")},"editor.hover.above":{type:"boolean",default:e.above,description:l.kg("hover.above","Prefer showing hovers above the line, if there's space.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{enabled:w(t.enabled,this.defaultValue.enabled),delay:C.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:w(t.sticky,this.defaultValue.sticky),hidingDelay:C.clampedInt(t.hidingDelay,this.defaultValue.hidingDelay,0,6e5),above:w(t.above,this.defaultValue.above)}}}),inDiffEditor:V(new y(61,"inDiffEditor",!1)),letterSpacing:V(new k(64,"letterSpacing",F.letterSpacing,e=>k.clamp(e,-5,20),{description:l.kg("letterSpacing","Controls the letter spacing in pixels.")})),lightbulb:V(new class extends u{constructor(){const e={enabled:x.OnCode};super(65,"lightbulb",e,{"editor.lightbulb.enabled":{type:"string",tags:["experimental"],enum:[x.Off,x.OnCode,x.On],default:e.enabled,enumDescriptions:[l.kg("editor.lightbulb.enabled.off","Disable the code action menu."),l.kg("editor.lightbulb.enabled.onCode","Show the code action menu when the cursor is on lines with code."),l.kg("editor.lightbulb.enabled.on","Show the code action menu when the cursor is on lines with code or on empty lines.")],description:l.kg("enabled","Enables the Code Action lightbulb in the editor.")}})}validate(e){return e&&"object"==typeof e?{enabled:_(e.enabled,this.defaultValue.enabled,[x.Off,x.OnCode,x.On])}:this.defaultValue}}),lineDecorationsWidth:V(new class extends u{constructor(){super(66,"lineDecorationsWidth",10)}validate(e){return"string"==typeof e&&/^\d+(\.\d+)?ch$/.test(e)?-parseFloat(e.substring(0,e.length-2)):C.clampedInt(e,this.defaultValue,0,1e3)}compute(e,t,n){return n<0?C.clampedInt(-n*e.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):n}}),lineHeight:V(new class extends k{constructor(){super(67,"lineHeight",F.lineHeight,e=>k.clamp(e,0,150),{markdownDescription:l.kg("lineHeight","Controls the line height. \n - Use 0 to automatically compute the line height from the font size.\n - Values between 0 and 8 will be used as a multiplier with the font size.\n - Values greater than or equal to 8 will be used as effective values.")})}compute(e,t,n){return e.fontInfo.lineHeight}}),lineNumbers:V(new class extends u{constructor(){super(68,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[l.kg("lineNumbers.off","Line numbers are not rendered."),l.kg("lineNumbers.on","Line numbers are rendered as absolute number."),l.kg("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),l.kg("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:l.kg("lineNumbers","Controls the display of line numbers.")})}validate(e){let t=this.defaultValue.renderType,n=this.defaultValue.renderFn;return void 0!==e&&("function"==typeof e?(t=4,n=e):t="interval"===e?3:"relative"===e?2:"on"===e?1:0),{renderType:t,renderFn:n}}}),lineNumbersMinChars:V(new C(69,"lineNumbersMinChars",5,1,300)),linkedEditing:V(new y(70,"linkedEditing",!1,{description:l.kg("linkedEditing","Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing.")})),links:V(new y(71,"links",!0,{description:l.kg("links","Controls whether the editor should detect links and make them clickable.")})),matchBrackets:V(new T(72,"matchBrackets","always",["always","near","never"],{description:l.kg("matchBrackets","Highlight matching brackets.")})),minimap:V(new class extends u{constructor(){const e={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",autohide:!1,renderCharacters:!0,maxColumn:120,scale:1,showRegionSectionHeaders:!0,showMarkSectionHeaders:!0,sectionHeaderFontSize:9,sectionHeaderLetterSpacing:1};super(73,"minimap",e,{"editor.minimap.enabled":{type:"boolean",default:e.enabled,description:l.kg("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.autohide":{type:"boolean",default:e.autohide,description:l.kg("minimap.autohide","Controls whether the minimap is hidden automatically.")},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[l.kg("minimap.size.proportional","The minimap has the same size as the editor contents (and might scroll)."),l.kg("minimap.size.fill","The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),l.kg("minimap.size.fit","The minimap will shrink as necessary to never be larger than the editor (no scrolling).")],default:e.size,description:l.kg("minimap.size","Controls the size of the minimap.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:e.side,description:l.kg("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:e.showSlider,description:l.kg("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:e.scale,minimum:1,maximum:3,enum:[1,2,3],description:l.kg("minimap.scale","Scale of content drawn in the minimap: 1, 2 or 3.")},"editor.minimap.renderCharacters":{type:"boolean",default:e.renderCharacters,description:l.kg("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:e.maxColumn,description:l.kg("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")},"editor.minimap.showRegionSectionHeaders":{type:"boolean",default:e.showRegionSectionHeaders,description:l.kg("minimap.showRegionSectionHeaders","Controls whether named regions are shown as section headers in the minimap.")},"editor.minimap.showMarkSectionHeaders":{type:"boolean",default:e.showMarkSectionHeaders,description:l.kg("minimap.showMarkSectionHeaders","Controls whether MARK: comments are shown as section headers in the minimap.")},"editor.minimap.sectionHeaderFontSize":{type:"number",default:e.sectionHeaderFontSize,description:l.kg("minimap.sectionHeaderFontSize","Controls the font size of section headers in the minimap.")},"editor.minimap.sectionHeaderLetterSpacing":{type:"number",default:e.sectionHeaderLetterSpacing,description:l.kg("minimap.sectionHeaderLetterSpacing","Controls the amount of space (in pixels) between characters of section header. This helps the readability of the header in small font sizes.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{enabled:w(t.enabled,this.defaultValue.enabled),autohide:w(t.autohide,this.defaultValue.autohide),size:_(t.size,this.defaultValue.size,["proportional","fill","fit"]),side:_(t.side,this.defaultValue.side,["right","left"]),showSlider:_(t.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:w(t.renderCharacters,this.defaultValue.renderCharacters),scale:C.clampedInt(t.scale,1,1,3),maxColumn:C.clampedInt(t.maxColumn,this.defaultValue.maxColumn,1,1e4),showRegionSectionHeaders:w(t.showRegionSectionHeaders,this.defaultValue.showRegionSectionHeaders),showMarkSectionHeaders:w(t.showMarkSectionHeaders,this.defaultValue.showMarkSectionHeaders),sectionHeaderFontSize:k.clamp(t.sectionHeaderFontSize??this.defaultValue.sectionHeaderFontSize,4,32),sectionHeaderLetterSpacing:k.clamp(t.sectionHeaderLetterSpacing??this.defaultValue.sectionHeaderLetterSpacing,0,5)}}}),mouseStyle:V(new T(74,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:V(new k(75,"mouseWheelScrollSensitivity",1,e=>0===e?1:e,{markdownDescription:l.kg("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:V(new y(76,"mouseWheelZoom",!1,{markdownDescription:s.zx?l.kg("mouseWheelZoom.mac","Zoom the font of the editor when using mouse wheel and holding `Cmd`."):l.kg("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:V(new y(77,"multiCursorMergeOverlapping",!0,{description:l.kg("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")})),multiCursorModifier:V(new L(78,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],function(e){return"ctrlCmd"===e?s.zx?"metaKey":"ctrlKey":"altKey"},{markdownEnumDescriptions:[l.kg("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),l.kg("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:l.kg({key:"multiCursorModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add multiple cursors with the mouse. The Go to Definition and Open Link mouse gestures will adapt such that they do not conflict with the [multicursor modifier](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")})),multiCursorPaste:V(new T(79,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[l.kg("multiCursorPaste.spread","Each cursor pastes a single line of the text."),l.kg("multiCursorPaste.full","Each cursor pastes the full text.")],markdownDescription:l.kg("multiCursorPaste","Controls pasting when the line count of the pasted text matches the cursor count.")})),multiCursorLimit:V(new C(80,"multiCursorLimit",1e4,1,1e5,{markdownDescription:l.kg("multiCursorLimit","Controls the max number of cursors that can be in an active editor at once.")})),occurrencesHighlight:V(new T(81,"occurrencesHighlight","singleFile",["off","singleFile","multiFile"],{markdownEnumDescriptions:[l.kg("occurrencesHighlight.off","Does not highlight occurrences."),l.kg("occurrencesHighlight.singleFile","Highlights occurrences only in the current file."),l.kg("occurrencesHighlight.multiFile","Experimental: Highlights occurrences across all valid open files.")],markdownDescription:l.kg("occurrencesHighlight","Controls whether occurrences should be highlighted across open files.")})),overviewRulerBorder:V(new y(82,"overviewRulerBorder",!0,{description:l.kg("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:V(new C(83,"overviewRulerLanes",3,0,3)),padding:V(new class extends u{constructor(){super(84,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:l.kg("padding.top","Controls the amount of space between the top edge of the editor and the first line.")},"editor.padding.bottom":{type:"number",default:0,minimum:0,maximum:1e3,description:l.kg("padding.bottom","Controls the amount of space between the bottom edge of the editor and the last line.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{top:C.clampedInt(t.top,0,0,1e3),bottom:C.clampedInt(t.bottom,0,0,1e3)}}}),pasteAs:V(new class extends u{constructor(){const e={enabled:!0,showPasteSelector:"afterPaste"};super(85,"pasteAs",e,{"editor.pasteAs.enabled":{type:"boolean",default:e.enabled,markdownDescription:l.kg("pasteAs.enabled","Controls whether you can paste content in different ways.")},"editor.pasteAs.showPasteSelector":{type:"string",markdownDescription:l.kg("pasteAs.showPasteSelector","Controls if a widget is shown when pasting content in to the editor. This widget lets you control how the file is pasted."),enum:["afterPaste","never"],enumDescriptions:[l.kg("pasteAs.showPasteSelector.afterPaste","Show the paste selector widget after content is pasted into the editor."),l.kg("pasteAs.showPasteSelector.never","Never show the paste selector widget. Instead the default pasting behavior is always used.")],default:"afterPaste"}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{enabled:w(t.enabled,this.defaultValue.enabled),showPasteSelector:_(t.showPasteSelector,this.defaultValue.showPasteSelector,["afterPaste","never"])}}}),parameterHints:V(new class extends u{constructor(){const e={enabled:!0,cycle:!0};super(86,"parameterHints",e,{"editor.parameterHints.enabled":{type:"boolean",default:e.enabled,description:l.kg("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:e.cycle,description:l.kg("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{enabled:w(t.enabled,this.defaultValue.enabled),cycle:w(t.cycle,this.defaultValue.cycle)}}}),peekWidgetDefaultFocus:V(new T(87,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[l.kg("peekWidgetDefaultFocus.tree","Focus the tree when opening peek"),l.kg("peekWidgetDefaultFocus.editor","Focus the editor when opening peek")],description:l.kg("peekWidgetDefaultFocus","Controls whether to focus the inline editor or the tree in the peek widget.")})),placeholder:V(new class extends u{constructor(){super(88,"placeholder",void 0)}validate(e){return void 0===e?this.defaultValue:"string"==typeof e?e:this.defaultValue}}),definitionLinkOpensInPeek:V(new y(89,"definitionLinkOpensInPeek",!1,{description:l.kg("definitionLinkOpensInPeek","Controls whether the Go to Definition mouse gesture always opens the peek widget.")})),quickSuggestions:V(new class extends u{constructor(){const e={other:"on",comments:"off",strings:"off"},t=[{type:"boolean"},{type:"string",enum:["on","inline","off"],enumDescriptions:[l.kg("on","Quick suggestions show inside the suggest widget"),l.kg("inline","Quick suggestions show as ghost text"),l.kg("off","Quick suggestions are disabled")]}];super(90,"quickSuggestions",e,{type:"object",additionalProperties:!1,properties:{strings:{anyOf:t,default:e.strings,description:l.kg("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{anyOf:t,default:e.comments,description:l.kg("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{anyOf:t,default:e.other,description:l.kg("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}},default:e,markdownDescription:l.kg("quickSuggestions","Controls whether suggestions should automatically show up while typing. This can be controlled for typing in comments, strings, and other code. Quick suggestion can be configured to show as ghost text or with the suggest widget. Also be aware of the {0}-setting which controls if suggestions are triggered by special characters.","`#editor.suggestOnTriggerCharacters#`")}),this.defaultValue=e}validate(e){if("boolean"==typeof e){const t=e?"on":"off";return{comments:t,strings:t,other:t}}if(!e||"object"!=typeof e)return this.defaultValue;const{other:t,comments:n,strings:i}=e,o=["on","inline","off"];let s,r,a;return s="boolean"==typeof t?t?"on":"off":_(t,this.defaultValue.other,o),r="boolean"==typeof n?n?"on":"off":_(n,this.defaultValue.comments,o),a="boolean"==typeof i?i?"on":"off":_(i,this.defaultValue.strings,o),{other:s,comments:r,strings:a}}}),quickSuggestionsDelay:V(new C(91,"quickSuggestionsDelay",10,0,1073741824,{description:l.kg("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")})),readOnly:V(new y(92,"readOnly",!1)),readOnlyMessage:V(new class extends u{constructor(){super(93,"readOnlyMessage",void 0)}validate(e){return e&&"object"==typeof e?e:this.defaultValue}}),renameOnType:V(new y(94,"renameOnType",!1,{description:l.kg("renameOnType","Controls whether the editor auto renames on type."),markdownDeprecationMessage:l.kg("renameOnTypeDeprecate","Deprecated, use `editor.linkedEditing` instead.")})),renderControlCharacters:V(new y(95,"renderControlCharacters",!0,{description:l.kg("renderControlCharacters","Controls whether the editor should render control characters."),restricted:!0})),renderFinalNewline:V(new T(96,"renderFinalNewline",s.j9?"dimmed":"on",["off","on","dimmed"],{description:l.kg("renderFinalNewline","Render last line number when the file ends with a newline.")})),renderLineHighlight:V(new T(97,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",l.kg("renderLineHighlight.all","Highlights both the gutter and the current line.")],description:l.kg("renderLineHighlight","Controls how the editor should render the current line highlight.")})),renderLineHighlightOnlyWhenFocus:V(new y(98,"renderLineHighlightOnlyWhenFocus",!1,{description:l.kg("renderLineHighlightOnlyWhenFocus","Controls if the editor should render the current line highlight only when the editor is focused.")})),renderValidationDecorations:V(new T(99,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:V(new T(100,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",l.kg("renderWhitespace.boundary","Render whitespace characters except for single spaces between words."),l.kg("renderWhitespace.selection","Render whitespace characters only on selected text."),l.kg("renderWhitespace.trailing","Render only trailing whitespace characters."),""],description:l.kg("renderWhitespace","Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:V(new C(101,"revealHorizontalRightPadding",15,0,1e3)),roundedSelection:V(new y(102,"roundedSelection",!0,{description:l.kg("roundedSelection","Controls whether selections should have rounded corners.")})),rulers:V(new class extends u{constructor(){const e=[],t={type:"number",description:l.kg("rulers.size","Number of monospace characters at which this editor ruler will render.")};super(103,"rulers",e,{type:"array",items:{anyOf:[t,{type:["object"],properties:{column:t,color:{type:"string",description:l.kg("rulers.color","Color of this editor ruler."),format:"color-hex"}}}]},default:e,description:l.kg("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})}validate(e){if(Array.isArray(e)){const t=[];for(const n of e)if("number"==typeof n)t.push({column:C.clampedInt(n,0,0,1e4),color:null});else if(n&&"object"==typeof n){const e=n;t.push({column:C.clampedInt(e.column,0,0,1e4),color:e.color})}return t.sort((e,t)=>e.column-t.column),t}return this.defaultValue}}),scrollbar:V(new class extends u{constructor(){const e={vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0,scrollByPage:!1,ignoreHorizontalScrollbarInContentHeight:!1};super(104,"scrollbar",e,{"editor.scrollbar.vertical":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[l.kg("scrollbar.vertical.auto","The vertical scrollbar will be visible only when necessary."),l.kg("scrollbar.vertical.visible","The vertical scrollbar will always be visible."),l.kg("scrollbar.vertical.fit","The vertical scrollbar will always be hidden.")],default:"auto",description:l.kg("scrollbar.vertical","Controls the visibility of the vertical scrollbar.")},"editor.scrollbar.horizontal":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[l.kg("scrollbar.horizontal.auto","The horizontal scrollbar will be visible only when necessary."),l.kg("scrollbar.horizontal.visible","The horizontal scrollbar will always be visible."),l.kg("scrollbar.horizontal.fit","The horizontal scrollbar will always be hidden.")],default:"auto",description:l.kg("scrollbar.horizontal","Controls the visibility of the horizontal scrollbar.")},"editor.scrollbar.verticalScrollbarSize":{type:"number",default:e.verticalScrollbarSize,description:l.kg("scrollbar.verticalScrollbarSize","The width of the vertical scrollbar.")},"editor.scrollbar.horizontalScrollbarSize":{type:"number",default:e.horizontalScrollbarSize,description:l.kg("scrollbar.horizontalScrollbarSize","The height of the horizontal scrollbar.")},"editor.scrollbar.scrollByPage":{type:"boolean",default:e.scrollByPage,description:l.kg("scrollbar.scrollByPage","Controls whether clicks scroll by page or jump to click position.")},"editor.scrollbar.ignoreHorizontalScrollbarInContentHeight":{type:"boolean",default:e.ignoreHorizontalScrollbarInContentHeight,description:l.kg("scrollbar.ignoreHorizontalScrollbarInContentHeight","When set, the horizontal scrollbar will not increase the size of the editor's content.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e,n=C.clampedInt(t.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),i=C.clampedInt(t.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:C.clampedInt(t.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:R(t.vertical,this.defaultValue.vertical),horizontal:R(t.horizontal,this.defaultValue.horizontal),useShadows:w(t.useShadows,this.defaultValue.useShadows),verticalHasArrows:w(t.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:w(t.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:w(t.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:w(t.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:n,horizontalSliderSize:C.clampedInt(t.horizontalSliderSize,n,0,1e3),verticalScrollbarSize:i,verticalSliderSize:C.clampedInt(t.verticalSliderSize,i,0,1e3),scrollByPage:w(t.scrollByPage,this.defaultValue.scrollByPage),ignoreHorizontalScrollbarInContentHeight:w(t.ignoreHorizontalScrollbarInContentHeight,this.defaultValue.ignoreHorizontalScrollbarInContentHeight)}}}),scrollBeyondLastColumn:V(new C(105,"scrollBeyondLastColumn",4,0,1073741824,{description:l.kg("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:V(new y(106,"scrollBeyondLastLine",!0,{description:l.kg("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")})),scrollPredominantAxis:V(new y(107,"scrollPredominantAxis",!0,{description:l.kg("scrollPredominantAxis","Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.")})),selectionClipboard:V(new y(108,"selectionClipboard",!0,{description:l.kg("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:s.j9})),selectionHighlight:V(new y(109,"selectionHighlight",!0,{description:l.kg("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")})),selectOnLineNumbers:V(new y(110,"selectOnLineNumbers",!0)),showFoldingControls:V(new T(111,"showFoldingControls","mouseover",["always","never","mouseover"],{enumDescriptions:[l.kg("showFoldingControls.always","Always show the folding controls."),l.kg("showFoldingControls.never","Never show the folding controls and reduce the gutter size."),l.kg("showFoldingControls.mouseover","Only show the folding controls when the mouse is over the gutter.")],description:l.kg("showFoldingControls","Controls when the folding controls on the gutter are shown.")})),showUnused:V(new y(112,"showUnused",!0,{description:l.kg("showUnused","Controls fading out of unused code.")})),showDeprecated:V(new y(141,"showDeprecated",!0,{description:l.kg("showDeprecated","Controls strikethrough deprecated variables.")})),inlayHints:V(new class extends u{constructor(){const e={enabled:"on",fontSize:0,fontFamily:"",padding:!1};super(142,"inlayHints",e,{"editor.inlayHints.enabled":{type:"string",default:e.enabled,description:l.kg("inlayHints.enable","Enables the inlay hints in the editor."),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[l.kg("editor.inlayHints.on","Inlay hints are enabled"),l.kg("editor.inlayHints.onUnlessPressed","Inlay hints are showing by default and hide when holding {0}",s.zx?"Ctrl+Option":"Ctrl+Alt"),l.kg("editor.inlayHints.offUnlessPressed","Inlay hints are hidden by default and show when holding {0}",s.zx?"Ctrl+Option":"Ctrl+Alt"),l.kg("editor.inlayHints.off","Inlay hints are disabled")]},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:l.kg("inlayHints.fontSize","Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.","`#editor.fontSize#`","`5`")},"editor.inlayHints.fontFamily":{type:"string",default:e.fontFamily,markdownDescription:l.kg("inlayHints.fontFamily","Controls font family of inlay hints in the editor. When set to empty, the {0} is used.","`#editor.fontFamily#`")},"editor.inlayHints.padding":{type:"boolean",default:e.padding,description:l.kg("inlayHints.padding","Enables the padding around the inlay hints in the editor.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return"boolean"==typeof t.enabled&&(t.enabled=t.enabled?"on":"off"),{enabled:_(t.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:C.clampedInt(t.fontSize,this.defaultValue.fontSize,0,100),fontFamily:S.string(t.fontFamily,this.defaultValue.fontFamily),padding:w(t.padding,this.defaultValue.padding)}}}),snippetSuggestions:V(new T(113,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[l.kg("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),l.kg("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),l.kg("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),l.kg("snippetSuggestions.none","Do not show snippet suggestions.")],description:l.kg("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")})),smartSelect:V(new class extends u{constructor(){super(114,"smartSelect",{selectLeadingAndTrailingWhitespace:!0,selectSubwords:!0},{"editor.smartSelect.selectLeadingAndTrailingWhitespace":{description:l.kg("selectLeadingAndTrailingWhitespace","Whether leading and trailing whitespace should always be selected."),default:!0,type:"boolean"},"editor.smartSelect.selectSubwords":{description:l.kg("selectSubwords","Whether subwords (like 'foo' in 'fooBar' or 'foo_bar') should be selected."),default:!0,type:"boolean"}})}validate(e){return e&&"object"==typeof e?{selectLeadingAndTrailingWhitespace:w(e.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace),selectSubwords:w(e.selectSubwords,this.defaultValue.selectSubwords)}:this.defaultValue}}),smoothScrolling:V(new y(115,"smoothScrolling",!1,{description:l.kg("smoothScrolling","Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:V(new C(118,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:V(new class extends u{constructor(){const e={insertMode:"insert",filterGraceful:!0,snippetsPreventQuickSuggestions:!1,localityBonus:!1,shareSuggestSelections:!1,selectionMode:"always",showIcons:!0,showStatusBar:!1,preview:!1,previewMode:"subwordSmart",showInlineDetails:!0,showMethods:!0,showFunctions:!0,showConstructors:!0,showDeprecated:!0,matchOnWordStartOnly:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0};super(119,"suggest",e,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[l.kg("suggest.insertMode.insert","Insert suggestion without overwriting text right of the cursor."),l.kg("suggest.insertMode.replace","Insert suggestion and overwrite text right of the cursor.")],default:e.insertMode,description:l.kg("suggest.insertMode","Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")},"editor.suggest.filterGraceful":{type:"boolean",default:e.filterGraceful,description:l.kg("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:e.localityBonus,description:l.kg("suggest.localityBonus","Controls whether sorting favors words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:e.shareSuggestSelections,markdownDescription:l.kg("suggest.shareSuggestSelections","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.selectionMode":{type:"string",enum:["always","never","whenTriggerCharacter","whenQuickSuggestion"],enumDescriptions:[l.kg("suggest.insertMode.always","Always select a suggestion when automatically triggering IntelliSense."),l.kg("suggest.insertMode.never","Never select a suggestion when automatically triggering IntelliSense."),l.kg("suggest.insertMode.whenTriggerCharacter","Select a suggestion only when triggering IntelliSense from a trigger character."),l.kg("suggest.insertMode.whenQuickSuggestion","Select a suggestion only when triggering IntelliSense as you type.")],default:e.selectionMode,markdownDescription:l.kg("suggest.selectionMode","Controls whether a suggestion is selected when the widget shows. Note that this only applies to automatically triggered suggestions ({0} and {1}) and that a suggestion is always selected when explicitly invoked, e.g via `Ctrl+Space`.","`#editor.quickSuggestions#`","`#editor.suggestOnTriggerCharacters#`")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:e.snippetsPreventQuickSuggestions,description:l.kg("suggest.snippetsPreventQuickSuggestions","Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:e.showIcons,description:l.kg("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.showStatusBar":{type:"boolean",default:e.showStatusBar,description:l.kg("suggest.showStatusBar","Controls the visibility of the status bar at the bottom of the suggest widget.")},"editor.suggest.preview":{type:"boolean",default:e.preview,description:l.kg("suggest.preview","Controls whether to preview the suggestion outcome in the editor.")},"editor.suggest.showInlineDetails":{type:"boolean",default:e.showInlineDetails,description:l.kg("suggest.showInlineDetails","Controls whether suggest details show inline with the label or only in the details widget.")},"editor.suggest.maxVisibleSuggestions":{type:"number",deprecationMessage:l.kg("suggest.maxVisibleSuggestions.dep","This setting is deprecated. The suggest widget can now be resized.")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:l.kg("deprecated","This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:l.kg("editor.suggest.showMethods","When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:l.kg("editor.suggest.showFunctions","When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:l.kg("editor.suggest.showConstructors","When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showDeprecated":{type:"boolean",default:!0,markdownDescription:l.kg("editor.suggest.showDeprecated","When enabled IntelliSense shows `deprecated`-suggestions.")},"editor.suggest.matchOnWordStartOnly":{type:"boolean",default:!0,markdownDescription:l.kg("editor.suggest.matchOnWordStartOnly","When enabled IntelliSense filtering requires that the first character matches on a word start. For example, `c` on `Console` or `WebContext` but _not_ on `description`. When disabled IntelliSense will show more results but still sorts them by match quality.")},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:l.kg("editor.suggest.showFields","When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:l.kg("editor.suggest.showVariables","When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:l.kg("editor.suggest.showClasss","When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:l.kg("editor.suggest.showStructs","When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:l.kg("editor.suggest.showInterfaces","When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:l.kg("editor.suggest.showModules","When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:l.kg("editor.suggest.showPropertys","When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:l.kg("editor.suggest.showEvents","When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:l.kg("editor.suggest.showOperators","When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:l.kg("editor.suggest.showUnits","When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:l.kg("editor.suggest.showValues","When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:l.kg("editor.suggest.showConstants","When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:l.kg("editor.suggest.showEnums","When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:l.kg("editor.suggest.showEnumMembers","When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:l.kg("editor.suggest.showKeywords","When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:l.kg("editor.suggest.showTexts","When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:l.kg("editor.suggest.showColors","When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:l.kg("editor.suggest.showFiles","When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:l.kg("editor.suggest.showReferences","When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:l.kg("editor.suggest.showCustomcolors","When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:l.kg("editor.suggest.showFolders","When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:l.kg("editor.suggest.showTypeParameters","When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:l.kg("editor.suggest.showSnippets","When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:l.kg("editor.suggest.showUsers","When enabled IntelliSense shows `user`-suggestions.")},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:l.kg("editor.suggest.showIssues","When enabled IntelliSense shows `issues`-suggestions.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{insertMode:_(t.insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:w(t.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:w(t.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:w(t.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:w(t.shareSuggestSelections,this.defaultValue.shareSuggestSelections),selectionMode:_(t.selectionMode,this.defaultValue.selectionMode,["always","never","whenQuickSuggestion","whenTriggerCharacter"]),showIcons:w(t.showIcons,this.defaultValue.showIcons),showStatusBar:w(t.showStatusBar,this.defaultValue.showStatusBar),preview:w(t.preview,this.defaultValue.preview),previewMode:_(t.previewMode,this.defaultValue.previewMode,["prefix","subword","subwordSmart"]),showInlineDetails:w(t.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:w(t.showMethods,this.defaultValue.showMethods),showFunctions:w(t.showFunctions,this.defaultValue.showFunctions),showConstructors:w(t.showConstructors,this.defaultValue.showConstructors),showDeprecated:w(t.showDeprecated,this.defaultValue.showDeprecated),matchOnWordStartOnly:w(t.matchOnWordStartOnly,this.defaultValue.matchOnWordStartOnly),showFields:w(t.showFields,this.defaultValue.showFields),showVariables:w(t.showVariables,this.defaultValue.showVariables),showClasses:w(t.showClasses,this.defaultValue.showClasses),showStructs:w(t.showStructs,this.defaultValue.showStructs),showInterfaces:w(t.showInterfaces,this.defaultValue.showInterfaces),showModules:w(t.showModules,this.defaultValue.showModules),showProperties:w(t.showProperties,this.defaultValue.showProperties),showEvents:w(t.showEvents,this.defaultValue.showEvents),showOperators:w(t.showOperators,this.defaultValue.showOperators),showUnits:w(t.showUnits,this.defaultValue.showUnits),showValues:w(t.showValues,this.defaultValue.showValues),showConstants:w(t.showConstants,this.defaultValue.showConstants),showEnums:w(t.showEnums,this.defaultValue.showEnums),showEnumMembers:w(t.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:w(t.showKeywords,this.defaultValue.showKeywords),showWords:w(t.showWords,this.defaultValue.showWords),showColors:w(t.showColors,this.defaultValue.showColors),showFiles:w(t.showFiles,this.defaultValue.showFiles),showReferences:w(t.showReferences,this.defaultValue.showReferences),showFolders:w(t.showFolders,this.defaultValue.showFolders),showTypeParameters:w(t.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:w(t.showSnippets,this.defaultValue.showSnippets),showUsers:w(t.showUsers,this.defaultValue.showUsers),showIssues:w(t.showIssues,this.defaultValue.showIssues)}}}),inlineSuggest:V(new class extends u{constructor(){const e={enabled:!0,mode:"subwordSmart",showToolbar:"onHover",suppressSuggestions:!1,keepOnBlur:!1,fontFamily:"default"};super(62,"inlineSuggest",e,{"editor.inlineSuggest.enabled":{type:"boolean",default:e.enabled,description:l.kg("inlineSuggest.enabled","Controls whether to automatically show inline suggestions in the editor.")},"editor.inlineSuggest.showToolbar":{type:"string",default:e.showToolbar,enum:["always","onHover","never"],enumDescriptions:[l.kg("inlineSuggest.showToolbar.always","Show the inline suggestion toolbar whenever an inline suggestion is shown."),l.kg("inlineSuggest.showToolbar.onHover","Show the inline suggestion toolbar when hovering over an inline suggestion."),l.kg("inlineSuggest.showToolbar.never","Never show the inline suggestion toolbar.")],description:l.kg("inlineSuggest.showToolbar","Controls when to show the inline suggestion toolbar.")},"editor.inlineSuggest.suppressSuggestions":{type:"boolean",default:e.suppressSuggestions,description:l.kg("inlineSuggest.suppressSuggestions","Controls how inline suggestions interact with the suggest widget. If enabled, the suggest widget is not shown automatically when inline suggestions are available.")},"editor.inlineSuggest.fontFamily":{type:"string",default:e.fontFamily,description:l.kg("inlineSuggest.fontFamily","Controls the font family of the inline suggestions.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{enabled:w(t.enabled,this.defaultValue.enabled),mode:_(t.mode,this.defaultValue.mode,["prefix","subword","subwordSmart"]),showToolbar:_(t.showToolbar,this.defaultValue.showToolbar,["always","onHover","never"]),suppressSuggestions:w(t.suppressSuggestions,this.defaultValue.suppressSuggestions),keepOnBlur:w(t.keepOnBlur,this.defaultValue.keepOnBlur),fontFamily:S.string(t.fontFamily,this.defaultValue.fontFamily)}}}),inlineEdit:V(new class extends u{constructor(){const e={enabled:!1,showToolbar:"onHover",fontFamily:"default",keepOnBlur:!1};super(63,"experimentalInlineEdit",e,{"editor.experimentalInlineEdit.enabled":{type:"boolean",default:e.enabled,description:l.kg("inlineEdit.enabled","Controls whether to show inline edits in the editor.")},"editor.experimentalInlineEdit.showToolbar":{type:"string",default:e.showToolbar,enum:["always","onHover","never"],enumDescriptions:[l.kg("inlineEdit.showToolbar.always","Show the inline edit toolbar whenever an inline suggestion is shown."),l.kg("inlineEdit.showToolbar.onHover","Show the inline edit toolbar when hovering over an inline suggestion."),l.kg("inlineEdit.showToolbar.never","Never show the inline edit toolbar.")],description:l.kg("inlineEdit.showToolbar","Controls when to show the inline edit toolbar.")},"editor.experimentalInlineEdit.fontFamily":{type:"string",default:e.fontFamily,description:l.kg("inlineEdit.fontFamily","Controls the font family of the inline edit.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{enabled:w(t.enabled,this.defaultValue.enabled),showToolbar:_(t.showToolbar,this.defaultValue.showToolbar,["always","onHover","never"]),fontFamily:S.string(t.fontFamily,this.defaultValue.fontFamily),keepOnBlur:w(t.keepOnBlur,this.defaultValue.keepOnBlur)}}}),inlineCompletionsAccessibilityVerbose:V(new y(150,"inlineCompletionsAccessibilityVerbose",!1,{description:l.kg("inlineCompletionsAccessibilityVerbose","Controls whether the accessibility hint should be provided to screen reader users when an inline completion is shown.")})),suggestFontSize:V(new C(120,"suggestFontSize",0,0,1e3,{markdownDescription:l.kg("suggestFontSize","Font size for the suggest widget. When set to {0}, the value of {1} is used.","`0`","`#editor.fontSize#`")})),suggestLineHeight:V(new C(121,"suggestLineHeight",0,0,1e3,{markdownDescription:l.kg("suggestLineHeight","Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.","`0`","`#editor.lineHeight#`")})),suggestOnTriggerCharacters:V(new y(122,"suggestOnTriggerCharacters",!0,{description:l.kg("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:V(new T(123,"suggestSelection","first",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[l.kg("suggestSelection.first","Always select the first suggestion."),l.kg("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),l.kg("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:l.kg("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:V(new T(124,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[l.kg("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),l.kg("tabCompletion.off","Disable tab completions."),l.kg("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:l.kg("tabCompletion","Enables tab completions.")})),tabIndex:V(new C(125,"tabIndex",0,-1,1073741824)),unicodeHighlight:V(new class extends u{constructor(){const e={nonBasicASCII:N,invisibleCharacters:!0,ambiguousCharacters:!0,includeComments:N,includeStrings:!0,allowedCharacters:{},allowedLocales:{_os:!0,_vscode:!0}};super(126,"unicodeHighlight",e,{[W.nonBasicASCII]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,N],default:e.nonBasicASCII,description:l.kg("unicodeHighlight.nonBasicASCII","Controls whether all non-basic ASCII characters are highlighted. Only characters between U+0020 and U+007E, tab, line-feed and carriage-return are considered basic ASCII.")},[W.invisibleCharacters]:{restricted:!0,type:"boolean",default:e.invisibleCharacters,description:l.kg("unicodeHighlight.invisibleCharacters","Controls whether characters that just reserve space or have no width at all are highlighted.")},[W.ambiguousCharacters]:{restricted:!0,type:"boolean",default:e.ambiguousCharacters,description:l.kg("unicodeHighlight.ambiguousCharacters","Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale.")},[W.includeComments]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,N],default:e.includeComments,description:l.kg("unicodeHighlight.includeComments","Controls whether characters in comments should also be subject to Unicode highlighting.")},[W.includeStrings]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,N],default:e.includeStrings,description:l.kg("unicodeHighlight.includeStrings","Controls whether characters in strings should also be subject to Unicode highlighting.")},[W.allowedCharacters]:{restricted:!0,type:"object",default:e.allowedCharacters,description:l.kg("unicodeHighlight.allowedCharacters","Defines allowed characters that are not being highlighted."),additionalProperties:{type:"boolean"}},[W.allowedLocales]:{restricted:!0,type:"object",additionalProperties:{type:"boolean"},default:e.allowedLocales,description:l.kg("unicodeHighlight.allowedLocales","Unicode characters that are common in allowed locales are not being highlighted.")}})}applyUpdate(e,t){let n=!1;t.allowedCharacters&&e&&(o.aI(e.allowedCharacters,t.allowedCharacters)||(e={...e,allowedCharacters:t.allowedCharacters},n=!0)),t.allowedLocales&&e&&(o.aI(e.allowedLocales,t.allowedLocales)||(e={...e,allowedLocales:t.allowedLocales},n=!0));const i=super.applyUpdate(e,t);return n?new g(i.newValue,!0):i}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{nonBasicASCII:P(t.nonBasicASCII,N,[!0,!1,N]),invisibleCharacters:w(t.invisibleCharacters,this.defaultValue.invisibleCharacters),ambiguousCharacters:w(t.ambiguousCharacters,this.defaultValue.ambiguousCharacters),includeComments:P(t.includeComments,N,[!0,!1,N]),includeStrings:P(t.includeStrings,N,[!0,!1,N]),allowedCharacters:this.validateBooleanMap(e.allowedCharacters,this.defaultValue.allowedCharacters),allowedLocales:this.validateBooleanMap(e.allowedLocales,this.defaultValue.allowedLocales)}}validateBooleanMap(e,t){if("object"!=typeof e||!e)return t;const n={};for(const[t,i]of Object.entries(e))!0===i&&(n[t]=!0);return n}}),unusualLineTerminators:V(new T(127,"unusualLineTerminators","prompt",["auto","off","prompt"],{enumDescriptions:[l.kg("unusualLineTerminators.auto","Unusual line terminators are automatically removed."),l.kg("unusualLineTerminators.off","Unusual line terminators are ignored."),l.kg("unusualLineTerminators.prompt","Unusual line terminators prompt to be removed.")],description:l.kg("unusualLineTerminators","Remove unusual line terminators that might cause problems.")})),useShadowDOM:V(new y(128,"useShadowDOM",!0)),useTabStops:V(new y(129,"useTabStops",!0,{description:l.kg("useTabStops","Spaces and tabs are inserted and deleted in alignment with tab stops.")})),wordBreak:V(new T(130,"wordBreak","normal",["normal","keepAll"],{markdownEnumDescriptions:[l.kg("wordBreak.normal","Use the default line break rule."),l.kg("wordBreak.keepAll","Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal.")],description:l.kg("wordBreak","Controls the word break rules used for Chinese/Japanese/Korean (CJK) text.")})),wordSegmenterLocales:V(new class extends u{constructor(){super(131,"wordSegmenterLocales",[],{anyOf:[{description:l.kg("wordSegmenterLocales","Locales to be used for word segmentation when doing word related navigations or operations. Specify the BCP 47 language tag of the word you wish to recognize (e.g., ja, zh-CN, zh-Hant-TW, etc.)."),type:"string"},{description:l.kg("wordSegmenterLocales","Locales to be used for word segmentation when doing word related navigations or operations. Specify the BCP 47 language tag of the word you wish to recognize (e.g., ja, zh-CN, zh-Hant-TW, etc.)."),type:"array",items:{type:"string"}}]})}validate(e){if("string"==typeof e&&(e=[e]),Array.isArray(e)){const t=[];for(const n of e)if("string"==typeof n)try{Intl.Segmenter.supportedLocalesOf(n).length>0&&t.push(n)}catch{}return t}return this.defaultValue}}),wordSeparators:V(new S(132,"wordSeparators",a.J3,{description:l.kg("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:V(new T(133,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[l.kg("wordWrap.off","Lines will never wrap."),l.kg("wordWrap.on","Lines will wrap at the viewport width."),l.kg({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),l.kg({key:"wordWrap.bounded",comment:["- viewport means the edge of the visible window size.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:l.kg({key:"wordWrap",comment:["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:V(new S(134,"wordWrapBreakAfterCharacters"," \t})]?|/&.,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」")),wordWrapBreakBeforeCharacters:V(new S(135,"wordWrapBreakBeforeCharacters","([{‘“〈《「『【〔([{「£¥$£¥++")),wordWrapColumn:V(new C(136,"wordWrapColumn",80,1,1073741824,{markdownDescription:l.kg({key:"wordWrapColumn",comment:["- `editor.wordWrap` refers to a different setting and should not be localized.","- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapOverride1:V(new T(137,"wordWrapOverride1","inherit",["off","on","inherit"])),wordWrapOverride2:V(new T(138,"wordWrapOverride2","inherit",["off","on","inherit"])),editorClassName:V(new class extends p{constructor(){super(143)}compute(e,t,n){const i=["monaco-editor"];return t.get(39)&&i.push(t.get(39)),e.extraEditorClassName&&i.push(e.extraEditorClassName),"default"===t.get(74)?i.push("mouse-default"):"copy"===t.get(74)&&i.push("mouse-copy"),t.get(112)&&i.push("showUnused"),t.get(141)&&i.push("showDeprecated"),i.join(" ")}}),defaultColorDecorators:V(new y(148,"defaultColorDecorators",!1,{markdownDescription:l.kg("defaultColorDecorators","Controls whether inline color decorations should be shown using the default document color provider")})),pixelRatio:V(new class extends p{constructor(){super(144)}compute(e,t,n){return e.pixelRatio}}),tabFocusMode:V(new y(145,"tabFocusMode",!1,{markdownDescription:l.kg("tabFocusMode","Controls whether the editor receives tabs or defers them to the workbench for navigation.")})),layoutInfo:V(new E),wrappingInfo:V(new class extends p{constructor(){super(147)}compute(e,t,n){const i=t.get(146);return{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:i.isWordWrapMinified,isViewportWrapping:i.isViewportWrapping,wrappingColumn:i.wrappingColumn}}}),wrappingIndent:V(new class extends u{constructor(){super(139,"wrappingIndent",1,{"editor.wrappingIndent":{type:"string",enum:["none","same","indent","deepIndent"],enumDescriptions:[l.kg("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),l.kg("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),l.kg("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),l.kg("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:l.kg("wrappingIndent","Controls the indentation of wrapped lines."),default:"same"}})}validate(e){switch(e){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}return 1}compute(e,t,n){return 2===t.get(2)?0:n}}),wrappingStrategy:V(new class extends u{constructor(){super(140,"wrappingStrategy","simple",{"editor.wrappingStrategy":{enumDescriptions:[l.kg("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),l.kg("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],type:"string",enum:["simple","advanced"],default:"simple",description:l.kg("wrappingStrategy","Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience.")}})}validate(e){return _(e,"simple",["simple","advanced"])}compute(e,t,n){return 2===t.get(2)?"advanced":n}})}},46098(e,t,n){n.d(t,{Io:()=>a,J3:()=>s,Ld:()=>r,Th:()=>c});var i=n(4014),o=n(44561);const s="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?",r=function(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(const n of s)e.indexOf(n)>=0||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")}();function a(e){let t=r;if(e&&e instanceof RegExp)if(e.global)t=e;else{let n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}const l=new o.w;function c(e,t,n,o,s){if(t=a(t),s||(s=i.f.first(l)),n.length>s.maxLen){let i=e-s.maxLen/2;return i<0?i=0:o+=i,c(e,t,n=n.substring(i,e+s.maxLen/2),o,s)}const r=Date.now(),h=e-1-o;let u=-1,g=null;for(let e=1;!(Date.now()-r>=s.timeBudget);e++){const i=h-s.windowSize*e;t.lastIndex=Math.max(0,i);const o=d(t,n,h,u);if(!o&&g)break;if(g=o,i<=0)break;u=i}if(g){const e={word:g[0],startColumn:o+1+g.index,endColumn:o+1+g.index+g[0].length};return t.lastIndex=0,e}return null}function d(e,t,n,i){let o;for(;o=e.exec(t);){const t=o.index||0;if(t<=n&&e.lastIndex>=n)return o;if(i>0&&t>i)return null}return null}l.unshift({maxLen:1e3,windowSize:15,timeBudget:150})},71765(e,t,n){n.d(t,{s:()=>o});var i=n(69881);class o{static whitespaceVisibleColumn(e,t,n){const o=e.length;let s=0,r=-1,a=-1;for(let l=0;l<o;l++){if(l===t)return[r,a,s];switch(s%n===0&&(r=l,a=s),e.charCodeAt(l)){case 32:s+=1;break;case 9:s=i.A.nextRenderTabStop(s,n);break;default:return[-1,-1,-1]}}return t===o?[r,a,s]:[-1,-1,-1]}static atomicPosition(e,t,n,s){const r=e.length,[a,l,c]=o.whitespaceVisibleColumn(e,t,n);if(-1===c)return-1;let d;switch(s){case 0:d=!0;break;case 1:d=!1;break;case 2:if(c%n===0)return t;d=c%n<=n/2}if(d){if(-1===a)return-1;let t=l;for(let o=a;o<r;++o){if(t===l+n)return a;switch(e.charCodeAt(o)){case 32:t+=1;break;case 9:t=i.A.nextRenderTabStop(t,n);break;default:return-1}}return t===l+n?a:-1}const h=i.A.nextRenderTabStop(c,n);let u=c;for(let o=t;o<r;o++){if(u===h)return o;switch(e.charCodeAt(o)){case 32:u+=1;break;case 9:u=i.A.nextRenderTabStop(u,n);break;default:return-1}}return u===h?r:-1}}},75177(e,t,n){n.d(t,{i:()=>o});var i=n(80194);class o extends i.jG{constructor(){super(),this._shouldRender=!0}shouldRender(){return this._shouldRender}forceShouldRender(){this._shouldRender=!0}setShouldRender(){this._shouldRender=!0}onDidRender(){this._shouldRender=!1}onCompositionStart(e){return!1}onCompositionEnd(e){return!1}onConfigurationChanged(e){return!1}onCursorStateChanged(e){return!1}onDecorationsChanged(e){return!1}onFlushed(e){return!1}onFocusChanged(e){return!1}onLanguageConfigurationChanged(e){return!1}onLineMappingChanged(e){return!1}onLinesChanged(e){return!1}onLinesDeleted(e){return!1}onLinesInserted(e){return!1}onRevealRangeRequest(e){return!1}onScrollChanged(e){return!1}onThemeChanged(e){return!1}onTokensChanged(e){return!1}onTokensColorsChanged(e){return!1}onZonesChanged(e){return!1}handleEvents(e){let t=!1;for(let n=0,i=e.length;n<i;n++){const i=e[n];switch(i.type){case 0:this.onCompositionStart(i)&&(t=!0);break;case 1:this.onCompositionEnd(i)&&(t=!0);break;case 2:this.onConfigurationChanged(i)&&(t=!0);break;case 3:this.onCursorStateChanged(i)&&(t=!0);break;case 4:this.onDecorationsChanged(i)&&(t=!0);break;case 5:this.onFlushed(i)&&(t=!0);break;case 6:this.onFocusChanged(i)&&(t=!0);break;case 7:this.onLanguageConfigurationChanged(i)&&(t=!0);break;case 8:this.onLineMappingChanged(i)&&(t=!0);break;case 9:this.onLinesChanged(i)&&(t=!0);break;case 10:this.onLinesDeleted(i)&&(t=!0);break;case 11:this.onLinesInserted(i)&&(t=!0);break;case 12:this.onRevealRangeRequest(i)&&(t=!0);break;case 13:this.onScrollChanged(i)&&(t=!0);break;case 15:this.onTokensChanged(i)&&(t=!0);break;case 14:this.onThemeChanged(i)&&(t=!0);break;case 16:this.onTokensColorsChanged(i)&&(t=!0);break;case 17:this.onZonesChanged(i)&&(t=!0);break;default:console.info("View received unknown event: "),console.info(i)}}t&&(this._shouldRender=!0)}}},88434(e,t,n){n.d(t,{Bs:()=>a,d:()=>o});var i=n(54312);class o{constructor(e,t,n,i){this.startColumn=e,this.endColumn=t,this.className=n,this.type=i,this._lineDecorationBrand=void 0}static _equals(e,t){return e.startColumn===t.startColumn&&e.endColumn===t.endColumn&&e.className===t.className&&e.type===t.type}static equalsArr(e,t){const n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(!o._equals(e[i],t[i]))return!1;return!0}static extractWrapped(e,t,n){if(0===e.length)return e;const i=t+1,s=n+1,r=n-t,a=[];let l=0;for(const t of e)t.endColumn<=i||t.startColumn>=s||(a[l++]=new o(Math.max(1,t.startColumn-i+1),Math.min(r+1,t.endColumn-i+1),t.className,t.type));return a}static filter(e,t,n,i){if(0===e.length)return[];const s=[];let r=0;for(let a=0,l=e.length;a<l;a++){const l=e[a],c=l.range;if(c.endLineNumber<t||c.startLineNumber>t)continue;if(c.isEmpty()&&(0===l.type||3===l.type))continue;const d=c.startLineNumber===t?c.startColumn:n,h=c.endLineNumber===t?c.endColumn:i;s[r++]=new o(d,h,l.inlineClassName,l.type)}return s}static _typeCompare(e,t){const n=[2,0,1,3];return n[e]-n[t]}static compare(e,t){if(e.startColumn!==t.startColumn)return e.startColumn-t.startColumn;if(e.endColumn!==t.endColumn)return e.endColumn-t.endColumn;const n=o._typeCompare(e.type,t.type);return 0!==n?n:e.className!==t.className?e.className<t.className?-1:1:0}}class s{constructor(e,t,n,i){this.startOffset=e,this.endOffset=t,this.className=n,this.metadata=i}}class r{constructor(){this.stopOffsets=[],this.classNames=[],this.metadata=[],this.count=0}static _metadata(e){let t=0;for(let n=0,i=e.length;n<i;n++)t|=e[n];return t}consumeLowerThan(e,t,n){for(;this.count>0&&this.stopOffsets[0]<e;){let e=0;for(;e+1<this.count&&this.stopOffsets[e]===this.stopOffsets[e+1];)e++;n.push(new s(t,this.stopOffsets[e],this.classNames.join(" "),r._metadata(this.metadata))),t=this.stopOffsets[e]+1,this.stopOffsets.splice(0,e+1),this.classNames.splice(0,e+1),this.metadata.splice(0,e+1),this.count-=e+1}return this.count>0&&t<e&&(n.push(new s(t,e-1,this.classNames.join(" "),r._metadata(this.metadata))),t=e),t}insert(e,t,n){if(0===this.count||this.stopOffsets[this.count-1]<=e)this.stopOffsets.push(e),this.classNames.push(t),this.metadata.push(n);else for(let i=0;i<this.count;i++)if(this.stopOffsets[i]>=e){this.stopOffsets.splice(i,0,e),this.classNames.splice(i,0,t),this.metadata.splice(i,0,n);break}this.count++}}class a{static normalize(e,t){if(0===t.length)return[];const n=[],o=new r;let s=0;for(let r=0,a=t.length;r<a;r++){const a=t[r];let l=a.startColumn,c=a.endColumn;const d=a.className,h=1===a.type?2:2===a.type?4:0;if(l>1){const t=e.charCodeAt(l-2);i.pc(t)&&l--}if(c>1){const t=e.charCodeAt(c-2);i.pc(t)&&c--}const u=l-1,g=c-2;s=o.consumeLowerThan(u,s,n),0===o.count&&(s=u),o.insert(g,d,h)}return o.consumeLowerThan(1073741824,s,n),n}}},85319(e,t,n){n.d(t,{wZ:()=>d,MT:()=>l,zL:()=>c,UW:()=>g,Md:()=>p});var i=n(14425),o=n(54312),s=n(56232),r=n(88434);class a{constructor(e,t,n,i){this.endIndex=e,this.type=t,this.metadata=n,this.containsRTL=i,this._linePartBrand=void 0}isWhitespace(){return!!(1&this.metadata)}isPseudoAfter(){return!!(4&this.metadata)}}class l{constructor(e,t){this.startOffset=e,this.endOffset=t}equals(e){return this.startOffset===e.startOffset&&this.endOffset===e.endOffset}}class c{constructor(e,t,n,i,o,s,a,l,c,d,h,u,g,f,p,m,w,y,b){this.useMonospaceOptimizations=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=n,this.continuesWithWrappedLine=i,this.isBasicASCII=o,this.containsRTL=s,this.fauxIndentLength=a,this.lineTokens=l,this.lineDecorations=c.sort(r.d.compare),this.tabSize=d,this.startVisibleColumn=h,this.spaceWidth=u,this.stopRenderingLineAfter=p,this.renderWhitespace="all"===m?4:"boundary"===m?1:"selection"===m?2:"trailing"===m?3:0,this.renderControlCharacters=w,this.fontLigatures=y,this.selectionsOnLine=b&&b.sort((e,t)=>e.startOffset<t.startOffset?-1:1),Math.abs(f-u)<Math.abs(g-u)?(this.renderSpaceWidth=f,this.renderSpaceCharCode=11825):(this.renderSpaceWidth=g,this.renderSpaceCharCode=183)}sameSelection(e){if(null===this.selectionsOnLine)return null===e;if(null===e)return!1;if(e.length!==this.selectionsOnLine.length)return!1;for(let t=0;t<this.selectionsOnLine.length;t++)if(!this.selectionsOnLine[t].equals(e[t]))return!1;return!0}equals(e){return this.useMonospaceOptimizations===e.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.lineContent===e.lineContent&&this.continuesWithWrappedLine===e.continuesWithWrappedLine&&this.isBasicASCII===e.isBasicASCII&&this.containsRTL===e.containsRTL&&this.fauxIndentLength===e.fauxIndentLength&&this.tabSize===e.tabSize&&this.startVisibleColumn===e.startVisibleColumn&&this.spaceWidth===e.spaceWidth&&this.renderSpaceWidth===e.renderSpaceWidth&&this.renderSpaceCharCode===e.renderSpaceCharCode&&this.stopRenderingLineAfter===e.stopRenderingLineAfter&&this.renderWhitespace===e.renderWhitespace&&this.renderControlCharacters===e.renderControlCharacters&&this.fontLigatures===e.fontLigatures&&r.d.equalsArr(this.lineDecorations,e.lineDecorations)&&this.lineTokens.equals(e.lineTokens)&&this.sameSelection(e.selectionsOnLine)}}class d{constructor(e,t){this.partIndex=e,this.charIndex=t}}class h{static getPartIndex(e){return(4294901760&e)>>>16}static getCharIndex(e){return(65535&e)>>>0}constructor(e,t){this.length=e,this._data=new Uint32Array(this.length),this._horizontalOffset=new Uint32Array(this.length)}setColumnInfo(e,t,n,i){const o=(t<<16|n)>>>0;this._data[e-1]=o,this._horizontalOffset[e-1]=i}getHorizontalOffset(e){return 0===this._horizontalOffset.length?0:this._horizontalOffset[e-1]}charOffsetToPartData(e){return 0===this.length?0:e<0?this._data[0]:e>=this.length?this._data[this.length-1]:this._data[e]}getDomPosition(e){const t=this.charOffsetToPartData(e-1),n=h.getPartIndex(t),i=h.getCharIndex(t);return new d(n,i)}getColumn(e,t){return this.partDataToCharOffset(e.partIndex,t,e.charIndex)+1}partDataToCharOffset(e,t,n){if(0===this.length)return 0;const i=(e<<16|n)>>>0;let o=0,s=this.length-1;for(;o+1<s;){const e=o+s>>>1,t=this._data[e];if(t===i)return e;t>i?s=e:o=e}if(o===s)return o;const r=this._data[o],a=this._data[s];if(r===i)return o;if(a===i)return s;const l=h.getPartIndex(r),c=h.getCharIndex(r);let d;return d=l!==h.getPartIndex(a)?t:h.getCharIndex(a),n-c<=d-n?o:s}}class u{constructor(e,t,n){this._renderLineOutputBrand=void 0,this.characterMapping=e,this.containsRTL=t,this.containsForeignElements=n}}function g(e,t){if(0===e.lineContent.length){if(e.lineDecorations.length>0){t.appendString("<span>");let n=0,i=0,o=0;for(const s of e.lineDecorations)1!==s.type&&2!==s.type||(t.appendString('<span class="'),t.appendString(s.className),t.appendString('"></span>'),1===s.type&&(o|=1,n++),2===s.type&&(o|=2,i++));t.appendString("</span>");const s=new h(1,n+i);return s.setColumnInfo(1,n,0,0),new u(s,!1,o)}return t.appendString("<span><span></span></span>"),new u(new h(0,0),!1,0)}return function(e,t){const n=e.fontIsMonospace,s=e.canUseHalfwidthRightwardsArrow,r=e.containsForeignElements,a=e.lineContent,l=e.len,c=e.isOverflowing,d=e.overflowingCharCount,g=e.parts,f=e.fauxIndentLength,p=e.tabSize,m=e.startVisibleColumn,b=e.containsRTL,C=e.spaceWidth,v=e.renderSpaceCharCode,k=e.renderWhitespace,S=e.renderControlCharacters,_=new h(l+1,g.length);let T=!1,L=0,D=m,x=0,O=0,A=0;b?t.appendString('<span dir="ltr">'):t.appendString("<span>");for(let e=0,i=g.length;e<i;e++){const i=g[e],c=i.endIndex,d=i.type,h=i.containsRTL,u=0!==k&&i.isWhitespace(),m=u&&!n&&("mtkw"===d||!r),b=L===c&&i.isPseudoAfter();if(x=0,t.appendString("<span "),h&&t.appendString('style="unicode-bidi:isolate" '),t.appendString('class="'),t.appendString(m?"mtkz":d),t.appendASCIICharCode(34),u){let n=0;{let e=L,t=D;for(;e<c;e++){const i=0|(9===a.charCodeAt(e)?p-t%p:1);n+=i,e>=f&&(t+=i)}}for(m&&(t.appendString(' style="width:'),t.appendString(String(C*n)),t.appendString('px"')),t.appendASCIICharCode(62);L<c;L++){let n,i;if(_.setColumnInfo(L+1,e-A,x,O),A=0,9===a.charCodeAt(L)){n=p-D%p|0,i=n,!s||i>1?t.appendCharCode(8594):t.appendCharCode(65515);for(let e=2;e<=i;e++)t.appendCharCode(160)}else n=2,i=1,t.appendCharCode(v),t.appendCharCode(8204);x+=n,O+=i,L>=f&&(D+=i)}}else for(t.appendASCIICharCode(62);L<c;L++){_.setColumnInfo(L+1,e-A,x,O),A=0;const n=a.charCodeAt(L);let i=1,s=1;switch(n){case 9:i=p-D%p,s=i;for(let e=1;e<=i;e++)t.appendCharCode(160);break;case 32:t.appendCharCode(160);break;case 60:t.appendString("&lt;");break;case 62:t.appendString("&gt;");break;case 38:t.appendString("&amp;");break;case 0:S?t.appendCharCode(9216):t.appendString("&#00;");break;case 65279:case 8232:case 8233:case 133:t.appendCharCode(65533);break;default:o.ne(n)&&s++,S&&n<32?t.appendCharCode(9216+n):S&&127===n?t.appendCharCode(9249):S&&w(n)?(t.appendString("[U+"),t.appendString(y(n)),t.appendString("]"),i=8,s=i):t.appendCharCode(n)}x+=i,O+=s,L>=f&&(D+=s)}b?A++:A=0,L>=l&&!T&&i.isPseudoAfter()&&(T=!0,_.setColumnInfo(L+1,e,x,O)),t.appendString("</span>")}var M;return T||_.setColumnInfo(l+1,g.length-1,x,O),c&&(t.appendString('<span class="mtkoverflow">'),t.appendString(i.kg("showMore","Show more ({0})",(M=d)<1024?i.kg("overflow.chars","{0} chars",M):M<1048576?`${(M/1024).toFixed(1)} KB`:`${(M/1024/1024).toFixed(1)} MB`)),t.appendString("</span>")),t.appendString("</span>"),new u(_,b,r)}(function(e){const t=e.lineContent;let n,i,s;-1!==e.stopRenderingLineAfter&&e.stopRenderingLineAfter<t.length?(n=!0,i=t.length-e.stopRenderingLineAfter,s=e.stopRenderingLineAfter):(n=!1,i=0,s=t.length);let l=function(e,t,n,i,s){const r=[];let l=0;i>0&&(r[l++]=new a(i,"",0,!1));let c=i;for(let d=0,h=n.getCount();d<h;d++){const h=n.getEndOffset(d);if(h<=i)continue;const u=n.getClassName(d);if(h>=s){const n=!!t&&o.E_(e.substring(c,s));r[l++]=new a(s,u,0,n);break}const g=!!t&&o.E_(e.substring(c,h));r[l++]=new a(h,u,0,g),c=h}return r}(t,e.containsRTL,e.lineTokens,e.fauxIndentLength,s);e.renderControlCharacters&&!e.isBasicASCII&&(l=function(e,t){const n=[];let i=new a(0,"",0,!1),o=0;for(const s of t){const t=s.endIndex;for(;o<t;o++)w(e.charCodeAt(o))&&(o>i.endIndex&&(i=new a(o,s.type,s.metadata,s.containsRTL),n.push(i)),i=new a(o+1,"mtkcontrol",s.metadata,!1),n.push(i));o>i.endIndex&&(i=new a(t,s.type,s.metadata,s.containsRTL),n.push(i))}return n}(t,l)),(4===e.renderWhitespace||1===e.renderWhitespace||2===e.renderWhitespace&&e.selectionsOnLine||3===e.renderWhitespace&&!e.continuesWithWrappedLine)&&(l=function(e,t,n,i){const s=e.continuesWithWrappedLine,r=e.fauxIndentLength,l=e.tabSize,c=e.startVisibleColumn,d=e.useMonospaceOptimizations,h=e.selectionsOnLine,u=1===e.renderWhitespace,g=3===e.renderWhitespace,f=e.renderSpaceWidth!==e.spaceWidth,p=[];let m=0,w=0,y=i[w].type,b=i[w].containsRTL,C=i[w].endIndex;const v=i.length;let k,S=!1,_=o.HG(t);-1===_?(S=!0,_=n,k=n):k=o.lT(t);let T=!1,L=0,D=h&&h[L],x=c%l;for(let e=r;e<n;e++){const s=t.charCodeAt(e);let c;if(D&&e>=D.endOffset&&(L++,D=h&&h[L]),e<_||e>k)c=!0;else if(9===s)c=!0;else if(32===s)if(u)if(T)c=!0;else{const i=e+1<n?t.charCodeAt(e+1):0;c=32===i||9===i}else c=!0;else c=!1;if(c&&h&&(c=!!D&&D.startOffset<=e&&D.endOffset>e),c&&g&&(c=S||e>k),c&&b&&e>=_&&e<=k&&(c=!1),T){if(!c||!d&&x>=l){if(f)for(let t=(m>0?p[m-1].endIndex:r)+1;t<=e;t++)p[m++]=new a(t,"mtkw",1,!1);else p[m++]=new a(e,"mtkw",1,!1);x%=l}}else(e===C||c&&e>r)&&(p[m++]=new a(e,y,0,b),x%=l);for(9===s?x=l:o.ne(s)?x+=2:x++,T=c;e===C&&(w++,w<v);)y=i[w].type,b=i[w].containsRTL,C=i[w].endIndex}let O=!1;if(T)if(s&&u){const e=n>0?t.charCodeAt(n-1):0,i=n>1?t.charCodeAt(n-2):0;32===e&&32!==i&&9!==i||(O=!0)}else O=!0;if(O)if(f)for(let e=(m>0?p[m-1].endIndex:r)+1;e<=n;e++)p[m++]=new a(e,"mtkw",1,!1);else p[m++]=new a(n,"mtkw",1,!1);else p[m++]=new a(n,y,0,b);return p}(e,t,s,l));let c=0;if(e.lineDecorations.length>0){for(let t=0,n=e.lineDecorations.length;t<n;t++){const n=e.lineDecorations[t];3===n.type||1===n.type?c|=1:2===n.type&&(c|=2)}l=function(e,t,n,i){i.sort(r.d.compare);const o=r.Bs.normalize(e,i),s=o.length;let l=0;const c=[];let d=0,h=0;for(let e=0,t=n.length;e<t;e++){const t=n[e],i=t.endIndex,r=t.type,u=t.metadata,g=t.containsRTL;for(;l<s&&o[l].startOffset<i;){const e=o[l];if(e.startOffset>h&&(h=e.startOffset,c[d++]=new a(h,r,u,g)),!(e.endOffset+1<=i)){h=i,c[d++]=new a(h,r+" "+e.className,u|e.metadata,g);break}h=e.endOffset+1,c[d++]=new a(h,r+" "+e.className,u|e.metadata,g),l++}i>h&&(h=i,c[d++]=new a(h,r,u,g))}const u=n[n.length-1].endIndex;if(l<s&&o[l].startOffset===u)for(;l<s&&o[l].startOffset===u;){const e=o[l];c[d++]=new a(h,e.className,e.metadata,!1),l++}return c}(t,0,l,e.lineDecorations)}return e.containsRTL||(l=function(e,t,n){let i=0;const o=[];let s=0;if(n)for(let n=0,r=t.length;n<r;n++){const r=t[n],l=r.endIndex;if(i+50<l){const t=r.type,n=r.metadata,c=r.containsRTL;let d=-1,h=i;for(let r=i;r<l;r++)32===e.charCodeAt(r)&&(d=r),-1!==d&&r-h>=50&&(o[s++]=new a(d+1,t,n,c),h=d+1,d=-1);h!==l&&(o[s++]=new a(l,t,n,c))}else o[s++]=r;i=l}else for(let e=0,n=t.length;e<n;e++){const n=t[e],r=n.endIndex,l=r-i;if(l>50){const e=n.type,t=n.metadata,c=n.containsRTL,d=Math.ceil(l/50);for(let n=1;n<d;n++){const r=i+50*n;o[s++]=new a(r,e,t,c)}o[s++]=new a(r,e,t,c)}else o[s++]=n;i=r}return o}(t,l,!e.isBasicASCII||e.fontLigatures)),new m(e.useMonospaceOptimizations,e.canUseHalfwidthRightwardsArrow,t,s,n,i,l,c,e.fauxIndentLength,e.tabSize,e.startVisibleColumn,e.containsRTL,e.spaceWidth,e.renderSpaceCharCode,e.renderWhitespace,e.renderControlCharacters)}(e),t)}class f{constructor(e,t,n,i){this.characterMapping=e,this.html=t,this.containsRTL=n,this.containsForeignElements=i}}function p(e){const t=new s.fe(1e4),n=g(e,t);return new f(n.characterMapping,t.build(),n.containsRTL,n.containsForeignElements)}class m{constructor(e,t,n,i,o,s,r,a,l,c,d,h,u,g,f,p){this.fontIsMonospace=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=n,this.len=i,this.isOverflowing=o,this.overflowingCharCount=s,this.parts=r,this.containsForeignElements=a,this.fauxIndentLength=l,this.tabSize=c,this.startVisibleColumn=d,this.containsRTL=h,this.spaceWidth=u,this.renderSpaceCharCode=g,this.renderWhitespace=f,this.renderControlCharacters=p}}function w(e){return e<32?9!==e:127===e||e>=8234&&e<=8238||e>=8294&&e<=8297||e>=8206&&e<=8207||1564===e}function y(e){return e.toString(16).toUpperCase().padStart(4,"0")}},72576(e,t,n){n.d(t,{Bb:()=>d,Fd:()=>g,Gu:()=>h,HP:()=>u,Hz:()=>C,JO:()=>y,a:()=>w,e$:()=>m,oG:()=>v,x1:()=>p,yL:()=>b});var i=n(64914),o=n(55842),s=n(5537),r=n(98137),a=n(47176),l=n(94187),c=n(14425);function d(e){return`--vscode-${e.replace(/\./g,"-")}`}function h(e){return`var(${d(e)})`}function u(e,t){return`var(${d(e)}, ${t})`}const g={ColorContribution:"base.contributions.colors"},f=new class{constructor(){this._onDidChangeSchema=new r.vl,this.onDidChangeSchema=this._onDidChangeSchema.event,this.colorSchema={type:"object",properties:{}},this.colorReferenceSchema={type:"string",enum:[],enumDescriptions:[]},this.colorsById={}}registerColor(e,t,n,i=!1,o){const s={id:e,description:n,defaults:t,needsTransparency:i,deprecationMessage:o};this.colorsById[e]=s;const r={type:"string",format:"color-hex",defaultSnippets:[{body:"${1:#ff0000}"}]};return o&&(r.deprecationMessage=o),i&&(r.pattern="^#(?:(?<rgba>[0-9a-fA-f]{3}[0-9a-eA-E])|(?:[0-9a-fA-F]{6}(?:(?![fF]{2})(?:[0-9a-fA-F]{2}))))?$",r.patternErrorMessage=c.kg("transparecyRequired","This color must be transparent or it will obscure content")),this.colorSchema.properties[e]={description:n,oneOf:[r,{type:"string",const:"default",description:c.kg("useDefault","Use the default color.")}]},this.colorReferenceSchema.enum.push(e),this.colorReferenceSchema.enumDescriptions.push(n),this._onDidChangeSchema.fire(),e}getColors(){return Object.keys(this.colorsById).map(e=>this.colorsById[e])}resolveDefaultColor(e,t){const n=this.colorsById[e];if(n?.defaults)return k(null!==(i=n.defaults)&&"object"==typeof i&&"light"in i&&"dark"in i?n.defaults[t.type]:n.defaults,t);var i}getColorSchema(){return this.colorSchema}toString(){return Object.keys(this.colorsById).sort((e,t)=>{const n=-1===e.indexOf(".")?0:1,i=-1===t.indexOf(".")?0:1;return n!==i?n-i:e.localeCompare(t)}).map(e=>`- \`${e}\`: ${this.colorsById[e].description}`).join("\n")}};function p(e,t,n,i,o){return f.registerColor(e,t,n,i,o)}function m(e,t){return{op:0,value:e,factor:t}}function w(e,t){return{op:1,value:e,factor:t}}function y(e,t){return{op:2,value:e,factor:t}}function b(...e){return{op:4,values:e}}function C(e,t,n){return{op:6,if:e,then:t,else:n}}function v(e,t,n,i){return{op:5,value:e,background:t,factor:n,transparency:i}}function k(e,t){if(null!==e)return"string"==typeof e?"#"===e[0]?s.Q1.fromHex(e):t.getColor(e):e instanceof s.Q1?e:"object"==typeof e?function(e,t){switch(e.op){case 0:return k(e.value,t)?.darken(e.factor);case 1:return k(e.value,t)?.lighten(e.factor);case 2:return k(e.value,t)?.transparent(e.factor);case 3:{const n=k(e.background,t);return n?k(e.value,t)?.makeOpaque(n):k(e.value,t)}case 4:for(const n of e.values){const e=k(n,t);if(e)return e}return;case 6:return k(t.defines(e.if)?e.then:e.else,t);case 5:{const n=k(e.value,t);if(!n)return;const i=k(e.background,t);return i?n.isDarkerThan(i)?s.Q1.getLighterColor(n,i,e.factor).transparent(e.transparency):s.Q1.getDarkerColor(n,i,e.factor).transparent(e.transparency):n.transparent(e.factor*e.transparency)}default:throw(0,i.xb)(e)}}(e,t):void 0}l.O.add(g.ColorContribution,f);const S="vscode://schemas/workbench-colors",_=l.O.as(a.F.JSONContribution);_.registerSchema(S,f.getColorSchema());const T=new o.uC(()=>_.notifySchemaChanged(S),200);f.onDidChangeSchema(()=>{T.isScheduled()||T.schedule()})},73559(e,t,n){var i;function o(e){return e===i.HIGH_CONTRAST_DARK||e===i.HIGH_CONTRAST_LIGHT}function s(e){return e===i.DARK||e===i.HIGH_CONTRAST_DARK}n.d(t,{Bb:()=>o,HD:()=>s,zM:()=>i}),function(e){e.DARK="dark",e.LIGHT="light",e.HIGH_CONTRAST_DARK="hcDark",e.HIGH_CONTRAST_LIGHT="hcLight"}(i||(i={}))}}]);